Lines Matching full:event

22  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
140 …OCK_INT_HF_STARTED_MASK = CLOCK_INTENSET_HFCLKSTARTED_Msk, /**< Interrupt on HFCLKSTARTED event. */
141 …OCK_INT_LF_STARTED_MASK = CLOCK_INTENSET_LFCLKSTARTED_Msk, /**< Interrupt on LFCLKSTARTED event. */
143 … NRF_CLOCK_INT_DONE_MASK = CLOCK_INTENSET_DONE_Msk, /**< Interrupt on DONE event. */
144 … NRF_CLOCK_INT_CTTO_MASK = CLOCK_INTENSET_CTTO_Msk /**< Interrupt on CTTO event. */
222 * @brief Function for retrieving the address of a specific event.
225 * @param[in] event Event.
227 * @return Address of the requested event register.
229 __STATIC_INLINE uint32_t nrf_clock_event_address_get(nrf_clock_event_t event);
232 * @brief Function for clearing a specific event.
234 * @param[in] event Event.
236 __STATIC_INLINE void nrf_clock_event_clear(nrf_clock_event_t event);
239 * @brief Function for retrieving the state of a specific event.
241 * @param[in] event Event.
243 * @retval true If the event is set.
244 * @retval false If the event is not set.
246 __STATIC_INLINE bool nrf_clock_event_check(nrf_clock_event_t event);
368 * CLOCK event.
370 * @param[in] event Event for which to set the configuration.
371 * @param[in] channel Channel through which to publish the event.
373 __STATIC_INLINE void nrf_clock_publish_set(nrf_clock_event_t event,
378 * CLOCK event.
380 * @param[in] event Event for which to clear the configuration.
382 __STATIC_INLINE void nrf_clock_publish_clear(nrf_clock_event_t event);
412 __STATIC_INLINE uint32_t nrf_clock_event_address_get(nrf_clock_event_t event) in nrf_clock_event_address_get() argument
414 return ((uint32_t)NRF_CLOCK + event); in nrf_clock_event_address_get()
417 __STATIC_INLINE void nrf_clock_event_clear(nrf_clock_event_t event) in nrf_clock_event_clear() argument
419 *((volatile uint32_t *)((uint8_t *)NRF_CLOCK + event)) = NRF_CLOCK_EVENT_CLEAR; in nrf_clock_event_clear()
421 volatile uint32_t dummy = *((volatile uint32_t *)((uint8_t *)NRF_CLOCK + (uint32_t)event)); in nrf_clock_event_clear()
426 __STATIC_INLINE bool nrf_clock_event_check(nrf_clock_event_t event) in nrf_clock_event_check() argument
428 return (bool)*((volatile uint32_t *)((uint8_t *)NRF_CLOCK + event)); in nrf_clock_event_check()
503 __STATIC_INLINE void nrf_clock_publish_set(nrf_clock_event_t event, in nrf_clock_publish_set() argument
506 *((volatile uint32_t *) ((uint8_t *) NRF_CLOCK + (uint32_t) event + 0x80uL)) = in nrf_clock_publish_set()
510 __STATIC_INLINE void nrf_clock_publish_clear(nrf_clock_event_t event) in nrf_clock_publish_clear() argument
512 *((volatile uint32_t *) ((uint8_t *) NRF_CLOCK + (uint32_t) event + 0x80uL)) = 0; in nrf_clock_publish_clear()