__ADC_MASK_SHIFT macro
Driver macro reserved for internal use: isolate bits with the selected mask and shift them to the register LSB (shift mask on register position bit 0).
Syntax
#define __ADC_MASK_SHIFT(__BITS__, __MASK__) \
(((__BITS__) & (__MASK__)) >> POSITION_VAL((__MASK__)))
Arguments
__BITS__
Bits in register 32 bits
__MASK__
Mask in register 32 bits
Return value
Bits in register 32 bits