Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_mcux_lpc.c76 volatile uint32_t *pinconfig = (volatile uint32_t *)&(pinmux_base->PIO[port][pin]); in gpio_mcux_lpc_configure() local
82 *pinconfig |= IOPCTL_PIO_INBUF_EN; in gpio_mcux_lpc_configure()
85 *pinconfig |= IOPCTL_PIO_PSEDRAIN_EN; in gpio_mcux_lpc_configure()
87 *pinconfig &= ~IOPCTL_PIO_PSEDRAIN_EN; in gpio_mcux_lpc_configure()
90 *pinconfig &= ~(IOPCTL_PIO_FSEL_MASK); in gpio_mcux_lpc_configure()
93 volatile uint32_t *pinconfig; in gpio_mcux_lpc_configure() local
97 pinconfig = (volatile uint32_t *)&(pinmux_base->PIO[port][pin]); in gpio_mcux_lpc_configure()
101 *pinconfig |= IOCON_PIO_OD_MASK; in gpio_mcux_lpc_configure()
106 *pinconfig |= IOCON_PIO_DIGIMODE_MASK; in gpio_mcux_lpc_configure()
109 *pinconfig &= ~(IOCON_PIO_FUNC_MASK); in gpio_mcux_lpc_configure()
[all …]