[Nuvoton] Fix pin mode mapping between input pull mode/direction and I/O mode
1. Modify PinMode enum to fully support GPIO I/O modes.
2. Translate input pull mode/direction to I/O mode, where H/W doesn't support
   separate configuration for input pull mode/direction.
3. Allow for configuring I/O mode in addition to input pull mode.
ls
1 parent 06a98e7 commit 55328ebdd580e9acb2cc53c67d352debdc1d92bc
@ccli8 ccli8 authored on 29 Aug 2018
Showing 20 changed files
View
targets/TARGET_NUVOTON/TARGET_M2351/PinNames.h
View
targets/TARGET_NUVOTON/TARGET_M2351/gpio_api.c
View
targets/TARGET_NUVOTON/TARGET_M2351/gpio_object.h
View
targets/TARGET_NUVOTON/TARGET_M2351/pinmap.c
View
targets/TARGET_NUVOTON/TARGET_M451/PinNames.h
View
targets/TARGET_NUVOTON/TARGET_M451/gpio_api.c
View
targets/TARGET_NUVOTON/TARGET_M451/gpio_object.h
View
targets/TARGET_NUVOTON/TARGET_M451/pinmap.c
View
targets/TARGET_NUVOTON/TARGET_M480/PinNames.h
View
targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c
View
targets/TARGET_NUVOTON/TARGET_M480/gpio_object.h
View
targets/TARGET_NUVOTON/TARGET_M480/pinmap.c
View
targets/TARGET_NUVOTON/TARGET_NANO100/PinNames.h
View
targets/TARGET_NUVOTON/TARGET_NANO100/gpio_api.c
View
targets/TARGET_NUVOTON/TARGET_NANO100/gpio_object.h
View
targets/TARGET_NUVOTON/TARGET_NANO100/pinmap.c
View
targets/TARGET_NUVOTON/TARGET_NUC472/PinNames.h
View
targets/TARGET_NUVOTON/TARGET_NUC472/gpio_api.c
View
targets/TARGET_NUVOTON/TARGET_NUC472/gpio_object.h
View
targets/TARGET_NUVOTON/TARGET_NUC472/pinmap.c