FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kField Struct Reference

Description

Collection of static methods and macros for bit field manipulation.

Related

#define kNanoToMicro_(V)
 Converts integer nano-scaled values to micro-scaled values (/1000). More...
 
#define kField_ToMask_(MSB, LSB)
 Creates a bit mask from a 32-bit range. More...
 
#define kField_Create_(MASK, SHIFT, FLD_VAL)
 Creates a bitfield by applying the specified mask and shift values. More...
 
#define kField_CreateNamed_(FIELD_NAME, FLD_VAL)
 Creates a bitfield by token-pasting mask/shift macros using a specific naming scheme. More...
 
#define kField_CreateRange_(MSB, LSB, FLD_VAL)
 Creates a bitfield within the specified bit range. More...
 
#define kField_CreateNamedRange_(FIELD_NAME, FLD_VAL)
 Creates a bitfield by token-pasting left/right macros using a specific naming scheme. More...
 
#define kField_Extract_(REG_VAL, MASK, SHIFT)
 Extracts a bitfield by applying the specified mask and shift values. More...
 
#define kField_ExtractNamed_(REG_VAL, FIELD_NAME)
 Extracts a bitfield by token-pasting mask/shift macros using a specific naming scheme. More...
 
#define kField_ExtractRange_(REG_VAL, MSB, LSB)
 Extracts a bitfield from the specified bit range. More...
 
#define kField_ExtractNamedRange_(REG_VAL, FIELD_NAME)
 Extracts a bitfield by token-pasting left/right macros using a specific naming scheme. More...
 
#define kField_Insert_(REG_REF, MASK, SHIFT, FLD_VAL)
 Inserts a bitfield into an existing register value. More...
 
#define kField_InsertNamed_(REG_REF, FIELD_NAME, FLD_VAL)
 Inserts a bitfield into an existing register value by token-pasting mask/shift macros using a specific naming scheme. More...
 
#define kField_InsertRange_(REG_REF, MSB, LSB, FLD_VAL)
 Inserts a bitfield into an existing register value. More...
 
#define kField_InsertNamedRange_(REG_REF, FIELD_NAME, FLD_VAL)
 Inserts a bitfield into an existing register value by token-pasting left/right macros using a specific naming scheme. More...
 
#define kField_Diff_(REG_VAL_A, REG_VAL_B, MASK, SHIFT)
 Takes the difference between register fields at the same location within two register values. More...
 
#define kField_DiffNamed_(REG_VAL_A, REG_VAL_B, FIELD_NAME)
 Takes the difference between register fields at the same location within two register values by token-pasting mask/shift macros using a specific naming scheme. More...
 
#define kField_DiffRange_(REG_VAL_A, REG_VAL_B, MSB, LSB)
 Takes the difference between register fields at the same location within two register values. More...
 
#define kField_DiffNamedRange_(REG_VAL_A, REG_VAL_B, FIELD_NAME)
 Takes the difference between register fields at the same location within two register values by token-pasting left/right macros using a specific naming scheme. More...
 

The documentation for this struct was generated from the following file: