52 #include "nrf_drv_twi.h" Invalid parameters.
Definition: drv_acc.h:59
ret_code_t drv_acc_wakeup_prepare(bool p_wakeup)
Function for preparing for sleep and subsequent wakeup.
nrf_drv_twi_t const * p_twi_instance
The instance of TWI master to be used for transactions.
Definition: drv_acc.h:69
ret_code_t drv_acc_init(drv_acc_cfg_t const *const p_cfg)
Function for initializing the accelerometer driver.
nrf_drv_twi_config_t const * p_twi_cfg
The TWI configuration to use while the driver is enabled.
Definition: drv_acc.h:70
The driver is unitialized, please initialize.
Definition: drv_acc.h:61
Wrong device at I2C (TWI) address.
Definition: drv_acc.h:60
LIS3DH accelerometer configuration struct.
Definition: drv_acc.h:66
Successful.
Definition: drv_acc.h:58
uint8_t twi_addr
TWI (I2C) address of device.
Definition: drv_acc.h:68
uint8_t cpu_wake_pin
Pin on the nRF used to wake from sleep.
Definition: drv_acc.h:71