![]() |
![]() |
|
SMBusLibrary
1.0
|
SMBus control register. More...
#include <smbus.h>
Data Fields | |
| struct { | |
| uint8_t pecEn: 1 | |
| uint8_t hostNotifyEn: 1 | |
| uint8_t swackEn: 1 | |
| uint8_t intEn: 1 | |
| uint8_t phyEn: 1 | |
| uint8_t controller: 1 | |
| uint8_t reserved2: 2 | |
| } | bits |
| Defines the control bit fields. | |
| struct { | |
| uint8_t writeBits: 2 | |
| uint8_t reserved: 6 | |
| } | writeableBits |
| Allows access to the writeable bits on the structure. | |
| uint8_t | u8byte |
SMBus control register.
| uint8_t SMBus_Ctrl::pecEn |
Enables PEC functionality
Referenced by SMBus_disablePEC(), SMBus_enablePEC(), SMBus_NWK_controllerProcessRx(), SMBus_NWK_controllerProcessStop(), SMBus_NWK_controllerProcessTx(), SMBus_NWK_getRxPayloadSize(), SMBus_NWK_startRxTransfer(), SMBus_NWK_targetProcessStop(), SMBus_NWK_targetProcessTx(), SMBus_targetReportBlock(), and SMBus_targetReportLength().
| uint8_t SMBus_Ctrl::hostNotifyEn |
Enable Host Notify
Referenced by SMBus_controllerDisableHostNotify(), SMBus_controllerEnableHostNotify(), SMBus_NWK_targetProcessRx(), SMBus_NWK_targetProcessStart(), and SMBus_NWK_targetProcessStop().
| uint8_t SMBus_Ctrl::swackEn |
SW_ACK is enabled (read only)
Referenced by SMBus_PHY_targetInit(), and SMBus_processDone().
| uint8_t SMBus_Ctrl::intEn |
Interrupts are enabled (read only)
Referenced by SMBus_PHY_controllerDisableInt(), SMBus_PHY_controllerEnableInt(), SMBus_PHY_targetDisableInt(), and SMBus_PHY_targetEnableInt().
| uint8_t SMBus_Ctrl::phyEn |
SMBus PHY is enabled (read only)
Referenced by SMBus_PHY_controllerEnable(), SMBus_PHY_disable(), and SMBus_PHY_targetEnable().
| uint8_t SMBus_Ctrl::controller |
Acting in Controller mode (read only)
Referenced by SMBus_controllerInit(), SMBus_NWK_controllerProcessStop(), SMBus_NWK_targetProcessRx(), SMBus_NWK_targetProcessStart(), SMBus_NWK_targetProcessStop(), SMBus_NWK_targetProcessTx(), and SMBus_targetInit().
| uint8_t SMBus_Ctrl::reserved2 |
Reserved
| uint8_t SMBus_Ctrl::writeBits |
Control bits that are writable
Referenced by SMBus_targetWriteCtrlReg().
| uint8_t SMBus_Ctrl::reserved |
Masks the read only control
| uint8_t SMBus_Ctrl::u8byte |
Whole Control byte access
Referenced by SMBus_controllerInit(), SMBus_targetInit(), and SMBus_targetWriteCtrlReg().