Lines Matching full:event
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
65 … NRF_KMU_INT_PUSHED_MASK = KMU_INTEN_KEYSLOT_PUSHED_Msk, ///< Interrupt on KEYSLOT_PUSHED event.
66 … NRF_KMU_INT_REVOKED_MASK = KMU_INTEN_KEYSLOT_REVOKED_Msk, ///< Interrupt on KEYSLOT_REVOKED event.
67 NRF_KMU_INT_ERROR_MASK = KMU_INTEN_KEYSLOT_ERROR_Msk ///< Interrupt on KEYSLOT_ERROR event.
97 * @brief Function for clearing a specific KMU event.
100 * @param[in] event Event to clear.
102 __STATIC_INLINE void nrf_kmu_event_clear(NRF_KMU_Type * p_reg, nrf_kmu_event_t event);
105 * @brief Function for checking the state of a specific KMU event.
108 * @param[in] event Event to check.
110 * @retval true If the event is set.
111 * @retval false If the event is not set.
113 __STATIC_INLINE bool nrf_kmu_event_check(NRF_KMU_Type const * p_reg, nrf_kmu_event_t event);
116 * @brief Function for getting the address of a specific KMU event register.
119 * @param[in] event Requested event.
121 * @return Address of the specified event register.
124 nrf_kmu_event_t event);
207 __STATIC_INLINE void nrf_kmu_event_clear(NRF_KMU_Type * p_reg, nrf_kmu_event_t event) in nrf_kmu_event_clear() argument
209 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_kmu_event_clear()
210 volatile uint32_t dummy = *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)); in nrf_kmu_event_clear()
214 __STATIC_INLINE bool nrf_kmu_event_check(NRF_KMU_Type const * p_reg, nrf_kmu_event_t event) in nrf_kmu_event_check() argument
216 return (bool)*(volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event); in nrf_kmu_event_check()
220 nrf_kmu_event_t event) in nrf_kmu_event_address_get() argument
222 return ((uint32_t)p_reg + (uint32_t)event); in nrf_kmu_event_address_get()