mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_NUVOTON/TARGET_NANO100/gpio_object.h
- Revision:
- 188:bcfe06ba3d64
- Parent:
- 174:b96e65c34a4d
--- a/targets/TARGET_NUVOTON/TARGET_NANO100/gpio_object.h Thu Sep 06 13:40:20 2018 +0100 +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/gpio_object.h Thu Nov 08 11:46:34 2018 +0000 @@ -28,8 +28,10 @@ #endif typedef struct { - PinName pin; - uint32_t mask; + PinName pin; + uint32_t mask; + PinDirection direction; + PinMode mode; } gpio_t; static inline void gpio_write(gpio_t *obj, int value)