EDT PCD SDK Documentation 6.1.0
EdtRegisterDescriptor Struct Reference

#include <lib_two_wire.h>

Data Fields

uint32_t reg
 
uint8_t bitstart
 
uint8_t nbits
 
const char * name
 

Detailed Description

Basic descriptor for registers. This code will also work for standard edt registers as well.

Field Documentation

◆ reg

uint32_t EdtRegisterDescriptor::reg

First register address of the bit field.

◆ bitstart

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.

◆ nbits

uint8_t EdtRegisterDescriptor::nbits

Number of bits in the field. This can span multiple bytes.

◆ name

const char* EdtRegisterDescriptor::name

Name of the bitfield. Shown by edt_two_wire_reg_dump() .


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