Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
pru.h File Reference
#include "app_timer.h"
#include "ble_wpts.h"
#include "pru_sm.h"
#include "pru_config.h"

Go to the source code of this file.

Macros

#define APP_TIMER_PRESCALER   0
 
#define APP_TIMER_OP_QUEUE_SIZE   10
 

Typedefs

typedef void(* app_sm_evt_handler_t) (pru_sm_signal_type_t signal, const pru_sm_state_vars_t *p_state_vars)
 
typedef void(* pru_sm_handler_t) (pru_sm_signal_type_t evt)
 

Functions

General API functions
void pru_init (app_sm_evt_handler_t sm_evt_handler)
 Initialize PRU. This function must be called before any other PRU function can be called. More...
 
void pru_start (void)
 Enable the PRU profile. When enabled sensor reading and signal generation will be enabled.
 
void pru_on_ble_evt (ble_evt_t *p_ble_evt)
 Handle BLE event.