1 /* 2 * Copyright (c) 2017 Oticon A/S 3 * Copyright (c) 2023 Nordic Semiconductor ASA 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 #ifndef _NRF_RADIO_H 8 #define _NRF_RADIO_H 9 10 #ifdef __cplusplus 11 extern "C"{ 12 #endif 13 14 void nhw_RADIO_TASK_TXEN(void); 15 void nhw_RADIO_TASK_RXEN(void); 16 void nhw_RADIO_TASK_START(void); 17 void nhw_RADIO_TASK_CCASTART(void); 18 void nhw_RADIO_TASK_CCASTOP(void); 19 void nhw_RADIO_TASK_EDSTART(void); 20 void nhw_RADIO_TASK_EDSTOP(void); 21 void nhw_RADIO_TASK_STOP(void) ; 22 void nhw_RADIO_TASK_DISABLE(void); 23 void nhw_RADIO_TASK_RSSISTART(void); 24 void nhw_RADIO_TASK_RSSISTOP(void); 25 void nhw_RADIO_TASK_BCSTART(void); 26 void nhw_RADIO_TASK_BCSTOP(void); 27 void nhw_RADIO_TASK_SOFTRESET(void); 28 29 void nhw_RADIO_regw_sideeffects_BCC(void); 30 void nhw_RADIO_regw_sideeffects_POWER(void); 31 void nhw_RADIO_regw_sideeffects_TASKS_TXEN(void); 32 void nhw_RADIO_regw_sideeffects_TASKS_RXEN(void); 33 void nhw_RADIO_regw_sideeffects_TASKS_START(void); 34 void nhw_RADIO_regw_sideeffects_TASKS_STOP(void); 35 void nhw_RADIO_regw_sideeffects_TASKS_DISABLE(void); 36 void nhw_RADIO_regw_sideeffects_TASKS_RSSISTART(void); 37 void nhw_RADIO_regw_sideeffects_TASKS_RSSISTOP(void); 38 void nhw_RADIO_regw_sideeffects_TASKS_BCSTART(void); 39 void nhw_RADIO_regw_sideeffects_TASKS_BCSTOP(void); 40 void nhw_RADIO_regw_sideeffects_TASKS_EDSTART(void); 41 void nhw_RADIO_regw_sideeffects_TASKS_EDSTOP(void); 42 void nhw_RADIO_regw_sideeffects_TASKS_CCASTART(void); 43 void nhw_RADIO_regw_sideeffects_TASKS_CCASTOP(void); 44 void nhw_RADIO_regw_sideeffects_TASKS_SOFTRESET(void); 45 void nhw_RADIO_regw_sideeffects_INTENSET(unsigned int int_l); 46 void nhw_RADIO_regw_sideeffects_INTENCLR(unsigned int int_l); 47 void nhw_RADIO_regw_sideeffects_EVENTS_all(unsigned int inst); 48 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_TXEN(unsigned int); 49 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_RXEN(unsigned int); 50 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_START(unsigned int); 51 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_STOP(unsigned int); 52 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_DISABLE(unsigned int); 53 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_RSSISTART(unsigned int); 54 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_RSSISTOP(unsigned int); 55 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_BCSTART(unsigned int); 56 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_BCSTOP(unsigned int); 57 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_EDSTART(unsigned int); 58 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_EDSTOP(unsigned int); 59 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_CCASTART(unsigned int); 60 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_CCASTOP(unsigned int); 61 void nhw_RADIO_regw_sideeffects_SUBSCRIBE_SOFTRESET(unsigned int); 62 63 /* 64 * Note 65 * hw_radio_testcheat_set_tx_power_gain() & 66 * hw_radio_testcheat_set_rx_power_gain() 67 * are defined in hw_testcheat_if.h 68 */ 69 70 /* 71 * Internal interface to bitcounter 72 */ 73 double nhw_radio_get_bpus(void); 74 75 #ifdef __cplusplus 76 } 77 #endif 78 79 #endif 80 81