Home
last modified time | relevance | path

Searched refs:NRF_RADIO_regs (Results 1 – 8 of 8) sorted by relevance

/nrf_hw_models-3.7.0/src/HW_models/
DNHW_RADIO_utils.c25 extern NRF_RADIO_Type NRF_RADIO_regs;
29 if ( (NRF_RADIO_regs.CRCCNF & RADIO_CRCCNF_LEN_Msk) in nrfra_check_crc_conf_ble()
33 NRF_RADIO_regs.CRCCNF & RADIO_CRCCNF_LEN_Msk); in nrfra_check_crc_conf_ble()
39 checked = NRF_RADIO_regs.PCNF1 & in nrfra_check_pcnf1_ble()
53 __func__, NRF_RADIO_regs.PCNF1); in nrfra_check_pcnf1_ble()
58 int checked =NRF_RADIO_regs.PCNF0 & in nrfra_check_ble1M_conf()
72 NRF_RADIO_regs.PCNF0); in nrfra_check_ble1M_conf()
81 int checked =NRF_RADIO_regs.PCNF0 & in nrfra_check_ble2M_conf()
95 NRF_RADIO_regs.PCNF0); in nrfra_check_ble2M_conf()
104 int checked =NRF_RADIO_regs.PCNF0 & in nrfra_check_bleLR_conf()
[all …]
DNHW_RADIO.c210 NRF_RADIO_Type NRF_RADIO_regs; variable
257 memset(&NRF_RADIO_regs, 0, sizeof(NRF_RADIO_regs)); in radio_reset()
268 NRF_RADIO_regs.FREQUENCY = 0x00000002; in radio_reset()
269 NRF_RADIO_regs.SFD = 0xA7; in radio_reset()
270 NRF_RADIO_regs.CCACTRL = 0x052D0000; in radio_reset()
271 NRF_RADIO_regs.CTEINLINECONF = 0x00002800; in radio_reset()
272 NRF_RADIO_regs.DFECTRL1 = 0x00023282; in radio_reset()
274 NRF_RADIO_regs.PSEL.DFEGPIO[i] = 0xFFFFFFFF; in radio_reset()
275 NRF_RADIO_regs.DFEPACKET.MAXCNT = 0x00001000; in radio_reset()
278 NRF_RADIO_regs.DATAWHITE = 0x00890040; in radio_reset()
[all …]
DNHW_RADIO_timings.c19 extern NRF_RADIO_Type NRF_RADIO_regs;
109 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_2Mbit) { in nhwra_timings_get_Rx_chain_delay()
111 } else if ((NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR500Kbit) in nhwra_timings_get_Rx_chain_delay()
112 || (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit)) { in nhwra_timings_get_Rx_chain_delay()
115 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in nhwra_timings_get_Rx_chain_delay()
123 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_2Mbit) { in get_modidx()
125 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR500Kbit) { in get_modidx()
127 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit) { in get_modidx()
129 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in get_modidx()
147 if ( NRF_RADIO_regs.TIMING & 1 ){ /* TIMMING.RU */
[all …]
DNHW_RADIO_signals.c41 extern NRF_RADIO_Type NRF_RADIO_regs;
57 if (NRF_RADIO_regs.EVENTS_##event && (inten & RADIO_ ## intenset ## event ##_Msk)){ \ in nhw_RADIO_eval_interrupt()
107 uint32_t *INTENSET = (uint32_t *)((uintptr_t)&NRF_RADIO_regs.INTENSET00 + int_l*radio_int_pdiff); in nhw_RADIO_regw_sideeffects_INTENSET()
109 uint32_t *INTENSET = (uint32_t *)(uintptr_t)&NRF_RADIO_regs.INTENSET; in nhw_RADIO_regw_sideeffects_INTENSET()
121 uint32_t *INTENSET = (uint32_t *)((uintptr_t)&NRF_RADIO_regs.INTENSET00 + int_l*radio_int_pdiff); in nhw_RADIO_regw_sideeffects_INTENCLR()
122 uint32_t *INTENCLR = (uint32_t *)((uintptr_t)&NRF_RADIO_regs.INTENCLR00 + int_l*radio_int_pdiff); in nhw_RADIO_regw_sideeffects_INTENCLR()
124 uint32_t *INTENSET = (uint32_t *)(uintptr_t)&NRF_RADIO_regs.INTENSET; in nhw_RADIO_regw_sideeffects_INTENCLR()
125 uint32_t *INTENCLR = (uint32_t *)(uintptr_t)&NRF_RADIO_regs.INTENCLR; in nhw_RADIO_regw_sideeffects_INTENCLR()
260 extern NRF_RADIO_Type NRF_RADIO_regs;
271 if ( NRF_RADIO_regs.TASKS_RSSISTART ){ in NHW_SIDEEFFECTS_TASKS_si()
[all …]
DNRF_PPI.c103 { (void*)&NRF_RADIO_regs.TASKS_TXEN, nhw_RADIO_TASK_TXEN},
104 { (void*)&NRF_RADIO_regs.TASKS_RXEN, nhw_RADIO_TASK_RXEN},
105 { (void*)&NRF_RADIO_regs.TASKS_START, nhw_RADIO_TASK_START},
106 { (void*)&NRF_RADIO_regs.TASKS_STOP, nhw_RADIO_TASK_STOP},
107 { (void*)&NRF_RADIO_regs.TASKS_DISABLE, nhw_RADIO_TASK_DISABLE},
108 { (void*)&NRF_RADIO_regs.TASKS_RSSISTART, nhw_RADIO_TASK_RSSISTART},
109 { (void*)&NRF_RADIO_regs.TASKS_RSSISTOP, nhw_RADIO_TASK_RSSISTOP},
110 { (void*)&NRF_RADIO_regs.TASKS_BCSTART, nhw_RADIO_TASK_BCSTART},
111 { (void*)&NRF_RADIO_regs.TASKS_BCSTOP, nhw_RADIO_TASK_BCSTOP},
112 { (void*)&NRF_RADIO_regs.TASKS_EDSTART, nhw_RADIO_TASK_EDSTART},
[all …]
DNHW_RADIO_bitcounter.c32 extern NRF_RADIO_Type NRF_RADIO_regs;
53 Timer_RADIO_bitcounter = Time_BitCounterStarted + NRF_RADIO_regs.BCC/nhw_radio_get_bpus(); in nhw_RADIO_TASK_BCSTART()
76 Timer_RADIO_bitcounter = Time_BitCounterStarted + NRF_RADIO_regs.BCC/nhw_radio_get_bpus(); in nhw_RADIO_regw_sideeffects_BCC()
DNHW_misc.c52 extern NRF_RADIO_Type NRF_RADIO_regs; in nhw_convert_periph_base_addr()
288 {(void *)(&NRF_RADIO_regs) ,0x41008000UL}, in nhw_convert_periph_base_addr()
/nrf_hw_models-3.7.0/src/nrfx/mdk_replacements/
Dnrf_bsim_redef.h49 extern NRF_RADIO_Type NRF_RADIO_regs;
51 #define NRF_RADIO_BASE (&NRF_RADIO_regs)
139 extern NRF_RADIO_Type NRF_RADIO_regs;
141 #define NRF_RADIO_NS_BASE (&NRF_RADIO_regs)
637 extern NRF_RADIO_Type NRF_RADIO_regs;
639 #define NRF_RADIO_NS_BASE (&NRF_RADIO_regs)
641 #define NRF_RADIO_S_BASE (&NRF_RADIO_regs)