Searched refs:NRF_GPIO_regs (Results 1 – 3 of 3) sorted by relevance
50 NRF_GPIO_Type NRF_GPIO_regs[NRF_GPIOS]; variable90 memset(NRF_GPIO_regs, 0, sizeof(NRF_GPIO_regs)); in nrf_gpio_init()94 NRF_GPIO_regs[p].PIN_CNF[n] = 0x2; /* Disconnected out of reset */ in nrf_gpio_init()158 return (~dir_override[port] & NRF_GPIO_regs[port].DIR) in get_dir()272 if (NRF_GPIO_regs[port].DETECTMODE == 0){ //gpio.detect signal from not latched detect in nrf_gpio_update_detect_signal()284 DETECT[port] = (NRF_GPIO_regs[port].IN ^ SENSE_inv[port]) & SENSE_mask[port]; in nrf_gpio_eval_sense()286 NRF_GPIO_regs[port].LATCH = LDETECT[port]; in nrf_gpio_eval_sense()313 per_intoggle_callbacks[port][n](port, n, (NRF_GPIO_regs[port].IN >> n) & 0x1); in nrf_gpio_input_change_sideeffects()316 test_intoggle_callback(port, n, (NRF_GPIO_regs[port].IN >> n) & 0x1); in nrf_gpio_input_change_sideeffects()324 return (NRF_GPIO_regs[port].IN >> n) & 0x1; in nrf_gpio_get_IN()[all …]
71 extern NRF_GPIO_Type NRF_GPIO_regs[];73 #define NRF_P0_BASE (&NRF_GPIO_regs[0])75 #define NRF_P1_BASE (&NRF_GPIO_regs[1])
55 int i = ( (int)p_reg - (int)&NRF_GPIO_regs[0] ) / sizeof(NRF_GPIO_Type); in gpio_number_from_ptr()