<?xml version="1.0" encoding="UTF-8"?>
<!--

 File Name          : USB Device.xml
 Description        : Contextual documentation of the USB Device
                      for all MCU series

 COPYRIGHT(c) 2016 STMicroelectronics

====================================================================
| version 0.1  |  A.Morin          | Creation                      |
====================================================================
| version 0.2  |  A.Morin          | Database update               |
====================================================================

Contextual help database for USB Device peripheral, it contains:
    - peripheral generic information under <peripheral> node
    - information about peripheral mode under <mode> node
    - details about the peripheral configuration under <config> node

-->
<ctx_periph_help xsi:noNamespaceSchemaLocation="../../../../../../../doc/V4/Development/Specifications/contextualDocumentation/peripherals.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- serie "ref" is the MCU series you want to document e.g. STM32F0, STM32F1... -->
    <serie ref="Default">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32F0">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32F1">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link filter="STM32F(?!100).*" display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32F3">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link filter="STM32F3(02.[68BCDE]|03.[BCDE]|73).*" display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link filter="STM32F3(0[23]|[259]8|7).*" display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32G0">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32L0">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32L1">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
    <serie ref="STM32L4">
        <peripheral>
            <!-- Title of the contextual widget -->
            <title>USB Device</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>Universal Serial Bus</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>USB (Universal Serial Bus) is widely used to connect either a PC or a USB&lt;br/&gt;
                device to the microcontroller in full speed mode (FS).
            </help_text>
            <!-- Links that will be displayed on the help widgets:
            - filter: In case a selection needs to be made, use it as regexp on mcu name (STM32F042T6x)
            - display: string that will be displayed in front of the hyperlink
            - type: the type of file you want to display ("txt" "pdf", "chm", "html", "dynamic")
            dynamic stands for the document that have to be retrieved from the JSON database
            - reference: path to the document to be displayed (http or local path)
              If the file is dynamic, indicate the kind of file you want to display:
                * dataSheet => for datasheet document type
                * appNote => for application note document type
                * refMan => for reference manual document type
                * usrMan => for user Manual document type
                * prgMan => for Programming Manual document type
                * errSheet => for Errata Sheet document type
            - index: for pdf,html and chm type it specifies the chapter where the viewer will point
            for dynamic file it can specify a chapter except for application notes where it specifies
            the document display name (e.g. AN1015). This field may be left blank, then the full document
            is displayed -->
            <link display="Datasheet" type="dynamic" reference="dataSheet" index="Universal serial bus (USB)">
            </link>
            <link filter="MCU:STM32L4[123456][123].*" display="Reference manual" type="dynamic" reference="refMan" index="Universal serial bus full-speed device interface (USB)">
            </link>
            <link filter="MCU:STM32L4[789ARS][5679].*" display="Reference manual" type="dynamic" reference="refMan" index="USB on-the-go full-speed (OTG_FS)">
            </link>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
</ctx_periph_help>
