20 #ifndef RADIO_TRIGGER_H 21 #define RADIO_TRIGGER_H 27 #if SYS_CFG_PRESENT == 1 28 #include "sys_config.h" 31 #ifndef TIMER_USED_RADIO_TRIGGER 32 #define TIMER_USED_RADIO_TRIGGER 0 // 35 #ifndef TIMER_CHANNEL_USED_RADIO_TRIGGER_0 36 #define TIMER_CHANNEL_USED_RADIO_TRIGGER_0 0 39 #ifndef TIMER_CHANNEL_USED_RADIO_TRIGGER_1 40 #define TIMER_CHANNEL_USED_RADIO_TRIGGER_1 1 43 #ifndef TIMER_CHANNEL_USED_RADIO_TRIGGER_2 44 #define TIMER_CHANNEL_USED_RADIO_TRIGGER_2 2 57 radio_trigger_dir_t comm_direction;
59 uint32_t tx_on_time_ms;
60 uint32_t tx_on_freq_us;
61 uint32_t rx_on_time_ms;
63 void (* radio_trigger_tx_callback) (
void * data, uint32_t len);
64 void (* radio_trigger_rx_callback) (
void * data, uint32_t len);
66 }radio_trigger_init_t;
68 void radio_trigger_init (radio_trigger_init_t * radio_trig_init);
70 void radio_trigger_yell ();
72 void radio_trigger_listen ();
74 void radio_trigger_shut ();
76 void radio_trigger_memorize_data (
void * data, uint32_t len);
78 bool is_radio_trigger_availabel ();
app_irq_priority_t
Priority levels that the application can use based on whether the SoftDevice (SD) is used.