Instantly share code, notes, and snippets.

Embed
What would you like to do?
Device file for all STM32F103 devices.
<?xml version='1.0' encoding='UTF-8'?>
<modm version="0.4.0">
<!-- WARNING: This file is generated by the modm device file generator. Do not edit! -->
<device platform="stm32" family="f1" name="03" pin="c|r|t|v|z" size="4|6|8|b|c|d|e|f|g" package="h|i|t|u|y">
<naming-schema>{platform}{family}{name}{pin}{size}{package}</naming-schema>
<valid-device>stm32f103c4t</valid-device>
<valid-device>stm32f103c6t</valid-device>
<valid-device>stm32f103c6u</valid-device>
<valid-device>stm32f103c8t</valid-device>
<valid-device>stm32f103cbt</valid-device>
<valid-device>stm32f103cbu</valid-device>
<valid-device>stm32f103r4h</valid-device>
<valid-device>stm32f103r4t</valid-device>
<valid-device>stm32f103r6h</valid-device>
<valid-device>stm32f103r6t</valid-device>
<valid-device>stm32f103r8h</valid-device>
<valid-device>stm32f103r8t</valid-device>
<valid-device>stm32f103rbh</valid-device>
<valid-device>stm32f103rbt</valid-device>
<valid-device>stm32f103rct</valid-device>
<valid-device>stm32f103rcy</valid-device>
<valid-device>stm32f103rdt</valid-device>
<valid-device>stm32f103rdy</valid-device>
<valid-device>stm32f103ret</valid-device>
<valid-device>stm32f103rey</valid-device>
<valid-device>stm32f103rft</valid-device>
<valid-device>stm32f103rgt</valid-device>
<valid-device>stm32f103t4u</valid-device>
<valid-device>stm32f103t6u</valid-device>
<valid-device>stm32f103t8u</valid-device>
<valid-device>stm32f103tbu</valid-device>
<valid-device>stm32f103v8h</valid-device>
<valid-device>stm32f103v8t</valid-device>
<valid-device>stm32f103vbh</valid-device>
<valid-device>stm32f103vbi</valid-device>
<valid-device>stm32f103vbt</valid-device>
<valid-device>stm32f103vch</valid-device>
<valid-device>stm32f103vct</valid-device>
<valid-device>stm32f103vdh</valid-device>
<valid-device>stm32f103vdt</valid-device>
<valid-device>stm32f103veh</valid-device>
<valid-device>stm32f103vet</valid-device>
<valid-device>stm32f103vft</valid-device>
<valid-device>stm32f103vgt</valid-device>
<valid-device>stm32f103zch</valid-device>
<valid-device>stm32f103zct</valid-device>
<valid-device>stm32f103zdh</valid-device>
<valid-device>stm32f103zdt</valid-device>
<valid-device>stm32f103zeh</valid-device>
<valid-device>stm32f103zet</valid-device>
<valid-device>stm32f103zfh</valid-device>
<valid-device>stm32f103zft</valid-device>
<valid-device>stm32f103zgh</valid-device>
<valid-device>stm32f103zgt</valid-device>
<driver name="core" type="cortex-m3">
<memory device-size="4" name="flash" access="rx" start="0x8000000" size="16384"/>
<memory device-size="6" name="flash" access="rx" start="0x8000000" size="32768"/>
<memory device-size="8" name="flash" access="rx" start="0x8000000" size="65536"/>
<memory device-size="b" name="flash" access="rx" start="0x8000000" size="131072"/>
<memory device-size="c" name="flash" access="rx" start="0x8000000" size="262144"/>
<memory device-size="d" name="flash" access="rx" start="0x8000000" size="393216"/>
<memory device-size="e" name="flash" access="rx" start="0x8000000" size="524288"/>
<memory device-size="f" name="flash" access="rx" start="0x8000000" size="786432"/>
<memory device-size="g" name="flash" access="rx" start="0x8000000" size="1048576"/>
<memory device-size="4" name="sram1" access="rwx" start="0x20000000" size="6144"/>
<memory device-size="6" name="sram1" access="rwx" start="0x20000000" size="10240"/>
<memory device-size="8|b" name="sram1" access="rwx" start="0x20000000" size="20480"/>
<memory device-size="c" device-package="h|t" name="sram1" access="rwx" start="0x20000000" size="49152"/>
<memory device-size="c|d|e" device-package="y" name="sram1" access="rwx" start="0x20000000" size="65536"/>
<memory device-size="d|e" device-package="h|t" name="sram1" access="rwx" start="0x20000000" size="65536"/>
<memory device-size="f|g" name="sram1" access="rwx" start="0x20000000" size="98304"/>
<vector position="0" name="WWDG"/>
<vector position="1" name="PVD"/>
<vector position="2" name="TAMPER"/>
<vector position="3" name="RTC"/>
<vector position="4" name="FLASH"/>
<vector position="5" name="RCC"/>
<vector position="6" name="EXTI0"/>
<vector position="7" name="EXTI1"/>
<vector position="8" name="EXTI2"/>
<vector position="9" name="EXTI3"/>
<vector position="10" name="EXTI4"/>
<vector position="11" name="DMA1_Channel1"/>
<vector position="12" name="DMA1_Channel2"/>
<vector position="13" name="DMA1_Channel3"/>
<vector position="14" name="DMA1_Channel4"/>
<vector position="15" name="DMA1_Channel5"/>
<vector position="16" name="DMA1_Channel6"/>
<vector position="17" name="DMA1_Channel7"/>
<vector position="18" name="ADC1_2"/>
<vector position="19" name="USB_HP_CAN1_TX"/>
<vector position="20" name="USB_LP_CAN1_RX0"/>
<vector position="21" name="CAN1_RX1"/>
<vector position="22" name="CAN1_SCE"/>
<vector position="23" name="EXTI9_5"/>
<vector device-size="4|6|8|b|c|d|e" position="24" name="TIM1_BRK"/>
<vector device-size="f|g" position="24" name="TIM1_BRK_TIM9"/>
<vector device-size="4|6|8|b|c|d|e" position="25" name="TIM1_UP"/>
<vector device-size="f|g" position="25" name="TIM1_UP_TIM10"/>
<vector device-size="4|6|8|b|c|d|e" position="26" name="TIM1_TRG_COM"/>
<vector device-size="f|g" position="26" name="TIM1_TRG_COM_TIM11"/>
<vector position="27" name="TIM1_CC"/>
<vector position="28" name="TIM2"/>
<vector position="29" name="TIM3"/>
<vector device-size="8|b|c|d|e|f|g" position="30" name="TIM4"/>
<vector position="31" name="I2C1_EV"/>
<vector position="32" name="I2C1_ER"/>
<vector device-size="8|b|c|d|e|f|g" position="33" name="I2C2_EV"/>
<vector device-size="8|b|c|d|e|f|g" position="34" name="I2C2_ER"/>
<vector position="35" name="SPI1"/>
<vector device-size="8|b|c|d|e|f|g" position="36" name="SPI2"/>
<vector position="37" name="USART1"/>
<vector position="38" name="USART2"/>
<vector device-size="8|b|c|d|e|f|g" position="39" name="USART3"/>
<vector position="40" name="EXTI15_10"/>
<vector position="41" name="RTC_Alarm"/>
<vector position="42" name="USBWakeUp"/>
<vector device-size="c|d|e" position="43" name="TIM8_BRK"/>
<vector device-size="f|g" position="43" name="TIM8_BRK_TIM12"/>
<vector device-size="c|d|e" position="44" name="TIM8_UP"/>
<vector device-size="f|g" position="44" name="TIM8_UP_TIM13"/>
<vector device-size="c|d|e" position="45" name="TIM8_TRG_COM"/>
<vector device-size="f|g" position="45" name="TIM8_TRG_COM_TIM14"/>
<vector device-size="c|d|e|f|g" position="46" name="TIM8_CC"/>
<vector device-size="c|d|e|f|g" position="47" name="ADC3"/>
<vector device-size="c|d|e|f|g" position="48" name="FSMC"/>
<vector device-size="c|d|e|f|g" position="49" name="SDIO"/>
<vector device-size="c|d|e|f|g" position="50" name="TIM5"/>
<vector device-size="c|d|e|f|g" position="51" name="SPI3"/>
<vector device-size="c|d|e|f|g" position="52" name="UART4"/>
<vector device-size="c|d|e|f|g" position="53" name="UART5"/>
<vector device-size="c|d|e|f|g" position="54" name="TIM6"/>
<vector device-size="c|d|e|f|g" position="55" name="TIM7"/>
<vector device-size="c|d|e|f|g" position="56" name="DMA2_Channel1"/>
<vector device-size="c|d|e|f|g" position="57" name="DMA2_Channel2"/>
<vector device-size="c|d|e|f|g" position="58" name="DMA2_Channel3"/>
<vector device-size="c|d|e|f|g" position="59" name="DMA2_Channel4_5"/>
</driver>
<driver name="adc" type="stm32">
<instance value="1"/>
<instance value="2"/>
<instance device-size="c|d|e|f|g" value="3"/>
</driver>
<driver name="can" type="stm32">
<feature value="filter-14"/>
</driver>
<driver name="crc" type="stm32"/>
<driver device-size="c|d|e|f|g" name="dac" type="stm32"/>
<driver name="dma" type="stm32">
<instance value="1"/>
<instance value="2"/>
</driver>
<driver device-pin="v|z" device-size="c|d|e|f|g" name="fsmc" type="stm32-v1.0"/>
<driver name="i2c" type="stm32">
<instance value="1"/>
<instance device-pin="c|r|v" device-size="8|b" value="2"/>
<instance device-pin="r|v|z" device-size="c|d|e|f|g" value="2"/>
</driver>
<driver device-size="c|d|e|f|g" name="i2s" type="stm32-v1.0">
<instance value="2"/>
<instance value="3"/>
</driver>
<driver name="iwdg" type="stm32"/>
<driver name="rcc" type="stm32-v1.0"/>
<driver name="rtc" type="stm32-v1.1"/>
<driver device-size="c|d|e|f|g" name="sdio" type="stm32"/>
<driver name="spi" type="stm32">
<instance value="1"/>
<instance device-pin="c|r|v" device-size="8|b" value="2"/>
<instance device-pin="r|v|z" device-size="c|d|e|f|g" value="2"/>
<instance device-size="c|d|e|f|g" value="3"/>
</driver>
<driver name="sys" type="stm32-f1">
<feature value="exti"/>
<feature value="remap"/>
</driver>
<driver name="tim" type="stm32-advanced">
<instance value="1"/>
<instance device-size="c|d|e|f|g" value="8"/>
</driver>
<driver device-size="c|d|e|f|g" name="tim" type="stm32-basic">
<instance value="6"/>
<instance value="7"/>
</driver>
<driver name="tim" type="stm32-general-purpose">
<instance value="2"/>
<instance value="3"/>
<instance device-size="8|b|c|d|e|f|g" value="4"/>
<instance device-size="c|d|e|f|g" value="5"/>
<instance device-size="f|g" value="9"/>
<instance device-size="f|g" value="10"/>
<instance device-size="f|g" value="11"/>
<instance device-size="f|g" value="12"/>
<instance device-size="f|g" value="13"/>
<instance device-size="f|g" value="14"/>
</driver>
<driver device-size="c|d|e|f|g" name="uart" type="stm32">
<instance value="4"/>
<instance value="5"/>
</driver>
<driver name="usart" type="stm32">
<instance value="1"/>
<instance value="2"/>
<instance device-pin="c|r|v" device-size="8|b" value="3"/>
<instance device-pin="r|v|z" device-size="c|d|e|f|g" value="3"/>
</driver>
<driver name="usb" type="stm32-v1.1"/>
<driver name="wwdg" type="stm32-v1.0"/>
<driver name="gpio" type="stm32-f1">
<remap driver="spi" instance="1" position="0" mask="1">
<group id="0">
<signal port="a" pin="4" name="nss"/>
<signal port="a" pin="5" name="sck"/>
<signal port="a" pin="6" name="miso"/>
<signal port="a" pin="7" name="mosi"/>
</group>
<group id="1">
<signal port="a" pin="15" name="nss"/>
<signal port="b" pin="3" name="sck"/>
<signal port="b" pin="4" name="miso"/>
<signal port="b" pin="5" name="mosi"/>
</group>
</remap>
<remap driver="i2c" instance="1" position="1" mask="1">
<group id="0">
<signal port="b" pin="6" name="scl"/>
<signal port="b" pin="7" name="sda"/>
</group>
<group device-pin="c|r|v|z" id="1">
<signal port="b" pin="8" name="scl"/>
<signal port="b" pin="9" name="sda"/>
</group>
</remap>
<remap driver="usart" instance="1" position="2" mask="1">
<group id="0">
<signal port="a" pin="9" name="tx"/>
<signal port="a" pin="10" name="rx"/>
</group>
<group id="1">
<signal port="b" pin="6" name="tx"/>
<signal port="b" pin="7" name="rx"/>
</group>
</remap>
<remap driver="usart" instance="2" position="3" mask="1">
<group id="0">
<signal port="a" pin="0" name="cts"/>
<signal port="a" pin="1" name="rts"/>
<signal port="a" pin="2" name="tx"/>
<signal port="a" pin="3" name="rx"/>
<signal port="a" pin="4" name="ck"/>
</group>
<group device-pin="v|z" id="1">
<signal port="d" pin="3" name="cts"/>
<signal port="d" pin="4" name="rts"/>
<signal port="d" pin="5" name="tx"/>
<signal port="d" pin="6" name="rx"/>
<signal port="d" pin="7" name="ck"/>
</group>
</remap>
<remap device-pin="c|r|v|z" driver="usart" instance="3" position="4" mask="3">
<group device-pin="c|r|v" device-size="8|b" id="0">
<signal port="b" pin="10" name="tx"/>
<signal port="b" pin="11" name="rx"/>
<signal port="b" pin="12" name="ck"/>
<signal port="b" pin="13" name="cts"/>
<signal port="b" pin="14" name="rts"/>
</group>
<group device-pin="r|v|z" device-size="c|d|e|f|g" id="0">
<signal port="b" pin="10" name="tx"/>
<signal port="b" pin="11" name="rx"/>
<signal port="b" pin="12" name="ck"/>
<signal port="b" pin="13" name="cts"/>
<signal port="b" pin="14" name="rts"/>
</group>
<group id="1">
<signal port="b" pin="13" name="cts"/>
<signal port="b" pin="14" name="rts"/>
<signal device-pin="r|v" device-size="8|b|c|d|e|f|g" port="c" pin="10" name="tx"/>
<signal device-pin="z" device-size="c|d|e|f|g" port="c" pin="10" name="tx"/>
<signal device-pin="r|v" device-size="8|b|c|d|e|f|g" port="c" pin="11" name="rx"/>
<signal device-pin="z" device-size="c|d|e|f|g" port="c" pin="11" name="rx"/>
<signal device-pin="r|v" device-size="8|b|c|d|e|f|g" port="c" pin="12" name="ck"/>
<signal device-pin="z" device-size="c|d|e|f|g" port="c" pin="12" name="ck"/>
</group>
<group device-pin="v|z" id="3">
<signal port="d" pin="8" name="tx"/>
<signal port="d" pin="9" name="rx"/>
<signal port="d" pin="10" name="ck"/>
<signal port="d" pin="11" name="cts"/>
<signal port="d" pin="12" name="rts"/>
</group>
</remap>
<remap driver="tim" instance="1" position="6" mask="3">
<group id="0">
<signal port="a" pin="8" name="ch1"/>
<signal port="a" pin="9" name="ch2"/>
<signal port="a" pin="10" name="ch3"/>
<signal port="a" pin="11" name="ch4"/>
<signal port="a" pin="12" name="etr"/>
<signal device-pin="c|r|v|z" port="b" pin="12" name="bkin"/>
<signal device-pin="c|r|v|z" port="b" pin="13" name="ch1n"/>
<signal device-pin="c|r|v|z" port="b" pin="14" name="ch2n"/>
<signal device-pin="c|r|v|z" port="b" pin="15" name="ch3n"/>
</group>
<group id="1">
<signal port="a" pin="6" name="bkin"/>
<signal port="a" pin="7" name="ch1n"/>
<signal port="a" pin="8" name="ch1"/>
<signal port="a" pin="9" name="ch2"/>
<signal port="a" pin="10" name="ch3"/>
<signal port="a" pin="11" name="ch4"/>
<signal port="a" pin="12" name="etr"/>
<signal port="b" pin="0" name="ch2n"/>
<signal port="b" pin="1" name="ch3n"/>
</group>
<group device-pin="v|z" id="3">
<signal port="e" pin="7" name="etr"/>
<signal port="e" pin="8" name="ch1n"/>
<signal port="e" pin="9" name="ch1"/>
<signal port="e" pin="10" name="ch2n"/>
<signal port="e" pin="11" name="ch2"/>
<signal port="e" pin="12" name="ch3n"/>
<signal port="e" pin="13" name="ch3"/>
<signal port="e" pin="14" name="ch4"/>
<signal port="e" pin="15" name="bkin"/>
</group>
</remap>
<remap driver="tim" instance="2" position="8" mask="3">
<group id="0">
<signal port="a" pin="0" name="ch1"/>
<signal port="a" pin="0" name="etr"/>
<signal port="a" pin="1" name="ch2"/>
<signal port="a" pin="2" name="ch3"/>
<signal port="a" pin="3" name="ch4"/>
</group>
<group id="1">
<signal port="a" pin="2" name="ch3"/>
<signal port="a" pin="3" name="ch4"/>
<signal port="a" pin="15" name="ch1"/>
<signal port="a" pin="15" name="etr"/>
<signal port="b" pin="3" name="ch2"/>
</group>
<group id="2">
<signal port="a" pin="0" name="ch1"/>
<signal port="a" pin="0" name="etr"/>
<signal port="a" pin="1" name="ch2"/>
<signal device-pin="c|r|v|z" port="b" pin="10" name="ch3"/>
<signal device-pin="c|r|v|z" port="b" pin="11" name="ch4"/>
</group>
<group id="3">
<signal port="a" pin="15" name="ch1"/>
<signal port="a" pin="15" name="etr"/>
<signal port="b" pin="3" name="ch2"/>
<signal device-pin="c|r|v|z" port="b" pin="10" name="ch3"/>
<signal device-pin="c|r|v|z" port="b" pin="11" name="ch4"/>
</group>
</remap>
<remap driver="tim" instance="3" position="10" mask="3">
<group id="0">
<signal port="a" pin="6" name="ch1"/>
<signal port="a" pin="7" name="ch2"/>
<signal port="b" pin="0" name="ch3"/>
<signal port="b" pin="1" name="ch4"/>
</group>
<group id="2">
<signal port="b" pin="0" name="ch3"/>
<signal port="b" pin="1" name="ch4"/>
<signal port="b" pin="4" name="ch1"/>
<signal port="b" pin="5" name="ch2"/>
</group>
<group device-pin="r|v|z" id="3">
<signal port="c" pin="6" name="ch1"/>
<signal port="c" pin="7" name="ch2"/>
<signal port="c" pin="8" name="ch3"/>
<signal port="c" pin="9" name="ch4"/>
</group>
</remap>
<remap device-size="8|b|c|d|e|f|g" driver="tim" instance="4" position="12" mask="1">
<group id="0">
<signal port="b" pin="6" name="ch1"/>
<signal port="b" pin="7" name="ch2"/>
<signal device-pin="c|r|v" device-size="8|b" port="b" pin="8" name="ch3"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" port="b" pin="8" name="ch3"/>
<signal device-pin="c|r|v" device-size="8|b" port="b" pin="9" name="ch4"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" port="b" pin="9" name="ch4"/>
</group>
<group device-pin="v|z" id="1">
<signal port="d" pin="12" name="ch1"/>
<signal port="d" pin="13" name="ch2"/>
<signal port="d" pin="14" name="ch3"/>
<signal port="d" pin="15" name="ch4"/>
</group>
</remap>
<remap driver="can" position="13" mask="3">
<group id="0">
<signal port="a" pin="11" name="rx"/>
<signal port="a" pin="12" name="tx"/>
</group>
<group device-pin="c|r|v|z" id="2">
<signal port="b" pin="8" name="rx"/>
<signal port="b" pin="9" name="tx"/>
</group>
<group id="3">
<signal port="d" pin="0" name="rx"/>
<signal port="d" pin="1" name="tx"/>
</group>
</remap>
<remap device-size="c|d|e|f|g" driver="i2s" instance="3" position="28" mask="1">
<group id="0">
<signal port="a" pin="15" name="ws"/>
<signal port="b" pin="3" name="ck"/>
<signal port="b" pin="5" name="sd"/>
</group>
<group id="1">
<signal port="a" pin="4" name="ws"/>
<signal port="c" pin="10" name="ck"/>
<signal port="c" pin="12" name="sd"/>
</group>
</remap>
<remap device-size="c|d|e|f|g" driver="spi" instance="3" position="28" mask="1">
<group id="0">
<signal port="a" pin="15" name="nss"/>
<signal port="b" pin="3" name="sck"/>
<signal port="b" pin="4" name="miso"/>
<signal port="b" pin="5" name="mosi"/>
</group>
<group id="1">
<signal port="a" pin="4" name="nss"/>
<signal port="c" pin="10" name="sck"/>
<signal port="c" pin="11" name="miso"/>
<signal port="c" pin="12" name="mosi"/>
</group>
</remap>
<remap device-pin="c|r" device-size="4|6" driver="tim" instance="15" position="32" mask="1">
<group id="1">
<signal port="b" pin="14" name="ch1"/>
<signal port="b" pin="15" name="ch2"/>
</group>
</remap>
<remap device-size="f|g" driver="tim" instance="9" position="37" mask="1">
<group id="0">
<signal port="a" pin="2" name="ch1"/>
<signal port="a" pin="3" name="ch2"/>
</group>
<group device-pin="v|z" device-size="f|g" id="1">
<signal port="e" pin="5" name="ch1"/>
<signal port="e" pin="6" name="ch2"/>
</group>
</remap>
<remap device-size="f|g" driver="tim" instance="10" position="38" mask="1">
<group id="0">
<signal port="b" pin="8" name="ch1"/>
</group>
<group device-pin="z" device-size="f|g" id="1">
<signal port="f" pin="6" name="ch1"/>
</group>
</remap>
<remap device-size="f|g" driver="tim" instance="11" position="39" mask="1">
<group id="0">
<signal port="b" pin="9" name="ch1"/>
</group>
<group device-pin="z" device-size="f|g" id="1">
<signal port="f" pin="7" name="ch1"/>
</group>
</remap>
<remap device-size="f|g" driver="tim" instance="13" position="40" mask="1">
<group id="0">
<signal port="a" pin="6" name="ch1"/>
</group>
<group device-pin="z" device-size="f|g" id="1">
<signal port="f" pin="8" name="ch1"/>
</group>
</remap>
<remap device-size="f|g" driver="tim" instance="14" position="41" mask="1">
<group id="0">
<signal port="a" pin="7" name="ch1"/>
</group>
<group device-pin="z" device-size="f|g" id="1">
<signal port="f" pin="9" name="ch1"/>
</group>
</remap>
<remap device-pin="c|r" device-size="4|6" driver="tim" instance="12" position="44" mask="1">
<group id="1">
<signal port="b" pin="12" name="ch1"/>
<signal port="b" pin="13" name="ch2"/>
</group>
</remap>
<gpio port="a" pin="0">
<signal driver="adc" instance="1" name="in0"/>
<signal driver="adc" instance="2" name="in0"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in0"/>
<signal driver="sys" name="wkup"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="5" name="ch1"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="etr"/>
</gpio>
<gpio port="a" pin="1">
<signal driver="adc" instance="1" name="in1"/>
<signal driver="adc" instance="2" name="in1"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in1"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="5" name="ch2"/>
</gpio>
<gpio port="a" pin="2">
<signal driver="adc" instance="1" name="in2"/>
<signal driver="adc" instance="2" name="in2"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in2"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="5" name="ch3"/>
</gpio>
<gpio port="a" pin="3">
<signal driver="adc" instance="1" name="in3"/>
<signal driver="adc" instance="2" name="in3"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in3"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="5" name="ch4"/>
</gpio>
<gpio port="a" pin="4">
<signal driver="adc" instance="1" name="in4"/>
<signal driver="adc" instance="2" name="in4"/>
<signal device-size="c|d|e|f|g" driver="dac" name="out1"/>
</gpio>
<gpio port="a" pin="5">
<signal driver="adc" instance="1" name="in5"/>
<signal driver="adc" instance="2" name="in5"/>
<signal device-size="c|d|e|f|g" driver="dac" name="out2"/>
</gpio>
<gpio port="a" pin="6">
<signal driver="adc" instance="1" name="in6"/>
<signal driver="adc" instance="2" name="in6"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="bkin"/>
</gpio>
<gpio port="a" pin="7">
<signal driver="adc" instance="1" name="in7"/>
<signal driver="adc" instance="2" name="in7"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch1n"/>
</gpio>
<gpio port="a" pin="8">
<signal driver="rcc" name="mco"/>
<signal driver="usart" instance="1" name="ck"/>
</gpio>
<gpio port="a" pin="9">
<signal device-size="c|d|e|f|g" driver="dac" name="exti9"/>
</gpio>
<gpio port="a" pin="10"/>
<gpio port="a" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal driver="usart" instance="1" name="cts"/>
<signal driver="usb" name="dm"/>
</gpio>
<gpio port="a" pin="12">
<signal driver="usart" instance="1" name="rts"/>
<signal driver="usb" name="dp"/>
</gpio>
<gpio port="a" pin="13">
<signal driver="sys" name="jtms"/>
<signal driver="sys" name="swdio"/>
</gpio>
<gpio port="a" pin="14">
<signal driver="sys" name="jtck"/>
<signal driver="sys" name="swclk"/>
</gpio>
<gpio port="a" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
<signal driver="sys" name="jtdi"/>
</gpio>
<gpio port="b" pin="0">
<signal driver="adc" instance="1" name="in8"/>
<signal driver="adc" instance="2" name="in8"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch2n"/>
</gpio>
<gpio port="b" pin="1">
<signal driver="adc" instance="1" name="in9"/>
<signal driver="adc" instance="2" name="in9"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch3n"/>
</gpio>
<gpio port="b" pin="2"/>
<gpio port="b" pin="3">
<signal driver="sys" name="jtdo"/>
<signal driver="sys" name="traceswo"/>
</gpio>
<gpio port="b" pin="4">
<signal driver="sys" name="njtrst"/>
</gpio>
<gpio port="b" pin="5">
<signal driver="i2c" instance="1" name="smba"/>
</gpio>
<gpio port="b" pin="6"/>
<gpio port="b" pin="7">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="nl"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="8">
<signal device-size="c|d|e|f|g" driver="sdio" name="d4"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="9">
<signal device-size="c|d|e|f|g" driver="dac" name="exti9"/>
<signal device-size="c|d|e|f|g" driver="sdio" name="d5"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="10">
<signal device-pin="c|r|v" device-size="8|b" driver="i2c" instance="2" name="scl"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="i2c" instance="2" name="scl"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal device-pin="c|r|v" device-size="8|b" driver="i2c" instance="2" name="sda"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="i2c" instance="2" name="sda"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="12">
<signal device-pin="c|r|v" device-size="8|b" driver="i2c" instance="2" name="smba"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="i2c" instance="2" name="smba"/>
<signal device-size="c|d|e|f|g" driver="i2s" instance="2" name="ws"/>
<signal device-pin="c|r|v" device-size="8|b" driver="spi" instance="2" name="nss"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="spi" instance="2" name="nss"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="13">
<signal device-size="c|d|e|f|g" driver="i2s" instance="2" name="ck"/>
<signal device-pin="c|r|v" device-size="8|b" driver="spi" instance="2" name="sck"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="spi" instance="2" name="sck"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="14">
<signal device-pin="c|r|v" device-size="8|b" driver="spi" instance="2" name="miso"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="spi" instance="2" name="miso"/>
<signal device-size="f|g" driver="tim" instance="12" name="ch1"/>
</gpio>
<gpio device-pin="c|r|v|z" port="b" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
<signal device-size="c|d|e|f|g" driver="i2s" instance="2" name="sd"/>
<signal device-pin="c|r|v" device-size="8|b" driver="spi" instance="2" name="mosi"/>
<signal device-pin="r|v|z" device-size="c|d|e|f|g" driver="spi" instance="2" name="mosi"/>
<signal device-size="f|g" driver="tim" instance="12" name="ch2"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="0">
<signal driver="adc" instance="1" name="in10"/>
<signal driver="adc" instance="2" name="in10"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in10"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="1">
<signal driver="adc" instance="1" name="in11"/>
<signal driver="adc" instance="2" name="in11"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in11"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="2">
<signal driver="adc" instance="1" name="in12"/>
<signal driver="adc" instance="2" name="in12"/>
<signal device-size="c|d|e|f|g" driver="adc" instance="3" name="in12"/>
</gpio>
<gpio device-pin="r|v|z" device-package="t" port="c" pin="3">
<signal driver="adc" instance="1" name="in13"/>
<signal driver="adc" instance="2" name="in13"/>
<signal device-size="c|d|e|f|g" device-package="h|t" driver="adc" instance="3" name="in13"/>
</gpio>
<gpio device-pin="v" device-package="h|i" port="c" pin="3">
<signal driver="adc" instance="1" name="in13"/>
<signal driver="adc" instance="2" name="in13"/>
<signal device-size="c|d|e|f|g" device-package="h|t" driver="adc" instance="3" name="in13"/>
</gpio>
<gpio device-pin="z" device-package="h" port="c" pin="3">
<signal driver="adc" instance="1" name="in13"/>
<signal driver="adc" instance="2" name="in13"/>
<signal device-size="c|d|e|f|g" device-package="h|t" driver="adc" instance="3" name="in13"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="4">
<signal driver="adc" instance="1" name="in14"/>
<signal driver="adc" instance="2" name="in14"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="5">
<signal driver="adc" instance="1" name="in15"/>
<signal driver="adc" instance="2" name="in15"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="6">
<signal device-size="c|d|e|f|g" driver="i2s" instance="2" name="mck"/>
<signal device-size="c|d|e|f|g" driver="sdio" name="d6"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch1"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="7">
<signal device-size="c|d|e|f|g" driver="i2s" instance="3" name="mck"/>
<signal device-size="c|d|e|f|g" driver="sdio" name="d7"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch2"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="8">
<signal device-size="c|d|e|f|g" driver="sdio" name="d0"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch3"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="9">
<signal device-size="c|d|e|f|g" driver="dac" name="exti9"/>
<signal device-size="c|d|e|f|g" driver="sdio" name="d1"/>
<signal device-size="c|d|e|f|g" driver="tim" instance="8" name="ch4"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="10">
<signal device-size="c|d|e|f|g" driver="sdio" name="d2"/>
<signal device-size="c|d|e|f|g" driver="uart" instance="4" name="tx"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal device-size="c|d|e|f|g" driver="sdio" name="d3"/>
<signal device-size="c|d|e|f|g" driver="uart" instance="4" name="rx"/>
</gpio>
<gpio device-pin="r|v|z" port="c" pin="12">
<signal device-size="c|d|e|f|g" driver="sdio" name="ck"/>
<signal device-size="c|d|e|f|g" driver="uart" instance="5" name="tx"/>
</gpio>
<gpio device-pin="c|r|v|z" port="c" pin="13">
<signal driver="rtc" name="out"/>
<signal driver="rtc" name="tamper"/>
</gpio>
<gpio device-pin="c|r|v|z" port="c" pin="14">
<signal driver="rccls" name="in"/>
</gpio>
<gpio device-pin="c|r|v|z" port="c" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
<signal driver="rccls" name="out"/>
</gpio>
<gpio port="d" pin="0">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d2"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da2"/>
<signal device-pin="c|r|t" driver="rcchs" name="in"/>
</gpio>
<gpio port="d" pin="1">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d3"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da3"/>
<signal device-pin="c|r|t" driver="rcchs" name="out"/>
</gpio>
<gpio device-pin="r|v|z" port="d" pin="2">
<signal device-size="c|d|e|f|g" driver="sdio" name="cmd"/>
<signal driver="tim" instance="3" name="etr"/>
<signal device-size="c|d|e|f|g" driver="uart" instance="5" name="rx"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="3">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="clk"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="4">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="noe"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="5">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="nwe"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="6">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="nwait"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="7">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="nce2"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="ne1"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="8">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d13"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da13"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="9">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="dac" name="exti9"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d14"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da14"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="10">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d15"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da15"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a16"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="cle"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="12">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a17"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="ale"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="13">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a18"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="14">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d0"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da0"/>
</gpio>
<gpio device-pin="v|z" port="d" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d1"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da1"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="0">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="nbl0"/>
<signal driver="tim" instance="4" name="etr"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="1">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="nbl1"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="2">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a23"/>
<signal driver="sys" name="traceclk"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="3">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a19"/>
<signal driver="sys" name="traced0"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="4">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a20"/>
<signal driver="sys" name="traced1"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="5">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a21"/>
<signal driver="sys" name="traced2"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="6">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="a22"/>
<signal driver="sys" name="traced3"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="7">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d4"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da4"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="8">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d5"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da5"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="9">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="dac" name="exti9"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d6"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da6"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="10">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d7"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da7"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d8"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da8"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="12">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d9"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da9"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="13">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d10"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da10"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="14">
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d11"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da11"/>
</gpio>
<gpio device-pin="v|z" port="e" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="d12"/>
<signal device-pin="v|z" device-size="c|d|e|f|g" driver="fsmc" name="da12"/>
</gpio>
<gpio device-pin="z" port="f" pin="0">
<signal driver="fsmc" name="a0"/>
</gpio>
<gpio device-pin="z" port="f" pin="1">
<signal driver="fsmc" name="a1"/>
</gpio>
<gpio device-pin="z" port="f" pin="2">
<signal driver="fsmc" name="a2"/>
</gpio>
<gpio device-pin="z" port="f" pin="3">
<signal driver="fsmc" name="a3"/>
</gpio>
<gpio device-pin="z" port="f" pin="4">
<signal driver="fsmc" name="a4"/>
</gpio>
<gpio device-pin="z" port="f" pin="5">
<signal driver="fsmc" name="a5"/>
</gpio>
<gpio device-pin="z" port="f" pin="6">
<signal driver="adc" instance="3" name="in4"/>
<signal driver="fsmc" name="niord"/>
</gpio>
<gpio device-pin="z" port="f" pin="7">
<signal driver="adc" instance="3" name="in5"/>
<signal driver="fsmc" name="nreg"/>
</gpio>
<gpio device-pin="z" port="f" pin="8">
<signal driver="adc" instance="3" name="in6"/>
<signal driver="fsmc" name="niowr"/>
</gpio>
<gpio device-pin="z" port="f" pin="9">
<signal driver="adc" instance="3" name="in7"/>
<signal driver="dac" name="exti9"/>
<signal driver="fsmc" name="cd"/>
</gpio>
<gpio device-pin="z" port="f" pin="10">
<signal driver="adc" instance="3" name="in8"/>
<signal driver="fsmc" name="intr"/>
</gpio>
<gpio device-pin="z" port="f" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal driver="fsmc" name="nios16"/>
</gpio>
<gpio device-pin="z" port="f" pin="12">
<signal driver="fsmc" name="a6"/>
</gpio>
<gpio device-pin="z" port="f" pin="13">
<signal driver="fsmc" name="a7"/>
</gpio>
<gpio device-pin="z" port="f" pin="14">
<signal driver="fsmc" name="a8"/>
</gpio>
<gpio device-pin="z" port="f" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
<signal driver="fsmc" name="a9"/>
</gpio>
<gpio device-pin="z" port="g" pin="0">
<signal driver="fsmc" name="a10"/>
</gpio>
<gpio device-pin="z" port="g" pin="1">
<signal driver="fsmc" name="a11"/>
</gpio>
<gpio device-pin="z" port="g" pin="2">
<signal driver="fsmc" name="a12"/>
</gpio>
<gpio device-pin="z" port="g" pin="3">
<signal driver="fsmc" name="a13"/>
</gpio>
<gpio device-pin="z" port="g" pin="4">
<signal driver="fsmc" name="a14"/>
</gpio>
<gpio device-pin="z" port="g" pin="5">
<signal driver="fsmc" name="a15"/>
</gpio>
<gpio device-pin="z" port="g" pin="6">
<signal driver="fsmc" name="int2"/>
</gpio>
<gpio device-pin="z" port="g" pin="7">
<signal driver="fsmc" name="int3"/>
</gpio>
<gpio device-pin="z" port="g" pin="8"/>
<gpio device-pin="z" port="g" pin="9">
<signal driver="dac" name="exti9"/>
<signal driver="fsmc" name="nce3"/>
<signal driver="fsmc" name="ne2"/>
</gpio>
<gpio device-pin="z" port="g" pin="10">
<signal driver="fsmc" name="nce41"/>
<signal driver="fsmc" name="ne3"/>
</gpio>
<gpio device-pin="z" port="g" pin="11">
<signal driver="adc" instance="1" name="exti11"/>
<signal driver="adc" instance="2" name="exti11"/>
<signal driver="fsmc" name="nce42"/>
</gpio>
<gpio device-pin="z" port="g" pin="12">
<signal driver="fsmc" name="ne4"/>
</gpio>
<gpio device-pin="z" port="g" pin="13">
<signal driver="fsmc" name="a24"/>
</gpio>
<gpio device-pin="z" port="g" pin="14">
<signal driver="fsmc" name="a25"/>
</gpio>
<gpio device-pin="z" port="g" pin="15">
<signal driver="adc" instance="1" name="exti15"/>
<signal driver="adc" instance="2" name="exti15"/>
</gpio>
</driver>
</device>
</modm>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment