NUTOOL_PIN.g_cfg_chips = [
	//NUC100AN BN
	// { name: "NUC100VD2AN", pkg: "LQFP100" },
	// { name: "NUC100VD3AN", pkg: "LQFP100" },
	// { name: "NUC100VE3AN", pkg: "LQFP100" },
	// { name: "NUC120VD2AN", pkg: "LQFP100" },
	// { name: "NUC120VD3AN", pkg: "LQFP100" },
	// { name: "NUC120VE3AN", pkg: "LQFP100" },
	// { name: "NUC100RD3AN", pkg: "LQFP64" },
	// { name: "NUC100RE3AN", pkg: "LQFP64" },
	// { name: "NUC100RC1BN", pkg: "LQFP64" },
	// { name: "NUC100RD1BN", pkg: "LQFP64" },
	// { name: "NUC100RD2BN", pkg: "LQFP64" },
	// { name: "NUC120RD3AN", pkg: "LQFP64" },
	// { name: "NUC120RE3AN", pkg: "LQFP64" },
	// { name: "NUC120RC1BN", pkg: "LQFP64" },
	// { name: "NUC120RD1BN", pkg: "LQFP64" },
	// { name: "NUC120RD2BN", pkg: "LQFP64" },
	// { name: "NUC100LD3AN", pkg: "LQFP48" },
	// { name: "NUC100LE3AN", pkg: "LQFP48" },
	// { name: "NUC100LC1BN", pkg: "LQFP48" },
	// { name: "NUC100LD1BN", pkg: "LQFP48" },
	// { name: "NUC100LD2BN", pkg: "LQFP48" },
	// { name: "NUC120LD3AN", pkg: "LQFP48" },
	// { name: "NUC120LE3AN", pkg: "LQFP48" },
	// { name: "NUC120LC1BN", pkg: "LQFP48" },
	// { name: "NUC120LD1BN", pkg: "LQFP48" },
	// { name: "NUC120LD2BN", pkg: "LQFP48" },
	//NUC100CN
	{ name: "NUC130VE3CN", pkg: "LQFP100" },
	{ name: "NUC140VE3CN", pkg: "LQFP100" },
	{ name: "NUC130RC1CN", pkg: "LQFP64" },
	{ name: "NUC130RD2CN", pkg: "LQFP64" },
	{ name: "NUC130RE3CN", pkg: "LQFP64" },
	{ name: "NUC140RC1CN", pkg: "LQFP64" },
	{ name: "NUC140RD2CN", pkg: "LQFP64" },
	{ name: "NUC140RE3CN", pkg: "LQFP64" },
	{ name: "NUC130LC1CN", pkg: "LQFP48" },
	{ name: "NUC130LD2CN", pkg: "LQFP48" },
	{ name: "NUC130LE3CN", pkg: "LQFP48" },
	{ name: "NUC140LC1CN", pkg: "LQFP48" },
	{ name: "NUC140LD2CN", pkg: "LQFP48" },
	{ name: "NUC140LE3CN", pkg: "LQFP48" },
	//NUC100DN
	//{ name: "NUC100VD2DN", pkg: "LQFP100" },
	//{ name: "NUC100VD3DN", pkg: "LQFP100" },
	{ name: "NUC100VE3DN", pkg: "LQFP100" },
	{ name: "NUC100RC1DN", pkg: "LQFP64" },
	{ name: "NUC100RD1DN", pkg: "LQFP64" },
	{ name: "NUC100RD2DN", pkg: "LQFP64" },
	//{ name: "NUC100RD3DN", pkg: "LQFP64" },
	{ name: "NUC100RE3DN", pkg: "LQFP64" },
	{ name: "NUC100LC1DN", pkg: "LQFP48" },
	//{ name: "NUC100LD1DN", pkg: "LQFP48" },
	{ name: "NUC100LD2DN", pkg: "LQFP48" },
	//{ name: "NUC100LD3DN", pkg: "LQFP48" },
	{ name: "NUC100LE3DN", pkg: "LQFP48" },
	//{ name: "NUC120VD2DN", pkg: "LQFP100" },
	//{ name: "NUC120VD3DN", pkg: "LQFP100" },
	{ name: "NUC120VE3DN", pkg: "LQFP100" },
	{ name: "NUC120RC1DN", pkg: "LQFP64" },
	//{ name: "NUC120RD1DN", pkg: "LQFP64" },
	{ name: "NUC120RD2DN", pkg: "LQFP64" },
	//{ name: "NUC120RD3DN", pkg: "LQFP64" },
	{ name: "NUC120RE3DN", pkg: "LQFP64" },
	{ name: "NUC120LC1DN", pkg: "LQFP48" },
	//{ name: "NUC120LD1DN", pkg: "LQFP48" },
	{ name: "NUC120LD2DN", pkg: "LQFP48" },
	//{ name: "NUC120LD3DN", pkg: "LQFP48" },
	{ name: "NUC120LE3DN", pkg: "LQFP48" },
	//NUC131
	{ name: "NUC131SC2AE", pkg: "LQFP64" },
	{ name: "NUC131SD2AE", pkg: "LQFP64" },
	{ name: "NUC131LC2AE", pkg: "LQFP48" },
	{ name: "NUC131LD2AE", pkg: "LQFP48" },
	//NUC121AE
	{ name: "NUC121SC2AE", pkg: "LQFP64" },
	{ name: "NUC121LC2AE", pkg: "LQFP48" },
	{ name: "NUC121ZC2AE", pkg: "QFN33" },
	{ name: "NUC125SC2AE", pkg: "LQFP64" },
	{ name: "NUC125LC2AE", pkg: "LQFP48" },
	{ name: "NUC125ZC2AE", pkg: "QFN33" },
	//NUC122AN
	//{ name: "NUC122ZD2AN", pkg: "QFN33" },
	//{ name: "NUC122ZC1AN", pkg: "QFN33" },
	//{ name: "NUC122LD2AN", pkg: "LQFP48" },
	//{ name: "NUC122LC1AN", pkg: "LQFP48" },
	//{ name: "NUC122SD2AN", pkg: "LQFP64" },
	//{ name: "NUC122SC1AN", pkg: "LQFP64" },
	//NUC123AN
	{ name: "NUC123ZD4AN0", pkg: "QFN33" },
	{ name: "NUC123ZC2AN1", pkg: "QFN33" },
	{ name: "NUC123LD4AN0", pkg: "LQFP48" },
	{ name: "NUC123LC2AN1", pkg: "LQFP48" },
	{ name: "NUC123SD4AN0", pkg: "LQFP64" },
	{ name: "NUC123SC2AN1", pkg: "LQFP64" },
	//NUC123AE
	{ name: "NUC123ZD4AE0", pkg: "QFN33" },
	{ name: "NUC123ZC2AE1", pkg: "QFN33" },
	{ name: "NUC123SD4AE0", pkg: "LQFP64" },
	{ name: "NUC123SC2AE1", pkg: "LQFP64" },
	{ name: "NUC123LD4AE0", pkg: "LQFP48" },
	{ name: "NUC123LC2AE1", pkg: "LQFP48" },
	// NUC126
	{ name: "NUC126LE4AE", pkg: "LQFP48" },
	{ name: "NUC126LG4AE", pkg: "LQFP48" },
	{ name: "NUC126SE4AE", pkg: "LQFP64" },
	{ name: "NUC126SG4AE", pkg: "LQFP64" },
	{ name: "NUC126VG4AE", pkg: "LQFP100" },
	// NUC1261
	{ name: "NUC1261LG4AE", pkg: "LQFP48" },
	{ name: "NUC1261LE4AE", pkg: "LQFP48" },
	{ name: "NUC1261NE4AE", pkg: "LQFP48" },
	{ name: "NUC1261SG4AE", pkg: "LQFP64" },
	{ name: "NUC1261SE4AE", pkg: "LQFP64" }
];

NUTOOL_PIN.g_cfg_pkgs = {
	"LQFP64": [
		'PB.14', 'PB.13', 'PB.12', 'PA.11', 'PA.10', 'PD.8', 'PD.9', 'PD.10', 'PD.11', 'PB.4',
		'PB.5', 'PB.6', 'PB.7', 'LDO_CAP', 'VDD', 'VSS',
		'USB_VBUS', 'USB_VDD33_CAP', 'USB_D-', 'USB_D+', 'PB.0', 'PB.1', 'PB.2', 'PB.3', 'PC.5', 'PC.4',
		'PC.3', 'PC.2', 'PC.1', 'PC.0', 'PB.10', 'PB.9',
		'PE.2', 'PC.13', 'PC.12', 'PC.11', 'PC.10', 'PE.1', 'PC.9', 'PC.8', 'PA.15', 'PE.0',
		'PA.14', 'PA.13', 'PA.12', 'PF.4', 'PF.5', 'AVDD',
		'PD.0', 'PD.1', 'PD.2', 'PD.3', 'PD.4', 'PD.5', 'PB.15', 'PF.0', 'PF.1', 'nRESET',
		'VSS', 'VDD', 'PF.2', 'PF.3', 'VSS', 'PB.8'
	],
	"LQFP48": [
		'VSS', 'PB.8', 'PB.14', 'PA.11', 'PA.10', 'PB.4', 'PB.5', 'PB.6', 'PB.7', 'LDO_CAP',
		'VDD', 'VSS',
		'USB_VBUS', 'USB_VDD33_CAP', 'USB_D-', 'USB_D+', 'PC.5', 'PC.4', 'PC.3', 'PC.2', 'PC.1', 'PC.0',
		'PB.10', 'PB.9',
		'PC.13', 'PC.12', 'PC.11', 'PC.10', 'PC.9', 'PC.8', 'PA.15', 'PA.14', 'PA.13', 'PA.12',
		'PF.4', 'PF.5',
		'AVDD', 'PD.0', 'PD.1', 'PD.2', 'PD.3', 'PD.4', 'PD.5', 'PF.0', 'PF.1', 'nRESET',
		'PF.2', 'PF.3'
	],
	"QFN33": [
		'PB.14', 'PA.11', 'PA.10', 'PB.4', 'PB.5', 'LDO_CAP', 'VDD', 'VSS',
		'USB_VBUS', 'USB_VDD33_CAP', 'USB_D-', 'USB_D+', 'PC.3', 'PC.2', 'PC.1', 'PC.0',
		'PC.13', 'PC.12', 'PC.11', 'PC.10', 'PC.9', 'PC.8', 'PF.4', 'PF.5',
		'AVDD', 'PD.1', 'PD.2', 'PD.3', 'PF.0', 'PF.1', 'nRESET', 'VSS'
	],
	"LQFP64(1.8 I/O)": [
		'PB.14', 'PB.13', 'PB.12', 'PA.11', 'PA.10', 'PD.8', 'PD.9', 'PD.10', 'PD.11', 'PB.4',
		'PB.5', 'PB.6', 'PB.7', 'LDO_CAP', 'VDD', 'VSS',
		'USB_VBUS', 'USB_VDD33_CAP', 'USB_D-', 'USB_D+', 'PB.0', 'PB.1', 'PB.2', 'PB.3', 'PC.5', 'PC.4',
		'PC.3', 'PC.2', 'PC.1', 'PC.0', 'PB.10', 'PB.9',
		'PE.2', 'PC.13', 'PC.12', 'PC.11', 'PC.10', 'PE.1', 'PC.9', 'PC.8', 'PA.15', 'PE.0',
		'PA.14', 'PA.13', 'PA.12', 'PF.4', 'PF.5', 'AVDD',
		'PD.0', 'PD.1', 'PD.2', 'PD.3', 'PD.4', 'PD.5', 'PB.15', 'PF.0', 'PF.1', 'nRESET',
		'VSS', 'VDD', 'PF.2', 'PF.3', 'VSS', 'VDDIO'
	],
	"ILQFP48(1.8 I/O)": [
		'VSS', 'VDDIO', 'PB.14', 'PA.11', 'PA.10', 'PB.4', 'PB.5', 'PB.6', 'PB.7', 'LDO_CAP',
		'VDD', 'VSS',
		'USB_VBUS', 'USB_VDD33_CAP', 'USB_D-', 'USB_D+', 'PC.5', 'PC.4', 'PC.3', 'PC.2', 'PC.1', 'PC.0',
		'PB.10', 'PB.9',
		'PC.13', 'PC.12', 'PC.11', 'PC.10', 'PC.9', 'PC.8', 'PA.15', 'PA.14', 'PA.13', 'PA.12',
		'PF.4', 'PF.5',
		'AVDD', 'PD.0', 'PD.1', 'PD.2', 'PD.3', 'PD.4', 'PD.5', 'PF.0', 'PF.1', 'nRESET',
		'PF.2', 'PF.3'
	],
	"IQFN33(1.8 I/O)": [
		'PB.14', 'PA.11', 'PA.10', 'PB.4', 'PB.5', 'LDO_CAP', 'VDD', 'VSS',
		'USB_VBUS', 'USB_VDD33_CAP', 'USB_D-', 'USB_D+', 'PC.3', 'PC.2', 'PC.1', 'PC.0',
		'PC.13', 'PC.12', 'PC.11', 'PC.10', 'PC.9', 'PC.8', 'PF.4', 'PF.5',
		'AVDD', 'PD.1', 'PD.2', 'PD.3', 'PF.0', 'PF.1', 'nRESET', 'VDDIO'
	]
};

