Nordic Thingy:52 v2.2.0
|
Motion module API. More...
Modules | |
Motion flash configuration | |
Motion module flash configuration. | |
Data Structures | |
struct | m_motion_init_t |
TWI configuration struct. More... | |
Macros | |
#define | MOTION_DEFAULT_CONFIG |
Motion module default configuration. | |
Functions | |
uint32_t | m_motion_init (m_ble_service_handle_t *p_handle, m_motion_init_t *p_params) |
Function for initializing motion module. More... | |
uint32_t | m_motion_sleep_prepare (bool wakeup) |
Function for preparing for sleep mode. More... | |
Motion module API.
uint32_t m_motion_init | ( | m_ble_service_handle_t * | p_handle, |
m_motion_init_t * | p_params | ||
) |
Function for initializing motion module.
[out] | p_handle | Handle for BLE services. |
[in] | p_params | Init parameters. |
NRF_SUCCESS. |
uint32_t m_motion_sleep_prepare | ( | bool | wakeup | ) |
Function for preparing for sleep mode.
[in] | wakeup | Boolean indicating either wakeup or sleep forever. |
NRF_SUCCESS. |