Home
last modified time | relevance | path

Searched refs:NRF_GPIOTE_regs (Results 1 – 4 of 4) sorted by relevance

/nrf_hw_models-latest/src/HW_models/
DNRF_GPIOTE.c50 NRF_GPIOTE_Type NRF_GPIOTE_regs[NHW_GPIOTE_TOTAL_INST] = {0}; variable
84 memset(&NRF_GPIOTE_regs, 0, sizeof(NRF_GPIOTE_regs)); in nrf_gpiote_init()
171 if (NRF_GPIOTE_regs[inst].EVENTS_IN[i] && mask) { in nrf_gpiote_eval_interrupt()
179 if (NRF_GPIOTE_regs[inst].EVENTS_PORT && mask) { in nrf_gpiote_eval_interrupt()
184 if (NRF_GPIOTE_regs[inst].EVENTS_PORT[0].NONSECURE && mask) { in nrf_gpiote_eval_interrupt()
188 if (NRF_GPIOTE_regs[inst].EVENTS_PORT[0].SECURE && mask) { in nrf_gpiote_eval_interrupt()
200 NRF_GPIOTE_regs[inst].EVENTS_IN[n] = 1; in nhw_GPIOTE_signal_EVENTS_IN()
206 NRF_GPIOTE_regs[inst].PUBLISH_IN[n]); in nhw_GPIOTE_signal_EVENTS_IN()
212 NRF_GPIOTE_regs[inst].EVENTS_PORT = 1; in nhw_GPIOTE_signal_EVENTS_PORT()
214 NRF_GPIOTE_regs[inst].EVENTS_PORT[0].NONSECURE = 1; in nhw_GPIOTE_signal_EVENTS_PORT()
[all …]
DNRF_PPI.c139 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[0], nrf_gpiote_TASKS_OUT_0},
140 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[1], nrf_gpiote_TASKS_OUT_1},
141 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[2], nrf_gpiote_TASKS_OUT_2},
142 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[3], nrf_gpiote_TASKS_OUT_3},
143 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[4], nrf_gpiote_TASKS_OUT_4},
144 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[5], nrf_gpiote_TASKS_OUT_5},
145 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[6], nrf_gpiote_TASKS_OUT_6},
146 { (void*)&NRF_GPIOTE_regs[0].TASKS_OUT[7], nrf_gpiote_TASKS_OUT_7},
147 { (void*)&NRF_GPIOTE_regs[0].TASKS_SET[0], nrf_gpiote_TASKS_SET_0},
148 { (void*)&NRF_GPIOTE_regs[0].TASKS_SET[1], nrf_gpiote_TASKS_SET_1},
[all …]
/nrf_hw_models-latest/src/nrfx/hal/
Dnrf_gpiote.c48 int i = ( (int)p_reg - (int)&NRF_GPIOTE_regs[0] ) / sizeof(NRF_GPIOTE_Type); in gpiote_number_from_ptr()
59 if ((reg >= &NRF_GPIOTE_regs[inst].TASKS_OUT[0]) in nrf_gpiote_task_trigger()
60 && (reg<= &NRF_GPIOTE_regs[inst].TASKS_OUT[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_task_trigger()
61 nrf_gpiote_regw_sideeffects_TASKS_OUT(inst, reg - &NRF_GPIOTE_regs[inst].TASKS_OUT[0]); in nrf_gpiote_task_trigger()
62 } else if ((reg >= &NRF_GPIOTE_regs[inst].TASKS_SET[0]) in nrf_gpiote_task_trigger()
63 && (reg<= &NRF_GPIOTE_regs[inst].TASKS_SET[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_task_trigger()
64 nrf_gpiote_regw_sideeffects_TASKS_SET(inst, reg - &NRF_GPIOTE_regs[inst].TASKS_SET[0]); in nrf_gpiote_task_trigger()
65 } else if ((reg >= &NRF_GPIOTE_regs[inst].TASKS_CLR[0]) in nrf_gpiote_task_trigger()
66 && (reg<= &NRF_GPIOTE_regs[inst].TASKS_CLR[NHW_GPIOTE_MAX_CHANNELS])) { in nrf_gpiote_task_trigger()
67 nrf_gpiote_regw_sideeffects_TASKS_CLR(inst, reg - &NRF_GPIOTE_regs[inst].TASKS_CLR[0]); in nrf_gpiote_task_trigger()
[all …]
/nrf_hw_models-latest/src/nrfx/mdk_replacements/
Dnrf_bsim_redef.h80 extern NRF_GPIOTE_Type NRF_GPIOTE_regs[];
82 #define NRF_GPIOTE_BASE (&NRF_GPIOTE_regs[NHW_GPIOTE_0])
151 extern NRF_GPIOTE_Type NRF_GPIOTE_regs[];
153 #define NRF_GPIOTE_NS_BASE (&NRF_GPIOTE_regs[NHW_GPIOTE_NET])
371 extern NRF_GPIOTE_Type NRF_GPIOTE_regs[];
373 #define NRF_GPIOTE0_S_BASE (&NRF_GPIOTE_regs[NHW_GPIOTE_APP0])
485 #define NRF_GPIOTE1_NS_BASE (&NRF_GPIOTE_regs[NHW_GPIOTE_APP1])
801 extern NRF_GPIOTE_Type NRF_GPIOTE_regs[];
803 #define NRF_GPIOTE20_NS_BASE (&NRF_GPIOTE_regs[NHW_GPIOTE_20])
805 #define NRF_GPIOTE20_S_BASE (&NRF_GPIOTE_regs[NHW_GPIOTE_20])
[all …]