NUTOOL_PIN.g_cfg_gpios = [
	{ f: ['PA.0:0'] },
	{ f: ['PA.1:0'] },
	{ f: ['PA.2:0'] },
	{ f: ['PA.3:0'] },
	{ f: ['PA.4:0'] },
	{ f: ['PA.5:0'] },
	{ f: ['PA.6:0'] },
	{ f: ['PA.7:0'] },
	{ f: ['PA.8:0'] },
	{ f: ['PA.9:0'] },
	{ f: ['PA.10:0', 'I2C1_SDA:1', 'BPWM0_CH4:4', 'PWM0_BRAKE0:5', 'USCI0_DAT1:6'] },
	{ f: ['PA.11:0', 'I2C1_SCL:1', 'BPWM0_CH5:4', 'TM0:5', 'USCI0_CLK:6', 'USCI0_DAT0:7'] },
	{ f: ['PA.12:0', 'PWM0_CH0:1', 'I2C1_SCL:2', 'UART0_RXD:3'] },
	{ f: ['PA.13:0', 'PWM0_CH1:1', 'I2C1_SDA:2', 'UART0_TXD:3'] },
	{ f: ['PA.14:0', 'PWM0_CH2:1', 'UART0_nCTS:3', 'PWM0_BRAKE0:4'] },
	{ f: ['PA.15:0', 'PWM0_CH3:1', 'SPI_I2SMCLK:2', 'CLKO:3', 'PWM1_BRAKE1:4', 'UART0_nRTS:5'] },

	{ f: ['PB.0:0', 'UART0_RXD:1', 'PWM1_CH0:4'] },
	{ f: ['PB.1:0', 'UART0_TXD:1', 'PWM1_CH1:4'] },
	{ f: ['PB.2:0', 'UART0_nRTS:1', 'TM2_EXT:2', 'PWM1_CH2:4'] },
	{ f: ['PB.3:0', 'UART0_nCTS:1', 'TM3_EXT:2', 'PWM1_CH3:4'] },
	{ f: ['PB.4:0', 'BPWM0_CH3:4', 'TM2_EXT:5', 'USCI0_CTL0:6', 'USCI0_DAT0:7'] },
	{ f: ['PB.5:0', 'BPWM0_CH2:4', 'TM3:5', 'USCI0_CLK:6', 'USCI0_DAT1:7'] },
	{ f: ['PB.6:0', 'BPWM0_CH1:4', 'USCI0_DAT0:6', 'USCI0_CTL1:7'] },
	{ f: ['PB.7:0', 'BPWM0_CH0:4', 'USCI0_DAT1:6', 'USCI0_CTL0:7'] },
	{ f: ['PB.8:0', 'TM0:1', 'ADC_CH8:3', 'BPWM1_CH1:4'] },
	{ f: ['PB.9:0', 'TM1:1', 'SPI0_I2SMCLK:3', 'PWM0_CH4:4'] },
	{ f: ['PB.10:0', 'TM2:1', 'SPI0_I2SMCLK:3', 'PWM0_CH5:4'] },
	{ f: ['PB.11:0'] },
	{ f: ['PB.12:0', 'CLKO:2', 'ADC_CH11:3', 'USCI0_CTL0:6'] },
	{ f: ['PB.13:0', 'ADC_CH10:3', 'USCI0_CTL1:6'] },
	{ f: ['PB.14:0', 'INT0:1', 'UART0_nRTS:2', 'ADC_CH9:3', 'BPWM1_CH0:4', 'SPI0_SS:7'] },
	{ f: ['PB.15:0', 'INT1:1', 'TM0_EXT:2', 'BPWM1_CH5:4'] },

	{ f: ['PC.0:0', 'SPI0_SS:1', 'PWM1_CH0:4', 'TM2:5', 'UART0_RXD:6', 'USCI0_CLK:7'] },
	{ f: ['PC.1:0', 'SPI0_CLK:1', 'PWM1_CH1:4', 'UART0_TXD:6', 'USCI0_CTL0:7'] },
	{ f: ['PC.2:0', 'SPI0_MISO:1', 'I2C1_SCL:3', 'PWM1_CH2:4', 'UART0_nCTS:6', 'USCI0_DAT1:7'] },
	{ f: ['PC.3:0', 'SPI0_MOSI:1', 'I2C1_SDA:3', 'PWM1_CH3:4', 'UART0_nRTS:6', 'USCI0_DAT0:7'] },
	{ f: ['PC.4:0', 'UART0_RXD:2', 'SPI0_I2SMCLK:3', 'PWM1_CH4:4', 'USCI0_DAT1:7'] },
	{ f: ['PC.5:0', 'UART0_TXD:2', 'PWM1_CH5:4', 'USCI0_DAT0:7'] },
	{ f: ['PC.6:0'] },
	{ f: ['PC.7:0'] },
	{ f: ['PC.8:0', 'STADC:2', 'SPI0_SS:3', 'PWM0_CH4:4', 'PWM1_BRAKE0:5', 'USCI0_CTL0:7'] },
	{ f: ['PC.9:0', 'SPI0_CLK:3', 'PWM0_CH5:4', 'PWM0_BRAKE1:5', 'USCI0_CLK:7'] },
	{ f: ['PC.10:0', 'SPI0_MISO:3', 'PWM0_CH0:4', 'USCI0_DAT1:7'] },
	{ f: ['PC.11:0', 'SPI0_MOSI:3', 'PWM0_CH1:4', 'TM1:5', 'I2C0_SDA:6', 'USCI0_DAT0:7'] },
	{ f: ['PC.12:0', 'PWM0_CH2:2', 'SPI0_I2SMCLK:3', 'CLKO:4', 'INT0:5', 'I2C0_SCL:6', 'USCI0_CTL1:7'] },
	{ f: ['PC.13:0', 'PWM0_CH3:2', 'CLKO:3', 'INT0:5', 'I2C0_SDA:6'] },
	{ f: ['PC.14:0'] },
	{ f: ['PC.15:0'] },

	{ f: ['PD.0:0', 'ADC_CH0:3', 'UART0_nRTS:5', 'USCI0_CTL0:6', 'SPI0_SS:7'] },
	{ f: ['PD.1:0', 'ADC_CH1:3', 'TM0_EXT:4', 'UART0_RXD:5', 'USCI0_CLK:6', 'SPI0_CLK:7'] },
	{ f: ['PD.2:0', 'ADC_CH2:3', 'TM3:4', 'UART0_TXD:5', 'USCI0_DAT1:6', 'SPI0_MISO:7'] },
	{ f: ['PD.3:0', 'ADC_CH3:3', 'TM1_EXT:4', 'UART0_nCTS:5', 'USCI0_DAT0:6', 'SPI0_MOSI:7'] },
	{ f: ['PD.4:0', 'ADC_CH4:2', 'BPWM1_CH5:4', 'UART0_nRTS:5', 'USCI0_CTL0:6', 'SPI0_SS:7'] },
	{ f: ['PD.5:0', 'ADC_CH5:2', 'BPWM1_CH4:4'] },
	{ f: ['PD.6:0'] },
	{ f: ['PD.7:0'] },
	{ f: ['PD.8:0', 'USCI0_DAT0:6'] },
	{ f: ['PD.9:0', 'PWM0_BRAKE1:5'] },
	{ f: ['PD.10:0', 'CLKO:1', 'BPWM0_CH5:4'] },
	{ f: ['PD.11:0', 'INT1:1', 'BPWM0_CH4:4'] },
	{ f: ['PD.12:0'] },
	{ f: ['PD.13:0'] },
	{ f: ['PD.14:0'] },
	{ f: ['PD.15:0'] },

	{ f: ['PE.0:0', 'INT0:1', 'CLKO:3', 'PWM0_CH3:4', 'TM1_EXT:5', 'USCI0_DAT0:7'] },
	{ f: ['PE.1:0', 'STADC:2', 'CLKO:3', 'TM3:5', 'USCI0_DAT1:7'] },
	{ f: ['PE.2:0', 'INT1:1', 'TM0_EXT:5', 'I2C0_SCL:6', 'USCI0_CTL1:7'] },
	{ f: ['PE.3:0'] },
	{ f: ['PE.4:0'] },
	{ f: ['PE.5:0'] },
	{ f: ['PE.6:0'] },
	{ f: ['PE.7:0'] },
	{ f: ['PE.8:0'] },
	{ f: ['PE.9:0'] },
	{ f: ['PE.10:0'] },
	{ f: ['PE.11:0'] },
	{ f: ['PE.12:0'] },
	{ f: ['PE.13:0'] },
	{ f: ['PE.14:0'] },
	{ f: ['PE.15:0'] },

	{ f: ['PF.0:0', 'XT_OUT:1', 'BPWM1_CH3:4', 'TM3:5'] },
	{ f: ['PF.1:0', 'XT_IN:1', 'BPWM1_CH2:4', 'TM1_EXT:5'] },
	{ f: ['PF.2:0', /*'ICE_DAT:1',*/ 'I2C0_SDA:2', 'ADC_CH6:3', 'BPWM1_CH3:4'] },
	{ f: ['PF.3:0', /*'ICE_CLK:1',*/ 'I2C0_SCL:2', 'ADC_CH7:3', 'BPWM1_CH2:4'] },
	{ f: ['PF.4:0', 'ICE_DAT:1', 'I2C0_SDA:2', 'UART0_TXD:3', 'PWM0_CH3:4'] },
	{ f: ['PF.5:0', 'ICE_CLK:1', 'I2C0_SCL:2', 'UART0_RXD:3'] }
];

