STM32_Prog_DB_0x425.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SCHVerif.xsd">
  3. <Device>
  4. <DeviceID>0x425</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M0+</CPU>
  8. <Name>STM32L03x/L04x/L010</Name>
  9. <Series>STM32L0</Series>
  10. <Description>ARM 32-bit Cortex-M0+ based device</Description>
  11. <Configurations>
  12. <!-- JTAG_SWD Interface -->
  13. <Interface name="JTAG_SWD">
  14. <Configuration number="0x0"> <!-- WRPx control the write protection of user sector-->
  15. <WPRMOD reference="0x1">
  16. <ReadRegister address="0x4002201C" mask="0x000000100" value="0x0"/>
  17. </WPRMOD>
  18. </Configuration>
  19. <Configuration number="0x1"> <!-- WRPx control the read/write protection PcROP-->
  20. <WPRMOD reference="0x0">
  21. <ReadRegister address="0x4002201C" mask="0x000000100" value="0x100"/>
  22. </WPRMOD>
  23. </Configuration>
  24. </Interface>
  25. <!-- Bootloader Interface -->
  26. <Interface name="Bootloader">
  27. <Configuration number="0x0"> <!-- WRPx control the write protection of user sector-->
  28. <WPRMOD reference="0x1">
  29. <ReadRegister address="0x1FF80000" mask="0x00000100" value="0x0"/>
  30. </WPRMOD>
  31. </Configuration>
  32. <Configuration number="0x1"> <!-- WRPx control the read/write protection PcROP-->
  33. <WPRMOD reference="0x0">
  34. <ReadRegister address="0x1FF80000" mask="0x00000100" value="0x100"/>
  35. </WPRMOD>
  36. </Configuration>
  37. </Interface>
  38. </Configurations>
  39. <!-- Peripherals -->
  40. <Peripherals>
  41. <!-- Embedded SRAM -->
  42. <Peripheral>
  43. <Name>Embedded SRAM</Name>
  44. <Type>Storage</Type>
  45. <Description/>
  46. <ErasedValue>0x00</ErasedValue>
  47. <Access>RWE</Access>
  48. <!-- 16 KB -->
  49. <Configuration>
  50. <Parameters address="0x20000000" name="SRAM" size="0x2000"/>
  51. <Description/>
  52. <Organization>Single</Organization>
  53. <Bank name="Bank 1">
  54. <Field>
  55. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x2000"/>
  56. </Field>
  57. </Bank>
  58. </Configuration>
  59. </Peripheral>
  60. <!-- Embedded Flash -->
  61. <Peripheral>
  62. <Name>Embedded Flash</Name>
  63. <Type>Storage</Type>
  64. <Description>The Flash memory interface manages CPU AHB I-Code and D-Code accesses to the Flash memory. It implements the erase and program Flash memory operations and the read and write protection mechanisms</Description>
  65. <ErasedValue>0x00</ErasedValue>
  66. <Access>RWE</Access>
  67. <FlashSize address="0x1FF8007C" default="0x8000"/>
  68. <!-- 128KB single Bank -->
  69. <Configuration>
  70. <Parameters address="0x08000000" name="32 Kbytes Embedded Flash" size="0x8000"/>
  71. <Description/>
  72. <Organization>Single</Organization>
  73. <Allignement>0x4</Allignement>
  74. <Bank name="Bank 1">
  75. <Field>
  76. <Parameters address="0x08000000" name="sector0" occurence="0x100" size="0x80"/>
  77. </Field>
  78. </Bank>
  79. <Bank name="EEPROM1">
  80. <Field>
  81. <Parameters address="0x08080000" name="sector65281" occurence="0x1" size="0x400"/>
  82. </Field>
  83. </Bank>
  84. </Configuration>
  85. </Peripheral>
  86. <!-- Data EEPROM -->
  87. <Peripheral>
  88. <Name>Data EEPROM</Name>
  89. <Type>Storage</Type>
  90. <Description>The Data EEPROM memory block. It contains user data.</Description>
  91. <ErasedValue>0x00</ErasedValue>
  92. <Access>RWE</Access>
  93. <!-- 1KB single Bank -->
  94. <Configuration>
  95. <Parameters address="0x08080000" name=" 1 Kbytes Data EEPROM" size="0x400"/>
  96. <Description/>
  97. <Organization>Single</Organization>
  98. <Allignement>0x4</Allignement>
  99. <Bank name="Bank 1">
  100. <Field>
  101. <Parameters address="0x08080000" name="EEPROM1" occurence="0x1" size="0x400"/>
  102. </Field>
  103. </Bank>
  104. </Configuration>
  105. </Peripheral>
  106. <!-- Option Bytes -->
  107. <Peripheral>
  108. <Name>Option Bytes</Name>
  109. <Type>Configuration</Type>
  110. <Description/>
  111. <Access>RW</Access>
  112. <Bank interface="JTAG_SWD">
  113. <Parameters address="0x4002201C" name="Bank 1" size="0x68"/>
  114. <Category>
  115. <Name>Read Out Protection</Name>
  116. <Field>
  117. <Parameters address="0x4002201C" name="FLASH_OBR" size="0x4"/>
  118. <AssignedBits>
  119. <Bit>
  120. <Name>RDP</Name>
  121. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  122. <BitOffset>0x0</BitOffset>
  123. <BitWidth>0x8</BitWidth>
  124. <Access>R</Access>
  125. <Values>
  126. <Val value="0xAA">Level 0, no protection</Val>
  127. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  128. <Val value="0xCC">Level 2, chip protection</Val>
  129. </Values>
  130. </Bit>
  131. </AssignedBits>
  132. </Field>
  133. </Category>
  134. <Category>
  135. <Name>PCROP Protection</Name>
  136. <Field>
  137. <Parameters address="0x4002201C" name="FLASH_OBR" size="0x4"/>
  138. <AssignedBits>
  139. <Bit reference="SPRMode">
  140. <Name>WPRMOD</Name>
  141. <Description>Sector protection mode selection option byte.</Description>
  142. <BitOffset>0x8</BitOffset>
  143. <BitWidth>0x1</BitWidth>
  144. <Access>R</Access>
  145. <Values>
  146. <Val value="0x0">WRPx bit defines sector write protection</Val>
  147. <Val value="0x1">WRPx bit defines sector read/write (PCROP) protection</Val>
  148. </Values>
  149. </Bit>
  150. </AssignedBits>
  151. </Field>
  152. </Category>
  153. <Category>
  154. <Name>BOR Level</Name>
  155. <Field>
  156. <Parameters address="0x4002201C" name="FLASH_OBR" size="0x4"/>
  157. <AssignedBits>
  158. <Bit>
  159. <Name>BOR_LEV</Name>
  160. <Description>These bits contain the supply level threshold that activates/releases the reset. They can be written to program a new BOR level value into Flash memory</Description>
  161. <BitOffset>0x10</BitOffset>
  162. <BitWidth>0x4</BitWidth>
  163. <Access>R</Access>
  164. <Values>
  165. <Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  166. <Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  167. <Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  168. <Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  169. <Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  170. <Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  171. <Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  172. <Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  173. <Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
  174. <Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
  175. <Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
  176. <Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
  177. <Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
  178. </Values>
  179. </Bit>
  180. </AssignedBits>
  181. </Field>
  182. </Category>
  183. <Category>
  184. <Name>User Configuration</Name>
  185. <Field>
  186. <Parameters address="0x4002201C" nname="FLASH_OBR" size="0x4"/>
  187. <AssignedBits>
  188. <Bit>
  189. <Name>IWDG_SW</Name>
  190. <Description/>
  191. <BitOffset>0x14</BitOffset>
  192. <BitWidth>0x1</BitWidth>
  193. <Access>R</Access>
  194. <Values>
  195. <Val value="0x0">Hardware independant watchdog</Val>
  196. <Val value="0x1">Software independant watchdog</Val>
  197. </Values>
  198. </Bit>
  199. <Bit>
  200. <Name>nRST_STOP</Name>
  201. <Description/>
  202. <BitOffset>0x15</BitOffset>
  203. <BitWidth>0x1</BitWidth>
  204. <Access>R</Access>
  205. <Values>
  206. <Val value="0x0">Reset generated when entering Stop mode</Val>
  207. <Val value="0x1">No reset generated</Val>
  208. </Values>
  209. </Bit>
  210. <Bit>
  211. <Name>nRST_STDBY</Name>
  212. <Description/>
  213. <BitOffset>0x16</BitOffset>
  214. <BitWidth>0x1</BitWidth>
  215. <Access>R</Access>
  216. <Values>
  217. <Val value="0x0">Reset generated when entering Standby mode</Val>
  218. <Val value="0x1">No reset generated</Val>
  219. </Values>
  220. </Bit>
  221. <Bit>
  222. <Name>nBOOT1</Name>
  223. <Description/>
  224. <BitOffset>0x1F</BitOffset>
  225. <BitWidth>0x1</BitWidth>
  226. <Access>R</Access>
  227. <Values>
  228. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  229. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  230. </Values>
  231. </Bit>
  232. </AssignedBits>
  233. </Field>
  234. </Category>
  235. <Category>
  236. <Name>Write Protection</Name>
  237. <Field>
  238. <Parameters address="0x40022020" name="FLASH_WRPR1" size="0x4"/>
  239. <AssignedBits>
  240. <Bit config="0">
  241. <Name>WRPOT0</Name>
  242. <Description/>
  243. <BitOffset>0x0</BitOffset>
  244. <BitWidth>0x8</BitWidth>
  245. <Access>R</Access>
  246. <Values ByBit="true">
  247. <Val value="0x0">Write protection not active</Val>
  248. <Val value="0x1">Write protection active</Val>
  249. </Values>
  250. </Bit>
  251. <Bit config="1">
  252. <Name>WRPOT0</Name>
  253. <Description/>
  254. <BitOffset>0x0</BitOffset>
  255. <BitWidth>0x8</BitWidth>
  256. <Access>R</Access>
  257. <Values ByBit="true">
  258. <Val value="0x0">read/Write protection active</Val>
  259. <Val value="0x1">read/Write protection not active</Val>
  260. </Values>
  261. </Bit>
  262. </AssignedBits>
  263. </Field>
  264. </Category>
  265. </Bank>
  266. <Bank interface="JTAG_SWD">
  267. <Parameters address="0x1FF80000" name="Bank 1" size="0x14"/>
  268. <Category>
  269. <Name>Read Out Protection</Name>
  270. <Field>
  271. <Parameters address="0x1FF80000" name="RDP" size="0x4"/>
  272. <AssignedBits>
  273. <Bit>
  274. <Name>RDP</Name>
  275. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  276. <BitOffset>0x0</BitOffset>
  277. <BitWidth>0x8</BitWidth>
  278. <Access>W</Access>
  279. <Values>
  280. <Val value="0xAA">Level 0, no protection</Val>
  281. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  282. <Val value="0xCC">Level 2, chip protection</Val>
  283. </Values>
  284. </Bit>
  285. </AssignedBits>
  286. </Field>
  287. </Category>
  288. <Category>
  289. <Name>PCROP Protection</Name>
  290. <Field>
  291. <Parameters address="0x1FF80000" name="FLASH_OBR" size="0x4"/>
  292. <AssignedBits>
  293. <Bit reference="SPRMode">
  294. <Name>WPRMOD</Name>
  295. <Description>Sector protection mode selection option byte.</Description>
  296. <BitOffset>0x8</BitOffset>
  297. <BitWidth>0x1</BitWidth>
  298. <Access>W</Access>
  299. <Values>
  300. <Val value="0x0">WRPx bit defines sector write protection</Val>
  301. <Val value="0x1">WRPx bit defines sector read/write (PCROP) protection</Val>
  302. </Values>
  303. </Bit>
  304. </AssignedBits>
  305. </Field>
  306. </Category>
  307. <Category>
  308. <Name>BOR Level</Name>
  309. <Field>
  310. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  311. <AssignedBits>
  312. <Bit>
  313. <Name>BOR_LEV</Name>
  314. <Description>These bits contain the supply level threshold that activates/releases the reset. They can be written to program a new BOR level value into Flash memory</Description>
  315. <BitOffset>0x0</BitOffset>
  316. <BitWidth>0x4</BitWidth>
  317. <Access>W</Access>
  318. <Values>
  319. <Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  320. <Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  321. <Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  322. <Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  323. <Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  324. <Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  325. <Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  326. <Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  327. <Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
  328. <Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
  329. <Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
  330. <Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
  331. <Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
  332. </Values>
  333. </Bit>
  334. </AssignedBits>
  335. </Field>
  336. </Category>
  337. <Category>
  338. <Name>User Configuration</Name>
  339. <Field>
  340. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  341. <AssignedBits>
  342. <Bit>
  343. <Name>IWDG_SW</Name>
  344. <Description/>
  345. <BitOffset>0x4</BitOffset>
  346. <BitWidth>0x1</BitWidth>
  347. <Access>W</Access>
  348. <Values>
  349. <Val value="0x0">Hardware independant watchdog</Val>
  350. <Val value="0x1">Software independant watchdog</Val>
  351. </Values>
  352. </Bit>
  353. <Bit>
  354. <Name>nRST_STOP</Name>
  355. <Description/>
  356. <BitOffset>0x5</BitOffset>
  357. <BitWidth>0x1</BitWidth>
  358. <Access>W</Access>
  359. <Values>
  360. <Val value="0x0">Reset generated when entering Stop mode</Val>
  361. <Val value="0x1">No reset generated</Val>
  362. </Values>
  363. </Bit>
  364. <Bit>
  365. <Name>nRST_STDBY</Name>
  366. <Description/>
  367. <BitOffset>0x6</BitOffset>
  368. <BitWidth>0x1</BitWidth>
  369. <Access>W</Access>
  370. <Values>
  371. <Val value="0x0">Reset generated when entering Standby mode</Val>
  372. <Val value="0x1">No reset generated</Val>
  373. </Values>
  374. </Bit>
  375. <Bit>
  376. <Name>nBOOT1</Name>
  377. <Description/>
  378. <BitOffset>0x0F</BitOffset>
  379. <BitWidth>0x1</BitWidth>
  380. <Access>W</Access>
  381. <Values>
  382. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  383. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  384. </Values>
  385. </Bit>
  386. </AssignedBits>
  387. </Field>
  388. </Category>
  389. <Category>
  390. <Name>Write Protection</Name>
  391. <Field>
  392. <Parameters address="0x1FF80008" name="WRP1" size="0x8"/>
  393. <AssignedBits>
  394. <Bit>
  395. <Name>WRPOT0</Name>
  396. <Description/>
  397. <BitOffset>0x0</BitOffset>
  398. <BitWidth>0x8</BitWidth>
  399. <Access>W</Access>
  400. <Values ByBit="true">
  401. <Val value="0x0">Write protection not active</Val>
  402. <Val value="0x1">Write protection active</Val>
  403. </Values>
  404. </Bit>
  405. </AssignedBits>
  406. </Field>
  407. </Category>
  408. </Bank>
  409. <Bank interface="Bootloader">
  410. <Parameters address="0x1FF80000" name="Bank 2" size="0x14"/>
  411. <Category>
  412. <Name>Read Out Protection</Name>
  413. <Field>
  414. <Parameters address="0x1FF80000" name="RDP" size="0x4"/>
  415. <AssignedBits>
  416. <Bit>
  417. <Name>RDP</Name>
  418. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  419. <BitOffset>0x0</BitOffset>
  420. <BitWidth>0x8</BitWidth>
  421. <Access>RW</Access>
  422. <Values>
  423. <Val value="0xAA">Level 0, no protection</Val>
  424. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  425. <Val value="0xCC">Level 2, chip protection</Val>
  426. </Values>
  427. </Bit>
  428. </AssignedBits>
  429. </Field>
  430. </Category>
  431. <Category>
  432. <Name>PCROP Protection</Name>
  433. <Field>
  434. <Parameters address="0x1FF80000" name="FLASH_OBR" size="0x4"/>
  435. <AssignedBits>
  436. <Bit reference="SPRMode">
  437. <Name>WPRMOD</Name>
  438. <Description>Sector protection mode selection option byte.</Description>
  439. <BitOffset>0x8</BitOffset>
  440. <BitWidth>0x1</BitWidth>
  441. <Access>RW</Access>
  442. <Values>
  443. <Val value="0x0">WRPx bit defines sector write protection</Val>
  444. <Val value="0x1">WRPx bit defines sector read/write (PCROP) protection</Val>
  445. </Values>
  446. </Bit>
  447. </AssignedBits>
  448. </Field>
  449. </Category>
  450. <Category>
  451. <Name>BOR Level</Name>
  452. <Field>
  453. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  454. <AssignedBits>
  455. <Bit>
  456. <Name>BOR_LEV</Name>
  457. <Description>These bits contain the supply level threshold that activates/releases the reset. They can be written to program a new BOR level value into Flash memory</Description>
  458. <BitOffset>0x0</BitOffset>
  459. <BitWidth>0x4</BitWidth>
  460. <Access>RW</Access>
  461. <Values>
  462. <Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  463. <Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  464. <Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  465. <Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  466. <Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  467. <Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  468. <Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  469. <Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  470. <Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
  471. <Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
  472. <Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
  473. <Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
  474. <Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
  475. </Values>
  476. </Bit>
  477. </AssignedBits>
  478. </Field>
  479. </Category>
  480. <Category>
  481. <Name>User Configuration</Name>
  482. <Field>
  483. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  484. <AssignedBits>
  485. <Bit>
  486. <Name>IWDG_SW</Name>
  487. <Description/>
  488. <BitOffset>0x4</BitOffset>
  489. <BitWidth>0x1</BitWidth>
  490. <Access>RW</Access>
  491. <Values>
  492. <Val value="0x0">Hardware independant watchdog</Val>
  493. <Val value="0x1">Software independant watchdog</Val>
  494. </Values>
  495. </Bit>
  496. <Bit>
  497. <Name>nRST_STOP</Name>
  498. <Description/>
  499. <BitOffset>0x5</BitOffset>
  500. <BitWidth>0x1</BitWidth>
  501. <Access>RW</Access>
  502. <Values>
  503. <Val value="0x0">Reset generated when entering Stop mode</Val>
  504. <Val value="0x1">No reset generated</Val>
  505. </Values>
  506. </Bit>
  507. <Bit>
  508. <Name>nRST_STDBY</Name>
  509. <Description/>
  510. <BitOffset>0x6</BitOffset>
  511. <BitWidth>0x1</BitWidth>
  512. <Access>RW</Access>
  513. <Values>
  514. <Val value="0x0">Reset generated when entering Standby mode</Val>
  515. <Val value="0x1">No reset generated</Val>
  516. </Values>
  517. </Bit>
  518. <Bit>
  519. <Name>nBOOT1</Name>
  520. <Description/>
  521. <BitOffset>0x0F</BitOffset>
  522. <BitWidth>0x1</BitWidth>
  523. <Access>RW</Access>
  524. <Values>
  525. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  526. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  527. </Values>
  528. </Bit>
  529. </AssignedBits>
  530. </Field>
  531. </Category>
  532. <Category>
  533. <Name>Write Protection</Name>
  534. <Field>
  535. <Parameters address="0x40022020" name="FLASH_WRPR1" size="0x4"/>
  536. <AssignedBits>
  537. <Bit config="0">
  538. <Name>WRPOT0</Name>
  539. <Description/>
  540. <BitOffset>0x0</BitOffset>
  541. <BitWidth>0x8</BitWidth>
  542. <Access>RW</Access>
  543. <Values ByBit="true">
  544. <Val value="0x0">Write protection not active</Val>
  545. <Val value="0x1">Write protection active</Val>
  546. </Values>
  547. </Bit>
  548. <Bit config="1">
  549. <Name>WRPOT0</Name>
  550. <Description/>
  551. <BitOffset>0x0</BitOffset>
  552. <BitWidth>0x8</BitWidth>
  553. <Access>RW</Access>
  554. <Values ByBit="true">
  555. <Val value="0x0">read/Write protection active</Val>
  556. <Val value="0x1">read/Write protection not active</Val>
  557. </Values>
  558. </Bit>
  559. </AssignedBits>
  560. </Field>
  561. </Category>
  562. </Bank>
  563. </Peripheral>
  564. </Peripherals>
  565. </Device>
  566. </Root>