REGFIELD Struct Reference

This structure is used to define a specific hardware register field. More...

Data Fields

const unsigned char offset
const unsigned int mask

Detailed Description

This structure is used to define a specific hardware register field.

All hardware register fields are defined using an offset to the LSB and a mask. The offset is used to right shift a register value before applying the mask to actually obtain the value of the field.


Field Documentation

const unsigned int mask

Mask value used to isolate register field.

const unsigned char offset

Offset of LSB of register field.

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen