<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<memoryMap>
  <name>OptionBytes</name>
  <baseAddress>0x1FFF5000</baseAddress>
  <addressBlock>
    <offset>0x0</offset>
    <size>0x10</size>OptionBytes/P0100C0000.xml
  </addressBlock>
  <registers>
    <register>
      <name>OPTR</name>
      <description>User Option</description>
      <addressOffset>0x0</addressOffset>
      <resetValue>0x8F5570AA</resetValue>
      <fields>
        <field>
          <name>RDP</name>
          <description>Read protection option byte</description>
          <bitRange>[7:0]</bitRange>
          <options>
            <option Value="0xAA" Display="level 0, read protection disable" Default="1"/>
            <option Value="0x55" Display="level 1, read protection enable"/>
          </options>
        </field>
        <field>
          <name>IWDG_SW</name>
          <description>Independent watchdog</description>
          <bitRange>[12:12]</bitRange>
          <options>
            <option Value="0" Display="Hardware watchdog"/>
            <option Value="1" Display="Software watchdog" Default="1"/>
          </options>
        </field>
        <field>
          <name>nRST_STOP</name>
          <description>Reset generated when entering Stop mode</description>
          <bitRange>[13:13]</bitRange>
          <options>
            <option Value="0" Display="Reset generated when entering Stop mode"/>
            <option Value="1" Display="No reset generated" Default="1"/>
          </options>
        </field>
        <field>
          <name>nRST_STDBY</name>
          <description>Reset generated when entering Standby mode</description>
          <bitRange>[14:14]</bitRange>
          <options>
            <option Value="0" Display="Reset generated when entering Standby mode"/>
            <option Value="1" Display="No reset generated" Default="1"/>
          </options>
        </field>
      </fields>
    </register>
    <register>
      <name>Reserved</name>
      <addressOffset>0x4</addressOffset>
      <resetValue>0xFFFF0000</resetValue>
    </register>
    <register>
      <name>Reserved</name>
      <addressOffset>0x8</addressOffset>
      <resetValue>0xFFFFFFFF</resetValue>
    </register>
    <register>
      <name>WRPR</name>
      <description>Write Protection</description>
      <addressOffset>0xC</addressOffset>
      <resetValue>0xF0000FFF</resetValue>
      <fields>
        <field>
          <name>WRP0</name>
          <description>Write protection for 0x08000000 ~ 0x08007FFF</description>
          <bitRange>[0:0]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP1</name>
          <description>Write protection for 0x08008000 ~ 0x0800FFFF</description>
          <bitRange>[1:1]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP2</name>
          <description>Write protection for 0x08010000 ~ 0x08017FFF</description>
          <bitRange>[2:2]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP3</name>
          <description>Write protection for 0x08018000 ~ 0x0801FFFF</description>
          <bitRange>[3:3]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP4</name>
          <description>Write protection for 0x08020000 ~ 0x08027FFF</description>
          <bitRange>[4:4]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP5</name>
          <description>Write protection for 0x08028000 ~ 0x0802FFFF</description>
          <bitRange>[5:5]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP6</name>
          <description>Write protection for 0x08030000 ~ 0x08037FFF</description>
          <bitRange>[6:6]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP7</name>
          <description>Write protection for 0x08038000 ~ 0x0803FFFF</description>
          <bitRange>[7:7]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP8</name>
          <description>Write protection for 0x08040000 ~ 0x08047FFF</description>
          <bitRange>[8:8]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP9</name>
          <description>Write protection for 0x08048000 ~ 0x0804FFFF</description>
          <bitRange>[9:9]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP10</name>
          <description>Write protection for 0x08050000 ~ 0x08057FFF</description>
          <bitRange>[10:10]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
        <field>
          <name>WRP11</name>
          <description>Write protection for 0x08058000 ~ 0x0805FFFF</description>
          <bitRange>[11:11]</bitRange>
          <options>
            <option Value="0" Display="write protection enable"/>
            <option Value="1" Display="write protection disable" Default="1"/>
          </options>
        </field>
      </fields>
    </register>
  </registers>
</memoryMap>
