Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNRF_GPIO.c85 uint32_t IO_level; /* Actual levels in the pins */ member
200 return (gpio_st[port].IO_level >> n) & 0x1; in nrf_gpio_get_pin_level()
427 uint32_t new_IN = gpio_st[port].IO_level & get_enabled_inputs(port); in nrf_gpio_eval_inputs()
467 int diff = ((gpio_st[port].IO_level >> n) & 0x1) ^ (uint32_t)value; in nrf_gpio_eval_input()
474 gpio_st[port].IO_level ^= (uint32_t)1 << n; in nrf_gpio_eval_input()
514 st->IO_level &= ~dir; in nrf_gpio_eval_outputs()
515 st->IO_level |= st->O_level; in nrf_gpio_eval_outputs()