48 #ifndef __M_MOTION_H__ 49 #define __M_MOTION_H__ 55 #include "nrf_drv_twi.h" 59 #define MOTION_DEFAULT_CONFIG \ 61 .pedo_interval_ms = 1000, \ 62 .temp_interval_ms = 500, \ 63 .compass_interval_ms = 500, \ 64 .motion_freq_hz = 10, \ 72 nrf_drv_twi_t
const * p_twi_instance;
uint32_t m_motion_init(m_ble_service_handle_t *p_handle, m_motion_init_t *p_params)
Function for initializing motion module.
TWI configuration struct.
Definition: m_motion.h:70
BLE service handle structure.
Definition: m_ble.h:83
uint32_t m_motion_sleep_prepare(bool wakeup)
Function for preparing for sleep mode.