app_twi_t

nRF5 SDK v12.1.0

TWI transaction manager instance. More...

#include <app_twi.h>

Data Fields

app_twi_queue_t queue
Transaction queue.
uint8_t volatile current_transfer_idx
Index of currently performed transfer (within current transaction).
bool volatile internal_transaction_in_progress
Informs that an internal transaction is being performed (by app_twi_perform() ).
uint8_t volatile internal_transaction_result
Used to pass the result of the internal transaction realized by app_twi_perform() .
app_twi_transaction_t const
*volatile
p_current_transaction
Currently realized transaction.
nrf_drv_twi_t const twi
TWI master driver instance.

Detailed Description

TWI transaction manager instance.

  • components/libraries/twi/app_twi.h