Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

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...
 

Detailed Description

Motion module API.

Function Documentation

uint32_t m_motion_init ( m_ble_service_handle_t p_handle,
m_motion_init_t p_params 
)

Function to initialize motion module.

Parameters
[out]p_handleHandle for BLE services.
[in]p_paramsInit parameters.
Return values
NRF_SUCCESS.
uint32_t m_motion_sleep_prepare ( bool  wakeup)

Function to prepare for sleep mode.

Parameters
[in]wakeupBoolean indicating wakeup or sleep for ever.
Return values
NRF_SUCCESS.