46#define TWID_ERROR_BUSY 1
49#define ASYNC_STATUS_PENDING 0xFF
91extern void TWID_Initialize(
Twid *pTwid,
Twihs *pTwi);
95extern void TWID_Handler(
Twid *pTwid);
97extern uint32_t ASYNC_IsFinished(
Async *pAsync);
99extern uint8_t TWID_Read(
108extern uint8_t TWID_Write(
117extern uint8_t TWID_DmaRead(
126extern uint8_t TWID_DmaWrite(
TWI driver structure. Holds the internal state of the driver.
Definition: twid.h:80
Twid * pTwid
Definition: twid.h:83
sXdmad * pTwiDma
Definition: twid.h:85
Twihs hardware registers.
Definition: component_twihs.h:41
Asynchronous transfer descriptor.
Definition: twid.h:62
void * callback
Definition: twid.h:66
volatile uint32_t status
Definition: twid.h:64
uint8_t pStorage[9]
Definition: twid.h:68
TWI driver structure. Holds the internal state of the driver.
Definition: twid.h:72
Async * pTransfer
Definition: twid.h:76
Twihs * pTwi
Definition: twid.h:74