NUTOOL_PIN.g_cfg_gpiosDefines = [
	{ f: ['PA.0'] },
	{ f: ['PA.1'] },
	{ f: ['PA.2'] },
	{ f: ['PA.3'] },
	{ f: ['PA.4'] },
	{ f: ['PA.5'] },
	{ f: ['PA.6'] },
	{ f: ['PA.7'] },
	{ f: ['PA.8'] },
	{ f: ['PA.9'] },
	{ f: ['PA.10', 'I2C1_SDA:GPA_MFPH_PA10MFP_I2C1_SDA@GPA_MFPH', 'BPWM0_CH4:GPA_MFPH_PA10MFP_BPWM0_CH4@GPA_MFPH', 'PWM0_BRAKE0:GPA_MFPH_PA10MFP_PWM0_BRAKE0@GPA_MFPH', 'USCI0_DAT1:GPA_MFPH_PA10MFP_USCI0_DAT1@GPA_MFPH'] },
	{ f: ['PA.11', 'I2C1_SCL:GPA_MFPH_PA11MFP_I2C1_SCL@GPA_MFPH', 'BPWM0_CH5:GPA_MFPH_PA11MFP_BPWM0_CH5@GPA_MFPH', 'TM0:GPA_MFPH_PA11MFP_TM0@GPA_MFPH', 'USCI0_CLK:GPA_MFPH_PA11MFP_USCI0_CLK@GPA_MFPH', 'USCI0_DAT0:GPA_MFPH_PA11MFP_USCI0_DAT0@GPA_MFPH'] },
	{ f: ['PA.12', 'PWM0_CH0:GPA_MFPH_PA12MFP_PWM0_CH0@GPA_MFPH', 'I2C1_SCL:GPA_MFPH_PA12MFP_I2C1_SCL@GPA_MFPH', 'UART0_RXD:GPA_MFPH_PA12MFP_UART0_RXD@GPA_MFPH'] },
	{ f: ['PA.13', 'PWM0_CH1:GPA_MFPH_PA13MFP_PWM0_CH1@GPA_MFPH', 'I2C1_SDA:GPA_MFPH_PA13MFP_I2C1_SDA@GPA_MFPH', 'UART0_TXD:GPA_MFPH_PA13MFP_UART0_TXD@GPA_MFPH'] },
	{ f: ['PA.14', 'PWM0_CH2:GPA_MFPH_PA14MFP_PWM0_CH2@GPA_MF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_I2C0_SCL@GPF_MFPL', 'ADC_CH7:GPF_MFPL_PF3MFP_ADC_CH7@GPF_MFPL', 'BPWM1_CH2:GPF_MFPL_PF3MFP_BPWM1_CH2@GPF_MFPL'] },
	{ f: ['PF.4', 'ICE_DAT:GPF_MFPL_PF4MFP_ICE_DAT@GPF_MFPL', 'I2C0_SDA:GPF_MFPL_PF4MFP_I2C0_SDA@GPF_MFPL', 'UART0_TXD:GPF_MFPL_PF4MFP_UART0_TXD@GPF_MFPL', 'PWM0_CH3:GPF_MFPL_PF4MFP_PWM0_CH3@GPF_MFPL'] },
	{ f: ['PF.5', 'ICE_CLK:GPF_MFPL_PF5MFP_ICE_CLK@GPF_MFPL', 'I2C0_SCL:GPF_MFPL_PF5MFP_I2C0_SCL@GPF_MFPL', 'UART0_RXD:GPF_MFPL_PF5MFP_UART0_RXD@GPF_MFPL'] }
];

