CMSIS-Zone (Preview)  Version 0.0.1
System Resource Management
 All Files Pages
/peripheral element

The peripheral element is used to define physical peripheral resources.

Example

<resources>
:
<peripherals>
<peripheral name="ADC0" size="0x1000" access="rw" info="Analog/Digital Converter 0 (12-bit)"/>
:
<group name="USART" info="Universal synchronous/asynchronous receiver/transmitter">
<peripheral name="UART0" size="0x1000" access="rw" info="Universal asynchronous receiver/transmitter 0"/>
<peripheral name="USART1" size="0x1000" access="rw" info="Universal synchronous/asynchronous receiver/transmitter 1"/>
:
</group>
</peripherals>
</resources>

Schema Description

Parent Element Element Chain
peripherals /peripherals element
group /group element
Attributes Description Type Use
name The name for this peripheral. Must be unique within a single device. xs:string required
size The memory size the peripheral registers occupy. xs:string required
access The access attributes for this peripheral. xs:string required
info Brief description of the peripheral resource. xs:string optional
Child Elements Description Type Occurrence
complexType 0..*