diff options
Diffstat (limited to 'chip/npcx/gpio_chip.h')
-rw-r--r-- | chip/npcx/gpio_chip.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chip/npcx/gpio_chip.h b/chip/npcx/gpio_chip.h index 1595f6b20d..b5fcec20c8 100644 --- a/chip/npcx/gpio_chip.h +++ b/chip/npcx/gpio_chip.h @@ -32,6 +32,17 @@ NPCX_LVOL_CTRL_##ctrl##_6, \ NPCX_LVOL_CTRL_##ctrl##_7, } +/** + * Switch NPCX UART pins back to normal GPIOs. + */ +void npcx_uart2gpio(void); + +/** + * Switch NPCX UART pins to UART mode (depending on the currently selected + * pad, see uart.c). + */ +void npcx_gpio2uart(void); + /* * Include the MIWU, alternative and low-Voltage macro functions for GPIOs * depends on Nuvoton chip series. |