1 /*
2  * Copyright (c) 2017 Oticon A/S
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef _NRF_RADIO_H
7 #define _NRF_RADIO_H
8 
9 #include "nrfx.h"
10 
11 #ifdef __cplusplus
12 extern "C"{
13 #endif
14 
15 extern NRF_RADIO_Type NRF_RADIO_regs;
16 
17 void nrf_radio_init();
18 void nrf_radio_clean_up();
19 void nrf_radio_timer_triggered();
20 void nrf_radio_timer_abort_reeval_triggered();
21 
22 void nrf_radio_tasks_txen ();
23 void nrf_radio_tasks_rxen ();
24 void nrf_radio_tasks_start ();
25 void nrf_radio_tasks_stop () ;
26 void nrf_radio_tasks_disable ();
27 void nrf_radio_tasks_rssistart ();
28 void nrf_radio_tasks_rssistop ();
29 void nrf_radio_tasks_bcstart ();
30 void nrf_radio_tasks_bcstop ();
31 
32 void nrf_radio_bitcounter_timer_triggered();
33 
34 void nrf_radio_regw_sideeffects_BCC();
35 void nrf_radio_regw_sideeffects_POWER();
36 void nrf_radio_regw_sideeffects_TASKS_DISABLE();
37 void nrf_radio_regw_sideeffects_TASKS_RSSISTART();
38 void nrf_radio_regw_sideeffects_TASKS_RSSISTOP();
39 void nrf_radio_regw_sideeffects_TASKS_RXEN();
40 void nrf_radio_regw_sideeffects_TASKS_TXEN();
41 void nrf_radio_regw_sideeffects_INTENSET();
42 void nrf_radio_regw_sideeffects_INTENCLR();
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
49