Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_rzt2m.c242 uint8_t drctl_pin_config = 0; in rzt2m_gpio_configure() local
245 drctl_pin_config |= PULL_UP; in rzt2m_gpio_configure()
247 drctl_pin_config |= PULL_DOWN; in rzt2m_gpio_configure()
249 drctl_pin_config |= PULL_NONE; in rzt2m_gpio_configure()
252 drctl_pin_config |= in rzt2m_gpio_configure()
254 drctl_pin_config |= (flags & RZT2M_GPIO_SCHMITT_TRIGGER_MASK) >> in rzt2m_gpio_configure()
256 drctl_pin_config |= (flags & RZT2M_GPIO_SLEW_RATE_MASK) >> in rzt2m_gpio_configure()
260 *drctl_reg = drctl_pin_value | ((uint64_t)drctl_pin_config << (pin * 8)); in rzt2m_gpio_configure()