nRF51 SDK v9.0.0
Structure for a TWI event. More...
#include <nrf_drv_twi.h>
Data Fields |
|
| nrf_drv_twi_evt_type_t | type |
| uint8_t * | p_data |
| uint32_t | length |
| nrf_twi_error_t | error_src |
Detailed Description
Structure for a TWI event.
Field Documentation
| nrf_twi_error_t nrf_drv_twi_evt_t::error_src |
TWI error source (valid only for NRF_DRV_TWI_ERROR event).
| uint32_t nrf_drv_twi_evt_t::length |
Number of bytes transferred.
| uint8_t* nrf_drv_twi_evt_t::p_data |
Pointer to transferred data.
| nrf_drv_twi_evt_type_t nrf_drv_twi_evt_t::type |
Event type.