Lines Matching refs:CONFIG
120 p_reg->CONFIG[idx] |= GPIOTE_CONFIG_MODE_Event; in nrf_gpiote_event_enable()
127 p_reg->CONFIG[idx] &= ~GPIOTE_CONFIG_MODE_Msk; in nrf_gpiote_event_disable()
229 p_reg->CONFIG[idx] &= ~(GPIOTE_CONFIG_PORT_PIN_Msk | GPIOTE_CONFIG_POLARITY_Msk); in nrf_gpiote_event_configure()
230 p_reg->CONFIG[idx] |= ((pin << GPIOTE_CONFIG_PSEL_Pos) & GPIOTE_CONFIG_PORT_PIN_Msk) | in nrf_gpiote_event_configure()
238 uint32_t final_config = p_reg->CONFIG[idx] | GPIOTE_CONFIG_MODE_Task; in nrf_gpiote_task_enable()
239 p_reg->CONFIG[idx] = final_config; in nrf_gpiote_task_enable()
246 p_reg->CONFIG[idx] &= ~GPIOTE_CONFIG_MODE_Msk; in nrf_gpiote_task_disable()
257 p_reg->CONFIG[idx] &= ~(GPIOTE_CONFIG_PORT_PIN_Msk | in nrf_gpiote_task_configure()
261 p_reg->CONFIG[idx] |= ((pin << GPIOTE_CONFIG_PSEL_Pos) & GPIOTE_CONFIG_PORT_PIN_Msk) | in nrf_gpiote_task_configure()
273 p_reg->CONFIG[idx] = (p_reg->CONFIG[idx] & ~GPIOTE_CONFIG_OUTINIT_Msk) | in nrf_gpiote_task_force()
281 p_reg->CONFIG[idx] = 0; in nrf_gpiote_te_default()
283 p_reg->CONFIG[idx] = 0; in nrf_gpiote_te_default()