Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/src/HW_models/
DNRF_GPIO.c50 NRF_GPIO_Type NRF_GPIO_regs[NRF_GPIOS];
53 static int GPIO_n_ports_pins[NRF_GPIOS] = NRF_GPIO_PORTS_PINS;
55 static uint32_t IO_level[NRF_GPIOS]; /* Actual level in the pin */
56 static uint32_t DETECT[NRF_GPIOS]; /* Sense output / unlatched/non-sticky detect */
57 static uint32_t LDETECT[NRF_GPIOS]; /* Latched sense output */
58 static bool DETECT_signal[NRF_GPIOS]; /* Individual detect signal to the GPIOTE */
60 static uint32_t INPUT_mask[NRF_GPIOS]; /* As a 32bit mask, PIN_CNF[*].INPUT (0: enabled; 1: disable…
61 static uint32_t SENSE_mask[NRF_GPIOS]; /* As a 32bit mask, PIN_CNF[*].SENSE.en (1: enabled; 0: disa…
62 static uint32_t SENSE_inv[NRF_GPIOS]; /* As a 32bit mask, PIN_CNF[*].SENSE.inv (1: inverted;0: not…
68 static uint32_t out_override[NRF_GPIOS];
[all …]
DNRF_GPIO_backend.c45 } shorts[NRF_GPIOS][NRF_GPIO_MAX_PINS_PER_PORT][MAX_SHORTS];
227 if (Port_out >= NRF_GPIOS) { in nrf_gpio_backend_register_short()
230 __func__, Port_out, NRF_GPIOS); in nrf_gpio_backend_register_short()
232 if (Port_in >= NRF_GPIOS) { in nrf_gpio_backend_register_short()
235 __func__, Port_in, NRF_GPIOS); in nrf_gpio_backend_register_short()
350 if (port >= NRF_GPIOS) { in nrf_gpio_input_process_next_time()
353 __func__, port, NRF_GPIOS, buf); in nrf_gpio_input_process_next_time()
DNRF_GPIO.h17 #define NRF_GPIOS 2 macro