EVENT_THR_SEL_SHIFT
return (event >> EVENT_THR_SEL_SHIFT) & EVENT_THR_SEL_MASK;
val = (event[i] >> EVENT_THR_SEL_SHIFT) & EVENT_THR_SEL_MASK;