120 lines
4.8 KiB
Plaintext
120 lines
4.8 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<Root>
|
||
|
<MCUInfo>
|
||
|
<MCUSerials>AT32F415</MCUSerials>
|
||
|
<MCUName>AT32F415KCU7-4</MCUName>
|
||
|
<MCUPackage>QFN32</MCUPackage>
|
||
|
</MCUInfo>
|
||
|
<DEBUG>
|
||
|
<Mode>
|
||
|
<ModeSub name="Debug interface" value=""/>
|
||
|
</Mode>
|
||
|
</DEBUG>
|
||
|
<I2C1>
|
||
|
<Mode>
|
||
|
<ModeSub name="I2C" value="I2C"/>
|
||
|
</Mode>
|
||
|
<Parameters>
|
||
|
<ParametersSub name="DualAddressMode" value="DISABLE"/>
|
||
|
<ParametersSub name="OwnAddress" value="5a"/>
|
||
|
<ParametersSub name="GeneralCallMode" value="FALSE"/>
|
||
|
</Parameters>
|
||
|
</I2C1>
|
||
|
<SPI1>
|
||
|
<Mode>
|
||
|
<ModeSub name="Mode" value="Simplex_Bidirectional_Master_TX"/>
|
||
|
</Mode>
|
||
|
<Parameters>
|
||
|
<ParametersSub name="TransmissionMode" value="SPI_TRANSMIT_HALF_DUPLEX_TX"/>
|
||
|
<ParametersSub name="Mode" value="SPI_MODE_MASTER"/>
|
||
|
<ParametersSub name="FirstBit" value="SPI_FIRST_BIT_MSB"/>
|
||
|
<ParametersSub name="ClockFrequency" value="18000000"/>
|
||
|
</Parameters>
|
||
|
</SPI1>
|
||
|
<USART2>
|
||
|
<Mode>
|
||
|
<ModeSub name="Mode" value="Asynchronous"/>
|
||
|
</Mode>
|
||
|
</USART2>
|
||
|
<DMA>
|
||
|
<SPI1_TX>
|
||
|
<ParametersSub name="Instance" value="DMA1_Channel1"/>
|
||
|
</SPI1_TX>
|
||
|
</DMA>
|
||
|
<NVIC>
|
||
|
<SysTick_Handler>0;0;0</SysTick_Handler>
|
||
|
<FLASH_IRQHandler>0;0;0</FLASH_IRQHandler>
|
||
|
<CRM_IRQHandler>0;0;0</CRM_IRQHandler>
|
||
|
<DMA1_Channel1_IRQHandler>0;0;0</DMA1_Channel1_IRQHandler>
|
||
|
<I2C1_EVT_IRQHandler>0;0;0</I2C1_EVT_IRQHandler>
|
||
|
<I2C1_ERR_IRQHandler>0;0;0</I2C1_ERR_IRQHandler>
|
||
|
<SPI1_IRQHandler>0;0;0</SPI1_IRQHandler>
|
||
|
<USART2_IRQHandler>0;0;0</USART2_IRQHandler>
|
||
|
</NVIC>
|
||
|
<GPIO>
|
||
|
<Signal SignalName="USART2_RX" PinName="PA3">
|
||
|
<Parameters name="GPIO_PullType_Set" value="GPIO_PULL_UP"/>
|
||
|
</Signal>
|
||
|
<Signal SignalName="GPIO_Input" PinName="PB0">
|
||
|
<Parameters name="GPIO_PullType_Set" value="GPIO_PULL_UP"/>
|
||
|
</Signal>
|
||
|
<Signal SignalName="GPIO_Input" PinName="PB1">
|
||
|
<Parameters name="GPIO_PullType_Set" value="GPIO_PULL_UP"/>
|
||
|
</Signal>
|
||
|
<Signal SignalName="GPIO_Input" PinName="PB2/BOOT1">
|
||
|
<Parameters name="GPIO_PullType_Set" value="GPIO_PULL_UP"/>
|
||
|
</Signal>
|
||
|
</GPIO>
|
||
|
<ClockConfiguration>
|
||
|
<rtcsel>0</rtcsel>
|
||
|
<hext>8.000000</hext>
|
||
|
<pllhextdiv>0</pllhextdiv>
|
||
|
<pllrcs>1</pllrcs>
|
||
|
<pllmode>0</pllmode>
|
||
|
<pllmult>36</pllmult>
|
||
|
<pllms>1</pllms>
|
||
|
<pllns>144</pllns>
|
||
|
<pllfr>4</pllfr>
|
||
|
<sclkselect>1</sclkselect>
|
||
|
<ahbdiv>1</ahbdiv>
|
||
|
<apb1div>2</apb1div>
|
||
|
<apb2div>2</apb2div>
|
||
|
<usbdiv>3.0</usbdiv>
|
||
|
<hicktosclk>0</hicktosclk>
|
||
|
<clkout>0</clkout>
|
||
|
<clkoutdiv>1</clkoutdiv>
|
||
|
<adcdiv>4</adcdiv>
|
||
|
</ClockConfiguration>
|
||
|
<PINInfo>
|
||
|
<PinSub pinname="PA2" signalname="USART2_TX" signaltype="2"/>
|
||
|
<PinSub pinname="PA3" signalname="USART2_RX" signaltype="2"/>
|
||
|
<PinSub pinname="PA5" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PA6" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PB0" signalname="GPIO_Input" signaltype="3"/>
|
||
|
<PinSub pinname="PB1" signalname="GPIO_Input" signaltype="3"/>
|
||
|
<PinSub pinname="PB2/BOOT1" signalname="GPIO_Input" signaltype="3"/>
|
||
|
<PinSub pinname="PA8" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PA9" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PA10" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PA13" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PA14" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PA15" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PB3" signalname="SPI1_SCK" signaltype="2"/>
|
||
|
<PinSub pinname="PB4" signalname="GPIO_Output" signaltype="3"/>
|
||
|
<PinSub pinname="PB5" signalname="SPI1_MOSI" signaltype="2"/>
|
||
|
<PinSub pinname="PB6" signalname="I2C1_SCL" signaltype="2"/>
|
||
|
<PinSub pinname="PB7" signalname="I2C1_SDA" signaltype="2"/>
|
||
|
<PinSub pinname="PB8" signalname="GPIO_Output" signaltype="3"/>
|
||
|
</PINInfo>
|
||
|
<ProjectInfomation>
|
||
|
<ProjectName>usb-power-supply</ProjectName>
|
||
|
<ProjectLocation>D:/Users/bryan.he/Desktop</ProjectLocation>
|
||
|
<ToolchainIDE>AT32_IDE</ToolchainIDE>
|
||
|
<KeepUserCode>true</KeepUserCode>
|
||
|
<MinHeapSize>0x200</MinHeapSize>
|
||
|
<MinStackSize>0x400</MinStackSize>
|
||
|
<UseFirmware>true</UseFirmware>
|
||
|
<PackageVersion>V2.1.4</PackageVersion>
|
||
|
</ProjectInfomation>
|
||
|
</Root>
|