Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/src/HW_models/
DNRF_GPIO.c55 static uint32_t IO_level[NRF_GPIOS]; /* Actual level in the pin */ variable
142 return (IO_level[port] >> n) & 0x1; in nrf_gpio_get_pin_level()
333 uint32_t new_IN = IO_level[port] & get_enabled_inputs(port); in nrf_gpio_eval_inputs()
373 int diff = ((IO_level[port] >> n) & 0x1) ^ (uint32_t)value; in nrf_gpio_eval_input()
380 IO_level[port] ^= (uint32_t)1 << n; in nrf_gpio_eval_input()
417 IO_level[port] &= ~dir; in nrf_gpio_eval_outputs()
418 IO_level[port] |= O_level[port]; in nrf_gpio_eval_outputs()