NUTOOL_PIN.g_cfg_gpiosDescriptions = [
	'ADC_CH0:ADC channel 0 analog input',
	'ADC_CH1:ADC channel 1 analog input',
	'ADC_CH2:ADC channel 2 analog input',
	'ADC_CH3:ADC channel 3 analog input',
	'ADC_CH4:ADC channel 4 analog input',
	'ADC_CH5:ADC channel 5 analog input',
	'ADC_CH6:ADC channel 6 analog input',
	'ADC_CH7:ADC channel 7 analog input',
	'ADC_CH8:ADC channel 8 analog input',
	'ADC_CH9:ADC channel 9 analog input',
	'ADC_CH10:ADC channel 10 analog input',
	'ADC_CH11:ADC channel 11 analog input',

	'AVDD:Power supply for internal analog circuit',

	'BPWM0_CH0:BPWM0 channel 0 output/capture input',
	'BPWM0_CH1:BPWM0 channel 1 output/capture input',
	'BPWM0_CH2:BPWM0 channel 2 output/capture input',
	'BPWM0_CH3:BPWM0 channel 3 output/capture input',
	'BPWM0_CH4:BPWM0 channel 4 output/capture input',
	'BPWM0_CH5:BPWM0 channel 5 output/capture input',
	'BPWM1_CH0:BPWM1 channel 0 output/capture input',
	'BPWM1_CH1:BPWM1 channel 1 output/capture input',
	'BPWM1_CH2:BPWM1 channel 2 output/capture input',
	'BPWM1_CH3:BPWM1 channel 3 output/capture input',
	'BPWM1_CH4:BPWM1 channel 4 output/capture input',
	'BPWM1_CH5:BPWM1 channel 5 output/capture input',

	'CLKO:Clock Out',

	'I2C0_SCL:I2C0 clock pin',
	'I2C0_SDA:I2C0 data input/output pin',
	'I2C1_SCL:I2C1 clock pin',
	'I2C1_SDA:I2C1 data input/output pin',

	'ICE_CLK:Serial wired debugger clock pin',
	'ICE_DAT:Serial wired debugger data pin',

	'INT0:External interrupt0 input pin',
	'INT1:External interrupt1 input pin',

	'LDO_CAP:LDO output pin',

	'nRESET:External reset input: active LOW, with an internal pull-up. Set this pin low reset to initial state',

	'PWM0_BRAKE0:Brake input pin 0 of PWM0',
	'PWM0_BRAKE1:Brake input pin 1 of PWM0',
	'PWM0_CH0:PWM0 channel0 output/capture input',
	'PWM0_CH1:PWM0 channel1 output/capture input',
	'PWM0_CH2:PWM0 channel2 output/capture input',
	'PWM0_CH3:PWM0 channel3 output/capture input',
	'PWM0_CH4:PWM0 channel4 output/capture input',
	'PWM0_CH5:PWM0 channel5 output/capture input',
	'PWM1_BRAKE0:Brake input pin 0 of PWM1',
	'PWM1_BRAKE1:Brake input pin 1 of PWM1',
	'PWM1_CH0:PWM1 channel0 output/capture input',
	'PWM1_CH1:PWM1 channel1 output/capture input',
	'PWM1_CH2:PWM1 channel2 output/capture input',
	'PWM1_CH3:PWM1 channel3 output/capture input',
	'PWM1_CH4:PWM1 channel4 output/capture input',
	'PWM1_CH5:PWM1 channel5 output/capture input',

	'SPI_I2SMCLK:I2S0 master clock output pin',

	'SPI0_CLK:SPI0 serial clock pin',
	'SPI0_I2SMCLK:I2S0 master clock output pin',
	'SPI0_MISO:SPI0 MISO (Master In, Slave Out) pin',
	'SPI0_MOSI:SPI0 MOSI (Master Out, Slave In) pin',
	'SPI0_SS:SPI0 slave select pin',

	'STADC:ADC external trigger input',

	'TM0:Timer0event counter input / toggle output',
	'TM0_EXT:Timer0 external counter input',
	'TM1:Timer1 event counter input / toggle output',
	'TM1_EXT:Timer1 external counter input',
	'TM2:Timer2 event counter input / toggle output',
	'TM2_EXT:Timer2 external counter input',
	'TM3:Timer3 event counter input / toggle output',
	'TM3_EXT:Timer3 external counter input',

	'UART0_nCTS:Clear to Send input pin for UART0',
	'UART0_nRTS:Request to Send output pin for UART0',
	'UART0_RXD:Data receiver input pin for UART0',
	'UART0_TXD:Data transmitter output pin for UART0',

	'USB_D-:USB differential signal D-',
	'USB_D+:USB differential signal D+',
	'USB_VBUS:Power supply from USB host or HUB',
	'USB_VDD33_CAP:Internal power regulator output 3.3V decoupling pin',

	'USCI0_CLK:USCI clock pin',
	'USCI0_CTL0:USCI CTL0 pin',
	'USCI0_CTL1:USCI CTL1 pin',
	'USCI0_DAT0:USCI DAT0 pin',
	'USCI0_DAT1:USCI DAT1 pin',

	'VDD:Power supply for I/O ports and LDO source for internal PLL and digital function',
	'VSS:Ground pin for digital circuit',

	'XT_IN:External 4~24 MHz (high speed) crystal input pin or external 32.768 kHz (low speed) crystal input pin',
	'XT_OUT:External 4~24 MHz (high speed) crystal output pin or external 32.768 kHz (low speed) crystal output pin'
];

