nRF51 SDK: Interface

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Interface
ANT Stride and Distance Monitor (SDM) RX example

SDM RX module interface. More...

## Functions

uint32_t | sdm_rx_init (void)
| Function for initializing and resetting the SDM module.
uint32_t | sdm_rx_data_process (uint8_t *p_page_data)
| Function for processing the received data. Figure out the page received and save data to corresponding buffers. More...
uint32_t | sdm_rx_log (uint8_t page)
| Function for logging activity on UART, GPIO or None. More...

## Detailed Description

SDM RX module interface.

## Function Documentation

uint32_t sdm_rx_data_process | ( | uint8_t * | p_page_data | ) |

Function for processing the received data. Figure out the page received and save data to corresponding buffers.

Parameters

  [in] | p_page_data | The SDM page data to process.

Returns
  NRF_SUCCESS.

uint32_t sdm_rx_log | ( | uint8_t | page | ) |

Function for logging activity on UART, GPIO or None.

Parameters

  [in] | page | The page number to write log for.

Returns
  NRF_SUCCESS.