I have a 32bit unsigned integer and I want to divide it in 3 uint16 values. I want first 15bits, then 2 bits and then last 15 bits.
I am trying something like -
val >> 17 val >> 2 val >> 15
apart from first value, other 2 are not right and I know that but now able to figure out how to fix that?