NUTOOL_PIN.g_cfg_regDescriptions = {};
NUTOOL_PIN.g_cfg_regDescriptions.GPA_MFPL = '0x50000030';
NUTOOL_PIN.g_cfg_regDescriptions.GPA_MFPH = '0x50000034';
NUTOOL_PIN.g_cfg_regDescriptions.GPB_MFPL = '0x50000038';
NUTOOL_PIN.g_cfg_regDescriptions.GPB_MFPH = '0x5000003C';
NUTOOL_PIN.g_cfg_regDescriptions.GPC_MFPL = '0x50000040';
NUTOOL_PIN.g_cfg_regDescriptions.GPC_MFPH = '0x50000044';
NUTOOL_PIN.g_cfg_regDescriptions.GPD_MFPL = '0x50000048';
NUTOOL_PIN.g_cfg_regDescriptions.GPD_MFPH = '0x5000004C';
NUTOOL_PIN.g_cfg_regDescriptions.GPE_MFPL = '0x50000050';
NUTOOL_PIN.g_cfg_regDescriptions.GPE_MFPH = '0x50000054';
NUTOOL_PIN.g_cfg_regDescriptions.GPF_MFPL = '0x50000058';

NUTOOL_PIN.g_cfg_gpioMatrix = [];
NUTOOL_PIN.g_cfg_shareBits = [];
NUTOOL_PIN.g_cfg_addGPIO = {};
NUTOOL_PIN.g_cfg_unusedGPIO = {};

