Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNRF_GPIO.c82 NRF_GPIO_Type NRF_GPIO_regs[NHW_GPIO_TOTAL_INST]; variable
134 memset(NRF_GPIO_regs, 0, sizeof(NRF_GPIO_regs)); in nrf_gpio_init()
142 NRF_GPIO_regs[p].PIN_CNF[n] = 0x2; /* Disconnected out of reset */ in nrf_gpio_init()
218 return (~st->dir_override & NRF_GPIO_regs[port].DIR) in get_dir()
339 if (NRF_GPIO_regs[port].DETECTMODE == 0){ //gpio.detect signal from not latched detect in nrf_gpio_update_detect_signal()
346 if (NRF_GPIO_regs[port].DETECTMODE_SEC == 0){ in nrf_gpio_update_detect_signal()
365 st->DETECT = (NRF_GPIO_regs[port].IN ^ st->SENSE_inv) & st->SENSE_mask; in nrf_gpio_eval_sense()
367 NRF_GPIO_regs[port].LATCH = st->LDETECT; in nrf_gpio_eval_sense()
401 return (NRF_GPIO_regs[port].IN >> n) & 0x1; in nrf_gpio_get_IN()
429 uint32_t diff = new_IN ^ NRF_GPIO_regs[port].IN; in nrf_gpio_eval_inputs()
[all …]
/nrf_hw_models-latest/src/nrfx/mdk_replacements/
Dnrf_bsim_redef.h75 extern NRF_GPIO_Type NRF_GPIO_regs[];
77 #define NRF_P0_BASE (&NRF_GPIO_regs[0])
79 #define NRF_P1_BASE (&NRF_GPIO_regs[1])
221 extern NRF_GPIO_Type NRF_GPIO_regs[];
223 #define NRF_P0_NS_BASE (&NRF_GPIO_regs[NHW_GPIO_NET_P0])
225 #define NRF_P1_NS_BASE (&NRF_GPIO_regs[NHW_GPIO_NET_P1])
516 extern NRF_GPIO_Type NRF_GPIO_regs[];
518 #define NRF_P0_NS_BASE (&NRF_GPIO_regs[NHW_GPIO_APP_P0])
520 #define NRF_P1_NS_BASE (&NRF_GPIO_regs[NHW_GPIO_APP_P1])
522 #define NRF_P0_S_BASE (&NRF_GPIO_regs[NHW_GPIO_APP_P0])
[all …]
/nrf_hw_models-latest/src/nrfx/hal/
Dnrf_gpio.c57 int i = ( (int)p_reg - (int)&NRF_GPIO_regs[0] ) / sizeof(NRF_GPIO_Type); in gpio_number_from_ptr()