| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
app_twi_t Struct Reference
TWI transaction manager

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.