Home
last modified time | relevance | path

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

/nrf_hw_models-3.7.0/src/nrfx/hal/
Dnrf_gpiote.c93 void nrf_gpiote_event_enable(NRF_GPIOTE_Type * p_reg, uint32_t idx) in nrf_gpiote_event_enable() argument
95 p_reg->CONFIG[idx] |= GPIOTE_CONFIG_MODE_Event; in nrf_gpiote_event_enable()
96 nrf_gpiote_regw_sideeffects_CONFIG(idx); in nrf_gpiote_event_enable()
99 void nrf_gpiote_event_disable(NRF_GPIOTE_Type * p_reg, uint32_t idx) in nrf_gpiote_event_disable() argument
101 p_reg->CONFIG[idx] &= ~GPIOTE_CONFIG_MODE_Msk; in nrf_gpiote_event_disable()
102 nrf_gpiote_regw_sideeffects_CONFIG(idx); in nrf_gpiote_event_disable()
106 uint32_t idx, in nrf_gpiote_event_configure() argument
110 p_reg->CONFIG[idx] &= ~(GPIOTE_CONFIG_PORT_PIN_Msk | GPIOTE_CONFIG_POLARITY_Msk); in nrf_gpiote_event_configure()
111 p_reg->CONFIG[idx] |= ((pin << GPIOTE_CONFIG_PSEL_Pos) & GPIOTE_CONFIG_PORT_PIN_Msk) | in nrf_gpiote_event_configure()
113 nrf_gpiote_regw_sideeffects_CONFIG(idx); in nrf_gpiote_event_configure()
[all …]