|
EDT PCD SDK Documentation 6.2.1
|
#include <lib_two_wire.h>
Data Fields | |
| uint32_t | reg |
| uint8_t | bitstart |
| uint8_t | nbits |
| const char * | name |
Basic descriptor for registers. This code will also work for standard edt registers as well.
| uint32_t EdtRegisterDescriptor::reg |
First register address of the bit field.
| uint8_t EdtRegisterDescriptor::bitstart |
Least-significant bit offset of the field in the register word. Note that if the field spans multiple registers, this should be the offset in the last register.
| uint8_t EdtRegisterDescriptor::nbits |
Number of bits in the field. This can span multiple bytes.
| const char* EdtRegisterDescriptor::name |
Name of the bitfield. Shown by edt_two_wire_reg_dump() .