| 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
nrf_drv_twis_evt_t Struct Reference
TWIS driver

TWIS driver event structure. More...

`#include <nrf_drv_twis.h>`

## Data Fields
nrf_drv_twis_evt_type_t | type
| Event type.
union {
bool buf_req
| Flag for TWIS_EVT_READ_REQ and TWIS_EVT_WRITE_REQ. More...
uint32_t tx_amount
| Data for TWIS_EVT_READ_DONE.
uint32_t rx_amount
| Data for TWIS_EVT_WRITE_DONE.
uint32_t error
| Data for TWIS_EVT_GENERAL_ERROR.
} | data

## Detailed Description

TWIS driver event structure.

## Field Documentation

bool nrf_drv_twis_evt_t::buf_req

Flag for TWIS_EVT_READ_REQ and TWIS_EVT_WRITE_REQ.

Information if transmission buffer requires to be prepared