2012-07-08 07:52:10 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<xs:schema elementFormDefault="qualified"
|
|
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
|
|
|
|
<xs:include schemaLocation="../common/doc.xsd" />
|
|
|
|
<xs:include schemaLocation="../common/stm32/stm32_gpiov2_port.xsd" />
|
|
|
|
<xs:include schemaLocation="abstract_board.xsd" />
|
|
|
|
|
|
|
|
<xs:complexType name="STM32F4xxBoardType">
|
|
|
|
<xs:complexContent>
|
|
|
|
<xs:extension base="AbstractBoardType">
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element
|
|
|
|
name="ports"
|
|
|
|
type="portsType"
|
|
|
|
maxOccurs="1"
|
|
|
|
minOccurs="1">
|
|
|
|
</xs:element>
|
|
|
|
</xs:sequence>
|
2012-07-08 09:55:25 +00:00
|
|
|
<xs:attribute
|
2012-07-08 07:52:10 +00:00
|
|
|
name="HSEBypass"
|
|
|
|
type="xs:boolean"
|
|
|
|
use="required">
|
|
|
|
</xs:attribute>
|
|
|
|
<xs:attribute
|
|
|
|
name="HSEFrequency"
|
|
|
|
use="required">
|
|
|
|
<xs:annotation>
|
|
|
|
<xs:documentation>
|
|
|
|
HSE frequency or zero if not present.
|
|
|
|
</xs:documentation>
|
|
|
|
</xs:annotation>
|
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction base="xs:int">
|
|
|
|
<xs:minInclusive value="0"></xs:minInclusive>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
</xs:attribute>
|
|
|
|
<xs:attribute
|
|
|
|
name="LSEFrequency"
|
|
|
|
use="required">
|
|
|
|
<xs:annotation>
|
|
|
|
<xs:documentation>
|
|
|
|
LSE frequency or zero if not present.
|
|
|
|
</xs:documentation>
|
|
|
|
</xs:annotation>
|
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction base="xs:int">
|
|
|
|
<xs:minInclusive value="0"></xs:minInclusive>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
2012-07-08 09:55:25 +00:00
|
|
|
</xs:attribute>
|
|
|
|
|
|
|
|
<xs:attribute
|
|
|
|
name="VDD"
|
|
|
|
use="required">
|
|
|
|
<xs:annotation>
|
|
|
|
<xs:documentation>STM32F4xx VDD.</xs:documentation>
|
|
|
|
</xs:annotation>
|
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction base="xs:int">
|
|
|
|
<xs:minInclusive value="180"></xs:minInclusive>
|
|
|
|
<xs:whiteSpace value="collapse"></xs:whiteSpace>
|
|
|
|
<xs:maxInclusive value="360"></xs:maxInclusive>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
</xs:attribute>
|
2012-07-08 07:52:10 +00:00
|
|
|
</xs:extension>
|
|
|
|
</xs:complexContent>
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:complexType name="portsType">
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name="GPIOA" type="STM32GPIOv2PortType"
|
|
|
|
minOccurs="1" maxOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOB" type="STM32GPIOv2PortType"
|
|
|
|
minOccurs="1" maxOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOC" type="STM32GPIOv2PortType"
|
|
|
|
minOccurs="1" maxOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOD" type="STM32GPIOv2PortType"
|
|
|
|
maxOccurs="1" minOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOE" type="STM32GPIOv2PortType"
|
|
|
|
maxOccurs="1" minOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOF" type="STM32GPIOv2PortType"
|
|
|
|
maxOccurs="1" minOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOG" type="STM32GPIOv2PortType"
|
|
|
|
maxOccurs="1" minOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOH" type="STM32GPIOv2PortType"
|
|
|
|
maxOccurs="1" minOccurs="1"></xs:element>
|
|
|
|
<xs:element name="GPIOI" type="STM32GPIOv2PortType"
|
|
|
|
maxOccurs="1" minOccurs="1"></xs:element>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:element name="board" type="STM32F4xxBoardType"></xs:element>
|
|
|
|
</xs:schema>
|