Lines Matching refs:cnf
72 uint32_t cnf = reg->PIN_CNF[pin_number]; in nrf_gpio_cfg() local
86 cnf &= ~to_update; in nrf_gpio_cfg()
87 cnf |= ((uint32_t)dir << GPIO_PIN_CNF_DIR_Pos) | in nrf_gpio_cfg()
97 reg->PIN_CNF[pin_number] = cnf; in nrf_gpio_cfg()
110 uint32_t cnf = reg->PIN_CNF[pin_number]; in nrf_gpio_reconfigure() local
122 cnf &= ~to_update; in nrf_gpio_reconfigure()
123 cnf |= ((uint32_t)(p_dir ? *p_dir : 0) << GPIO_PIN_CNF_DIR_Pos) | in nrf_gpio_reconfigure()
133 reg->PIN_CNF[pin_number] = cnf; in nrf_gpio_reconfigure()
141 uint32_t cnf = ((uint32_t)NRF_GPIO_PIN_DIR_OUTPUT << GPIO_PIN_CNF_DIR_Pos) | in nrf_gpio_port_pin_output_set() local
150 p_reg->PIN_CNF[pin_number] = cnf; in nrf_gpio_port_pin_output_set()
158 uint32_t cnf = ((uint32_t)NRF_GPIO_PIN_DIR_INPUT << GPIO_PIN_CNF_DIR_Pos) | in nrf_gpio_port_pin_input_set() local
167 p_reg->PIN_CNF[pin_number] = cnf; in nrf_gpio_port_pin_input_set()