Lines Matching full:event
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
119 NRF_GPIOTE_EVENTS_IN_0 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[0]), /**< In event 0.*/
120 NRF_GPIOTE_EVENTS_IN_1 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[1]), /**< In event 1.*/
121 NRF_GPIOTE_EVENTS_IN_2 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[2]), /**< In event 2.*/
122 NRF_GPIOTE_EVENTS_IN_3 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[3]), /**< In event 3.*/
124 NRF_GPIOTE_EVENTS_IN_4 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[4]), /**< In event 4.*/
125 NRF_GPIOTE_EVENTS_IN_5 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[5]), /**< In event 5.*/
126 NRF_GPIOTE_EVENTS_IN_6 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[6]), /**< In event 6.*/
127 NRF_GPIOTE_EVENTS_IN_7 = offsetof(NRF_GPIOTE_Type, EVENTS_IN[7]), /**< In event 7.*/
129 NRF_GPIOTE_EVENTS_PORT = offsetof(NRF_GPIOTE_Type, EVENTS_PORT), /**< Port event.*/
149 …NRF_GPIOTE_INT_PORT_MASK = (int)GPIOTE_INTENSET_PORT_Msk, /**< GPIOTE interrupt from PORT event. */
179 * @brief Function for getting the state of a specific GPIOTE event.
181 * @param[in] event Event.
183 __STATIC_INLINE bool nrf_gpiote_event_is_set(nrf_gpiote_events_t event);
186 * @brief Function for clearing a specific GPIOTE event.
188 * @param[in] event Event.
190 __STATIC_INLINE void nrf_gpiote_event_clear(nrf_gpiote_events_t event);
193 * @brief Function for getting the address of a specific GPIOTE event.
195 * @param[in] event Event.
199 __STATIC_INLINE uint32_t nrf_gpiote_event_addr_get(nrf_gpiote_events_t event);
242 * GPIOTE event.
244 * @param[in] event Event for which to set the configuration.
245 * @param[in] channel Channel through which to publish the event.
247 __STATIC_INLINE void nrf_gpiote_publish_set(nrf_gpiote_events_t event,
252 * GPIOTE event.
254 * @param[in] event Event for which to clear the configuration.
256 __STATIC_INLINE void nrf_gpiote_publish_clear(nrf_gpiote_events_t event);
259 /**@brief Function for enabling a GPIOTE event.
261 * @param[in] idx Task-Event index.
265 /**@brief Function for disabling a GPIOTE event.
267 * @param[in] idx Task-Event index.
271 /**@brief Function for configuring a GPIOTE event.
273 * @param[in] idx Task-Event index.
274 * @param[in] pin Pin associated with event.
275 * @param[in] polarity Transition that should generate an event.
280 /**@brief Function for getting the pin associated with a GPIOTE event.
282 * @param[in] idx Task-Event index.
288 /**@brief Function for getting the polarity associated with a GPIOTE event.
290 * @param[in] idx Task-Event index.
298 * @param[in] idx Task-Event index.
304 * @param[in] idx Task-Event index.
311 * @param[in] idx Task-Event index.
312 * @param[in] pin Pin associated with event.
313 * @param[in] polarity Transition that should generate an event.
322 * @param[in] idx Task-Event index.
327 /**@brief Function for resetting a GPIOTE task event configuration to the default state.
329 * @param[in] idx Task-Event index.
333 /**@brief Function for checking if particular Task-Event is enabled.
335 * @param[in] idx Task-Event index.
337 * @retval true If the Task-Event mode is set to Task or Event.
338 * @retval false If the Task-Event mode is set to Disabled.
353 __STATIC_INLINE bool nrf_gpiote_event_is_set(nrf_gpiote_events_t event) in nrf_gpiote_event_is_set() argument
355 return (*(uint32_t *)nrf_gpiote_event_addr_get(event) == 0x1UL) ? true : false; in nrf_gpiote_event_is_set()
358 __STATIC_INLINE void nrf_gpiote_event_clear(nrf_gpiote_events_t event) in nrf_gpiote_event_clear() argument
360 *(uint32_t *)nrf_gpiote_event_addr_get(event) = 0; in nrf_gpiote_event_clear()
362 volatile uint32_t dummy = *((volatile uint32_t *)nrf_gpiote_event_addr_get(event)); in nrf_gpiote_event_clear()
367 __STATIC_INLINE uint32_t nrf_gpiote_event_addr_get(nrf_gpiote_events_t event) in nrf_gpiote_event_addr_get() argument
369 return ((uint32_t)NRF_GPIOTE + event); in nrf_gpiote_event_addr_get()
400 __STATIC_INLINE void nrf_gpiote_publish_set(nrf_gpiote_events_t event, in nrf_gpiote_publish_set() argument
403 *((volatile uint32_t *) ((uint8_t *) NRF_GPIOTE + (uint32_t) event + 0x80uL)) = in nrf_gpiote_publish_set()
407 __STATIC_INLINE void nrf_gpiote_publish_clear(nrf_gpiote_events_t event) in nrf_gpiote_publish_clear() argument
409 *((volatile uint32_t *) ((uint8_t *) NRF_GPIOTE + (uint32_t) event + 0x80uL)) = 0; in nrf_gpiote_publish_clear()