Home
last modified time | relevance | path

Searched refs:event (Results 1 – 15 of 15) sorted by relevance

/nrf_hw_models-3.5.0/src/HW_models/
DNHW_templates.h53 #define _NHW_XPPI_EVENT(peri, peri_regs, inst, event) \ argument
54 nrf_ppi_event(peri##_EVENTS_##event)
56 #define _NHW_XPPI_EVENT(peri, peri_regs, inst, event) \ argument
58 peri_regs PUBLISH_##event)
69 #define NHW_SIGNAL_EVENT(peri, peri_regs, event) \ argument
70 void nhw_##peri##_signal_EVENTS_##event(unsigned int inst) { \
71 peri_regs EVENTS_##event = 1; \
73 _NHW_XPPI_EVENT(peri, peri_regs, inst, event); \
80 #define NHW_SIGNAL_EVENT_ns(peri, peri_regs, event) \ argument
81 void nhw_##peri##_signal_EVENTS_##event##_noshort(unsigned int inst) { \
[all …]
DNHW_RTC.c622 ppi_event_types_t event = RTC0_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE() local
625 event = RTC0_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE()
628 event = RTC1_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE()
631 event = RTC2_EVENTS_COMPARE_0; in nhw_rtc_signal_COMPARE()
634 event += cc; in nhw_rtc_signal_COMPARE()
635 nrf_ppi_event(event); in nhw_rtc_signal_COMPARE()
658 ppi_event_types_t event = RTC0_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW() local
661 event = RTC0_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW()
664 event = RTC1_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW()
667 event = RTC2_EVENTS_OVRFLW; in nhw_rtc_signal_OVERFLOW()
[all …]
DNRF_PPI.h324 void nrf_ppi_event(ppi_event_types_t event);
DNRF_PPI.c686 void nrf_ppi_event(ppi_event_types_t event){ in nrf_ppi_event() argument
688 uint32_t ch_mask = ppi_evt_to_ch[event].channels_mask; in nrf_ppi_event()
/nrf_hw_models-3.5.0/src/nrfx/hal/
Dnrf_rtc.c70 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()
Dnrf_temp.c37 void nrf_temp_event_clear(NRF_TEMP_Type * p_reg, nrf_temp_event_t event) in nrf_temp_event_clear() argument
39 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_temp_event_clear()
Dnrf_ecb.c37 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()
Dnrf_aar.c37 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()
Dnrf_ccm.c40 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()
Dnrf_gpiote.c65 void nrf_gpiote_event_clear(NRF_GPIOTE_Type * p_reg, nrf_gpiote_event_t event) in nrf_gpiote_event_clear() argument
67 uint32_t *reg = (uint32_t *)((uintptr_t)p_reg + event); in nrf_gpiote_event_clear()
76 bs_trace_error_time_line("%s: Unknown GPIOTE event %i\n",event); /* LCOV_EXCL_LINE */ in nrf_gpiote_event_clear()
Dnrf_timer.c56 nrf_timer_event_t event) in nrf_timer_event_clear() argument
58 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_timer_event_clear()
Dnrf_radio.c68 void nrf_radio_event_clear(NRF_RADIO_Type * p_reg, nrf_radio_event_t event) in nrf_radio_event_clear() argument
70 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_radio_event_clear()
Dnrf_clock.c71 void nrf_clock_event_clear(NRF_CLOCK_Type * p_reg, nrf_clock_event_t event) in nrf_clock_event_clear() argument
73 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_clock_event_clear()
/nrf_hw_models-3.5.0/docs/
DREADME_HW_models.md28 Overall these models are "event driven". There is several ways
32 ### About the event scheduling
54 Normally each peripheral model will have 1 of such event timers, and it will
58 Whenever a HW model updates its event timer, it will call a function in the HW scheduler.
61 when needed, and call into the corresponding HW submodule "event|task runner"
62 whenever its event time is reached.
66 Each timer|event has a given priority, and therefore will always be called
69 Note also, that any HW submodule may schedule a new event to be called in the
73 When they do so, their "event|task runner" will be called right after in the
140 Use a registered event. When that event timer
[all …]
DLICENSE160 8. Limitation of Liability. In no event and under no legal theory,