app_twi_cb_t

nRF5 SDK v13.1.0

TWI instance control block. More...

#include <app_twi.h>

Data Fields

app_twi_transaction_t const
*volatile
p_current_transaction
Currently realized transaction.
nrf_drv_twi_config_t default_configuration
Default hardware configuration.
nrf_drv_twi_config_t const * p_current_configuration
Pointer to current hardware configuration.
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() .

Detailed Description

TWI instance control block.

  • components/libraries/twi/app_twi.h