nRF51 SDK - S120 SoftDevice
|
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 |
Structure for a TWI event.
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.