R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information
Fork of nrf51-sdk by
Types definitions for ANT support in SoftDevice handler.
[SoftDevice Event Handler]
This file contains the declarations of types required for ANT stack support. More...
|ANT stack event type. More...|
|typedef void(*||ant_evt_handler_t )(ant_evt_t *p_ant_evt)|
|Application ANT stack event handler type. |
|uint32_t||softdevice_ant_evt_handler_set (ant_evt_handler_t ant_evt_handler)|
|Function for registering for ANT events. |
This file contains the declarations of types required for ANT stack support.
These types will be defined when the preprocessor define ANT_STACK_SUPPORT_REQD is defined.
|uint32_t softdevice_ant_evt_handler_set||(||ant_evt_handler_t||ant_evt_handler )|
Function for registering for ANT events.
The application should use this function to register for receiving ANT events from the SoftDevice. If the application does not call this function, then any ANT event that may be generated by the SoftDevice will NOT be fetched. Once the application has registered for the events, it is not possible to possible to cancel the registration. However, it is possible to register a different function for handling the events at any point of time.
[in] ant_evt_handler Function to be called for each received ANT event.
- Return values:
NRF_SUCCESS Successful registration. NRF_ERROR_NULL Null pointer provided as input.
Generated on Tue Jul 12 2022 19:00:13 by 1.7.2