[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. |
---|
|
targets/TARGET_NUVOTON/TARGET_M2351/PinNames.h |
---|
targets/TARGET_NUVOTON/TARGET_M2351/gpio_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M2351/gpio_object.h |
---|
targets/TARGET_NUVOTON/TARGET_M2351/pinmap.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/PinNames.h |
---|
targets/TARGET_NUVOTON/TARGET_M451/gpio_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M451/gpio_object.h |
---|
targets/TARGET_NUVOTON/TARGET_M451/pinmap.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/PinNames.h |
---|
targets/TARGET_NUVOTON/TARGET_M480/gpio_api.c |
---|
targets/TARGET_NUVOTON/TARGET_M480/gpio_object.h |
---|
targets/TARGET_NUVOTON/TARGET_M480/pinmap.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/PinNames.h |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/gpio_api.c |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/gpio_object.h |
---|
targets/TARGET_NUVOTON/TARGET_NANO100/pinmap.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/PinNames.h |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/gpio_api.c |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/gpio_object.h |
---|
targets/TARGET_NUVOTON/TARGET_NUC472/pinmap.c |
---|