<?xml version="1.0" encoding="UTF-8"?>
<!--

 File Name          : USBPD.xml
 Description        : Contextual documentation of the USBPD
                      for all MCU series

 COPYRIGHT(c) 2016 STMicroelectronics

====================================================================
| version 0.1  |  F. Gohier          | Creation                      |
====================================================================

Contextual help database for USBPD Middleware, it contains:
    - peripheral generic information under <peripheral> node
    - information about peripheral mode under <mode> node
    - details about the peripheral configuration under <config> node

-->
<ctx_pinout_help xsi:noNamespaceSchemaLocation="../../../../../../../doc/V4/Development/Specifications/contextualDocumentation/pinout.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>USBPD</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>USB Power Delivery</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>
            The USB Power Delivery interface supports the physical layer of the USB Power Delivery specification.&lt;br/&gt;
                – Supports Universal Serial Bus Power Delivery specification: Revision 3.0, V1.1, 12 January, 2017&lt;br/&gt;
            Primary function is the physical layer implementation of the Power Delivery (PD) specification
            </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="Youtube video STM32G0: Create a USB Power delivery sink application in less than 10 minutes" type="html" reference="https://www.youtube.com/watch?v=Z_Sn6CBbz-k" index=""/>
            <link display="UM2552 : User manual Managing USB power delivery systems with STM32 microcontrollersSTM32Cube" type="html" reference="https://www.st.com/resource/en/user_manual/dm00598101.pdf" index=""/>
            <link display="AN5418 : How to build a simple USB-PD sink application from STM32CubeMX" type="html" reference="https://www.st.com/content/ccc/resource/technical/document/application_note/group1/97/6f/10/a4/9b/42/44/03/DM00663511/files/DM00663511.pdf/jcr:content/translations/en.DM00663511.pdf" index=""/>
            <link display="Tutorial Video" type="tutorialbrowser" reference="USB Power Delivery (USBPD)" index=""/>
        </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>USBPD</title>
            <!-- Generic description displayed in the first panel of the tooltip -->
            <extract>USB Power Delivery</extract>
            <!-- Detailed information displayed in the expandable panel when no MCU series has been selected -->
            <help_text>
            The USB Power Delivery interface supports the physical layer of the USB Power Delivery specification.&lt;br/&gt;
                – Supports Universal Serial Bus Power Delivery specification: Revision 3.0, V1.1, 12 January, 2017&lt;br/&gt;
            Primary function is the physical layer implementation of the Power Delivery (PD) specification
            </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="Youtube video STM32G0: Create a USB Power delivery sink application in less than 10 minutes" type="html" reference="https://www.youtube.com/watch?v=Z_Sn6CBbz-k" index=""/>
            <link display="UM2552 : User manual Managing USB power delivery systems with STM32 microcontrollersSTM32Cube" type="html" reference="https://www.st.com/resource/en/user_manual/dm00598101.pdf" index=""/>
            <link display="AN5418 : How to build a simple USB-PD sink application from STM32CubeMX" type="html" reference="https://www.st.com/content/ccc/resource/technical/document/application_note/group1/97/6f/10/a4/9b/42/44/03/DM00663511/files/DM00663511.pdf/jcr:content/translations/en.DM00663511.pdf" index=""/>
            <link display="Tutorial Video" type="tutorialbrowser" reference="USB Power Delivery (USBPD)" index=""/>
        </peripheral>
        <mode>
            <!-- @TODO Describe the mode TBD for CubeMX -->
        </mode>
        <config>
            <!-- @TODO configuration panel TBD for CubeMX -->
        </config>
    </serie>
</ctx_pinout_help>
