Lines Matching full:event
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
72 NRF_WDT_EVENT_TIMEOUT = offsetof(NRF_WDT_Type, EVENTS_TIMEOUT), /**< Event from WDT time-out. */
110 NRF_WDT_INT_TIMEOUT_MASK = WDT_INTENSET_TIMEOUT_Msk, /**< WDT interrupt from time-out event. */
128 * @brief Function for clearing the WDT event.
130 * @param[in] event Event.
132 __STATIC_INLINE void nrf_wdt_event_clear(nrf_wdt_event_t event);
135 * @brief Function for retrieving the state of the WDT event.
137 * @param[in] event Event.
139 * @retval true If the event is set.
140 * @retval false If the event is not set.
142 __STATIC_INLINE bool nrf_wdt_event_check(nrf_wdt_event_t event);
189 * WDT event.
191 * @param[in] event Event for which to set the configuration.
192 * @param[in] channel Channel through which to publish the event.
194 __STATIC_INLINE void nrf_wdt_publish_set(nrf_wdt_event_t event,
199 * WDT event.
201 * @param[in] event Event for which to clear the configuration.
203 __STATIC_INLINE void nrf_wdt_publish_clear(nrf_wdt_event_t event);
214 * @brief Function for returning the address of a specific WDT event register.
216 * @param[in] event Event.
218 * @retval address of requested event register
220 __STATIC_INLINE uint32_t nrf_wdt_event_address_get(nrf_wdt_event_t event);
297 __STATIC_INLINE void nrf_wdt_event_clear(nrf_wdt_event_t event) in nrf_wdt_event_clear() argument
299 *((volatile uint32_t *)((uint8_t *)NRF_WDT + (uint32_t)event)) = NRF_WDT_EVENT_CLEAR; in nrf_wdt_event_clear()
301 volatile uint32_t dummy = *((volatile uint32_t *)((uint8_t *)NRF_WDT + (uint32_t)event)); in nrf_wdt_event_clear()
306 __STATIC_INLINE bool nrf_wdt_event_check(nrf_wdt_event_t event) in nrf_wdt_event_check() argument
308 return (bool)*((volatile uint32_t *)((uint8_t *)NRF_WDT + event)); in nrf_wdt_event_check()
339 __STATIC_INLINE void nrf_wdt_publish_set(nrf_wdt_event_t event, in nrf_wdt_publish_set() argument
342 *((volatile uint32_t *) ((uint8_t *) NRF_WDT + (uint32_t) event + 0x80uL)) = in nrf_wdt_publish_set()
346 __STATIC_INLINE void nrf_wdt_publish_clear(nrf_wdt_event_t event) in nrf_wdt_publish_clear() argument
348 *((volatile uint32_t *) ((uint8_t *) NRF_WDT + (uint32_t) event + 0x80uL)) = 0; in nrf_wdt_publish_clear()
357 __STATIC_INLINE uint32_t nrf_wdt_event_address_get(nrf_wdt_event_t event) in nrf_wdt_event_address_get() argument
359 return ((uint32_t)NRF_WDT + event); in nrf_wdt_event_address_get()