/nrf_hw_models-latest/src/HW_models/ |
D | NHW_CRACEN_wrap.c | 75 #define NHW_CRACEN_SIGNAL_EVENT(event) \ argument 76 void nhw_CRACEN_signal_EVENTS_##event(void) \ 78 NRF_CRACEN_regs.EVENTS_##event = 1; \ 82 #define NHW_CRACEN_TOGGLE_INTLINE(event) \ argument 83 void nhw_CRACEN_toggle_##event##_intline(bool level) { \ 84 if (level == cracen_w_st. event##_int_line){ \ 87 cracen_w_st. event##_int_line = level; \ 89 nhw_CRACEN_signal_EVENTS_##event(); \ 93 #define NHW_CRACEN_REGW_SIDEEFFECTS_EVENT(event) \ argument 94 void nhw_CRACEN_regw_sideeffects_EVENTS_##event(void) { \ [all …]
|
D | NHW_templates.h | 72 #define _NHW_XPPI_EVENT(peri, peri_regs, inst, event) \ argument 73 nrf_ppi_event(peri##_EVENTS_##event) 75 #define _NHW_XPPI_EVENT(peri, peri_regs, inst, event) \ argument 77 peri_regs PUBLISH_##event) 81 #define _NHW_SIGNAL_EVENT_body(peri, peri_regs, event) \ argument 83 peri_regs EVENTS_##event = 1; \ 85 _NHW_XPPI_EVENT(peri, peri_regs, inst, event); \ 97 #define NHW_SIGNAL_EVENT(peri, peri_regs, event) \ argument 98 void nhw_##peri##_signal_EVENTS_##event(unsigned int inst) \ 99 _NHW_SIGNAL_EVENT_body(peri, peri_regs, event) [all …]
|
D | NHW_RTC.c | 624 ppi_event_types_t event = RTC0_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE() local 627 event = RTC0_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE() 630 event = RTC1_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE() 633 event = RTC2_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE() 636 event += cc; in nhw_rtc_signal_COMPARE() 637 nrf_ppi_event(event); in nhw_rtc_signal_COMPARE() 660 ppi_event_types_t event = RTC0_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW() local 663 event = RTC0_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW() 666 event = RTC1_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW() 669 event = RTC2_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW() [all …]
|
D | NHW_RADIO_signals.c | 56 #define _RADIO_CHECK_INTERRUPT(event, inten, intenset) \ in nhw_RADIO_eval_interrupt() argument 57 if (NRF_RADIO_regs.EVENTS_##event && (inten & RADIO_ ## intenset ## event ##_Msk)){ \ in nhw_RADIO_eval_interrupt() 62 #define RADIO_CHECK_INTERRUPT(event, inten) \ in nhw_RADIO_eval_interrupt() argument 63 _RADIO_CHECK_INTERRUPT(event, inten, INTENSET00_ ) in nhw_RADIO_eval_interrupt() 65 #define RADIO_CHECK_INTERRUPT(event, inten) \ in nhw_RADIO_eval_interrupt() argument 66 _RADIO_CHECK_INTERRUPT(event, inten, INTENSET_) in nhw_RADIO_eval_interrupt()
|
D | NHW_UART.c | 1180 #define _NHW_UARTE_XPPI_EVENT(inst, event, eventl) \ argument 1182 nrf_ppi_event(UARTE0_EVENTS_##event); \ 1184 nrf_ppi_event(UARTE1_EVENTS_##event); \ 1187 #define _NHW_UARTE_XPPI_EVENT(inst, event, eventl) \ argument 1192 #define _NHW_UARTE_SIGNAL_EVENT_body(event, eventl) \ argument 1196 _NHW_UARTE_XPPI_EVENT(inst, event, eventl); \ 1199 #define NHW_UARTE_SIGNAL_EVENT(event, eventl) \ argument 1200 static void nhw_UARTE_signal_EVENTS_##event(unsigned int inst) \ 1201 _NHW_UARTE_SIGNAL_EVENT_body(event, eventl) 1203 #define NHW_UARTE_SIGNAL_EVENT_ns(event, eventl) \ argument [all …]
|
D | NHW_54L_CLOCK.c | 256 #define NHW_SIGNAL_EVENT(peri, peri_regs, event) \ argument 257 void nhw_##peri##_signal_EVENTS_##event(unsigned int inst) \ 259 peri_regs EVENTS_##event = 1; \
|
D | NRF_PPI.h | 348 void nrf_ppi_event(ppi_event_types_t event);
|
D | NRF_PPI.c | 727 void nrf_ppi_event(ppi_event_types_t event){ in nrf_ppi_event() argument 729 uint32_t ch_mask = ppi_evt_to_ch[event].channels_mask; in nrf_ppi_event()
|
/nrf_hw_models-latest/src/nrfx/hal/ |
D | nrf_cracen.c | 27 nrf_cracen_event_t event) in nrf_cracen_event_clear() argument 29 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0; in nrf_cracen_event_clear() 30 if (event == NRF_CRACEN_EVENT_CRYPTOMASTER) { in nrf_cracen_event_clear() 32 } else if (event == NRF_CRACEN_EVENT_RNG) { in nrf_cracen_event_clear() 34 } else if (event == NRF_CRACEN_EVENT_PKE_IKG) { in nrf_cracen_event_clear() 37 bs_trace_error_time_line("Attempted to clear unknown event %i\n", event); in nrf_cracen_event_clear()
|
D | nrf_rtc.c | 70 void nrf_rtc_event_clear(NRF_RTC_Type * p_reg, nrf_rtc_event_t event) in nrf_rtc_event_clear() argument 72 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0; in nrf_rtc_event_clear() 85 void nrf_rtc_event_disable(NRF_RTC_Type * p_reg, uint32_t event) in nrf_rtc_event_disable() argument 88 p_reg->EVTENCLR = event; in nrf_rtc_event_disable()
|
D | nrf_temp.c | 39 void nrf_temp_event_clear(NRF_TEMP_Type * p_reg, nrf_temp_event_t event) in nrf_temp_event_clear() argument 41 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_temp_event_clear()
|
D | nrf_ecb.c | 37 void nrf_ecb_event_clear(NRF_ECB_Type * p_reg, nrf_ecb_event_t event) in nrf_ecb_event_clear() argument 39 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_ecb_event_clear()
|
D | nrf_aar.c | 37 void nrf_aar_event_clear(NRF_AAR_Type * p_reg, nrf_aar_event_t event) in nrf_aar_event_clear() argument 39 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_aar_event_clear()
|
D | nrf_ccm.c | 40 void nrf_ccm_event_clear(NRF_CCM_Type * p_reg, nrf_ccm_event_t event) in nrf_ccm_event_clear() argument 42 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_ccm_event_clear()
|
D | nrf_54_ecb.c | 47 void nrf_ecb_event_clear(NRF_ECB_Type * p_reg, nrf_ecb_event_t event) in nrf_ecb_event_clear() argument 50 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_ecb_event_clear()
|
D | nrf_54_aar.c | 64 void nrf_aar_event_clear(NRF_AAR_Type * p_reg, nrf_aar_event_t event) in nrf_aar_event_clear() argument 67 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_aar_event_clear()
|
D | nrf_54_ccm.c | 64 void nrf_ccm_event_clear(NRF_CCM_Type * p_reg, nrf_ccm_event_t event) in nrf_ccm_event_clear() argument 67 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_ccm_event_clear()
|
D | nrf_timer.c | 58 nrf_timer_event_t event) in nrf_timer_event_clear() argument 60 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_timer_event_clear()
|
D | nrf_radio.c | 83 void nrf_radio_event_clear(NRF_RADIO_Type * p_reg, nrf_radio_event_t event) in nrf_radio_event_clear() argument 85 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_radio_event_clear()
|
D | nrf_clock.c | 87 void nrf_clock_event_clear(NRF_CLOCK_Type * p_reg, nrf_clock_event_t event) in nrf_clock_event_clear() argument 89 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_clock_event_clear()
|
D | nrf_uart.c | 55 void nrf_uart_event_clear(NRF_UART_Type * p_reg, nrf_uart_event_t event) in nrf_uart_event_clear() argument 57 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_uart_event_clear()
|
D | nrf_uarte.c | 65 void nrf_uarte_event_clear(NRF_UARTE_Type * p_reg, nrf_uarte_event_t event) in nrf_uarte_event_clear() argument 67 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_uarte_event_clear()
|
D | nrf_gpiote.c | 73 void nrf_gpiote_event_clear(NRF_GPIOTE_Type * p_reg, nrf_gpiote_event_t event) in nrf_gpiote_event_clear() argument 75 uint32_t *reg = (uint32_t *)((uintptr_t)p_reg + event); in nrf_gpiote_event_clear() 92 bs_trace_error_time_line("%s: Unknown GPIOTE event %i\n",event); /* LCOV_EXCL_LINE */ in nrf_gpiote_event_clear()
|
D | nrf_grtc.c | 113 void nrf_grtc_event_clear(NRF_GRTC_Type * p_reg, nrf_grtc_event_t event) in nrf_grtc_event_clear() argument 115 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_grtc_event_clear()
|
/nrf_hw_models-latest/docs/ |
D | README_HW_models.md | 39 Overall these models are "event driven". There is several ways 43 ### About the event scheduling 65 Normally each peripheral model will have 1 of such event timers, and it will 69 Whenever a HW model updates its event timer, it will call a function in the HW scheduler. 72 when needed, and call into the corresponding HW submodule "event|task runner" 73 whenever its event time is reached. 77 Each timer|event has a given priority, and therefore will always be called 80 Note also, that any HW submodule may schedule a new event to be called in the 84 When they do so, their "event|task runner" will be called right after in the 152 Use a registered event. When that event timer [all …]
|