RTEMS 6.1-rc2
|
Macros | |
#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. | |
#define | NXP_FLD2VAL(field, value) (((value) & (field ## _MASK)) >> (field ## _SHIFT)) |
Mask and right-shift a register value to extract a bit field value. | |
#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. | |
#define | NXP_FLD2VAL(field, value) (((value) & (field ## _MASK)) >> (field ## _SHIFT)) |
Mask and right-shift a register value to extract a bit field value. | |
#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. | |
#define | NXP_FLD2VAL(field, value) (((value) & (field ## _MASK)) >> (field ## _SHIFT)) |
Mask and right-shift a register value to extract a bit field value. | |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |