Nordic Thingy:52
|
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 to initialize motion module. More... | |
uint32_t | m_motion_sleep_prepare (bool wakeup) |
Function to prepare 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 to initialize 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 to prepare for sleep mode.
[in] | wakeup | Boolean indicating wakeup or sleep for ever. |
NRF_SUCCESS. |