NUTOOL_PIN.decidepackageNumber = function (given_partNumber_package) {
	var partNumber_package,
		partNumber;

	if (typeof given_partNumber_package === 'undefined') {
		partNumber_package = NUTOOL_PIN.getg_partNumber_package();
	}
	else {
		partNumber_package = given_partNumber_package;
	}

	NUTOOL_PIN.g_packageNumber = partNumber_package.substring(partNumber_package.indexOf('(') + 1);
	NUTOOL_PIN.g_packageNumber = NUTOOL_PIN.g_packageNumber.substring(0, NUTOOL_PIN.g_packageNumber.indexOf(')'));

	partNumber = partNumber_package.substring(0, partNumber_package.indexOf('('));
	switch (NUTOOL_PIN.g_packageNumber) {
	case 'LQFP64':
		switch (partNumber) {
		case "NUC121SC2AE":
			NUTOOL_PIN.g_packageNumberIndex = "LQFP64";
			break;
		case "NUC125SC2AE":
			NUTOOL_PIN.g_packageNumberIndex = "LQFP64(1.8 I/O)";
			break;
		}
		break;
	case 'LQFP48':
		switch (partNumber) {
		case "NUC121LC2AE":
			NUTOOL_PIN.g_packageNumberIndex = "LQFP48";
			break;
		case "NUC125LC2AE":
			NUTOOL_PIN.g_packageNumberIndex = "ILQFP48(1.8 I/O)";
			break;
		}
		break;
	case 'QFN33':
		switch (partNumber) {
		case "NUC121ZC2AE":
			NUTOOL_PIN.g_packageNumberIndex = "QFN33";
			break;
		case "NUC125ZC2AE":
			NUTOOL_PIN.g_packageNumberIndex = "IQFN33(1.8 I/O)";
			break;
		}
		break;
	}
	partNumber_package = null;
	partNumber = null;
};
