mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
189:f392fc9709a3
Parent:
188:bcfe06ba3d64
--- a/targets/TARGET_NUVOTON/TARGET_M2351/PeripheralNames.h	Thu Nov 08 11:46:34 2018 +0000
+++ b/targets/TARGET_NUVOTON/TARGET_M2351/PeripheralNames.h	Wed Feb 20 22:31:08 2019 +0000
@@ -125,6 +125,16 @@
 } ADCName;
 
 typedef enum {
+#if defined(SCU_INIT_PNSSET2_VAL) && (SCU_INIT_PNSSET2_VAL & (1 << 7))
+    DAC_0_0 = (int) NU_MODNAME(DAC0_BASE + NS_OFFSET, 0, 0),
+    DAC_1_0 = (int) NU_MODNAME(DAC1_BASE + NS_OFFSET, 1, 0)
+#else
+    DAC_0_0 = (int) NU_MODNAME(DAC0_BASE, 0, 0),
+    DAC_1_0 = (int) NU_MODNAME(DAC1_BASE, 1, 0)
+#endif
+} DACName;
+
+typedef enum {
 
 #if defined(SCU_INIT_PNSSET3_VAL) && (SCU_INIT_PNSSET3_VAL & (1<<16))
     UART_0 = (int) NU_MODNAME(UART0_BASE + NS_OFFSET, 0, 0),