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