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
- components/drivers_nrf/twis_slave/nrf_drv_twis.h