SMBusLibrary  1.0
Data Fields
SMBus_Ctrl Union Reference

SMBus control register. More...

#include <smbus.h>

Data Fields

struct {
   uint8_t   pecEn: 1
 
   uint8_t   swackEn: 1
 
   uint8_t   intEn: 1
 
   uint8_t   phyEn: 1
 
   uint8_t   controller: 1
 
   uint8_t   reserved2: 3
 
bits
 Defines the control bit fields.
 
struct {
   uint8_t   writeBits: 1
 
   uint8_t   reserved: 7
 
writeableBits
 Allows access to the writeable bits on the structure.
 
uint8_t u8byte
 

Detailed Description

SMBus control register.

Field Documentation

§ pecEn

uint8_t SMBus_Ctrl::pecEn

§ swackEn

uint8_t SMBus_Ctrl::swackEn

SW_ACK is enabled (read only)

§ intEn

uint8_t SMBus_Ctrl::intEn

§ phyEn

uint8_t SMBus_Ctrl::phyEn

SMBus PHY is enabled (read only)

Referenced by SMBus_PHY_controllerEnable(), SMBus_PHY_disable(), and SMBus_PHY_targetEnable().

§ controller

uint8_t SMBus_Ctrl::controller

Acting in Controller mode (read only)

Referenced by SMBus_controllerInit(), SMBus_PHY_enable(), and SMBus_targetInit().

§ reserved2

uint8_t SMBus_Ctrl::reserved2

Reserved

§ writeBits

uint8_t SMBus_Ctrl::writeBits

Control bits that are writable

Referenced by SMBus_targetWriteCtrlReg().

§ reserved

uint8_t SMBus_Ctrl::reserved

Masks the read only control

§ u8byte

uint8_t SMBus_Ctrl::u8byte

Whole Control byte access

Referenced by SMBus_controllerInit(), SMBus_targetInit(), and SMBus_targetWriteCtrlReg().


The documentation for this union was generated from the following file:
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale