Lines Matching refs:pinconfig
76 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()
131 *pinconfig |= IOPCTL_PIO_PUPD_EN; in gpio_mcux_lpc_configure()
133 *pinconfig |= IOPCTL_PIO_PULLUP_EN; in gpio_mcux_lpc_configure()
135 *pinconfig &= ~(IOPCTL_PIO_PULLUP_EN); in gpio_mcux_lpc_configure()
140 *pinconfig &= ~(IOCON_PIO_MODE_PULLUP|IOCON_PIO_MODE_PULLDOWN); in gpio_mcux_lpc_configure()
142 *pinconfig |= IOCON_PIO_MODE_PULLUP; in gpio_mcux_lpc_configure()
144 *pinconfig |= IOCON_PIO_MODE_PULLDOWN; in gpio_mcux_lpc_configure()
149 *pinconfig &= ~IOPCTL_PIO_PUPD_EN; in gpio_mcux_lpc_configure()
152 *pinconfig &= ~(IOCON_PIO_MODE_PULLUP|IOCON_PIO_MODE_PULLDOWN); in gpio_mcux_lpc_configure()