TWIS driver event structure. More...
#include <nrfx_twis.h>
Data Fields |
|
| nrfx_twis_evt_type_t | type |
|
Event type.
|
|
| union { | |
| bool buf_req | |
|
Flag for
NRFX_TWIS_EVT_READ_REQ
and
NRFX_TWIS_EVT_WRITE_REQ
.
More...
|
|
| uint32_t tx_amount | |
|
Data for
NRFX_TWIS_EVT_READ_DONE
.
|
|
| uint32_t rx_amount | |
|
Data for
NRFX_TWIS_EVT_WRITE_DONE
.
|
|
| uint32_t error | |
|
Data for
NRFX_TWIS_EVT_GENERAL_ERROR
.
|
|
| } | data |
Detailed Description
TWIS driver event structure.
Field Documentation
| bool nrfx_twis_evt_t::buf_req |
Flag for NRFX_TWIS_EVT_READ_REQ and NRFX_TWIS_EVT_WRITE_REQ .
Information if transmission buffer requires to be prepared.
- modules/nrfx/drivers/include/nrfx_twis.h