1 #ifndef __SMBUS_PHY_H__
2 #define __SMBUS_PHY_H__
22 #include "smbus_phy.h"
118 #if (SMB_MANUAL_ACK_ENABLE == 1)
144 extern void SMBus_PHY_slaveEnableManualACK(
SMBus *smbus);
155 extern void SMBus_PHY_slaveDisableManualACK(
SMBus *smbus);
169 extern void SMBus_PHY_slaveSendACK(
SMBus *smbus,
304 #endif //__SMBUS_PHY_H__
void SMBus_PHY_masterStartTx(SMBus *smbus, uint8_t targetaddr, SMBus_Stop stopFlag)
Start a TX transfer.
Definition: smbus_phy.c:408
SMBus_State SMBus_PHY_slaveProcessTimeoutInt(SMBus *smbus)
This function is not used in the MSP430FR5xx_6xx implementation.
void SMBus_PHY_enable(SMBus *smbus)
Enables the PHY and Data Link layer.
Definition: smbus_phy.c:42
SMBus_State SMBus_PHY_slaveProcessInt(SMBus *smbus)
I2C Interrupt Service routine.
Definition: smbus_phy.c:148
void SMBus_PHY_masterInit(SMBus *smbus, uint16_t i2cAddr, uint32_t busClk)
Initializes the I2C Master module supporting SMBus functionality.
Definition: smbus_phy.c:358
void SMBus_PHY_masterStartRx(SMBus *smbus, uint8_t targetaddr, SMBus_Stop stopFlag)
Start a RX transfer.
Definition: smbus_phy.c:428
void SMBus_PHY_disable(SMBus *smbus)
Disables the PHY and Data Link layer.
Definition: smbus_phy.c:35
void SMBus_PHY_masterSendStop(SMBus *smbus)
Generate Stop condition if it hasn't been sent.
Definition: smbus_phy.c:393
void SMBus_PHY_masterSendPreStop(SMBus *smbus)
Prepare to send stop at next byte.
Definition: smbus_phy.c:403
void SMBus_PHY_slaveEnable(SMBus *smbus)
Enables the PHY and Data Link layer for slave operation.
Definition: smbus_phy.c:54
SMBus_State SMBus_PHY_masterProcessTimeoutInt(SMBus *smbus)
This function is not used in the MSP430FR5xx_6xx implementation.
SMBus_State
SMBus state sent to application layer.
Definition: smbus.h:224
SMBus_State SMBus_PHY_masterProcessInt(SMBus *smbus)
I2C Interrupt Service routine.
Definition: smbus_phy.c:464
void SMBus_PHY_slaveInit(SMBus *smbus, uint16_t i2cAddr)
Initializes the I2C Slave module supporting SMBus functionality.
Definition: smbus_phy.c:124
void SMBus_PHY_masterEnable(SMBus *smbus)
Enables the PHY and Data Link layer.
Definition: smbus_phy.c:321
void SMBus_PHY_masterEnableInt(SMBus *smbus)
Enables the I2C interrupts.
Definition: smbus_phy.c:342
Main SMBus object.
Definition: smbus.h:274
SMBus_Stop
List of stop codes used within the NWK and PHY layers.
Definition: smbus.h:110
void SMBus_PHY_slaveEnableInt(SMBus *smbus)
Enables the I2C interrupts.
Definition: smbus_phy.c:92