Macros | |
#define | NXP_FLD2VAL(field, value) (((value) & (field ## _MASK)) >> (field ## _SHIFT)) |
Mask and right-shift a register value to extract a bit field value. More... | |
#define | NXP_VAL2FLD(field, value) (((value) << (field ## _SHIFT)) & (field ## _MASK)) |
Mask and left-shift a bit field value for use in a register bit range. More... | |
#define NXP_FLD2VAL | ( | field, | |
value | |||
) | (((value) & (field ## _MASK)) >> (field ## _SHIFT)) |
Mask and right-shift a register value to extract a bit field value.
field | Name of the register bit field. |
value | Value of the register. |
Definition at line 46159 of file MIMXRT1052.h.
#define NXP_VAL2FLD | ( | field, | |
value | |||
) | (((value) << (field ## _SHIFT)) & (field ## _MASK)) |
Mask and left-shift a bit field value for use in a register bit range.
field | Name of the register bit field. |
value | Value of the bit field. |
Definition at line 46152 of file MIMXRT1052.h.