Teensy development platform for PlatformIO compatible with GCC10 & C++20
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

38446 行
1.5MB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD_Schema_1_1.xsd">
  3. <vendor>Freescale Semiconductor, Inc.</vendor>
  4. <vendorID>Freescale</vendorID>
  5. <series>Kinetis_K</series>
  6. <name>MK20D5</name>
  7. <version>1.6</version>
  8. <description>MK20D5 Freescale Microcontroller</description>
  9. <licenseText>Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n o Redistributions of source code must retain the above copyright notice, this list\n of conditions and the following disclaimer.\n o Redistributions in binary form must reproduce the above copyright notice, this\n list of conditions and the following disclaimer in the documentation and/or\n other materials provided with the distribution.\n o Neither the name of Freescale Semiconductor, Inc. nor the names of its\n contributors may be used to endorse or promote products derived from this\n software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\n ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</licenseText>
  10. <cpu>
  11. <name>CM4</name>
  12. <revision>r0p1</revision>
  13. <endian>little</endian>
  14. <mpuPresent>false</mpuPresent>
  15. <fpuPresent>false</fpuPresent>
  16. <mpuPresent>false</mpuPresent>
  17. <vtorPresent>true</vtorPresent>
  18. <nvicPrioBits>4</nvicPrioBits>
  19. <vendorSystickConfig>false</vendorSystickConfig>
  20. </cpu>
  21. <addressUnitBits>8</addressUnitBits>
  22. <width>32</width>
  23. <peripherals>
  24. <peripheral>
  25. <name>FTFL_FlashConfig</name>
  26. <description>Flash configuration field</description>
  27. <prependToName>NV_</prependToName>
  28. <baseAddress>0x400</baseAddress>
  29. <addressBlock>
  30. <offset>0</offset>
  31. <size>0x10</size>
  32. <usage>registers</usage>
  33. </addressBlock>
  34. <registers>
  35. <register>
  36. <name>BACKKEY3</name>
  37. <description>Backdoor Comparison Key 3.</description>
  38. <addressOffset>0</addressOffset>
  39. <size>8</size>
  40. <access>read-only</access>
  41. <resetValue>0xFF</resetValue>
  42. <resetMask>0xFF</resetMask>
  43. <fields>
  44. <field>
  45. <name>KEY</name>
  46. <description>Backdoor Comparison Key.</description>
  47. <bitOffset>0</bitOffset>
  48. <bitWidth>8</bitWidth>
  49. <access>read-only</access>
  50. </field>
  51. </fields>
  52. </register>
  53. <register>
  54. <name>BACKKEY2</name>
  55. <description>Backdoor Comparison Key 2.</description>
  56. <addressOffset>0x1</addressOffset>
  57. <size>8</size>
  58. <access>read-only</access>
  59. <resetValue>0xFF</resetValue>
  60. <resetMask>0xFF</resetMask>
  61. <fields>
  62. <field>
  63. <name>KEY</name>
  64. <description>Backdoor Comparison Key.</description>
  65. <bitOffset>0</bitOffset>
  66. <bitWidth>8</bitWidth>
  67. <access>read-only</access>
  68. </field>
  69. </fields>
  70. </register>
  71. <register>
  72. <name>BACKKEY1</name>
  73. <description>Backdoor Comparison Key 1.</description>
  74. <addressOffset>0x2</addressOffset>
  75. <size>8</size>
  76. <access>read-only</access>
  77. <resetValue>0xFF</resetValue>
  78. <resetMask>0xFF</resetMask>
  79. <fields>
  80. <field>
  81. <name>KEY</name>
  82. <description>Backdoor Comparison Key.</description>
  83. <bitOffset>0</bitOffset>
  84. <bitWidth>8</bitWidth>
  85. <access>read-only</access>
  86. </field>
  87. </fields>
  88. </register>
  89. <register>
  90. <name>BACKKEY0</name>
  91. <description>Backdoor Comparison Key 0.</description>
  92. <addressOffset>0x3</addressOffset>
  93. <size>8</size>
  94. <access>read-only</access>
  95. <resetValue>0xFF</resetValue>
  96. <resetMask>0xFF</resetMask>
  97. <fields>
  98. <field>
  99. <name>KEY</name>
  100. <description>Backdoor Comparison Key.</description>
  101. <bitOffset>0</bitOffset>
  102. <bitWidth>8</bitWidth>
  103. <access>read-only</access>
  104. </field>
  105. </fields>
  106. </register>
  107. <register>
  108. <name>BACKKEY7</name>
  109. <description>Backdoor Comparison Key 7.</description>
  110. <addressOffset>0x4</addressOffset>
  111. <size>8</size>
  112. <access>read-only</access>
  113. <resetValue>0xFF</resetValue>
  114. <resetMask>0xFF</resetMask>
  115. <fields>
  116. <field>
  117. <name>KEY</name>
  118. <description>Backdoor Comparison Key.</description>
  119. <bitOffset>0</bitOffset>
  120. <bitWidth>8</bitWidth>
  121. <access>read-only</access>
  122. </field>
  123. </fields>
  124. </register>
  125. <register>
  126. <name>BACKKEY6</name>
  127. <description>Backdoor Comparison Key 6.</description>
  128. <addressOffset>0x5</addressOffset>
  129. <size>8</size>
  130. <access>read-only</access>
  131. <resetValue>0xFF</resetValue>
  132. <resetMask>0xFF</resetMask>
  133. <fields>
  134. <field>
  135. <name>KEY</name>
  136. <description>Backdoor Comparison Key.</description>
  137. <bitOffset>0</bitOffset>
  138. <bitWidth>8</bitWidth>
  139. <access>read-only</access>
  140. </field>
  141. </fields>
  142. </register>
  143. <register>
  144. <name>BACKKEY5</name>
  145. <description>Backdoor Comparison Key 5.</description>
  146. <addressOffset>0x6</addressOffset>
  147. <size>8</size>
  148. <access>read-only</access>
  149. <resetValue>0xFF</resetValue>
  150. <resetMask>0xFF</resetMask>
  151. <fields>
  152. <field>
  153. <name>KEY</name>
  154. <description>Backdoor Comparison Key.</description>
  155. <bitOffset>0</bitOffset>
  156. <bitWidth>8</bitWidth>
  157. <access>read-only</access>
  158. </field>
  159. </fields>
  160. </register>
  161. <register>
  162. <name>BACKKEY4</name>
  163. <description>Backdoor Comparison Key 4.</description>
  164. <addressOffset>0x7</addressOffset>
  165. <size>8</size>
  166. <access>read-only</access>
  167. <resetValue>0xFF</resetValue>
  168. <resetMask>0xFF</resetMask>
  169. <fields>
  170. <field>
  171. <name>KEY</name>
  172. <description>Backdoor Comparison Key.</description>
  173. <bitOffset>0</bitOffset>
  174. <bitWidth>8</bitWidth>
  175. <access>read-only</access>
  176. </field>
  177. </fields>
  178. </register>
  179. <register>
  180. <name>FPROT3</name>
  181. <description>Non-volatile P-Flash Protection 1 - Low Register</description>
  182. <addressOffset>0x8</addressOffset>
  183. <size>8</size>
  184. <access>read-only</access>
  185. <resetValue>0xFF</resetValue>
  186. <resetMask>0xFF</resetMask>
  187. <fields>
  188. <field>
  189. <name>PROT</name>
  190. <description>P-Flash Region Protect</description>
  191. <bitOffset>0</bitOffset>
  192. <bitWidth>8</bitWidth>
  193. <access>read-only</access>
  194. </field>
  195. </fields>
  196. </register>
  197. <register>
  198. <name>FPROT2</name>
  199. <description>Non-volatile P-Flash Protection 1 - High Register</description>
  200. <addressOffset>0x9</addressOffset>
  201. <size>8</size>
  202. <access>read-only</access>
  203. <resetValue>0xFF</resetValue>
  204. <resetMask>0xFF</resetMask>
  205. <fields>
  206. <field>
  207. <name>PROT</name>
  208. <description>P-Flash Region Protect</description>
  209. <bitOffset>0</bitOffset>
  210. <bitWidth>8</bitWidth>
  211. <access>read-only</access>
  212. </field>
  213. </fields>
  214. </register>
  215. <register>
  216. <name>FPROT1</name>
  217. <description>Non-volatile P-Flash Protection 0 - Low Register</description>
  218. <addressOffset>0xA</addressOffset>
  219. <size>8</size>
  220. <access>read-only</access>
  221. <resetValue>0xFF</resetValue>
  222. <resetMask>0xFF</resetMask>
  223. <fields>
  224. <field>
  225. <name>PROT</name>
  226. <description>P-Flash Region Protect</description>
  227. <bitOffset>0</bitOffset>
  228. <bitWidth>8</bitWidth>
  229. <access>read-only</access>
  230. </field>
  231. </fields>
  232. </register>
  233. <register>
  234. <name>FPROT0</name>
  235. <description>Non-volatile P-Flash Protection 0 - High Register</description>
  236. <addressOffset>0xB</addressOffset>
  237. <size>8</size>
  238. <access>read-only</access>
  239. <resetValue>0xFF</resetValue>
  240. <resetMask>0xFF</resetMask>
  241. <fields>
  242. <field>
  243. <name>PROT</name>
  244. <description>P-Flash Region Protect</description>
  245. <bitOffset>0</bitOffset>
  246. <bitWidth>8</bitWidth>
  247. <access>read-only</access>
  248. </field>
  249. </fields>
  250. </register>
  251. <register>
  252. <name>FSEC</name>
  253. <description>Non-volatile Flash Security Register</description>
  254. <addressOffset>0xC</addressOffset>
  255. <size>8</size>
  256. <access>read-only</access>
  257. <resetValue>0xFF</resetValue>
  258. <resetMask>0xFF</resetMask>
  259. <fields>
  260. <field>
  261. <name>SEC</name>
  262. <description>Flash Security</description>
  263. <bitOffset>0</bitOffset>
  264. <bitWidth>2</bitWidth>
  265. <access>read-only</access>
  266. <enumeratedValues>
  267. <enumeratedValue>
  268. <name>10</name>
  269. <description>MCU security status is unsecure</description>
  270. <value>#10</value>
  271. </enumeratedValue>
  272. <enumeratedValue>
  273. <name>11</name>
  274. <description>MCU security status is secure</description>
  275. <value>#11</value>
  276. </enumeratedValue>
  277. </enumeratedValues>
  278. </field>
  279. <field>
  280. <name>FSLACC</name>
  281. <description>Freescale Failure Analysis Access Code</description>
  282. <bitOffset>2</bitOffset>
  283. <bitWidth>2</bitWidth>
  284. <access>read-only</access>
  285. <enumeratedValues>
  286. <enumeratedValue>
  287. <name>10</name>
  288. <description>Freescale factory access denied</description>
  289. <value>#10</value>
  290. </enumeratedValue>
  291. <enumeratedValue>
  292. <name>11</name>
  293. <description>Freescale factory access granted</description>
  294. <value>#11</value>
  295. </enumeratedValue>
  296. </enumeratedValues>
  297. </field>
  298. <field>
  299. <name>MEEN</name>
  300. <description>no description available</description>
  301. <bitOffset>4</bitOffset>
  302. <bitWidth>2</bitWidth>
  303. <access>read-only</access>
  304. <enumeratedValues>
  305. <enumeratedValue>
  306. <name>10</name>
  307. <description>Mass erase is disabled</description>
  308. <value>#10</value>
  309. </enumeratedValue>
  310. <enumeratedValue>
  311. <name>11</name>
  312. <description>Mass erase is enabled</description>
  313. <value>#11</value>
  314. </enumeratedValue>
  315. </enumeratedValues>
  316. </field>
  317. <field>
  318. <name>KEYEN</name>
  319. <description>Backdoor Key Security Enable</description>
  320. <bitOffset>6</bitOffset>
  321. <bitWidth>2</bitWidth>
  322. <access>read-only</access>
  323. <enumeratedValues>
  324. <enumeratedValue>
  325. <name>10</name>
  326. <description>Backdoor key access enabled</description>
  327. <value>#10</value>
  328. </enumeratedValue>
  329. <enumeratedValue>
  330. <name>11</name>
  331. <description>Backdoor key access disabled</description>
  332. <value>#11</value>
  333. </enumeratedValue>
  334. </enumeratedValues>
  335. </field>
  336. </fields>
  337. </register>
  338. <register>
  339. <name>FOPT</name>
  340. <description>Non-volatile Flash Option Register</description>
  341. <addressOffset>0xD</addressOffset>
  342. <size>8</size>
  343. <access>read-only</access>
  344. <resetValue>0xFF</resetValue>
  345. <resetMask>0xFF</resetMask>
  346. <fields>
  347. <field>
  348. <name>LPBOOT</name>
  349. <description>no description available</description>
  350. <bitOffset>0</bitOffset>
  351. <bitWidth>1</bitWidth>
  352. <access>read-only</access>
  353. <enumeratedValues>
  354. <enumeratedValue>
  355. <name>00</name>
  356. <description>Low-power boot</description>
  357. <value>#0</value>
  358. </enumeratedValue>
  359. <enumeratedValue>
  360. <name>01</name>
  361. <description>Normal boot</description>
  362. <value>#1</value>
  363. </enumeratedValue>
  364. </enumeratedValues>
  365. </field>
  366. <field>
  367. <name>EZPORT_DIS</name>
  368. <description>no description available</description>
  369. <bitOffset>1</bitOffset>
  370. <bitWidth>1</bitWidth>
  371. <access>read-only</access>
  372. <enumeratedValues>
  373. <enumeratedValue>
  374. <name>00</name>
  375. <description>EzPort operation is disabled</description>
  376. <value>#0</value>
  377. </enumeratedValue>
  378. <enumeratedValue>
  379. <name>01</name>
  380. <description>EzPort operation is enabled</description>
  381. <value>#1</value>
  382. </enumeratedValue>
  383. </enumeratedValues>
  384. </field>
  385. <field>
  386. <name>NMI_DIS</name>
  387. <description>no description available</description>
  388. <bitOffset>2</bitOffset>
  389. <bitWidth>1</bitWidth>
  390. <access>read-only</access>
  391. <enumeratedValues>
  392. <enumeratedValue>
  393. <name>00</name>
  394. <description>NMI interrupts are always blocked</description>
  395. <value>#0</value>
  396. </enumeratedValue>
  397. <enumeratedValue>
  398. <name>01</name>
  399. <description>NMI_b pin/interrupts reset default to enabled</description>
  400. <value>#1</value>
  401. </enumeratedValue>
  402. </enumeratedValues>
  403. </field>
  404. </fields>
  405. </register>
  406. <register>
  407. <name>FEPROT</name>
  408. <description>Non-volatile EERAM Protection Register</description>
  409. <addressOffset>0xE</addressOffset>
  410. <size>8</size>
  411. <access>read-only</access>
  412. <resetValue>0xFF</resetValue>
  413. <resetMask>0xFF</resetMask>
  414. <fields>
  415. <field>
  416. <name>EPROT</name>
  417. <description>no description available</description>
  418. <bitOffset>0</bitOffset>
  419. <bitWidth>8</bitWidth>
  420. <access>read-only</access>
  421. </field>
  422. </fields>
  423. </register>
  424. <register>
  425. <name>FDPROT</name>
  426. <description>Non-volatile D-Flash Protection Register</description>
  427. <addressOffset>0xF</addressOffset>
  428. <size>8</size>
  429. <access>read-only</access>
  430. <resetValue>0xFF</resetValue>
  431. <resetMask>0xFF</resetMask>
  432. <fields>
  433. <field>
  434. <name>DPROT</name>
  435. <description>D-Flash Region Protect</description>
  436. <bitOffset>0</bitOffset>
  437. <bitWidth>8</bitWidth>
  438. <access>read-only</access>
  439. </field>
  440. </fields>
  441. </register>
  442. </registers>
  443. </peripheral>
  444. <peripheral>
  445. <name>DMA</name>
  446. <description>Enhanced direct memory access controller</description>
  447. <prependToName>DMA_</prependToName>
  448. <baseAddress>0x40008000</baseAddress>
  449. <addressBlock>
  450. <offset>0</offset>
  451. <size>0x1080</size>
  452. <usage>registers</usage>
  453. </addressBlock>
  454. <interrupt>
  455. <name>DMA0</name>
  456. <value>0</value>
  457. </interrupt>
  458. <interrupt>
  459. <name>DMA1</name>
  460. <value>1</value>
  461. </interrupt>
  462. <interrupt>
  463. <name>DMA2</name>
  464. <value>2</value>
  465. </interrupt>
  466. <interrupt>
  467. <name>DMA3</name>
  468. <value>3</value>
  469. </interrupt>
  470. <interrupt>
  471. <name>DMA_Error</name>
  472. <value>4</value>
  473. </interrupt>
  474. <registers>
  475. <register>
  476. <name>CR</name>
  477. <description>Control Register</description>
  478. <addressOffset>0</addressOffset>
  479. <size>32</size>
  480. <access>read-write</access>
  481. <resetValue>0</resetValue>
  482. <resetMask>0xFFFFFFFF</resetMask>
  483. <fields>
  484. <field>
  485. <name>EDBG</name>
  486. <description>Enable Debug</description>
  487. <bitOffset>1</bitOffset>
  488. <bitWidth>1</bitWidth>
  489. <access>read-write</access>
  490. <enumeratedValues>
  491. <enumeratedValue>
  492. <name>0</name>
  493. <description>When in debug mode, the DMA continues to operate.</description>
  494. <value>#0</value>
  495. </enumeratedValue>
  496. <enumeratedValue>
  497. <name>1</name>
  498. <description>When in debug mode, the DMA stalls the start of a new channel. Executing channels are allowed to complete. Channel execution resumes when the system exits debug mode or the EDBG bit is cleared.</description>
  499. <value>#1</value>
  500. </enumeratedValue>
  501. </enumeratedValues>
  502. </field>
  503. <field>
  504. <name>ERCA</name>
  505. <description>Enable Round Robin Channel Arbitration</description>
  506. <bitOffset>2</bitOffset>
  507. <bitWidth>1</bitWidth>
  508. <access>read-write</access>
  509. <enumeratedValues>
  510. <enumeratedValue>
  511. <name>0</name>
  512. <description>Fixed priority arbitration is used for channel selection.</description>
  513. <value>#0</value>
  514. </enumeratedValue>
  515. <enumeratedValue>
  516. <name>1</name>
  517. <description>Round robin arbitration is used for channel selection.</description>
  518. <value>#1</value>
  519. </enumeratedValue>
  520. </enumeratedValues>
  521. </field>
  522. <field>
  523. <name>HOE</name>
  524. <description>Halt On Error</description>
  525. <bitOffset>4</bitOffset>
  526. <bitWidth>1</bitWidth>
  527. <access>read-write</access>
  528. <enumeratedValues>
  529. <enumeratedValue>
  530. <name>0</name>
  531. <description>Normal operation</description>
  532. <value>#0</value>
  533. </enumeratedValue>
  534. <enumeratedValue>
  535. <name>1</name>
  536. <description>Any error causes the HALT bit to set. Subsequently, all service requests are ignored until the HALT bit is cleared.</description>
  537. <value>#1</value>
  538. </enumeratedValue>
  539. </enumeratedValues>
  540. </field>
  541. <field>
  542. <name>HALT</name>
  543. <description>Halt DMA Operations</description>
  544. <bitOffset>5</bitOffset>
  545. <bitWidth>1</bitWidth>
  546. <access>read-write</access>
  547. <enumeratedValues>
  548. <enumeratedValue>
  549. <name>0</name>
  550. <description>Normal operation</description>
  551. <value>#0</value>
  552. </enumeratedValue>
  553. <enumeratedValue>
  554. <name>1</name>
  555. <description>Stall the start of any new channels. Executing channels are allowed to complete. Channel execution resumes when this bit is cleared.</description>
  556. <value>#1</value>
  557. </enumeratedValue>
  558. </enumeratedValues>
  559. </field>
  560. <field>
  561. <name>CLM</name>
  562. <description>Continuous Link Mode</description>
  563. <bitOffset>6</bitOffset>
  564. <bitWidth>1</bitWidth>
  565. <access>read-write</access>
  566. <enumeratedValues>
  567. <enumeratedValue>
  568. <name>0</name>
  569. <description>A minor loop channel link made to itself goes through channel arbitration before being activated again.</description>
  570. <value>#0</value>
  571. </enumeratedValue>
  572. <enumeratedValue>
  573. <name>1</name>
  574. <description>A minor loop channel link made to itself does not go through channel arbitration before being activated again. Upon minor loop completion, the channel activates again if that channel has a minor loop channel link enabled and the link channel is itself. This effectively applies the minor loop offsets and restarts the next minor loop.</description>
  575. <value>#1</value>
  576. </enumeratedValue>
  577. </enumeratedValues>
  578. </field>
  579. <field>
  580. <name>EMLM</name>
  581. <description>Enable Minor Loop Mapping</description>
  582. <bitOffset>7</bitOffset>
  583. <bitWidth>1</bitWidth>
  584. <access>read-write</access>
  585. <enumeratedValues>
  586. <enumeratedValue>
  587. <name>0</name>
  588. <description>Disabled. TCDn.word2 is defined as a 32-bit NBYTES field.</description>
  589. <value>#0</value>
  590. </enumeratedValue>
  591. <enumeratedValue>
  592. <name>1</name>
  593. <description>Enabled. TCDn.word2 is redefined to include individual enable fields, an offset field, and the NBYTES field. The individual enable fields allow the minor loop offset to be applied to the source address, the destination address, or both. The NBYTES field is reduced when either offset is enabled.</description>
  594. <value>#1</value>
  595. </enumeratedValue>
  596. </enumeratedValues>
  597. </field>
  598. <field>
  599. <name>ECX</name>
  600. <description>Error Cancel Transfer</description>
  601. <bitOffset>16</bitOffset>
  602. <bitWidth>1</bitWidth>
  603. <access>read-write</access>
  604. <enumeratedValues>
  605. <enumeratedValue>
  606. <name>0</name>
  607. <description>Normal operation</description>
  608. <value>#0</value>
  609. </enumeratedValue>
  610. <enumeratedValue>
  611. <name>1</name>
  612. <description>Cancel the remaining data transfer in the same fashion as the CX bit. Stop the executing channel and force the minor loop to finish. The cancel takes effect after the last write of the current read/write sequence. The ECX bit clears itself after the cancel is honored. In addition to cancelling the transfer, ECX treats the cancel as an error condition, thus updating the ES register and generating an optional error interrupt.</description>
  613. <value>#1</value>
  614. </enumeratedValue>
  615. </enumeratedValues>
  616. </field>
  617. <field>
  618. <name>CX</name>
  619. <description>Cancel Transfer</description>
  620. <bitOffset>17</bitOffset>
  621. <bitWidth>1</bitWidth>
  622. <access>read-write</access>
  623. <enumeratedValues>
  624. <enumeratedValue>
  625. <name>0</name>
  626. <description>Normal operation</description>
  627. <value>#0</value>
  628. </enumeratedValue>
  629. <enumeratedValue>
  630. <name>1</name>
  631. <description>Cancel the remaining data transfer. Stop the executing channel and force the minor loop to finish. The cancel takes effect after the last write of the current read/write sequence. The CX bit clears itself after the cancel has been honored. This cancel retires the channel normally as if the minor loop was completed.</description>
  632. <value>#1</value>
  633. </enumeratedValue>
  634. </enumeratedValues>
  635. </field>
  636. </fields>
  637. </register>
  638. <register>
  639. <name>ES</name>
  640. <description>Error Status Register</description>
  641. <addressOffset>0x4</addressOffset>
  642. <size>32</size>
  643. <access>read-only</access>
  644. <resetValue>0</resetValue>
  645. <resetMask>0xFFFFFFFF</resetMask>
  646. <fields>
  647. <field>
  648. <name>DBE</name>
  649. <description>Destination Bus Error</description>
  650. <bitOffset>0</bitOffset>
  651. <bitWidth>1</bitWidth>
  652. <access>read-only</access>
  653. <enumeratedValues>
  654. <enumeratedValue>
  655. <name>0</name>
  656. <description>No destination bus error</description>
  657. <value>#0</value>
  658. </enumeratedValue>
  659. <enumeratedValue>
  660. <name>1</name>
  661. <description>The last recorded error was a bus error on a destination write</description>
  662. <value>#1</value>
  663. </enumeratedValue>
  664. </enumeratedValues>
  665. </field>
  666. <field>
  667. <name>SBE</name>
  668. <description>Source Bus Error</description>
  669. <bitOffset>1</bitOffset>
  670. <bitWidth>1</bitWidth>
  671. <access>read-only</access>
  672. <enumeratedValues>
  673. <enumeratedValue>
  674. <name>0</name>
  675. <description>No source bus error</description>
  676. <value>#0</value>
  677. </enumeratedValue>
  678. <enumeratedValue>
  679. <name>1</name>
  680. <description>The last recorded error was a bus error on a source read</description>
  681. <value>#1</value>
  682. </enumeratedValue>
  683. </enumeratedValues>
  684. </field>
  685. <field>
  686. <name>SGE</name>
  687. <description>Scatter/Gather Configuration Error</description>
  688. <bitOffset>2</bitOffset>
  689. <bitWidth>1</bitWidth>
  690. <access>read-only</access>
  691. <enumeratedValues>
  692. <enumeratedValue>
  693. <name>0</name>
  694. <description>No scatter/gather configuration error</description>
  695. <value>#0</value>
  696. </enumeratedValue>
  697. <enumeratedValue>
  698. <name>1</name>
  699. <description>The last recorded error was a configuration error detected in the TCDn_DLASTSGA field. This field is checked at the beginning of a scatter/gather operation after major loop completion if TCDn_CSR[ESG] is enabled. TCDn_DLASTSGA is not on a 32 byte boundary.</description>
  700. <value>#1</value>
  701. </enumeratedValue>
  702. </enumeratedValues>
  703. </field>
  704. <field>
  705. <name>NCE</name>
  706. <description>NBYTES/CITER Configuration Error</description>
  707. <bitOffset>3</bitOffset>
  708. <bitWidth>1</bitWidth>
  709. <access>read-only</access>
  710. <enumeratedValues>
  711. <enumeratedValue>
  712. <name>0</name>
  713. <description>No NBYTES/CITER configuration error</description>
  714. <value>#0</value>
  715. </enumeratedValue>
  716. <enumeratedValue>
  717. <name>1</name>
  718. <description>The last recorded error was a configuration error detected in the TCDn_NBYTES or TCDn_CITER fields. TCDn_NBYTES is not a multiple of TCDn_ATTR[SSIZE] and TCDn_ATTR[DSIZE], or TCDn_CITER[CITER] is equal to zero, or TCDn_CITER[ELINK] is not equal to TCDn_BITER[ELINK]</description>
  719. <value>#1</value>
  720. </enumeratedValue>
  721. </enumeratedValues>
  722. </field>
  723. <field>
  724. <name>DOE</name>
  725. <description>Destination Offset Error</description>
  726. <bitOffset>4</bitOffset>
  727. <bitWidth>1</bitWidth>
  728. <access>read-only</access>
  729. <enumeratedValues>
  730. <enumeratedValue>
  731. <name>0</name>
  732. <description>No destination offset configuration error</description>
  733. <value>#0</value>
  734. </enumeratedValue>
  735. <enumeratedValue>
  736. <name>1</name>
  737. <description>The last recorded error was a configuration error detected in the TCDn_DOFF field. TCDn_DOFF is inconsistent with TCDn_ATTR[DSIZE].</description>
  738. <value>#1</value>
  739. </enumeratedValue>
  740. </enumeratedValues>
  741. </field>
  742. <field>
  743. <name>DAE</name>
  744. <description>Destination Address Error</description>
  745. <bitOffset>5</bitOffset>
  746. <bitWidth>1</bitWidth>
  747. <access>read-only</access>
  748. <enumeratedValues>
  749. <enumeratedValue>
  750. <name>0</name>
  751. <description>No destination address configuration error</description>
  752. <value>#0</value>
  753. </enumeratedValue>
  754. <enumeratedValue>
  755. <name>1</name>
  756. <description>The last recorded error was a configuration error detected in the TCDn_DADDR field. TCDn_DADDR is inconsistent with TCDn_ATTR[DSIZE].</description>
  757. <value>#1</value>
  758. </enumeratedValue>
  759. </enumeratedValues>
  760. </field>
  761. <field>
  762. <name>SOE</name>
  763. <description>Source Offset Error</description>
  764. <bitOffset>6</bitOffset>
  765. <bitWidth>1</bitWidth>
  766. <access>read-only</access>
  767. <enumeratedValues>
  768. <enumeratedValue>
  769. <name>0</name>
  770. <description>No source offset configuration error</description>
  771. <value>#0</value>
  772. </enumeratedValue>
  773. <enumeratedValue>
  774. <name>1</name>
  775. <description>The last recorded error was a configuration error detected in the TCDn_SOFF field. TCDn_SOFF is inconsistent with TCDn_ATTR[SSIZE].</description>
  776. <value>#1</value>
  777. </enumeratedValue>
  778. </enumeratedValues>
  779. </field>
  780. <field>
  781. <name>SAE</name>
  782. <description>Source Address Error</description>
  783. <bitOffset>7</bitOffset>
  784. <bitWidth>1</bitWidth>
  785. <access>read-only</access>
  786. <enumeratedValues>
  787. <enumeratedValue>
  788. <name>0</name>
  789. <description>No source address configuration error.</description>
  790. <value>#0</value>
  791. </enumeratedValue>
  792. <enumeratedValue>
  793. <name>1</name>
  794. <description>The last recorded error was a configuration error detected in the TCDn_SADDR field. TCDn_SADDR is inconsistent with TCDn_ATTR[SSIZE].</description>
  795. <value>#1</value>
  796. </enumeratedValue>
  797. </enumeratedValues>
  798. </field>
  799. <field>
  800. <name>ERRCHN</name>
  801. <description>Error Channel Number or Cancelled Channel Number</description>
  802. <bitOffset>8</bitOffset>
  803. <bitWidth>4</bitWidth>
  804. <access>read-only</access>
  805. </field>
  806. <field>
  807. <name>CPE</name>
  808. <description>Channel Priority Error</description>
  809. <bitOffset>14</bitOffset>
  810. <bitWidth>1</bitWidth>
  811. <access>read-only</access>
  812. <enumeratedValues>
  813. <enumeratedValue>
  814. <name>0</name>
  815. <description>No channel priority error</description>
  816. <value>#0</value>
  817. </enumeratedValue>
  818. <enumeratedValue>
  819. <name>1</name>
  820. <description>The last recorded error was a configuration error in the channel priorities. Channel priorities are not unique.</description>
  821. <value>#1</value>
  822. </enumeratedValue>
  823. </enumeratedValues>
  824. </field>
  825. <field>
  826. <name>ECX</name>
  827. <description>Transfer Cancelled</description>
  828. <bitOffset>16</bitOffset>
  829. <bitWidth>1</bitWidth>
  830. <access>read-only</access>
  831. <enumeratedValues>
  832. <enumeratedValue>
  833. <name>0</name>
  834. <description>No cancelled transfers</description>
  835. <value>#0</value>
  836. </enumeratedValue>
  837. <enumeratedValue>
  838. <name>1</name>
  839. <description>The last recorded entry was a cancelled transfer by the error cancel transfer input</description>
  840. <value>#1</value>
  841. </enumeratedValue>
  842. </enumeratedValues>
  843. </field>
  844. <field>
  845. <name>VLD</name>
  846. <description>Logical OR of all ERR status bits</description>
  847. <bitOffset>31</bitOffset>
  848. <bitWidth>1</bitWidth>
  849. <access>read-only</access>
  850. <enumeratedValues>
  851. <enumeratedValue>
  852. <name>0</name>
  853. <description>No ERR bits are set</description>
  854. <value>#0</value>
  855. </enumeratedValue>
  856. <enumeratedValue>
  857. <name>1</name>
  858. <description>At least one ERR bit is set indicating a valid error exists that has not been cleared</description>
  859. <value>#1</value>
  860. </enumeratedValue>
  861. </enumeratedValues>
  862. </field>
  863. </fields>
  864. </register>
  865. <register>
  866. <name>ERQ</name>
  867. <description>Enable Request Register</description>
  868. <addressOffset>0xC</addressOffset>
  869. <size>32</size>
  870. <access>read-write</access>
  871. <resetValue>0</resetValue>
  872. <resetMask>0xFFFFFFFF</resetMask>
  873. <fields>
  874. <field>
  875. <name>ERQ0</name>
  876. <description>Enable DMA Request 0</description>
  877. <bitOffset>0</bitOffset>
  878. <bitWidth>1</bitWidth>
  879. <access>read-write</access>
  880. <enumeratedValues>
  881. <enumeratedValue>
  882. <name>0</name>
  883. <description>The DMA request signal for the corresponding channel is disabled</description>
  884. <value>#0</value>
  885. </enumeratedValue>
  886. <enumeratedValue>
  887. <name>1</name>
  888. <description>The DMA request signal for the corresponding channel is enabled</description>
  889. <value>#1</value>
  890. </enumeratedValue>
  891. </enumeratedValues>
  892. </field>
  893. <field>
  894. <name>ERQ1</name>
  895. <description>Enable DMA Request 1</description>
  896. <bitOffset>1</bitOffset>
  897. <bitWidth>1</bitWidth>
  898. <access>read-write</access>
  899. <enumeratedValues>
  900. <enumeratedValue>
  901. <name>0</name>
  902. <description>The DMA request signal for the corresponding channel is disabled</description>
  903. <value>#0</value>
  904. </enumeratedValue>
  905. <enumeratedValue>
  906. <name>1</name>
  907. <description>The DMA request signal for the corresponding channel is enabled</description>
  908. <value>#1</value>
  909. </enumeratedValue>
  910. </enumeratedValues>
  911. </field>
  912. <field>
  913. <name>ERQ2</name>
  914. <description>Enable DMA Request 2</description>
  915. <bitOffset>2</bitOffset>
  916. <bitWidth>1</bitWidth>
  917. <access>read-write</access>
  918. <enumeratedValues>
  919. <enumeratedValue>
  920. <name>0</name>
  921. <description>The DMA request signal for the corresponding channel is disabled</description>
  922. <value>#0</value>
  923. </enumeratedValue>
  924. <enumeratedValue>
  925. <name>1</name>
  926. <description>The DMA request signal for the corresponding channel is enabled</description>
  927. <value>#1</value>
  928. </enumeratedValue>
  929. </enumeratedValues>
  930. </field>
  931. <field>
  932. <name>ERQ3</name>
  933. <description>Enable DMA Request 3</description>
  934. <bitOffset>3</bitOffset>
  935. <bitWidth>1</bitWidth>
  936. <access>read-write</access>
  937. <enumeratedValues>
  938. <enumeratedValue>
  939. <name>0</name>
  940. <description>The DMA request signal for the corresponding channel is disabled</description>
  941. <value>#0</value>
  942. </enumeratedValue>
  943. <enumeratedValue>
  944. <name>1</name>
  945. <description>The DMA request signal for the corresponding channel is enabled</description>
  946. <value>#1</value>
  947. </enumeratedValue>
  948. </enumeratedValues>
  949. </field>
  950. </fields>
  951. </register>
  952. <register>
  953. <name>EEI</name>
  954. <description>Enable Error Interrupt Register</description>
  955. <addressOffset>0x14</addressOffset>
  956. <size>32</size>
  957. <access>read-write</access>
  958. <resetValue>0</resetValue>
  959. <resetMask>0xFFFFFFFF</resetMask>
  960. <fields>
  961. <field>
  962. <name>EEI0</name>
  963. <description>Enable Error Interrupt 0</description>
  964. <bitOffset>0</bitOffset>
  965. <bitWidth>1</bitWidth>
  966. <access>read-write</access>
  967. <enumeratedValues>
  968. <enumeratedValue>
  969. <name>0</name>
  970. <description>The error signal for corresponding channel does not generate an error interrupt</description>
  971. <value>#0</value>
  972. </enumeratedValue>
  973. <enumeratedValue>
  974. <name>1</name>
  975. <description>The assertion of the error signal for corresponding channel generates an error interrupt request</description>
  976. <value>#1</value>
  977. </enumeratedValue>
  978. </enumeratedValues>
  979. </field>
  980. <field>
  981. <name>EEI1</name>
  982. <description>Enable Error Interrupt 1</description>
  983. <bitOffset>1</bitOffset>
  984. <bitWidth>1</bitWidth>
  985. <access>read-write</access>
  986. <enumeratedValues>
  987. <enumeratedValue>
  988. <name>0</name>
  989. <description>The error signal for corresponding channel does not generate an error interrupt</description>
  990. <value>#0</value>
  991. </enumeratedValue>
  992. <enumeratedValue>
  993. <name>1</name>
  994. <description>The assertion of the error signal for corresponding channel generates an error interrupt request</description>
  995. <value>#1</value>
  996. </enumeratedValue>
  997. </enumeratedValues>
  998. </field>
  999. <field>
  1000. <name>EEI2</name>
  1001. <description>Enable Error Interrupt 2</description>
  1002. <bitOffset>2</bitOffset>
  1003. <bitWidth>1</bitWidth>
  1004. <access>read-write</access>
  1005. <enumeratedValues>
  1006. <enumeratedValue>
  1007. <name>0</name>
  1008. <description>The error signal for corresponding channel does not generate an error interrupt</description>
  1009. <value>#0</value>
  1010. </enumeratedValue>
  1011. <enumeratedValue>
  1012. <name>1</name>
  1013. <description>The assertion of the error signal for corresponding channel generates an error interrupt request</description>
  1014. <value>#1</value>
  1015. </enumeratedValue>
  1016. </enumeratedValues>
  1017. </field>
  1018. <field>
  1019. <name>EEI3</name>
  1020. <description>Enable Error Interrupt 3</description>
  1021. <bitOffset>3</bitOffset>
  1022. <bitWidth>1</bitWidth>
  1023. <access>read-write</access>
  1024. <enumeratedValues>
  1025. <enumeratedValue>
  1026. <name>0</name>
  1027. <description>The error signal for corresponding channel does not generate an error interrupt</description>
  1028. <value>#0</value>
  1029. </enumeratedValue>
  1030. <enumeratedValue>
  1031. <name>1</name>
  1032. <description>The assertion of the error signal for corresponding channel generates an error interrupt request</description>
  1033. <value>#1</value>
  1034. </enumeratedValue>
  1035. </enumeratedValues>
  1036. </field>
  1037. </fields>
  1038. </register>
  1039. <register>
  1040. <name>CEEI</name>
  1041. <description>Clear Enable Error Interrupt Register</description>
  1042. <addressOffset>0x18</addressOffset>
  1043. <size>8</size>
  1044. <access>write-only</access>
  1045. <resetValue>0</resetValue>
  1046. <resetMask>0xFF</resetMask>
  1047. <fields>
  1048. <field>
  1049. <name>CEEI</name>
  1050. <description>Clear Enable Error Interrupt</description>
  1051. <bitOffset>0</bitOffset>
  1052. <bitWidth>4</bitWidth>
  1053. <access>write-only</access>
  1054. </field>
  1055. <field>
  1056. <name>CAEE</name>
  1057. <description>Clear All Enable Error Interrupts</description>
  1058. <bitOffset>6</bitOffset>
  1059. <bitWidth>1</bitWidth>
  1060. <access>write-only</access>
  1061. <enumeratedValues>
  1062. <enumeratedValue>
  1063. <name>0</name>
  1064. <description>Clear only the EEI bit specified in the CEEI field</description>
  1065. <value>#0</value>
  1066. </enumeratedValue>
  1067. <enumeratedValue>
  1068. <name>1</name>
  1069. <description>Clear all bits in EEI</description>
  1070. <value>#1</value>
  1071. </enumeratedValue>
  1072. </enumeratedValues>
  1073. </field>
  1074. <field>
  1075. <name>NOP</name>
  1076. <description>no description available</description>
  1077. <bitOffset>7</bitOffset>
  1078. <bitWidth>1</bitWidth>
  1079. <access>write-only</access>
  1080. <enumeratedValues>
  1081. <enumeratedValue>
  1082. <name>0</name>
  1083. <description>Normal operation</description>
  1084. <value>#0</value>
  1085. </enumeratedValue>
  1086. <enumeratedValue>
  1087. <name>1</name>
  1088. <description>No operation, ignore the other bits in this register</description>
  1089. <value>#1</value>
  1090. </enumeratedValue>
  1091. </enumeratedValues>
  1092. </field>
  1093. </fields>
  1094. </register>
  1095. <register>
  1096. <name>SEEI</name>
  1097. <description>Set Enable Error Interrupt Register</description>
  1098. <addressOffset>0x19</addressOffset>
  1099. <size>8</size>
  1100. <access>write-only</access>
  1101. <resetValue>0</resetValue>
  1102. <resetMask>0xFF</resetMask>
  1103. <fields>
  1104. <field>
  1105. <name>SEEI</name>
  1106. <description>Set Enable Error Interrupt</description>
  1107. <bitOffset>0</bitOffset>
  1108. <bitWidth>4</bitWidth>
  1109. <access>write-only</access>
  1110. </field>
  1111. <field>
  1112. <name>SAEE</name>
  1113. <description>Sets All Enable Error Interrupts</description>
  1114. <bitOffset>6</bitOffset>
  1115. <bitWidth>1</bitWidth>
  1116. <access>write-only</access>
  1117. <enumeratedValues>
  1118. <enumeratedValue>
  1119. <name>0</name>
  1120. <description>Set only the EEI bit specified in the SEEI field.</description>
  1121. <value>#0</value>
  1122. </enumeratedValue>
  1123. <enumeratedValue>
  1124. <name>1</name>
  1125. <description>Sets all bits in EEI</description>
  1126. <value>#1</value>
  1127. </enumeratedValue>
  1128. </enumeratedValues>
  1129. </field>
  1130. <field>
  1131. <name>NOP</name>
  1132. <description>no description available</description>
  1133. <bitOffset>7</bitOffset>
  1134. <bitWidth>1</bitWidth>
  1135. <access>write-only</access>
  1136. <enumeratedValues>
  1137. <enumeratedValue>
  1138. <name>0</name>
  1139. <description>Normal operation</description>
  1140. <value>#0</value>
  1141. </enumeratedValue>
  1142. <enumeratedValue>
  1143. <name>1</name>
  1144. <description>No operation, ignore the other bits in this register</description>
  1145. <value>#1</value>
  1146. </enumeratedValue>
  1147. </enumeratedValues>
  1148. </field>
  1149. </fields>
  1150. </register>
  1151. <register>
  1152. <name>CERQ</name>
  1153. <description>Clear Enable Request Register</description>
  1154. <addressOffset>0x1A</addressOffset>
  1155. <size>8</size>
  1156. <access>write-only</access>
  1157. <resetValue>0</resetValue>
  1158. <resetMask>0xFF</resetMask>
  1159. <fields>
  1160. <field>
  1161. <name>CERQ</name>
  1162. <description>Clear Enable Request</description>
  1163. <bitOffset>0</bitOffset>
  1164. <bitWidth>4</bitWidth>
  1165. <access>write-only</access>
  1166. </field>
  1167. <field>
  1168. <name>CAER</name>
  1169. <description>Clear All Enable Requests</description>
  1170. <bitOffset>6</bitOffset>
  1171. <bitWidth>1</bitWidth>
  1172. <access>write-only</access>
  1173. <enumeratedValues>
  1174. <enumeratedValue>
  1175. <name>0</name>
  1176. <description>Clear only the ERQ bit specified in the CERQ field</description>
  1177. <value>#0</value>
  1178. </enumeratedValue>
  1179. <enumeratedValue>
  1180. <name>1</name>
  1181. <description>Clear all bits in ERQ</description>
  1182. <value>#1</value>
  1183. </enumeratedValue>
  1184. </enumeratedValues>
  1185. </field>
  1186. <field>
  1187. <name>NOP</name>
  1188. <description>no description available</description>
  1189. <bitOffset>7</bitOffset>
  1190. <bitWidth>1</bitWidth>
  1191. <access>write-only</access>
  1192. <enumeratedValues>
  1193. <enumeratedValue>
  1194. <name>0</name>
  1195. <description>Normal operation</description>
  1196. <value>#0</value>
  1197. </enumeratedValue>
  1198. <enumeratedValue>
  1199. <name>1</name>
  1200. <description>No operation, ignore the other bits in this register</description>
  1201. <value>#1</value>
  1202. </enumeratedValue>
  1203. </enumeratedValues>
  1204. </field>
  1205. </fields>
  1206. </register>
  1207. <register>
  1208. <name>SERQ</name>
  1209. <description>Set Enable Request Register</description>
  1210. <addressOffset>0x1B</addressOffset>
  1211. <size>8</size>
  1212. <access>write-only</access>
  1213. <resetValue>0</resetValue>
  1214. <resetMask>0xFF</resetMask>
  1215. <fields>
  1216. <field>
  1217. <name>SERQ</name>
  1218. <description>Set enable request</description>
  1219. <bitOffset>0</bitOffset>
  1220. <bitWidth>4</bitWidth>
  1221. <access>write-only</access>
  1222. </field>
  1223. <field>
  1224. <name>SAER</name>
  1225. <description>Set All Enable Requests</description>
  1226. <bitOffset>6</bitOffset>
  1227. <bitWidth>1</bitWidth>
  1228. <access>write-only</access>
  1229. <enumeratedValues>
  1230. <enumeratedValue>
  1231. <name>0</name>
  1232. <description>Set only the ERQ bit specified in the SERQ field</description>
  1233. <value>#0</value>
  1234. </enumeratedValue>
  1235. <enumeratedValue>
  1236. <name>1</name>
  1237. <description>Set all bits in ERQ</description>
  1238. <value>#1</value>
  1239. </enumeratedValue>
  1240. </enumeratedValues>
  1241. </field>
  1242. <field>
  1243. <name>NOP</name>
  1244. <description>no description available</description>
  1245. <bitOffset>7</bitOffset>
  1246. <bitWidth>1</bitWidth>
  1247. <access>write-only</access>
  1248. <enumeratedValues>
  1249. <enumeratedValue>
  1250. <name>0</name>
  1251. <description>Normal operation</description>
  1252. <value>#0</value>
  1253. </enumeratedValue>
  1254. <enumeratedValue>
  1255. <name>1</name>
  1256. <description>No operation, ignore the other bits in this register</description>
  1257. <value>#1</value>
  1258. </enumeratedValue>
  1259. </enumeratedValues>
  1260. </field>
  1261. </fields>
  1262. </register>
  1263. <register>
  1264. <name>CDNE</name>
  1265. <description>Clear DONE Status Bit Register</description>
  1266. <addressOffset>0x1C</addressOffset>
  1267. <size>8</size>
  1268. <access>write-only</access>
  1269. <resetValue>0</resetValue>
  1270. <resetMask>0xFF</resetMask>
  1271. <fields>
  1272. <field>
  1273. <name>CDNE</name>
  1274. <description>Clear DONE Bit</description>
  1275. <bitOffset>0</bitOffset>
  1276. <bitWidth>4</bitWidth>
  1277. <access>write-only</access>
  1278. </field>
  1279. <field>
  1280. <name>CADN</name>
  1281. <description>Clears All DONE Bits</description>
  1282. <bitOffset>6</bitOffset>
  1283. <bitWidth>1</bitWidth>
  1284. <access>write-only</access>
  1285. <enumeratedValues>
  1286. <enumeratedValue>
  1287. <name>0</name>
  1288. <description>Clears only the TCDn_CSR[DONE] bit specified in the CDNE field</description>
  1289. <value>#0</value>
  1290. </enumeratedValue>
  1291. <enumeratedValue>
  1292. <name>1</name>
  1293. <description>Clears all bits in TCDn_CSR[DONE]</description>
  1294. <value>#1</value>
  1295. </enumeratedValue>
  1296. </enumeratedValues>
  1297. </field>
  1298. <field>
  1299. <name>NOP</name>
  1300. <description>no description available</description>
  1301. <bitOffset>7</bitOffset>
  1302. <bitWidth>1</bitWidth>
  1303. <access>write-only</access>
  1304. <enumeratedValues>
  1305. <enumeratedValue>
  1306. <name>0</name>
  1307. <description>Normal operation</description>
  1308. <value>#0</value>
  1309. </enumeratedValue>
  1310. <enumeratedValue>
  1311. <name>1</name>
  1312. <description>No operation, ignore the other bits in this register</description>
  1313. <value>#1</value>
  1314. </enumeratedValue>
  1315. </enumeratedValues>
  1316. </field>
  1317. </fields>
  1318. </register>
  1319. <register>
  1320. <name>SSRT</name>
  1321. <description>Set START Bit Register</description>
  1322. <addressOffset>0x1D</addressOffset>
  1323. <size>8</size>
  1324. <access>write-only</access>
  1325. <resetValue>0</resetValue>
  1326. <resetMask>0xFF</resetMask>
  1327. <fields>
  1328. <field>
  1329. <name>SSRT</name>
  1330. <description>Set START Bit</description>
  1331. <bitOffset>0</bitOffset>
  1332. <bitWidth>4</bitWidth>
  1333. <access>write-only</access>
  1334. </field>
  1335. <field>
  1336. <name>SAST</name>
  1337. <description>Set All START Bits (activates all channels)</description>
  1338. <bitOffset>6</bitOffset>
  1339. <bitWidth>1</bitWidth>
  1340. <access>write-only</access>
  1341. <enumeratedValues>
  1342. <enumeratedValue>
  1343. <name>0</name>
  1344. <description>Set only the TCDn_CSR[START] bit specified in the SSRT field</description>
  1345. <value>#0</value>
  1346. </enumeratedValue>
  1347. <enumeratedValue>
  1348. <name>1</name>
  1349. <description>Set all bits in TCDn_CSR[START]</description>
  1350. <value>#1</value>
  1351. </enumeratedValue>
  1352. </enumeratedValues>
  1353. </field>
  1354. <field>
  1355. <name>NOP</name>
  1356. <description>no description available</description>
  1357. <bitOffset>7</bitOffset>
  1358. <bitWidth>1</bitWidth>
  1359. <access>write-only</access>
  1360. <enumeratedValues>
  1361. <enumeratedValue>
  1362. <name>0</name>
  1363. <description>Normal operation</description>
  1364. <value>#0</value>
  1365. </enumeratedValue>
  1366. <enumeratedValue>
  1367. <name>1</name>
  1368. <description>No operation, ignore the other bits in this register</description>
  1369. <value>#1</value>
  1370. </enumeratedValue>
  1371. </enumeratedValues>
  1372. </field>
  1373. </fields>
  1374. </register>
  1375. <register>
  1376. <name>CERR</name>
  1377. <description>Clear Error Register</description>
  1378. <addressOffset>0x1E</addressOffset>
  1379. <size>8</size>
  1380. <access>write-only</access>
  1381. <resetValue>0</resetValue>
  1382. <resetMask>0xFF</resetMask>
  1383. <fields>
  1384. <field>
  1385. <name>CERR</name>
  1386. <description>Clear Error Indicator</description>
  1387. <bitOffset>0</bitOffset>
  1388. <bitWidth>4</bitWidth>
  1389. <access>write-only</access>
  1390. </field>
  1391. <field>
  1392. <name>CAEI</name>
  1393. <description>Clear All Error Indicators</description>
  1394. <bitOffset>6</bitOffset>
  1395. <bitWidth>1</bitWidth>
  1396. <access>write-only</access>
  1397. <enumeratedValues>
  1398. <enumeratedValue>
  1399. <name>0</name>
  1400. <description>Clear only the ERR bit specified in the CERR field</description>
  1401. <value>#0</value>
  1402. </enumeratedValue>
  1403. <enumeratedValue>
  1404. <name>1</name>
  1405. <description>Clear all bits in ERR</description>
  1406. <value>#1</value>
  1407. </enumeratedValue>
  1408. </enumeratedValues>
  1409. </field>
  1410. <field>
  1411. <name>NOP</name>
  1412. <description>no description available</description>
  1413. <bitOffset>7</bitOffset>
  1414. <bitWidth>1</bitWidth>
  1415. <access>write-only</access>
  1416. <enumeratedValues>
  1417. <enumeratedValue>
  1418. <name>0</name>
  1419. <description>Normal operation</description>
  1420. <value>#0</value>
  1421. </enumeratedValue>
  1422. <enumeratedValue>
  1423. <name>1</name>
  1424. <description>No operation, ignore the other bits in this register</description>
  1425. <value>#1</value>
  1426. </enumeratedValue>
  1427. </enumeratedValues>
  1428. </field>
  1429. </fields>
  1430. </register>
  1431. <register>
  1432. <name>CINT</name>
  1433. <description>Clear Interrupt Request Register</description>
  1434. <addressOffset>0x1F</addressOffset>
  1435. <size>8</size>
  1436. <access>write-only</access>
  1437. <resetValue>0</resetValue>
  1438. <resetMask>0xFF</resetMask>
  1439. <fields>
  1440. <field>
  1441. <name>CINT</name>
  1442. <description>Clear Interrupt Request</description>
  1443. <bitOffset>0</bitOffset>
  1444. <bitWidth>4</bitWidth>
  1445. <access>write-only</access>
  1446. </field>
  1447. <field>
  1448. <name>CAIR</name>
  1449. <description>Clear All Interrupt Requests</description>
  1450. <bitOffset>6</bitOffset>
  1451. <bitWidth>1</bitWidth>
  1452. <access>write-only</access>
  1453. <enumeratedValues>
  1454. <enumeratedValue>
  1455. <name>0</name>
  1456. <description>Clear only the INT bit specified in the CINT field</description>
  1457. <value>#0</value>
  1458. </enumeratedValue>
  1459. <enumeratedValue>
  1460. <name>1</name>
  1461. <description>Clear all bits in INT</description>
  1462. <value>#1</value>
  1463. </enumeratedValue>
  1464. </enumeratedValues>
  1465. </field>
  1466. <field>
  1467. <name>NOP</name>
  1468. <description>no description available</description>
  1469. <bitOffset>7</bitOffset>
  1470. <bitWidth>1</bitWidth>
  1471. <access>write-only</access>
  1472. <enumeratedValues>
  1473. <enumeratedValue>
  1474. <name>0</name>
  1475. <description>Normal operation</description>
  1476. <value>#0</value>
  1477. </enumeratedValue>
  1478. <enumeratedValue>
  1479. <name>1</name>
  1480. <description>No operation, ignore the other bits in this register</description>
  1481. <value>#1</value>
  1482. </enumeratedValue>
  1483. </enumeratedValues>
  1484. </field>
  1485. </fields>
  1486. </register>
  1487. <register>
  1488. <name>INT</name>
  1489. <description>Interrupt Request Register</description>
  1490. <addressOffset>0x24</addressOffset>
  1491. <size>32</size>
  1492. <access>read-write</access>
  1493. <resetValue>0</resetValue>
  1494. <resetMask>0xFFFFFFFF</resetMask>
  1495. <fields>
  1496. <field>
  1497. <name>INT0</name>
  1498. <description>Interrupt Request 0</description>
  1499. <bitOffset>0</bitOffset>
  1500. <bitWidth>1</bitWidth>
  1501. <access>read-write</access>
  1502. <enumeratedValues>
  1503. <enumeratedValue>
  1504. <name>0</name>
  1505. <description>The interrupt request for corresponding channel is cleared</description>
  1506. <value>#0</value>
  1507. </enumeratedValue>
  1508. <enumeratedValue>
  1509. <name>1</name>
  1510. <description>The interrupt request for corresponding channel is active</description>
  1511. <value>#1</value>
  1512. </enumeratedValue>
  1513. </enumeratedValues>
  1514. </field>
  1515. <field>
  1516. <name>INT1</name>
  1517. <description>Interrupt Request 1</description>
  1518. <bitOffset>1</bitOffset>
  1519. <bitWidth>1</bitWidth>
  1520. <access>read-write</access>
  1521. <enumeratedValues>
  1522. <enumeratedValue>
  1523. <name>0</name>
  1524. <description>The interrupt request for corresponding channel is cleared</description>
  1525. <value>#0</value>
  1526. </enumeratedValue>
  1527. <enumeratedValue>
  1528. <name>1</name>
  1529. <description>The interrupt request for corresponding channel is active</description>
  1530. <value>#1</value>
  1531. </enumeratedValue>
  1532. </enumeratedValues>
  1533. </field>
  1534. <field>
  1535. <name>INT2</name>
  1536. <description>Interrupt Request 2</description>
  1537. <bitOffset>2</bitOffset>
  1538. <bitWidth>1</bitWidth>
  1539. <access>read-write</access>
  1540. <enumeratedValues>
  1541. <enumeratedValue>
  1542. <name>0</name>
  1543. <description>The interrupt request for corresponding channel is cleared</description>
  1544. <value>#0</value>
  1545. </enumeratedValue>
  1546. <enumeratedValue>
  1547. <name>1</name>
  1548. <description>The interrupt request for corresponding channel is active</description>
  1549. <value>#1</value>
  1550. </enumeratedValue>
  1551. </enumeratedValues>
  1552. </field>
  1553. <field>
  1554. <name>INT3</name>
  1555. <description>Interrupt Request 3</description>
  1556. <bitOffset>3</bitOffset>
  1557. <bitWidth>1</bitWidth>
  1558. <access>read-write</access>
  1559. <enumeratedValues>
  1560. <enumeratedValue>
  1561. <name>0</name>
  1562. <description>The interrupt request for corresponding channel is cleared</description>
  1563. <value>#0</value>
  1564. </enumeratedValue>
  1565. <enumeratedValue>
  1566. <name>1</name>
  1567. <description>The interrupt request for corresponding channel is active</description>
  1568. <value>#1</value>
  1569. </enumeratedValue>
  1570. </enumeratedValues>
  1571. </field>
  1572. </fields>
  1573. </register>
  1574. <register>
  1575. <name>ERR</name>
  1576. <description>Error Register</description>
  1577. <addressOffset>0x2C</addressOffset>
  1578. <size>32</size>
  1579. <access>read-write</access>
  1580. <resetValue>0</resetValue>
  1581. <resetMask>0xFFFFFFFF</resetMask>
  1582. <fields>
  1583. <field>
  1584. <name>ERR0</name>
  1585. <description>Error In Channel 0</description>
  1586. <bitOffset>0</bitOffset>
  1587. <bitWidth>1</bitWidth>
  1588. <access>read-write</access>
  1589. <enumeratedValues>
  1590. <enumeratedValue>
  1591. <name>0</name>
  1592. <description>An error in the corresponding channel has not occurred</description>
  1593. <value>#0</value>
  1594. </enumeratedValue>
  1595. <enumeratedValue>
  1596. <name>1</name>
  1597. <description>An error in the corresponding channel has occurred</description>
  1598. <value>#1</value>
  1599. </enumeratedValue>
  1600. </enumeratedValues>
  1601. </field>
  1602. <field>
  1603. <name>ERR1</name>
  1604. <description>Error In Channel 1</description>
  1605. <bitOffset>1</bitOffset>
  1606. <bitWidth>1</bitWidth>
  1607. <access>read-write</access>
  1608. <enumeratedValues>
  1609. <enumeratedValue>
  1610. <name>0</name>
  1611. <description>An error in the corresponding channel has not occurred</description>
  1612. <value>#0</value>
  1613. </enumeratedValue>
  1614. <enumeratedValue>
  1615. <name>1</name>
  1616. <description>An error in the corresponding channel has occurred</description>
  1617. <value>#1</value>
  1618. </enumeratedValue>
  1619. </enumeratedValues>
  1620. </field>
  1621. <field>
  1622. <name>ERR2</name>
  1623. <description>Error In Channel 2</description>
  1624. <bitOffset>2</bitOffset>
  1625. <bitWidth>1</bitWidth>
  1626. <access>read-write</access>
  1627. <enumeratedValues>
  1628. <enumeratedValue>
  1629. <name>0</name>
  1630. <description>An error in the corresponding channel has not occurred</description>
  1631. <value>#0</value>
  1632. </enumeratedValue>
  1633. <enumeratedValue>
  1634. <name>1</name>
  1635. <description>An error in the corresponding channel has occurred</description>
  1636. <value>#1</value>
  1637. </enumeratedValue>
  1638. </enumeratedValues>
  1639. </field>
  1640. <field>
  1641. <name>ERR3</name>
  1642. <description>Error In Channel 3</description>
  1643. <bitOffset>3</bitOffset>
  1644. <bitWidth>1</bitWidth>
  1645. <access>read-write</access>
  1646. <enumeratedValues>
  1647. <enumeratedValue>
  1648. <name>0</name>
  1649. <description>An error in the corresponding channel has not occurred</description>
  1650. <value>#0</value>
  1651. </enumeratedValue>
  1652. <enumeratedValue>
  1653. <name>1</name>
  1654. <description>An error in the corresponding channel has occurred</description>
  1655. <value>#1</value>
  1656. </enumeratedValue>
  1657. </enumeratedValues>
  1658. </field>
  1659. </fields>
  1660. </register>
  1661. <register>
  1662. <name>HRS</name>
  1663. <description>Hardware Request Status Register</description>
  1664. <addressOffset>0x34</addressOffset>
  1665. <size>32</size>
  1666. <access>read-write</access>
  1667. <resetValue>0</resetValue>
  1668. <resetMask>0xFFFFFFFF</resetMask>
  1669. <fields>
  1670. <field>
  1671. <name>HRS0</name>
  1672. <description>Hardware Request Status Channel 0</description>
  1673. <bitOffset>0</bitOffset>
  1674. <bitWidth>1</bitWidth>
  1675. <access>read-write</access>
  1676. <enumeratedValues>
  1677. <enumeratedValue>
  1678. <name>0</name>
  1679. <description>A hardware service request for the corresponding channel is not present</description>
  1680. <value>#0</value>
  1681. </enumeratedValue>
  1682. <enumeratedValue>
  1683. <name>1</name>
  1684. <description>A hardware service request for the corresponding channel is present</description>
  1685. <value>#1</value>
  1686. </enumeratedValue>
  1687. </enumeratedValues>
  1688. </field>
  1689. <field>
  1690. <name>HRS1</name>
  1691. <description>Hardware Request Status Channel 1</description>
  1692. <bitOffset>1</bitOffset>
  1693. <bitWidth>1</bitWidth>
  1694. <access>read-write</access>
  1695. <enumeratedValues>
  1696. <enumeratedValue>
  1697. <name>0</name>
  1698. <description>A hardware service request for the corresponding channel is not present</description>
  1699. <value>#0</value>
  1700. </enumeratedValue>
  1701. <enumeratedValue>
  1702. <name>1</name>
  1703. <description>A hardware service request for the corresponding channel is present</description>
  1704. <value>#1</value>
  1705. </enumeratedValue>
  1706. </enumeratedValues>
  1707. </field>
  1708. <field>
  1709. <name>HRS2</name>
  1710. <description>Hardware Request Status Channel 2</description>
  1711. <bitOffset>2</bitOffset>
  1712. <bitWidth>1</bitWidth>
  1713. <access>read-write</access>
  1714. <enumeratedValues>
  1715. <enumeratedValue>
  1716. <name>0</name>
  1717. <description>A hardware service request for the corresponding channel is not present</description>
  1718. <value>#0</value>
  1719. </enumeratedValue>
  1720. <enumeratedValue>
  1721. <name>1</name>
  1722. <description>A hardware service request for the corresponding channel is present</description>
  1723. <value>#1</value>
  1724. </enumeratedValue>
  1725. </enumeratedValues>
  1726. </field>
  1727. <field>
  1728. <name>HRS3</name>
  1729. <description>Hardware Request Status Channel 3</description>
  1730. <bitOffset>3</bitOffset>
  1731. <bitWidth>1</bitWidth>
  1732. <access>read-write</access>
  1733. <enumeratedValues>
  1734. <enumeratedValue>
  1735. <name>0</name>
  1736. <description>A hardware service request for the corresponding channel is not present</description>
  1737. <value>#0</value>
  1738. </enumeratedValue>
  1739. <enumeratedValue>
  1740. <name>1</name>
  1741. <description>A hardware service request for the corresponding channel is present</description>
  1742. <value>#1</value>
  1743. </enumeratedValue>
  1744. </enumeratedValues>
  1745. </field>
  1746. </fields>
  1747. </register>
  1748. <register>
  1749. <dim>4</dim>
  1750. <dimIncrement>0x1</dimIncrement>
  1751. <dimIndex>3,2,1,0</dimIndex>
  1752. <name>DCHPRI%s</name>
  1753. <description>Channel n Priority Register</description>
  1754. <addressOffset>0x100</addressOffset>
  1755. <size>8</size>
  1756. <access>read-write</access>
  1757. <resetValue>0</resetValue>
  1758. <resetMask>0</resetMask>
  1759. <fields>
  1760. <field>
  1761. <name>CHPRI</name>
  1762. <description>Channel n Arbitration Priority</description>
  1763. <bitOffset>0</bitOffset>
  1764. <bitWidth>4</bitWidth>
  1765. <access>read-write</access>
  1766. </field>
  1767. <field>
  1768. <name>DPA</name>
  1769. <description>Disable Preempt Ability</description>
  1770. <bitOffset>6</bitOffset>
  1771. <bitWidth>1</bitWidth>
  1772. <access>read-write</access>
  1773. <enumeratedValues>
  1774. <enumeratedValue>
  1775. <name>0</name>
  1776. <description>Channel n can suspend a lower priority channel</description>
  1777. <value>#0</value>
  1778. </enumeratedValue>
  1779. <enumeratedValue>
  1780. <name>1</name>
  1781. <description>Channel n cannot suspend any channel, regardless of channel priority</description>
  1782. <value>#1</value>
  1783. </enumeratedValue>
  1784. </enumeratedValues>
  1785. </field>
  1786. <field>
  1787. <name>ECP</name>
  1788. <description>Enable Channel Preemption</description>
  1789. <bitOffset>7</bitOffset>
  1790. <bitWidth>1</bitWidth>
  1791. <access>read-write</access>
  1792. <enumeratedValues>
  1793. <enumeratedValue>
  1794. <name>0</name>
  1795. <description>Channel n cannot be suspended by a higher priority channel&apos;s service request</description>
  1796. <value>#0</value>
  1797. </enumeratedValue>
  1798. <enumeratedValue>
  1799. <name>1</name>
  1800. <description>Channel n can be temporarily suspended by the service request of a higher priority channel</description>
  1801. <value>#1</value>
  1802. </enumeratedValue>
  1803. </enumeratedValues>
  1804. </field>
  1805. </fields>
  1806. </register>
  1807. <register>
  1808. <dim>4</dim>
  1809. <dimIncrement>0x20</dimIncrement>
  1810. <dimIndex>0,1,2,3</dimIndex>
  1811. <name>TCD%s_SADDR</name>
  1812. <description>TCD Source Address</description>
  1813. <addressOffset>0x1000</addressOffset>
  1814. <size>32</size>
  1815. <access>read-write</access>
  1816. <resetValue>0</resetValue>
  1817. <resetMask>0</resetMask>
  1818. <fields>
  1819. <field>
  1820. <name>SADDR</name>
  1821. <description>Source Address</description>
  1822. <bitOffset>0</bitOffset>
  1823. <bitWidth>32</bitWidth>
  1824. <access>read-write</access>
  1825. </field>
  1826. </fields>
  1827. </register>
  1828. <register>
  1829. <dim>4</dim>
  1830. <dimIncrement>0x20</dimIncrement>
  1831. <dimIndex>0,1,2,3</dimIndex>
  1832. <name>TCD%s_SOFF</name>
  1833. <description>TCD Signed Source Address Offset</description>
  1834. <addressOffset>0x1004</addressOffset>
  1835. <size>16</size>
  1836. <access>read-write</access>
  1837. <resetValue>0</resetValue>
  1838. <resetMask>0</resetMask>
  1839. <fields>
  1840. <field>
  1841. <name>SOFF</name>
  1842. <description>Source address signed offset</description>
  1843. <bitOffset>0</bitOffset>
  1844. <bitWidth>16</bitWidth>
  1845. <access>read-write</access>
  1846. </field>
  1847. </fields>
  1848. </register>
  1849. <register>
  1850. <dim>4</dim>
  1851. <dimIncrement>0x20</dimIncrement>
  1852. <dimIndex>0,1,2,3</dimIndex>
  1853. <name>TCD%s_ATTR</name>
  1854. <description>TCD Transfer Attributes</description>
  1855. <addressOffset>0x1006</addressOffset>
  1856. <size>16</size>
  1857. <access>read-write</access>
  1858. <resetValue>0</resetValue>
  1859. <resetMask>0</resetMask>
  1860. <fields>
  1861. <field>
  1862. <name>DSIZE</name>
  1863. <description>Destination Data Transfer Size</description>
  1864. <bitOffset>0</bitOffset>
  1865. <bitWidth>3</bitWidth>
  1866. <access>read-write</access>
  1867. </field>
  1868. <field>
  1869. <name>DMOD</name>
  1870. <description>Destination Address Modulo</description>
  1871. <bitOffset>3</bitOffset>
  1872. <bitWidth>5</bitWidth>
  1873. <access>read-write</access>
  1874. </field>
  1875. <field>
  1876. <name>SSIZE</name>
  1877. <description>Source data transfer size</description>
  1878. <bitOffset>8</bitOffset>
  1879. <bitWidth>3</bitWidth>
  1880. <access>read-write</access>
  1881. <enumeratedValues>
  1882. <enumeratedValue>
  1883. <name>000</name>
  1884. <description>8-bit</description>
  1885. <value>#000</value>
  1886. </enumeratedValue>
  1887. <enumeratedValue>
  1888. <name>001</name>
  1889. <description>16-bit</description>
  1890. <value>#001</value>
  1891. </enumeratedValue>
  1892. <enumeratedValue>
  1893. <name>010</name>
  1894. <description>32-bit</description>
  1895. <value>#010</value>
  1896. </enumeratedValue>
  1897. <enumeratedValue>
  1898. <name>100</name>
  1899. <description>16-byte</description>
  1900. <value>#100</value>
  1901. </enumeratedValue>
  1902. </enumeratedValues>
  1903. </field>
  1904. <field>
  1905. <name>SMOD</name>
  1906. <description>Source Address Modulo.</description>
  1907. <bitOffset>11</bitOffset>
  1908. <bitWidth>5</bitWidth>
  1909. <access>read-write</access>
  1910. <enumeratedValues>
  1911. <enumeratedValue>
  1912. <name>0</name>
  1913. <description>Source address modulo feature is disabled</description>
  1914. <value>#00000</value>
  1915. </enumeratedValue>
  1916. </enumeratedValues>
  1917. </field>
  1918. </fields>
  1919. </register>
  1920. <register>
  1921. <dim>4</dim>
  1922. <dimIncrement>0x20</dimIncrement>
  1923. <dimIndex>0,1,2,3</dimIndex>
  1924. <name>TCD%s_NBYTES_MLNO</name>
  1925. <description>TCD Minor Byte Count (Minor Loop Disabled)</description>
  1926. <alternateGroup>DMA</alternateGroup>
  1927. <addressOffset>0x1008</addressOffset>
  1928. <size>32</size>
  1929. <access>read-write</access>
  1930. <resetValue>0</resetValue>
  1931. <resetMask>0</resetMask>
  1932. <fields>
  1933. <field>
  1934. <name>NBYTES</name>
  1935. <description>Minor Byte Transfer Count</description>
  1936. <bitOffset>0</bitOffset>
  1937. <bitWidth>32</bitWidth>
  1938. <access>read-write</access>
  1939. </field>
  1940. </fields>
  1941. </register>
  1942. <register>
  1943. <dim>4</dim>
  1944. <dimIncrement>0x20</dimIncrement>
  1945. <dimIndex>0,1,2,3</dimIndex>
  1946. <name>TCD%s_NBYTES_MLOFFNO</name>
  1947. <description>TCD Signed Minor Loop Offset (Minor Loop Enabled and Offset Disabled)</description>
  1948. <alternateGroup>DMA</alternateGroup>
  1949. <addressOffset>0x1008</addressOffset>
  1950. <size>32</size>
  1951. <access>read-write</access>
  1952. <resetValue>0</resetValue>
  1953. <resetMask>0</resetMask>
  1954. <fields>
  1955. <field>
  1956. <name>NBYTES</name>
  1957. <description>Minor Byte Transfer Count</description>
  1958. <bitOffset>0</bitOffset>
  1959. <bitWidth>30</bitWidth>
  1960. <access>read-write</access>
  1961. </field>
  1962. <field>
  1963. <name>DMLOE</name>
  1964. <description>Destination Minor Loop Offset enable</description>
  1965. <bitOffset>30</bitOffset>
  1966. <bitWidth>1</bitWidth>
  1967. <access>read-write</access>
  1968. <enumeratedValues>
  1969. <enumeratedValue>
  1970. <name>0</name>
  1971. <description>The minor loop offset is not applied to the DADDR</description>
  1972. <value>#0</value>
  1973. </enumeratedValue>
  1974. <enumeratedValue>
  1975. <name>1</name>
  1976. <description>The minor loop offset is applied to the DADDR</description>
  1977. <value>#1</value>
  1978. </enumeratedValue>
  1979. </enumeratedValues>
  1980. </field>
  1981. <field>
  1982. <name>SMLOE</name>
  1983. <description>Source Minor Loop Offset Enable</description>
  1984. <bitOffset>31</bitOffset>
  1985. <bitWidth>1</bitWidth>
  1986. <access>read-write</access>
  1987. <enumeratedValues>
  1988. <enumeratedValue>
  1989. <name>0</name>
  1990. <description>The minor loop offset is not applied to the SADDR</description>
  1991. <value>#0</value>
  1992. </enumeratedValue>
  1993. <enumeratedValue>
  1994. <name>1</name>
  1995. <description>The minor loop offset is applied to the SADDR</description>
  1996. <value>#1</value>
  1997. </enumeratedValue>
  1998. </enumeratedValues>
  1999. </field>
  2000. </fields>
  2001. </register>
  2002. <register>
  2003. <dim>4</dim>
  2004. <dimIncrement>0x20</dimIncrement>
  2005. <dimIndex>0,1,2,3</dimIndex>
  2006. <name>TCD%s_NBYTES_MLOFFYES</name>
  2007. <description>TCD Signed Minor Loop Offset (Minor Loop and Offset Enabled)</description>
  2008. <alternateGroup>DMA</alternateGroup>
  2009. <addressOffset>0x1008</addressOffset>
  2010. <size>32</size>
  2011. <access>read-write</access>
  2012. <resetValue>0</resetValue>
  2013. <resetMask>0</resetMask>
  2014. <fields>
  2015. <field>
  2016. <name>NBYTES</name>
  2017. <description>Minor Byte Transfer Count</description>
  2018. <bitOffset>0</bitOffset>
  2019. <bitWidth>10</bitWidth>
  2020. <access>read-write</access>
  2021. </field>
  2022. <field>
  2023. <name>MLOFF</name>
  2024. <description>If SMLOE or DMLOE is set, this field represents a sign-extended offset applied to the source or destination address to form the next-state value after the minor loop completes.</description>
  2025. <bitOffset>10</bitOffset>
  2026. <bitWidth>20</bitWidth>
  2027. <access>read-write</access>
  2028. </field>
  2029. <field>
  2030. <name>DMLOE</name>
  2031. <description>Destination Minor Loop Offset enable</description>
  2032. <bitOffset>30</bitOffset>
  2033. <bitWidth>1</bitWidth>
  2034. <access>read-write</access>
  2035. <enumeratedValues>
  2036. <enumeratedValue>
  2037. <name>0</name>
  2038. <description>The minor loop offset is not applied to the DADDR</description>
  2039. <value>#0</value>
  2040. </enumeratedValue>
  2041. <enumeratedValue>
  2042. <name>1</name>
  2043. <description>The minor loop offset is applied to the DADDR</description>
  2044. <value>#1</value>
  2045. </enumeratedValue>
  2046. </enumeratedValues>
  2047. </field>
  2048. <field>
  2049. <name>SMLOE</name>
  2050. <description>Source Minor Loop Offset Enable</description>
  2051. <bitOffset>31</bitOffset>
  2052. <bitWidth>1</bitWidth>
  2053. <access>read-write</access>
  2054. <enumeratedValues>
  2055. <enumeratedValue>
  2056. <name>0</name>
  2057. <description>The minor loop offset is not applied to the SADDR</description>
  2058. <value>#0</value>
  2059. </enumeratedValue>
  2060. <enumeratedValue>
  2061. <name>1</name>
  2062. <description>The minor loop offset is applied to the SADDR</description>
  2063. <value>#1</value>
  2064. </enumeratedValue>
  2065. </enumeratedValues>
  2066. </field>
  2067. </fields>
  2068. </register>
  2069. <register>
  2070. <dim>4</dim>
  2071. <dimIncrement>0x20</dimIncrement>
  2072. <dimIndex>0,1,2,3</dimIndex>
  2073. <name>TCD%s_SLAST</name>
  2074. <description>TCD Last Source Address Adjustment</description>
  2075. <addressOffset>0x100C</addressOffset>
  2076. <size>32</size>
  2077. <access>read-write</access>
  2078. <resetValue>0</resetValue>
  2079. <resetMask>0</resetMask>
  2080. <fields>
  2081. <field>
  2082. <name>SLAST</name>
  2083. <description>Last source Address Adjustment</description>
  2084. <bitOffset>0</bitOffset>
  2085. <bitWidth>32</bitWidth>
  2086. <access>read-write</access>
  2087. </field>
  2088. </fields>
  2089. </register>
  2090. <register>
  2091. <dim>4</dim>
  2092. <dimIncrement>0x20</dimIncrement>
  2093. <dimIndex>0,1,2,3</dimIndex>
  2094. <name>TCD%s_DADDR</name>
  2095. <description>TCD Destination Address</description>
  2096. <addressOffset>0x1010</addressOffset>
  2097. <size>32</size>
  2098. <access>read-write</access>
  2099. <resetValue>0</resetValue>
  2100. <resetMask>0</resetMask>
  2101. <fields>
  2102. <field>
  2103. <name>DADDR</name>
  2104. <description>Destination Address</description>
  2105. <bitOffset>0</bitOffset>
  2106. <bitWidth>32</bitWidth>
  2107. <access>read-write</access>
  2108. </field>
  2109. </fields>
  2110. </register>
  2111. <register>
  2112. <dim>4</dim>
  2113. <dimIncrement>0x20</dimIncrement>
  2114. <dimIndex>0,1,2,3</dimIndex>
  2115. <name>TCD%s_DOFF</name>
  2116. <description>TCD Signed Destination Address Offset</description>
  2117. <addressOffset>0x1014</addressOffset>
  2118. <size>16</size>
  2119. <access>read-write</access>
  2120. <resetValue>0</resetValue>
  2121. <resetMask>0</resetMask>
  2122. <fields>
  2123. <field>
  2124. <name>DOFF</name>
  2125. <description>Destination Address Signed offset</description>
  2126. <bitOffset>0</bitOffset>
  2127. <bitWidth>16</bitWidth>
  2128. <access>read-write</access>
  2129. </field>
  2130. </fields>
  2131. </register>
  2132. <register>
  2133. <dim>4</dim>
  2134. <dimIncrement>0x20</dimIncrement>
  2135. <dimIndex>0,1,2,3</dimIndex>
  2136. <name>TCD%s_CITER_ELINKNO</name>
  2137. <description>TCD Current Minor Loop Link, Major Loop Count (Channel Linking Disabled)</description>
  2138. <alternateGroup>DMA</alternateGroup>
  2139. <addressOffset>0x1016</addressOffset>
  2140. <size>16</size>
  2141. <access>read-write</access>
  2142. <resetValue>0</resetValue>
  2143. <resetMask>0</resetMask>
  2144. <fields>
  2145. <field>
  2146. <name>CITER</name>
  2147. <description>Current Major Iteration Count</description>
  2148. <bitOffset>0</bitOffset>
  2149. <bitWidth>15</bitWidth>
  2150. <access>read-write</access>
  2151. </field>
  2152. <field>
  2153. <name>ELINK</name>
  2154. <description>Enable channel-to-channel linking on minor-loop complete</description>
  2155. <bitOffset>15</bitOffset>
  2156. <bitWidth>1</bitWidth>
  2157. <access>read-write</access>
  2158. <enumeratedValues>
  2159. <enumeratedValue>
  2160. <name>0</name>
  2161. <description>The channel-to-channel linking is disabled</description>
  2162. <value>#0</value>
  2163. </enumeratedValue>
  2164. <enumeratedValue>
  2165. <name>1</name>
  2166. <description>The channel-to-channel linking is enabled</description>
  2167. <value>#1</value>
  2168. </enumeratedValue>
  2169. </enumeratedValues>
  2170. </field>
  2171. </fields>
  2172. </register>
  2173. <register>
  2174. <dim>4</dim>
  2175. <dimIncrement>0x20</dimIncrement>
  2176. <dimIndex>0,1,2,3</dimIndex>
  2177. <name>TCD%s_CITER_ELINKYES</name>
  2178. <description>TCD Current Minor Loop Link, Major Loop Count (Channel Linking Enabled)</description>
  2179. <alternateGroup>DMA</alternateGroup>
  2180. <addressOffset>0x1016</addressOffset>
  2181. <size>16</size>
  2182. <access>read-write</access>
  2183. <resetValue>0</resetValue>
  2184. <resetMask>0</resetMask>
  2185. <fields>
  2186. <field>
  2187. <name>CITER</name>
  2188. <description>Current Major Iteration Count</description>
  2189. <bitOffset>0</bitOffset>
  2190. <bitWidth>9</bitWidth>
  2191. <access>read-write</access>
  2192. </field>
  2193. <field>
  2194. <name>LINKCH</name>
  2195. <description>Link Channel Number</description>
  2196. <bitOffset>9</bitOffset>
  2197. <bitWidth>4</bitWidth>
  2198. <access>read-write</access>
  2199. </field>
  2200. <field>
  2201. <name>ELINK</name>
  2202. <description>Enable channel-to-channel linking on minor-loop complete</description>
  2203. <bitOffset>15</bitOffset>
  2204. <bitWidth>1</bitWidth>
  2205. <access>read-write</access>
  2206. <enumeratedValues>
  2207. <enumeratedValue>
  2208. <name>0</name>
  2209. <description>The channel-to-channel linking is disabled</description>
  2210. <value>#0</value>
  2211. </enumeratedValue>
  2212. <enumeratedValue>
  2213. <name>1</name>
  2214. <description>The channel-to-channel linking is enabled</description>
  2215. <value>#1</value>
  2216. </enumeratedValue>
  2217. </enumeratedValues>
  2218. </field>
  2219. </fields>
  2220. </register>
  2221. <register>
  2222. <dim>4</dim>
  2223. <dimIncrement>0x20</dimIncrement>
  2224. <dimIndex>0,1,2,3</dimIndex>
  2225. <name>TCD%s_DLASTSGA</name>
  2226. <description>TCD Last Destination Address Adjustment/Scatter Gather Address</description>
  2227. <addressOffset>0x1018</addressOffset>
  2228. <size>32</size>
  2229. <access>read-write</access>
  2230. <resetValue>0</resetValue>
  2231. <resetMask>0</resetMask>
  2232. <fields>
  2233. <field>
  2234. <name>DLASTSGA</name>
  2235. <description>no description available</description>
  2236. <bitOffset>0</bitOffset>
  2237. <bitWidth>32</bitWidth>
  2238. <access>read-write</access>
  2239. </field>
  2240. </fields>
  2241. </register>
  2242. <register>
  2243. <dim>4</dim>
  2244. <dimIncrement>0x20</dimIncrement>
  2245. <dimIndex>0,1,2,3</dimIndex>
  2246. <name>TCD%s_CSR</name>
  2247. <description>TCD Control and Status</description>
  2248. <addressOffset>0x101C</addressOffset>
  2249. <size>16</size>
  2250. <access>read-write</access>
  2251. <resetValue>0</resetValue>
  2252. <resetMask>0</resetMask>
  2253. <fields>
  2254. <field>
  2255. <name>START</name>
  2256. <description>Channel Start</description>
  2257. <bitOffset>0</bitOffset>
  2258. <bitWidth>1</bitWidth>
  2259. <access>read-write</access>
  2260. <enumeratedValues>
  2261. <enumeratedValue>
  2262. <name>0</name>
  2263. <description>The channel is not explicitly started</description>
  2264. <value>#0</value>
  2265. </enumeratedValue>
  2266. <enumeratedValue>
  2267. <name>1</name>
  2268. <description>The channel is explicitly started via a software initiated service request</description>
  2269. <value>#1</value>
  2270. </enumeratedValue>
  2271. </enumeratedValues>
  2272. </field>
  2273. <field>
  2274. <name>INTMAJOR</name>
  2275. <description>Enable an interrupt when major iteration count completes</description>
  2276. <bitOffset>1</bitOffset>
  2277. <bitWidth>1</bitWidth>
  2278. <access>read-write</access>
  2279. <enumeratedValues>
  2280. <enumeratedValue>
  2281. <name>0</name>
  2282. <description>The end-of-major loop interrupt is disabled</description>
  2283. <value>#0</value>
  2284. </enumeratedValue>
  2285. <enumeratedValue>
  2286. <name>1</name>
  2287. <description>The end-of-major loop interrupt is enabled</description>
  2288. <value>#1</value>
  2289. </enumeratedValue>
  2290. </enumeratedValues>
  2291. </field>
  2292. <field>
  2293. <name>INTHALF</name>
  2294. <description>Enable an interrupt when major counter is half complete.</description>
  2295. <bitOffset>2</bitOffset>
  2296. <bitWidth>1</bitWidth>
  2297. <access>read-write</access>
  2298. <enumeratedValues>
  2299. <enumeratedValue>
  2300. <name>0</name>
  2301. <description>The half-point interrupt is disabled</description>
  2302. <value>#0</value>
  2303. </enumeratedValue>
  2304. <enumeratedValue>
  2305. <name>1</name>
  2306. <description>The half-point interrupt is enabled</description>
  2307. <value>#1</value>
  2308. </enumeratedValue>
  2309. </enumeratedValues>
  2310. </field>
  2311. <field>
  2312. <name>DREQ</name>
  2313. <description>Disable Request</description>
  2314. <bitOffset>3</bitOffset>
  2315. <bitWidth>1</bitWidth>
  2316. <access>read-write</access>
  2317. <enumeratedValues>
  2318. <enumeratedValue>
  2319. <name>0</name>
  2320. <description>The channel&apos;s ERQ bit is not affected</description>
  2321. <value>#0</value>
  2322. </enumeratedValue>
  2323. <enumeratedValue>
  2324. <name>1</name>
  2325. <description>The channel&apos;s ERQ bit is cleared when the major loop is complete</description>
  2326. <value>#1</value>
  2327. </enumeratedValue>
  2328. </enumeratedValues>
  2329. </field>
  2330. <field>
  2331. <name>ESG</name>
  2332. <description>Enable Scatter/Gather Processing</description>
  2333. <bitOffset>4</bitOffset>
  2334. <bitWidth>1</bitWidth>
  2335. <access>read-write</access>
  2336. <enumeratedValues>
  2337. <enumeratedValue>
  2338. <name>0</name>
  2339. <description>The current channel&apos;s TCD is normal format.</description>
  2340. <value>#0</value>
  2341. </enumeratedValue>
  2342. <enumeratedValue>
  2343. <name>1</name>
  2344. <description>The current channel&apos;s TCD specifies a scatter gather format. The DLASTSGA field provides a memory pointer to the next TCD to be loaded into this channel after the major loop completes its execution.</description>
  2345. <value>#1</value>
  2346. </enumeratedValue>
  2347. </enumeratedValues>
  2348. </field>
  2349. <field>
  2350. <name>MAJORELINK</name>
  2351. <description>Enable channel-to-channel linking on major loop complete</description>
  2352. <bitOffset>5</bitOffset>
  2353. <bitWidth>1</bitWidth>
  2354. <access>read-write</access>
  2355. <enumeratedValues>
  2356. <enumeratedValue>
  2357. <name>0</name>
  2358. <description>The channel-to-channel linking is disabled</description>
  2359. <value>#0</value>
  2360. </enumeratedValue>
  2361. <enumeratedValue>
  2362. <name>1</name>
  2363. <description>The channel-to-channel linking is enabled</description>
  2364. <value>#1</value>
  2365. </enumeratedValue>
  2366. </enumeratedValues>
  2367. </field>
  2368. <field>
  2369. <name>ACTIVE</name>
  2370. <description>Channel Active</description>
  2371. <bitOffset>6</bitOffset>
  2372. <bitWidth>1</bitWidth>
  2373. <access>read-write</access>
  2374. </field>
  2375. <field>
  2376. <name>DONE</name>
  2377. <description>Channel Done</description>
  2378. <bitOffset>7</bitOffset>
  2379. <bitWidth>1</bitWidth>
  2380. <access>read-write</access>
  2381. </field>
  2382. <field>
  2383. <name>MAJORLINKCH</name>
  2384. <description>Link Channel Number</description>
  2385. <bitOffset>8</bitOffset>
  2386. <bitWidth>4</bitWidth>
  2387. <access>read-write</access>
  2388. </field>
  2389. <field>
  2390. <name>BWC</name>
  2391. <description>Bandwidth Control</description>
  2392. <bitOffset>14</bitOffset>
  2393. <bitWidth>2</bitWidth>
  2394. <access>read-write</access>
  2395. <enumeratedValues>
  2396. <enumeratedValue>
  2397. <name>00</name>
  2398. <description>No eDMA engine stalls</description>
  2399. <value>#00</value>
  2400. </enumeratedValue>
  2401. <enumeratedValue>
  2402. <name>10</name>
  2403. <description>eDMA engine stalls for 4 cycles after each r/w</description>
  2404. <value>#10</value>
  2405. </enumeratedValue>
  2406. <enumeratedValue>
  2407. <name>11</name>
  2408. <description>eDMA engine stalls for 8 cycles after each r/w</description>
  2409. <value>#11</value>
  2410. </enumeratedValue>
  2411. </enumeratedValues>
  2412. </field>
  2413. </fields>
  2414. </register>
  2415. <register>
  2416. <dim>4</dim>
  2417. <dimIncrement>0x20</dimIncrement>
  2418. <dimIndex>0,1,2,3</dimIndex>
  2419. <name>TCD%s_BITER_ELINKNO</name>
  2420. <description>TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Disabled)</description>
  2421. <alternateGroup>DMA</alternateGroup>
  2422. <addressOffset>0x101E</addressOffset>
  2423. <size>16</size>
  2424. <access>read-write</access>
  2425. <resetValue>0</resetValue>
  2426. <resetMask>0</resetMask>
  2427. <fields>
  2428. <field>
  2429. <name>BITER</name>
  2430. <description>Starting Major Iteration Count</description>
  2431. <bitOffset>0</bitOffset>
  2432. <bitWidth>15</bitWidth>
  2433. <access>read-write</access>
  2434. </field>
  2435. <field>
  2436. <name>ELINK</name>
  2437. <description>Enables channel-to-channel linking on minor loop complete</description>
  2438. <bitOffset>15</bitOffset>
  2439. <bitWidth>1</bitWidth>
  2440. <access>read-write</access>
  2441. <enumeratedValues>
  2442. <enumeratedValue>
  2443. <name>0</name>
  2444. <description>The channel-to-channel linking is disabled</description>
  2445. <value>#0</value>
  2446. </enumeratedValue>
  2447. <enumeratedValue>
  2448. <name>1</name>
  2449. <description>The channel-to-channel linking is enabled</description>
  2450. <value>#1</value>
  2451. </enumeratedValue>
  2452. </enumeratedValues>
  2453. </field>
  2454. </fields>
  2455. </register>
  2456. <register>
  2457. <dim>4</dim>
  2458. <dimIncrement>0x20</dimIncrement>
  2459. <dimIndex>0,1,2,3</dimIndex>
  2460. <name>TCD%s_BITER_ELINKYES</name>
  2461. <description>TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Enabled)</description>
  2462. <alternateGroup>DMA</alternateGroup>
  2463. <addressOffset>0x101E</addressOffset>
  2464. <size>16</size>
  2465. <access>read-write</access>
  2466. <resetValue>0</resetValue>
  2467. <resetMask>0</resetMask>
  2468. <fields>
  2469. <field>
  2470. <name>BITER</name>
  2471. <description>Starting Major Iteration Count</description>
  2472. <bitOffset>0</bitOffset>
  2473. <bitWidth>9</bitWidth>
  2474. <access>read-write</access>
  2475. </field>
  2476. <field>
  2477. <name>LINKCH</name>
  2478. <description>Link Channel Number</description>
  2479. <bitOffset>9</bitOffset>
  2480. <bitWidth>4</bitWidth>
  2481. <access>read-write</access>
  2482. </field>
  2483. <field>
  2484. <name>ELINK</name>
  2485. <description>Enables channel-to-channel linking on minor loop complete</description>
  2486. <bitOffset>15</bitOffset>
  2487. <bitWidth>1</bitWidth>
  2488. <access>read-write</access>
  2489. <enumeratedValues>
  2490. <enumeratedValue>
  2491. <name>0</name>
  2492. <description>The channel-to-channel linking is disabled</description>
  2493. <value>#0</value>
  2494. </enumeratedValue>
  2495. <enumeratedValue>
  2496. <name>1</name>
  2497. <description>The channel-to-channel linking is enabled</description>
  2498. <value>#1</value>
  2499. </enumeratedValue>
  2500. </enumeratedValues>
  2501. </field>
  2502. </fields>
  2503. </register>
  2504. </registers>
  2505. </peripheral>
  2506. <peripheral>
  2507. <name>FMC</name>
  2508. <description>Flash Memory Controller</description>
  2509. <prependToName>FMC_</prependToName>
  2510. <baseAddress>0x4001F000</baseAddress>
  2511. <addressBlock>
  2512. <offset>0</offset>
  2513. <size>0x2D0</size>
  2514. <usage>registers</usage>
  2515. </addressBlock>
  2516. <registers>
  2517. <register>
  2518. <name>PFAPR</name>
  2519. <description>Flash Access Protection Register</description>
  2520. <addressOffset>0</addressOffset>
  2521. <size>32</size>
  2522. <access>read-write</access>
  2523. <resetValue>0xF8003F</resetValue>
  2524. <resetMask>0xFFFFFFFF</resetMask>
  2525. <fields>
  2526. <field>
  2527. <name>M0AP</name>
  2528. <description>Master 0 Access Protection</description>
  2529. <bitOffset>0</bitOffset>
  2530. <bitWidth>2</bitWidth>
  2531. <access>read-write</access>
  2532. <enumeratedValues>
  2533. <enumeratedValue>
  2534. <name>00</name>
  2535. <description>No access may be performed by this master</description>
  2536. <value>#00</value>
  2537. </enumeratedValue>
  2538. <enumeratedValue>
  2539. <name>01</name>
  2540. <description>Only read accesses may be performed by this master</description>
  2541. <value>#01</value>
  2542. </enumeratedValue>
  2543. <enumeratedValue>
  2544. <name>10</name>
  2545. <description>Only write accesses may be performed by this master</description>
  2546. <value>#10</value>
  2547. </enumeratedValue>
  2548. <enumeratedValue>
  2549. <name>11</name>
  2550. <description>Both read and write accesses may be performed by this master</description>
  2551. <value>#11</value>
  2552. </enumeratedValue>
  2553. </enumeratedValues>
  2554. </field>
  2555. <field>
  2556. <name>M1AP</name>
  2557. <description>Master 1 Access Protection</description>
  2558. <bitOffset>2</bitOffset>
  2559. <bitWidth>2</bitWidth>
  2560. <access>read-write</access>
  2561. <enumeratedValues>
  2562. <enumeratedValue>
  2563. <name>00</name>
  2564. <description>No access may be performed by this master</description>
  2565. <value>#00</value>
  2566. </enumeratedValue>
  2567. <enumeratedValue>
  2568. <name>01</name>
  2569. <description>Only read accesses may be performed by this master</description>
  2570. <value>#01</value>
  2571. </enumeratedValue>
  2572. <enumeratedValue>
  2573. <name>10</name>
  2574. <description>Only write accesses may be performed by this master</description>
  2575. <value>#10</value>
  2576. </enumeratedValue>
  2577. <enumeratedValue>
  2578. <name>11</name>
  2579. <description>Both read and write accesses may be performed by this master</description>
  2580. <value>#11</value>
  2581. </enumeratedValue>
  2582. </enumeratedValues>
  2583. </field>
  2584. <field>
  2585. <name>M2AP</name>
  2586. <description>Master 2 Access Protection</description>
  2587. <bitOffset>4</bitOffset>
  2588. <bitWidth>2</bitWidth>
  2589. <access>read-write</access>
  2590. <enumeratedValues>
  2591. <enumeratedValue>
  2592. <name>00</name>
  2593. <description>No access may be performed by this master</description>
  2594. <value>#00</value>
  2595. </enumeratedValue>
  2596. <enumeratedValue>
  2597. <name>01</name>
  2598. <description>Only read accesses may be performed by this master</description>
  2599. <value>#01</value>
  2600. </enumeratedValue>
  2601. <enumeratedValue>
  2602. <name>10</name>
  2603. <description>Only write accesses may be performed by this master</description>
  2604. <value>#10</value>
  2605. </enumeratedValue>
  2606. <enumeratedValue>
  2607. <name>11</name>
  2608. <description>Both read and write accesses may be performed by this master</description>
  2609. <value>#11</value>
  2610. </enumeratedValue>
  2611. </enumeratedValues>
  2612. </field>
  2613. <field>
  2614. <name>M3AP</name>
  2615. <description>Master 3 Access Protection</description>
  2616. <bitOffset>6</bitOffset>
  2617. <bitWidth>2</bitWidth>
  2618. <access>read-write</access>
  2619. <enumeratedValues>
  2620. <enumeratedValue>
  2621. <name>00</name>
  2622. <description>No access may be performed by this master</description>
  2623. <value>#00</value>
  2624. </enumeratedValue>
  2625. <enumeratedValue>
  2626. <name>01</name>
  2627. <description>Only read accesses may be performed by this master</description>
  2628. <value>#01</value>
  2629. </enumeratedValue>
  2630. <enumeratedValue>
  2631. <name>10</name>
  2632. <description>Only write accesses may be performed by this master</description>
  2633. <value>#10</value>
  2634. </enumeratedValue>
  2635. <enumeratedValue>
  2636. <name>11</name>
  2637. <description>Both read and write accesses may be performed by this master</description>
  2638. <value>#11</value>
  2639. </enumeratedValue>
  2640. </enumeratedValues>
  2641. </field>
  2642. <field>
  2643. <name>M0PFD</name>
  2644. <description>Master 0 Prefetch Disable</description>
  2645. <bitOffset>16</bitOffset>
  2646. <bitWidth>1</bitWidth>
  2647. <access>read-write</access>
  2648. <enumeratedValues>
  2649. <enumeratedValue>
  2650. <name>0</name>
  2651. <description>Prefetching for this master is enabled.</description>
  2652. <value>#0</value>
  2653. </enumeratedValue>
  2654. <enumeratedValue>
  2655. <name>1</name>
  2656. <description>Prefetching for this master is disabled.</description>
  2657. <value>#1</value>
  2658. </enumeratedValue>
  2659. </enumeratedValues>
  2660. </field>
  2661. <field>
  2662. <name>M1PFD</name>
  2663. <description>Master 1 Prefetch Disable</description>
  2664. <bitOffset>17</bitOffset>
  2665. <bitWidth>1</bitWidth>
  2666. <access>read-write</access>
  2667. <enumeratedValues>
  2668. <enumeratedValue>
  2669. <name>0</name>
  2670. <description>Prefetching for this master is enabled.</description>
  2671. <value>#0</value>
  2672. </enumeratedValue>
  2673. <enumeratedValue>
  2674. <name>1</name>
  2675. <description>Prefetching for this master is disabled.</description>
  2676. <value>#1</value>
  2677. </enumeratedValue>
  2678. </enumeratedValues>
  2679. </field>
  2680. <field>
  2681. <name>M2PFD</name>
  2682. <description>Master 2 Prefetch Disable</description>
  2683. <bitOffset>18</bitOffset>
  2684. <bitWidth>1</bitWidth>
  2685. <access>read-write</access>
  2686. <enumeratedValues>
  2687. <enumeratedValue>
  2688. <name>0</name>
  2689. <description>Prefetching for this master is enabled.</description>
  2690. <value>#0</value>
  2691. </enumeratedValue>
  2692. <enumeratedValue>
  2693. <name>1</name>
  2694. <description>Prefetching for this master is disabled.</description>
  2695. <value>#1</value>
  2696. </enumeratedValue>
  2697. </enumeratedValues>
  2698. </field>
  2699. <field>
  2700. <name>M3PFD</name>
  2701. <description>Master 3 Prefetch Disable</description>
  2702. <bitOffset>19</bitOffset>
  2703. <bitWidth>1</bitWidth>
  2704. <access>read-write</access>
  2705. <enumeratedValues>
  2706. <enumeratedValue>
  2707. <name>0</name>
  2708. <description>Prefetching for this master is enabled.</description>
  2709. <value>#0</value>
  2710. </enumeratedValue>
  2711. <enumeratedValue>
  2712. <name>1</name>
  2713. <description>Prefetching for this master is disabled.</description>
  2714. <value>#1</value>
  2715. </enumeratedValue>
  2716. </enumeratedValues>
  2717. </field>
  2718. </fields>
  2719. </register>
  2720. <register>
  2721. <name>PFB0CR</name>
  2722. <description>Flash Control Register</description>
  2723. <addressOffset>0x4</addressOffset>
  2724. <size>32</size>
  2725. <access>read-write</access>
  2726. <resetValue>0x3000001F</resetValue>
  2727. <resetMask>0xFFFFFFFF</resetMask>
  2728. <fields>
  2729. <field>
  2730. <name>B0SEBE</name>
  2731. <description>Single Entry Buffer Enable</description>
  2732. <bitOffset>0</bitOffset>
  2733. <bitWidth>1</bitWidth>
  2734. <access>read-write</access>
  2735. <enumeratedValues>
  2736. <enumeratedValue>
  2737. <name>0</name>
  2738. <description>Single entry buffer is disabled.</description>
  2739. <value>#0</value>
  2740. </enumeratedValue>
  2741. <enumeratedValue>
  2742. <name>1</name>
  2743. <description>Single entry buffer is enabled.</description>
  2744. <value>#1</value>
  2745. </enumeratedValue>
  2746. </enumeratedValues>
  2747. </field>
  2748. <field>
  2749. <name>B0IPE</name>
  2750. <description>Instruction Prefetch Enable</description>
  2751. <bitOffset>1</bitOffset>
  2752. <bitWidth>1</bitWidth>
  2753. <access>read-write</access>
  2754. <enumeratedValues>
  2755. <enumeratedValue>
  2756. <name>0</name>
  2757. <description>Do not prefetch in response to instruction fetches.</description>
  2758. <value>#0</value>
  2759. </enumeratedValue>
  2760. <enumeratedValue>
  2761. <name>1</name>
  2762. <description>Enable prefetches in response to instruction fetches.</description>
  2763. <value>#1</value>
  2764. </enumeratedValue>
  2765. </enumeratedValues>
  2766. </field>
  2767. <field>
  2768. <name>B0DPE</name>
  2769. <description>Data Prefetch Enable</description>
  2770. <bitOffset>2</bitOffset>
  2771. <bitWidth>1</bitWidth>
  2772. <access>read-write</access>
  2773. <enumeratedValues>
  2774. <enumeratedValue>
  2775. <name>0</name>
  2776. <description>Do not prefetch in response to data references.</description>
  2777. <value>#0</value>
  2778. </enumeratedValue>
  2779. <enumeratedValue>
  2780. <name>1</name>
  2781. <description>Enable prefetches in response to data references.</description>
  2782. <value>#1</value>
  2783. </enumeratedValue>
  2784. </enumeratedValues>
  2785. </field>
  2786. <field>
  2787. <name>B0ICE</name>
  2788. <description>Instruction Cache Enable</description>
  2789. <bitOffset>3</bitOffset>
  2790. <bitWidth>1</bitWidth>
  2791. <access>read-write</access>
  2792. <enumeratedValues>
  2793. <enumeratedValue>
  2794. <name>0</name>
  2795. <description>Do not cache instruction fetches.</description>
  2796. <value>#0</value>
  2797. </enumeratedValue>
  2798. <enumeratedValue>
  2799. <name>1</name>
  2800. <description>Cache instruction fetches.</description>
  2801. <value>#1</value>
  2802. </enumeratedValue>
  2803. </enumeratedValues>
  2804. </field>
  2805. <field>
  2806. <name>B0DCE</name>
  2807. <description>Data Cache Enable</description>
  2808. <bitOffset>4</bitOffset>
  2809. <bitWidth>1</bitWidth>
  2810. <access>read-write</access>
  2811. <enumeratedValues>
  2812. <enumeratedValue>
  2813. <name>0</name>
  2814. <description>Do not cache data references.</description>
  2815. <value>#0</value>
  2816. </enumeratedValue>
  2817. <enumeratedValue>
  2818. <name>1</name>
  2819. <description>Cache data references.</description>
  2820. <value>#1</value>
  2821. </enumeratedValue>
  2822. </enumeratedValues>
  2823. </field>
  2824. <field>
  2825. <name>CRC</name>
  2826. <description>Cache Replacement Control</description>
  2827. <bitOffset>5</bitOffset>
  2828. <bitWidth>3</bitWidth>
  2829. <access>read-write</access>
  2830. <enumeratedValues>
  2831. <enumeratedValue>
  2832. <name>000</name>
  2833. <description>LRU replacement algorithm per set across all four ways</description>
  2834. <value>#000</value>
  2835. </enumeratedValue>
  2836. <enumeratedValue>
  2837. <name>010</name>
  2838. <description>Independent LRU with ways [0-1] for ifetches, [2-3] for data</description>
  2839. <value>#010</value>
  2840. </enumeratedValue>
  2841. <enumeratedValue>
  2842. <name>011</name>
  2843. <description>Independent LRU with ways [0-2] for ifetches, [3] for data</description>
  2844. <value>#011</value>
  2845. </enumeratedValue>
  2846. </enumeratedValues>
  2847. </field>
  2848. <field>
  2849. <name>B0MW</name>
  2850. <description>Memory Width</description>
  2851. <bitOffset>17</bitOffset>
  2852. <bitWidth>2</bitWidth>
  2853. <access>read-only</access>
  2854. <enumeratedValues>
  2855. <enumeratedValue>
  2856. <name>00</name>
  2857. <description>32 bits</description>
  2858. <value>#00</value>
  2859. </enumeratedValue>
  2860. <enumeratedValue>
  2861. <name>01</name>
  2862. <description>64 bits</description>
  2863. <value>#01</value>
  2864. </enumeratedValue>
  2865. </enumeratedValues>
  2866. </field>
  2867. <field>
  2868. <name>S_B_INV</name>
  2869. <description>Invalidate Prefetch Speculation Buffer</description>
  2870. <bitOffset>19</bitOffset>
  2871. <bitWidth>1</bitWidth>
  2872. <access>write-only</access>
  2873. <enumeratedValues>
  2874. <enumeratedValue>
  2875. <name>0</name>
  2876. <description>Speculation buffer and single entry buffer are not affected.</description>
  2877. <value>#0</value>
  2878. </enumeratedValue>
  2879. <enumeratedValue>
  2880. <name>1</name>
  2881. <description>Invalidate (clear) speculation buffer and single entry buffer.</description>
  2882. <value>#1</value>
  2883. </enumeratedValue>
  2884. </enumeratedValues>
  2885. </field>
  2886. <field>
  2887. <name>CINV_WAY</name>
  2888. <description>Cache Invalidate Way x</description>
  2889. <bitOffset>20</bitOffset>
  2890. <bitWidth>4</bitWidth>
  2891. <access>write-only</access>
  2892. <enumeratedValues>
  2893. <enumeratedValue>
  2894. <name>0</name>
  2895. <description>No cache way invalidation for the corresponding cache</description>
  2896. <value>#0000</value>
  2897. </enumeratedValue>
  2898. <enumeratedValue>
  2899. <name>1</name>
  2900. <description>Invalidate cache way for the corresponding cache: clear the tag, data, and vld bits of ways selected</description>
  2901. <value>#0001</value>
  2902. </enumeratedValue>
  2903. </enumeratedValues>
  2904. </field>
  2905. <field>
  2906. <name>CLCK_WAY</name>
  2907. <description>Cache Lock Way x</description>
  2908. <bitOffset>24</bitOffset>
  2909. <bitWidth>4</bitWidth>
  2910. <access>read-write</access>
  2911. <enumeratedValues>
  2912. <enumeratedValue>
  2913. <name>0</name>
  2914. <description>Cache way is unlocked and may be displaced</description>
  2915. <value>#0000</value>
  2916. </enumeratedValue>
  2917. <enumeratedValue>
  2918. <name>1</name>
  2919. <description>Cache way is locked and its contents are not displaced</description>
  2920. <value>#0001</value>
  2921. </enumeratedValue>
  2922. </enumeratedValues>
  2923. </field>
  2924. <field>
  2925. <name>B0RWSC</name>
  2926. <description>Read Wait State Control</description>
  2927. <bitOffset>28</bitOffset>
  2928. <bitWidth>4</bitWidth>
  2929. <access>read-only</access>
  2930. </field>
  2931. </fields>
  2932. </register>
  2933. <register>
  2934. <dim>2</dim>
  2935. <dimIncrement>0x4</dimIncrement>
  2936. <dimIndex>0,1</dimIndex>
  2937. <name>TAGVDW0S%s</name>
  2938. <description>Cache Tag Storage</description>
  2939. <addressOffset>0x100</addressOffset>
  2940. <size>32</size>
  2941. <access>read-write</access>
  2942. <resetValue>0</resetValue>
  2943. <resetMask>0xFFFFFFFF</resetMask>
  2944. <fields>
  2945. <field>
  2946. <name>valid</name>
  2947. <description>1-bit valid for cache entry</description>
  2948. <bitOffset>0</bitOffset>
  2949. <bitWidth>1</bitWidth>
  2950. <access>read-write</access>
  2951. </field>
  2952. <field>
  2953. <name>tag</name>
  2954. <description>13-bit tag for cache entry</description>
  2955. <bitOffset>6</bitOffset>
  2956. <bitWidth>13</bitWidth>
  2957. <access>read-write</access>
  2958. </field>
  2959. </fields>
  2960. </register>
  2961. <register>
  2962. <dim>2</dim>
  2963. <dimIncrement>0x4</dimIncrement>
  2964. <dimIndex>0,1</dimIndex>
  2965. <name>TAGVDW1S%s</name>
  2966. <description>Cache Tag Storage</description>
  2967. <addressOffset>0x120</addressOffset>
  2968. <size>32</size>
  2969. <access>read-write</access>
  2970. <resetValue>0</resetValue>
  2971. <resetMask>0xFFFFFFFF</resetMask>
  2972. <fields>
  2973. <field>
  2974. <name>valid</name>
  2975. <description>1-bit valid for cache entry</description>
  2976. <bitOffset>0</bitOffset>
  2977. <bitWidth>1</bitWidth>
  2978. <access>read-write</access>
  2979. </field>
  2980. <field>
  2981. <name>tag</name>
  2982. <description>13-bit tag for cache entry</description>
  2983. <bitOffset>6</bitOffset>
  2984. <bitWidth>13</bitWidth>
  2985. <access>read-write</access>
  2986. </field>
  2987. </fields>
  2988. </register>
  2989. <register>
  2990. <dim>2</dim>
  2991. <dimIncrement>0x4</dimIncrement>
  2992. <dimIndex>0,1</dimIndex>
  2993. <name>TAGVDW2S%s</name>
  2994. <description>Cache Tag Storage</description>
  2995. <addressOffset>0x140</addressOffset>
  2996. <size>32</size>
  2997. <access>read-write</access>
  2998. <resetValue>0</resetValue>
  2999. <resetMask>0xFFFFFFFF</resetMask>
  3000. <fields>
  3001. <field>
  3002. <name>valid</name>
  3003. <description>1-bit valid for cache entry</description>
  3004. <bitOffset>0</bitOffset>
  3005. <bitWidth>1</bitWidth>
  3006. <access>read-write</access>
  3007. </field>
  3008. <field>
  3009. <name>tag</name>
  3010. <description>13-bit tag for cache entry</description>
  3011. <bitOffset>6</bitOffset>
  3012. <bitWidth>13</bitWidth>
  3013. <access>read-write</access>
  3014. </field>
  3015. </fields>
  3016. </register>
  3017. <register>
  3018. <dim>2</dim>
  3019. <dimIncrement>0x4</dimIncrement>
  3020. <dimIndex>0,1</dimIndex>
  3021. <name>TAGVDW3S%s</name>
  3022. <description>Cache Tag Storage</description>
  3023. <addressOffset>0x160</addressOffset>
  3024. <size>32</size>
  3025. <access>read-write</access>
  3026. <resetValue>0</resetValue>
  3027. <resetMask>0xFFFFFFFF</resetMask>
  3028. <fields>
  3029. <field>
  3030. <name>valid</name>
  3031. <description>1-bit valid for cache entry</description>
  3032. <bitOffset>0</bitOffset>
  3033. <bitWidth>1</bitWidth>
  3034. <access>read-write</access>
  3035. </field>
  3036. <field>
  3037. <name>tag</name>
  3038. <description>13-bit tag for cache entry</description>
  3039. <bitOffset>6</bitOffset>
  3040. <bitWidth>13</bitWidth>
  3041. <access>read-write</access>
  3042. </field>
  3043. </fields>
  3044. </register>
  3045. <register>
  3046. <dim>2</dim>
  3047. <dimIncrement>0x8</dimIncrement>
  3048. <dimIndex>0,1</dimIndex>
  3049. <name>DATAW0S%s</name>
  3050. <description>Cache Data Storage</description>
  3051. <addressOffset>0x204</addressOffset>
  3052. <size>32</size>
  3053. <access>read-write</access>
  3054. <resetValue>0</resetValue>
  3055. <resetMask>0xFFFFFFFF</resetMask>
  3056. <fields>
  3057. <field>
  3058. <name>data</name>
  3059. <description>Bits [31:0] of data entry</description>
  3060. <bitOffset>0</bitOffset>
  3061. <bitWidth>32</bitWidth>
  3062. <access>read-write</access>
  3063. </field>
  3064. </fields>
  3065. </register>
  3066. <register>
  3067. <dim>2</dim>
  3068. <dimIncrement>0x8</dimIncrement>
  3069. <dimIndex>0,1</dimIndex>
  3070. <name>DATAW1S%s</name>
  3071. <description>Cache Data Storage</description>
  3072. <addressOffset>0x244</addressOffset>
  3073. <size>32</size>
  3074. <access>read-write</access>
  3075. <resetValue>0</resetValue>
  3076. <resetMask>0xFFFFFFFF</resetMask>
  3077. <fields>
  3078. <field>
  3079. <name>data</name>
  3080. <description>Bits [31:0] of data entry</description>
  3081. <bitOffset>0</bitOffset>
  3082. <bitWidth>32</bitWidth>
  3083. <access>read-write</access>
  3084. </field>
  3085. </fields>
  3086. </register>
  3087. <register>
  3088. <dim>2</dim>
  3089. <dimIncrement>0x8</dimIncrement>
  3090. <dimIndex>0,1</dimIndex>
  3091. <name>DATAW2S%s</name>
  3092. <description>Cache Data Storage</description>
  3093. <addressOffset>0x284</addressOffset>
  3094. <size>32</size>
  3095. <access>read-write</access>
  3096. <resetValue>0</resetValue>
  3097. <resetMask>0xFFFFFFFF</resetMask>
  3098. <fields>
  3099. <field>
  3100. <name>data</name>
  3101. <description>Bits [31:0] of data entry</description>
  3102. <bitOffset>0</bitOffset>
  3103. <bitWidth>32</bitWidth>
  3104. <access>read-write</access>
  3105. </field>
  3106. </fields>
  3107. </register>
  3108. <register>
  3109. <dim>2</dim>
  3110. <dimIncrement>0x8</dimIncrement>
  3111. <dimIndex>0,1</dimIndex>
  3112. <name>DATAW3S%s</name>
  3113. <description>Cache Data Storage</description>
  3114. <addressOffset>0x2C4</addressOffset>
  3115. <size>32</size>
  3116. <access>read-write</access>
  3117. <resetValue>0</resetValue>
  3118. <resetMask>0xFFFFFFFF</resetMask>
  3119. <fields>
  3120. <field>
  3121. <name>data</name>
  3122. <description>Bits [31:0] of data entry</description>
  3123. <bitOffset>0</bitOffset>
  3124. <bitWidth>32</bitWidth>
  3125. <access>read-write</access>
  3126. </field>
  3127. </fields>
  3128. </register>
  3129. </registers>
  3130. </peripheral>
  3131. <peripheral>
  3132. <name>FTFL</name>
  3133. <description>Flash Memory Interface</description>
  3134. <prependToName>FTFL_</prependToName>
  3135. <baseAddress>0x40020000</baseAddress>
  3136. <addressBlock>
  3137. <offset>0</offset>
  3138. <size>0x18</size>
  3139. <usage>registers</usage>
  3140. </addressBlock>
  3141. <interrupt>
  3142. <name>FTFL</name>
  3143. <value>6</value>
  3144. </interrupt>
  3145. <interrupt>
  3146. <name>Read_Collision</name>
  3147. <value>7</value>
  3148. </interrupt>
  3149. <registers>
  3150. <register>
  3151. <name>FSTAT</name>
  3152. <description>Flash Status Register</description>
  3153. <addressOffset>0</addressOffset>
  3154. <size>8</size>
  3155. <access>read-write</access>
  3156. <resetValue>0</resetValue>
  3157. <resetMask>0xFF</resetMask>
  3158. <fields>
  3159. <field>
  3160. <name>MGSTAT0</name>
  3161. <description>Memory Controller Command Completion Status Flag</description>
  3162. <bitOffset>0</bitOffset>
  3163. <bitWidth>1</bitWidth>
  3164. <access>read-only</access>
  3165. </field>
  3166. <field>
  3167. <name>FPVIOL</name>
  3168. <description>Flash Protection Violation Flag</description>
  3169. <bitOffset>4</bitOffset>
  3170. <bitWidth>1</bitWidth>
  3171. <access>read-write</access>
  3172. <enumeratedValues>
  3173. <enumeratedValue>
  3174. <name>0</name>
  3175. <description>No protection violation detected</description>
  3176. <value>#0</value>
  3177. </enumeratedValue>
  3178. <enumeratedValue>
  3179. <name>1</name>
  3180. <description>Protection violation detected</description>
  3181. <value>#1</value>
  3182. </enumeratedValue>
  3183. </enumeratedValues>
  3184. </field>
  3185. <field>
  3186. <name>ACCERR</name>
  3187. <description>Flash Access Error Flag</description>
  3188. <bitOffset>5</bitOffset>
  3189. <bitWidth>1</bitWidth>
  3190. <access>read-write</access>
  3191. <enumeratedValues>
  3192. <enumeratedValue>
  3193. <name>0</name>
  3194. <description>No access error detected</description>
  3195. <value>#0</value>
  3196. </enumeratedValue>
  3197. <enumeratedValue>
  3198. <name>1</name>
  3199. <description>Access error detected</description>
  3200. <value>#1</value>
  3201. </enumeratedValue>
  3202. </enumeratedValues>
  3203. </field>
  3204. <field>
  3205. <name>RDCOLERR</name>
  3206. <description>FTFL Read Collision Error Flag</description>
  3207. <bitOffset>6</bitOffset>
  3208. <bitWidth>1</bitWidth>
  3209. <access>read-write</access>
  3210. <enumeratedValues>
  3211. <enumeratedValue>
  3212. <name>0</name>
  3213. <description>No collision error detected</description>
  3214. <value>#0</value>
  3215. </enumeratedValue>
  3216. <enumeratedValue>
  3217. <name>1</name>
  3218. <description>Collision error detected</description>
  3219. <value>#1</value>
  3220. </enumeratedValue>
  3221. </enumeratedValues>
  3222. </field>
  3223. <field>
  3224. <name>CCIF</name>
  3225. <description>Command Complete Interrupt Flag</description>
  3226. <bitOffset>7</bitOffset>
  3227. <bitWidth>1</bitWidth>
  3228. <access>read-write</access>
  3229. <enumeratedValues>
  3230. <enumeratedValue>
  3231. <name>0</name>
  3232. <description>FTFL command or EEPROM file system operation in progress</description>
  3233. <value>#0</value>
  3234. </enumeratedValue>
  3235. <enumeratedValue>
  3236. <name>1</name>
  3237. <description>FTFL command or EEPROM file system operation has completed</description>
  3238. <value>#1</value>
  3239. </enumeratedValue>
  3240. </enumeratedValues>
  3241. </field>
  3242. </fields>
  3243. </register>
  3244. <register>
  3245. <name>FCNFG</name>
  3246. <description>Flash Configuration Register</description>
  3247. <addressOffset>0x1</addressOffset>
  3248. <size>8</size>
  3249. <access>read-write</access>
  3250. <resetValue>0</resetValue>
  3251. <resetMask>0xFF</resetMask>
  3252. <fields>
  3253. <field>
  3254. <name>EEERDY</name>
  3255. <description>This flag indicates if the EEPROM backup data has been copied to the FlexRAM and is therefore available for read access</description>
  3256. <bitOffset>0</bitOffset>
  3257. <bitWidth>1</bitWidth>
  3258. <access>read-only</access>
  3259. <enumeratedValues>
  3260. <enumeratedValue>
  3261. <name>0</name>
  3262. <description>FlexRAM is not available for EEPROM operation.</description>
  3263. <value>#0</value>
  3264. </enumeratedValue>
  3265. <enumeratedValue>
  3266. <name>1</name>
  3267. <description>FlexRAM is available for EEPROM operations where: reads from the FlexRAM return data previously written to the FlexRAM in EEPROM mode and writes to the FlexRAM clear EEERDY and launch an EEPROM operation to store the written data in the FlexRAM and EEPROM backup.</description>
  3268. <value>#1</value>
  3269. </enumeratedValue>
  3270. </enumeratedValues>
  3271. </field>
  3272. <field>
  3273. <name>RAMRDY</name>
  3274. <description>RAM Ready</description>
  3275. <bitOffset>1</bitOffset>
  3276. <bitWidth>1</bitWidth>
  3277. <access>read-only</access>
  3278. <enumeratedValues>
  3279. <enumeratedValue>
  3280. <name>0</name>
  3281. <description>FlexRAM is not available for traditional RAM access.</description>
  3282. <value>#0</value>
  3283. </enumeratedValue>
  3284. <enumeratedValue>
  3285. <name>1</name>
  3286. <description>FlexRAM is available as traditional RAM only; writes to the FlexRAM do not trigger EEPROM operations.</description>
  3287. <value>#1</value>
  3288. </enumeratedValue>
  3289. </enumeratedValues>
  3290. </field>
  3291. <field>
  3292. <name>PFLSH</name>
  3293. <description>FTFL configuration</description>
  3294. <bitOffset>2</bitOffset>
  3295. <bitWidth>1</bitWidth>
  3296. <access>read-only</access>
  3297. <enumeratedValues>
  3298. <enumeratedValue>
  3299. <name>0</name>
  3300. <description>FTFL configured for FlexMemory that supports data flash and/or EEPROM</description>
  3301. <value>#0</value>
  3302. </enumeratedValue>
  3303. </enumeratedValues>
  3304. </field>
  3305. <field>
  3306. <name>ERSSUSP</name>
  3307. <description>Erase Suspend</description>
  3308. <bitOffset>4</bitOffset>
  3309. <bitWidth>1</bitWidth>
  3310. <access>read-write</access>
  3311. <enumeratedValues>
  3312. <enumeratedValue>
  3313. <name>0</name>
  3314. <description>No suspend requested</description>
  3315. <value>#0</value>
  3316. </enumeratedValue>
  3317. <enumeratedValue>
  3318. <name>1</name>
  3319. <description>Suspend the current Erase Flash Sector command execution.</description>
  3320. <value>#1</value>
  3321. </enumeratedValue>
  3322. </enumeratedValues>
  3323. </field>
  3324. <field>
  3325. <name>ERSAREQ</name>
  3326. <description>Erase All Request</description>
  3327. <bitOffset>5</bitOffset>
  3328. <bitWidth>1</bitWidth>
  3329. <access>read-only</access>
  3330. <enumeratedValues>
  3331. <enumeratedValue>
  3332. <name>0</name>
  3333. <description>No request or request complete</description>
  3334. <value>#0</value>
  3335. </enumeratedValue>
  3336. <enumeratedValue>
  3337. <name>1</name>
  3338. <description>Request to: run the Erase All Blocks command, verify the erased state, program the security byte in the Flash Configuration Field to the unsecure state, and release MCU security by setting the FSEC[SEC] field to the unsecure state.</description>
  3339. <value>#1</value>
  3340. </enumeratedValue>
  3341. </enumeratedValues>
  3342. </field>
  3343. <field>
  3344. <name>RDCOLLIE</name>
  3345. <description>Read Collision Error Interrupt Enable</description>
  3346. <bitOffset>6</bitOffset>
  3347. <bitWidth>1</bitWidth>
  3348. <access>read-write</access>
  3349. <enumeratedValues>
  3350. <enumeratedValue>
  3351. <name>0</name>
  3352. <description>Read collision error interrupt disabled</description>
  3353. <value>#0</value>
  3354. </enumeratedValue>
  3355. <enumeratedValue>
  3356. <name>1</name>
  3357. <description>Read collision error interrupt enabled. An interrupt request is generated whenever an FTFL read collision error is detected (see the description of FSTAT[RDCOLERR]).</description>
  3358. <value>#1</value>
  3359. </enumeratedValue>
  3360. </enumeratedValues>
  3361. </field>
  3362. <field>
  3363. <name>CCIE</name>
  3364. <description>Command Complete Interrupt Enable</description>
  3365. <bitOffset>7</bitOffset>
  3366. <bitWidth>1</bitWidth>
  3367. <access>read-write</access>
  3368. <enumeratedValues>
  3369. <enumeratedValue>
  3370. <name>0</name>
  3371. <description>Command complete interrupt disabled</description>
  3372. <value>#0</value>
  3373. </enumeratedValue>
  3374. <enumeratedValue>
  3375. <name>1</name>
  3376. <description>Command complete interrupt enabled. An interrupt request is generated whenever the FSTAT[CCIF] flag is set.</description>
  3377. <value>#1</value>
  3378. </enumeratedValue>
  3379. </enumeratedValues>
  3380. </field>
  3381. </fields>
  3382. </register>
  3383. <register>
  3384. <name>FSEC</name>
  3385. <description>Flash Security Register</description>
  3386. <addressOffset>0x2</addressOffset>
  3387. <size>8</size>
  3388. <access>read-only</access>
  3389. <resetValue>0</resetValue>
  3390. <resetMask>0</resetMask>
  3391. <fields>
  3392. <field>
  3393. <name>SEC</name>
  3394. <description>Flash Security</description>
  3395. <bitOffset>0</bitOffset>
  3396. <bitWidth>2</bitWidth>
  3397. <access>read-only</access>
  3398. <enumeratedValues>
  3399. <enumeratedValue>
  3400. <name>00</name>
  3401. <description>MCU security status is secure</description>
  3402. <value>#00</value>
  3403. </enumeratedValue>
  3404. <enumeratedValue>
  3405. <name>01</name>
  3406. <description>MCU security status is secure</description>
  3407. <value>#01</value>
  3408. </enumeratedValue>
  3409. <enumeratedValue>
  3410. <name>10</name>
  3411. <description>MCU security status is unsecure (The standard shipping condition of the FTFL is unsecure.)</description>
  3412. <value>#10</value>
  3413. </enumeratedValue>
  3414. <enumeratedValue>
  3415. <name>11</name>
  3416. <description>MCU security status is secure</description>
  3417. <value>#11</value>
  3418. </enumeratedValue>
  3419. </enumeratedValues>
  3420. </field>
  3421. <field>
  3422. <name>FSLACC</name>
  3423. <description>Freescale Failure Analysis Access Code</description>
  3424. <bitOffset>2</bitOffset>
  3425. <bitWidth>2</bitWidth>
  3426. <access>read-only</access>
  3427. <enumeratedValues>
  3428. <enumeratedValue>
  3429. <name>00</name>
  3430. <description>Freescale factory access granted</description>
  3431. <value>#00</value>
  3432. </enumeratedValue>
  3433. <enumeratedValue>
  3434. <name>01</name>
  3435. <description>Freescale factory access denied</description>
  3436. <value>#01</value>
  3437. </enumeratedValue>
  3438. <enumeratedValue>
  3439. <name>10</name>
  3440. <description>Freescale factory access denied</description>
  3441. <value>#10</value>
  3442. </enumeratedValue>
  3443. <enumeratedValue>
  3444. <name>11</name>
  3445. <description>Freescale factory access granted</description>
  3446. <value>#11</value>
  3447. </enumeratedValue>
  3448. </enumeratedValues>
  3449. </field>
  3450. <field>
  3451. <name>MEEN</name>
  3452. <description>Mass Erase Enable Bits</description>
  3453. <bitOffset>4</bitOffset>
  3454. <bitWidth>2</bitWidth>
  3455. <access>read-only</access>
  3456. <enumeratedValues>
  3457. <enumeratedValue>
  3458. <name>00</name>
  3459. <description>Mass erase is enabled</description>
  3460. <value>#00</value>
  3461. </enumeratedValue>
  3462. <enumeratedValue>
  3463. <name>01</name>
  3464. <description>Mass erase is enabled</description>
  3465. <value>#01</value>
  3466. </enumeratedValue>
  3467. <enumeratedValue>
  3468. <name>10</name>
  3469. <description>Mass erase is disabled</description>
  3470. <value>#10</value>
  3471. </enumeratedValue>
  3472. <enumeratedValue>
  3473. <name>11</name>
  3474. <description>Mass erase is enabled</description>
  3475. <value>#11</value>
  3476. </enumeratedValue>
  3477. </enumeratedValues>
  3478. </field>
  3479. <field>
  3480. <name>KEYEN</name>
  3481. <description>Backdoor Key Security Enable</description>
  3482. <bitOffset>6</bitOffset>
  3483. <bitWidth>2</bitWidth>
  3484. <access>read-only</access>
  3485. <enumeratedValues>
  3486. <enumeratedValue>
  3487. <name>00</name>
  3488. <description>Backdoor key access disabled</description>
  3489. <value>#00</value>
  3490. </enumeratedValue>
  3491. <enumeratedValue>
  3492. <name>01</name>
  3493. <description>Backdoor key access disabled (preferred KEYEN state to disable backdoor key access)</description>
  3494. <value>#01</value>
  3495. </enumeratedValue>
  3496. <enumeratedValue>
  3497. <name>10</name>
  3498. <description>Backdoor key access enabled</description>
  3499. <value>#10</value>
  3500. </enumeratedValue>
  3501. <enumeratedValue>
  3502. <name>11</name>
  3503. <description>Backdoor key access disabled</description>
  3504. <value>#11</value>
  3505. </enumeratedValue>
  3506. </enumeratedValues>
  3507. </field>
  3508. </fields>
  3509. </register>
  3510. <register>
  3511. <name>FOPT</name>
  3512. <description>Flash Option Register</description>
  3513. <addressOffset>0x3</addressOffset>
  3514. <size>8</size>
  3515. <access>read-only</access>
  3516. <resetValue>0</resetValue>
  3517. <resetMask>0</resetMask>
  3518. <fields>
  3519. <field>
  3520. <name>OPT</name>
  3521. <description>Nonvolatile Option</description>
  3522. <bitOffset>0</bitOffset>
  3523. <bitWidth>8</bitWidth>
  3524. <access>read-only</access>
  3525. </field>
  3526. </fields>
  3527. </register>
  3528. <register>
  3529. <dim>12</dim>
  3530. <dimIncrement>0x1</dimIncrement>
  3531. <dimIndex>3,2,1,0,7,6,5,4,B,A,9,8</dimIndex>
  3532. <name>FCCOB%s</name>
  3533. <description>Flash Common Command Object Registers</description>
  3534. <addressOffset>0x4</addressOffset>
  3535. <size>8</size>
  3536. <access>read-write</access>
  3537. <resetValue>0</resetValue>
  3538. <resetMask>0xFF</resetMask>
  3539. <fields>
  3540. <field>
  3541. <name>CCOBn</name>
  3542. <description>no description available</description>
  3543. <bitOffset>0</bitOffset>
  3544. <bitWidth>8</bitWidth>
  3545. <access>read-write</access>
  3546. </field>
  3547. </fields>
  3548. </register>
  3549. <register>
  3550. <dim>4</dim>
  3551. <dimIncrement>0x1</dimIncrement>
  3552. <dimIndex>3,2,1,0</dimIndex>
  3553. <name>FPROT%s</name>
  3554. <description>Program Flash Protection Registers</description>
  3555. <addressOffset>0x10</addressOffset>
  3556. <size>8</size>
  3557. <access>read-write</access>
  3558. <resetValue>0</resetValue>
  3559. <resetMask>0</resetMask>
  3560. <fields>
  3561. <field>
  3562. <name>PROT</name>
  3563. <description>Program Flash Region Protect</description>
  3564. <bitOffset>0</bitOffset>
  3565. <bitWidth>8</bitWidth>
  3566. <access>read-write</access>
  3567. <enumeratedValues>
  3568. <enumeratedValue>
  3569. <name>0</name>
  3570. <description>Program flash region is protected.</description>
  3571. <value>#0</value>
  3572. </enumeratedValue>
  3573. <enumeratedValue>
  3574. <name>1</name>
  3575. <description>Program flash region is not protected</description>
  3576. <value>#1</value>
  3577. </enumeratedValue>
  3578. </enumeratedValues>
  3579. </field>
  3580. </fields>
  3581. </register>
  3582. <register>
  3583. <name>FEPROT</name>
  3584. <description>EEPROM Protection Register</description>
  3585. <addressOffset>0x16</addressOffset>
  3586. <size>8</size>
  3587. <access>read-write</access>
  3588. <resetValue>0</resetValue>
  3589. <resetMask>0</resetMask>
  3590. <fields>
  3591. <field>
  3592. <name>EPROT</name>
  3593. <description>EEPROM Region Protect</description>
  3594. <bitOffset>0</bitOffset>
  3595. <bitWidth>8</bitWidth>
  3596. <access>read-write</access>
  3597. <enumeratedValues>
  3598. <enumeratedValue>
  3599. <name>0</name>
  3600. <description>EEPROM region is protected</description>
  3601. <value>#0</value>
  3602. </enumeratedValue>
  3603. <enumeratedValue>
  3604. <name>1</name>
  3605. <description>EEPROM region is not protected</description>
  3606. <value>#1</value>
  3607. </enumeratedValue>
  3608. </enumeratedValues>
  3609. </field>
  3610. </fields>
  3611. </register>
  3612. <register>
  3613. <name>FDPROT</name>
  3614. <description>Data Flash Protection Register</description>
  3615. <addressOffset>0x17</addressOffset>
  3616. <size>8</size>
  3617. <access>read-write</access>
  3618. <resetValue>0</resetValue>
  3619. <resetMask>0</resetMask>
  3620. <fields>
  3621. <field>
  3622. <name>DPROT</name>
  3623. <description>Data Flash Region Protect</description>
  3624. <bitOffset>0</bitOffset>
  3625. <bitWidth>8</bitWidth>
  3626. <access>read-write</access>
  3627. <enumeratedValues>
  3628. <enumeratedValue>
  3629. <name>0</name>
  3630. <description>Data Flash region is protected</description>
  3631. <value>#0</value>
  3632. </enumeratedValue>
  3633. <enumeratedValue>
  3634. <name>1</name>
  3635. <description>Data Flash region is not protected</description>
  3636. <value>#1</value>
  3637. </enumeratedValue>
  3638. </enumeratedValues>
  3639. </field>
  3640. </fields>
  3641. </register>
  3642. </registers>
  3643. </peripheral>
  3644. <peripheral>
  3645. <name>DMAMUX</name>
  3646. <description>DMA channel multiplexor</description>
  3647. <prependToName>DMAMUX0_</prependToName>
  3648. <baseAddress>0x40021000</baseAddress>
  3649. <addressBlock>
  3650. <offset>0</offset>
  3651. <size>0x4</size>
  3652. <usage>registers</usage>
  3653. </addressBlock>
  3654. <registers>
  3655. <register>
  3656. <dim>4</dim>
  3657. <dimIncrement>0x1</dimIncrement>
  3658. <dimIndex>0,1,2,3</dimIndex>
  3659. <name>CHCFG%s</name>
  3660. <description>Channel Configuration Register</description>
  3661. <addressOffset>0</addressOffset>
  3662. <size>8</size>
  3663. <access>read-write</access>
  3664. <resetValue>0</resetValue>
  3665. <resetMask>0xFF</resetMask>
  3666. <fields>
  3667. <field>
  3668. <name>SOURCE</name>
  3669. <description>DMA Channel Source (slot)</description>
  3670. <bitOffset>0</bitOffset>
  3671. <bitWidth>6</bitWidth>
  3672. <access>read-write</access>
  3673. </field>
  3674. <field>
  3675. <name>TRIG</name>
  3676. <description>DMA Channel Trigger Enable</description>
  3677. <bitOffset>6</bitOffset>
  3678. <bitWidth>1</bitWidth>
  3679. <access>read-write</access>
  3680. <enumeratedValues>
  3681. <enumeratedValue>
  3682. <name>0</name>
  3683. <description>Triggering is disabled. If triggering is disabled, and the ENBL bit is set, the DMA Channel will simply route the specified source to the DMA channel. (normal mode)</description>
  3684. <value>#0</value>
  3685. </enumeratedValue>
  3686. <enumeratedValue>
  3687. <name>1</name>
  3688. <description>Triggering is enabled. If triggering is enabled, and the ENBL bit is set, the DMAMUX is in periodic trigger mode.</description>
  3689. <value>#1</value>
  3690. </enumeratedValue>
  3691. </enumeratedValues>
  3692. </field>
  3693. <field>
  3694. <name>ENBL</name>
  3695. <description>DMA Channel Enable</description>
  3696. <bitOffset>7</bitOffset>
  3697. <bitWidth>1</bitWidth>
  3698. <access>read-write</access>
  3699. <enumeratedValues>
  3700. <enumeratedValue>
  3701. <name>0</name>
  3702. <description>DMA channel is disabled. This mode is primarily used during configuration of the DMA Mux. The DMA has separate channel enables/disables, which should be used to disable or re-configure a DMA channel.</description>
  3703. <value>#0</value>
  3704. </enumeratedValue>
  3705. <enumeratedValue>
  3706. <name>1</name>
  3707. <description>DMA channel is enabled</description>
  3708. <value>#1</value>
  3709. </enumeratedValue>
  3710. </enumeratedValues>
  3711. </field>
  3712. </fields>
  3713. </register>
  3714. </registers>
  3715. </peripheral>
  3716. <peripheral>
  3717. <name>SPI0</name>
  3718. <description>Deserial Serial Peripheral Interface</description>
  3719. <prependToName>SPI0_</prependToName>
  3720. <baseAddress>0x4002C000</baseAddress>
  3721. <addressBlock>
  3722. <offset>0</offset>
  3723. <size>0x8C</size>
  3724. <usage>registers</usage>
  3725. </addressBlock>
  3726. <interrupt>
  3727. <name>SPI0</name>
  3728. <value>12</value>
  3729. </interrupt>
  3730. <registers>
  3731. <register>
  3732. <name>MCR</name>
  3733. <description>DSPI Module Configuration Register</description>
  3734. <addressOffset>0</addressOffset>
  3735. <size>32</size>
  3736. <access>read-write</access>
  3737. <resetValue>0x4001</resetValue>
  3738. <resetMask>0xFFFFFFFF</resetMask>
  3739. <fields>
  3740. <field>
  3741. <name>HALT</name>
  3742. <description>Halt</description>
  3743. <bitOffset>0</bitOffset>
  3744. <bitWidth>1</bitWidth>
  3745. <access>read-write</access>
  3746. <enumeratedValues>
  3747. <enumeratedValue>
  3748. <name>0</name>
  3749. <description>Start transfers.</description>
  3750. <value>#0</value>
  3751. </enumeratedValue>
  3752. <enumeratedValue>
  3753. <name>1</name>
  3754. <description>Stop transfers.</description>
  3755. <value>#1</value>
  3756. </enumeratedValue>
  3757. </enumeratedValues>
  3758. </field>
  3759. <field>
  3760. <name>SMPL_PT</name>
  3761. <description>Sample Point</description>
  3762. <bitOffset>8</bitOffset>
  3763. <bitWidth>2</bitWidth>
  3764. <access>read-write</access>
  3765. <enumeratedValues>
  3766. <enumeratedValue>
  3767. <name>00</name>
  3768. <description>0 system clocks between SCK edge and SIN sample</description>
  3769. <value>#00</value>
  3770. </enumeratedValue>
  3771. <enumeratedValue>
  3772. <name>01</name>
  3773. <description>1 system clock between SCK edge and SIN sample</description>
  3774. <value>#01</value>
  3775. </enumeratedValue>
  3776. <enumeratedValue>
  3777. <name>10</name>
  3778. <description>2 system clocks between SCK edge and SIN sample</description>
  3779. <value>#10</value>
  3780. </enumeratedValue>
  3781. </enumeratedValues>
  3782. </field>
  3783. <field>
  3784. <name>CLR_RXF</name>
  3785. <description>Flushes the RX FIFO</description>
  3786. <bitOffset>10</bitOffset>
  3787. <bitWidth>1</bitWidth>
  3788. <access>write-only</access>
  3789. <enumeratedValues>
  3790. <enumeratedValue>
  3791. <name>0</name>
  3792. <description>Do not clear the Rx FIFO counter.</description>
  3793. <value>#0</value>
  3794. </enumeratedValue>
  3795. <enumeratedValue>
  3796. <name>1</name>
  3797. <description>Clear the Rx FIFO counter.</description>
  3798. <value>#1</value>
  3799. </enumeratedValue>
  3800. </enumeratedValues>
  3801. </field>
  3802. <field>
  3803. <name>CLR_TXF</name>
  3804. <description>Clear TX FIFO</description>
  3805. <bitOffset>11</bitOffset>
  3806. <bitWidth>1</bitWidth>
  3807. <access>write-only</access>
  3808. <enumeratedValues>
  3809. <enumeratedValue>
  3810. <name>0</name>
  3811. <description>Do not clear the Tx FIFO counter.</description>
  3812. <value>#0</value>
  3813. </enumeratedValue>
  3814. <enumeratedValue>
  3815. <name>1</name>
  3816. <description>Clear the Tx FIFO counter.</description>
  3817. <value>#1</value>
  3818. </enumeratedValue>
  3819. </enumeratedValues>
  3820. </field>
  3821. <field>
  3822. <name>DIS_RXF</name>
  3823. <description>Disable Receive FIFO</description>
  3824. <bitOffset>12</bitOffset>
  3825. <bitWidth>1</bitWidth>
  3826. <access>read-write</access>
  3827. <enumeratedValues>
  3828. <enumeratedValue>
  3829. <name>0</name>
  3830. <description>Rx FIFO is enabled.</description>
  3831. <value>#0</value>
  3832. </enumeratedValue>
  3833. <enumeratedValue>
  3834. <name>1</name>
  3835. <description>Rx FIFO is disabled.</description>
  3836. <value>#1</value>
  3837. </enumeratedValue>
  3838. </enumeratedValues>
  3839. </field>
  3840. <field>
  3841. <name>DIS_TXF</name>
  3842. <description>Disable Transmit FIFO</description>
  3843. <bitOffset>13</bitOffset>
  3844. <bitWidth>1</bitWidth>
  3845. <access>read-write</access>
  3846. <enumeratedValues>
  3847. <enumeratedValue>
  3848. <name>0</name>
  3849. <description>Tx FIFO is enabled.</description>
  3850. <value>#0</value>
  3851. </enumeratedValue>
  3852. <enumeratedValue>
  3853. <name>1</name>
  3854. <description>Tx FIFO is disabled.</description>
  3855. <value>#1</value>
  3856. </enumeratedValue>
  3857. </enumeratedValues>
  3858. </field>
  3859. <field>
  3860. <name>MDIS</name>
  3861. <description>Module Disable</description>
  3862. <bitOffset>14</bitOffset>
  3863. <bitWidth>1</bitWidth>
  3864. <access>read-write</access>
  3865. <enumeratedValues>
  3866. <enumeratedValue>
  3867. <name>0</name>
  3868. <description>Enable DSPI clocks.</description>
  3869. <value>#0</value>
  3870. </enumeratedValue>
  3871. <enumeratedValue>
  3872. <name>1</name>
  3873. <description>Allow external logic to disable DSPI clocks.</description>
  3874. <value>#1</value>
  3875. </enumeratedValue>
  3876. </enumeratedValues>
  3877. </field>
  3878. <field>
  3879. <name>DOZE</name>
  3880. <description>Doze Enable</description>
  3881. <bitOffset>15</bitOffset>
  3882. <bitWidth>1</bitWidth>
  3883. <access>read-write</access>
  3884. <enumeratedValues>
  3885. <enumeratedValue>
  3886. <name>0</name>
  3887. <description>Doze mode has no effect on DSPI.</description>
  3888. <value>#0</value>
  3889. </enumeratedValue>
  3890. <enumeratedValue>
  3891. <name>1</name>
  3892. <description>Doze mode disables DSPI.</description>
  3893. <value>#1</value>
  3894. </enumeratedValue>
  3895. </enumeratedValues>
  3896. </field>
  3897. <field>
  3898. <name>PCSIS</name>
  3899. <description>Peripheral Chip Select x Inactive State</description>
  3900. <bitOffset>16</bitOffset>
  3901. <bitWidth>6</bitWidth>
  3902. <access>read-write</access>
  3903. <enumeratedValues>
  3904. <enumeratedValue>
  3905. <name>0</name>
  3906. <description>The inactive state of PCSx is low.</description>
  3907. <value>#0</value>
  3908. </enumeratedValue>
  3909. <enumeratedValue>
  3910. <name>1</name>
  3911. <description>The inactive state of PCSx is high.</description>
  3912. <value>#1</value>
  3913. </enumeratedValue>
  3914. </enumeratedValues>
  3915. </field>
  3916. <field>
  3917. <name>ROOE</name>
  3918. <description>Receive FIFO Overflow Overwrite Enable</description>
  3919. <bitOffset>24</bitOffset>
  3920. <bitWidth>1</bitWidth>
  3921. <access>read-write</access>
  3922. <enumeratedValues>
  3923. <enumeratedValue>
  3924. <name>0</name>
  3925. <description>Incoming data is ignored.</description>
  3926. <value>#0</value>
  3927. </enumeratedValue>
  3928. <enumeratedValue>
  3929. <name>1</name>
  3930. <description>Incoming data is shifted into the shift register.</description>
  3931. <value>#1</value>
  3932. </enumeratedValue>
  3933. </enumeratedValues>
  3934. </field>
  3935. <field>
  3936. <name>PCSSE</name>
  3937. <description>Peripheral Chip Select Strobe Enable</description>
  3938. <bitOffset>25</bitOffset>
  3939. <bitWidth>1</bitWidth>
  3940. <access>read-write</access>
  3941. <enumeratedValues>
  3942. <enumeratedValue>
  3943. <name>0</name>
  3944. <description>PCS[5]/PCSS is used as the Peripheral Chip Select[5] signal.</description>
  3945. <value>#0</value>
  3946. </enumeratedValue>
  3947. <enumeratedValue>
  3948. <name>1</name>
  3949. <description>PCS[5]/PCSS is used as an active-low PCS Strobe signal.</description>
  3950. <value>#1</value>
  3951. </enumeratedValue>
  3952. </enumeratedValues>
  3953. </field>
  3954. <field>
  3955. <name>MTFE</name>
  3956. <description>Modified Timing Format Enable</description>
  3957. <bitOffset>26</bitOffset>
  3958. <bitWidth>1</bitWidth>
  3959. <access>read-write</access>
  3960. <enumeratedValues>
  3961. <enumeratedValue>
  3962. <name>0</name>
  3963. <description>Modified SPI transfer format disabled.</description>
  3964. <value>#0</value>
  3965. </enumeratedValue>
  3966. <enumeratedValue>
  3967. <name>1</name>
  3968. <description>Modified SPI transfer format enabled.</description>
  3969. <value>#1</value>
  3970. </enumeratedValue>
  3971. </enumeratedValues>
  3972. </field>
  3973. <field>
  3974. <name>FRZ</name>
  3975. <description>Freeze</description>
  3976. <bitOffset>27</bitOffset>
  3977. <bitWidth>1</bitWidth>
  3978. <access>read-write</access>
  3979. <enumeratedValues>
  3980. <enumeratedValue>
  3981. <name>0</name>
  3982. <description>Do not halt serial transfers in debug mode.</description>
  3983. <value>#0</value>
  3984. </enumeratedValue>
  3985. <enumeratedValue>
  3986. <name>1</name>
  3987. <description>Halt serial transfers in debug mode.</description>
  3988. <value>#1</value>
  3989. </enumeratedValue>
  3990. </enumeratedValues>
  3991. </field>
  3992. <field>
  3993. <name>DCONF</name>
  3994. <description>DSPI Configuration</description>
  3995. <bitOffset>28</bitOffset>
  3996. <bitWidth>2</bitWidth>
  3997. <access>read-write</access>
  3998. <enumeratedValues>
  3999. <enumeratedValue>
  4000. <name>00</name>
  4001. <description>SPI</description>
  4002. <value>#00</value>
  4003. </enumeratedValue>
  4004. </enumeratedValues>
  4005. </field>
  4006. <field>
  4007. <name>CONT_SCKE</name>
  4008. <description>Continuous SCK Enable</description>
  4009. <bitOffset>30</bitOffset>
  4010. <bitWidth>1</bitWidth>
  4011. <access>read-write</access>
  4012. <enumeratedValues>
  4013. <enumeratedValue>
  4014. <name>0</name>
  4015. <description>Continuous SCK disabled.</description>
  4016. <value>#0</value>
  4017. </enumeratedValue>
  4018. <enumeratedValue>
  4019. <name>1</name>
  4020. <description>Continuous SCK enabled.</description>
  4021. <value>#1</value>
  4022. </enumeratedValue>
  4023. </enumeratedValues>
  4024. </field>
  4025. <field>
  4026. <name>MSTR</name>
  4027. <description>Master/Slave Mode Select</description>
  4028. <bitOffset>31</bitOffset>
  4029. <bitWidth>1</bitWidth>
  4030. <access>read-write</access>
  4031. <enumeratedValues>
  4032. <enumeratedValue>
  4033. <name>0</name>
  4034. <description>DSPI is in slave mode.</description>
  4035. <value>#0</value>
  4036. </enumeratedValue>
  4037. <enumeratedValue>
  4038. <name>1</name>
  4039. <description>DSPI is in master mode.</description>
  4040. <value>#1</value>
  4041. </enumeratedValue>
  4042. </enumeratedValues>
  4043. </field>
  4044. </fields>
  4045. </register>
  4046. <register>
  4047. <name>TCR</name>
  4048. <description>DSPI Transfer Count Register</description>
  4049. <addressOffset>0x8</addressOffset>
  4050. <size>32</size>
  4051. <access>read-write</access>
  4052. <resetValue>0</resetValue>
  4053. <resetMask>0xFFFFFFFF</resetMask>
  4054. <fields>
  4055. <field>
  4056. <name>SPI_TCNT</name>
  4057. <description>SPI Transfer Counter</description>
  4058. <bitOffset>16</bitOffset>
  4059. <bitWidth>16</bitWidth>
  4060. <access>read-write</access>
  4061. </field>
  4062. </fields>
  4063. </register>
  4064. <register>
  4065. <dim>2</dim>
  4066. <dimIncrement>0x4</dimIncrement>
  4067. <dimIndex>0,1</dimIndex>
  4068. <name>CTAR%s</name>
  4069. <description>DSPI Clock and Transfer Attributes Register (In Master Mode)</description>
  4070. <alternateGroup>SPI0</alternateGroup>
  4071. <addressOffset>0xC</addressOffset>
  4072. <size>32</size>
  4073. <access>read-write</access>
  4074. <resetValue>0x78000000</resetValue>
  4075. <resetMask>0xFFFFFFFF</resetMask>
  4076. <fields>
  4077. <field>
  4078. <name>BR</name>
  4079. <description>Baud Rate Scaler</description>
  4080. <bitOffset>0</bitOffset>
  4081. <bitWidth>4</bitWidth>
  4082. <access>read-write</access>
  4083. </field>
  4084. <field>
  4085. <name>DT</name>
  4086. <description>Delay After Transfer Scaler</description>
  4087. <bitOffset>4</bitOffset>
  4088. <bitWidth>4</bitWidth>
  4089. <access>read-write</access>
  4090. </field>
  4091. <field>
  4092. <name>ASC</name>
  4093. <description>After SCK Delay Scaler</description>
  4094. <bitOffset>8</bitOffset>
  4095. <bitWidth>4</bitWidth>
  4096. <access>read-write</access>
  4097. </field>
  4098. <field>
  4099. <name>CSSCK</name>
  4100. <description>PCS to SCK Delay Scaler</description>
  4101. <bitOffset>12</bitOffset>
  4102. <bitWidth>4</bitWidth>
  4103. <access>read-write</access>
  4104. </field>
  4105. <field>
  4106. <name>PBR</name>
  4107. <description>Baud Rate Prescaler</description>
  4108. <bitOffset>16</bitOffset>
  4109. <bitWidth>2</bitWidth>
  4110. <access>read-write</access>
  4111. <enumeratedValues>
  4112. <enumeratedValue>
  4113. <name>00</name>
  4114. <description>Baud Rate Prescaler value is 2.</description>
  4115. <value>#00</value>
  4116. </enumeratedValue>
  4117. <enumeratedValue>
  4118. <name>01</name>
  4119. <description>Baud Rate Prescaler value is 3.</description>
  4120. <value>#01</value>
  4121. </enumeratedValue>
  4122. <enumeratedValue>
  4123. <name>10</name>
  4124. <description>Baud Rate Prescaler value is 5.</description>
  4125. <value>#10</value>
  4126. </enumeratedValue>
  4127. <enumeratedValue>
  4128. <name>11</name>
  4129. <description>Baud Rate Prescaler value is 7.</description>
  4130. <value>#11</value>
  4131. </enumeratedValue>
  4132. </enumeratedValues>
  4133. </field>
  4134. <field>
  4135. <name>PDT</name>
  4136. <description>Delay after Transfer Prescaler</description>
  4137. <bitOffset>18</bitOffset>
  4138. <bitWidth>2</bitWidth>
  4139. <access>read-write</access>
  4140. <enumeratedValues>
  4141. <enumeratedValue>
  4142. <name>00</name>
  4143. <description>Delay after Transfer Prescaler value is 1.</description>
  4144. <value>#00</value>
  4145. </enumeratedValue>
  4146. <enumeratedValue>
  4147. <name>01</name>
  4148. <description>Delay after Transfer Prescaler value is 3.</description>
  4149. <value>#01</value>
  4150. </enumeratedValue>
  4151. <enumeratedValue>
  4152. <name>10</name>
  4153. <description>Delay after Transfer Prescaler value is 5.</description>
  4154. <value>#10</value>
  4155. </enumeratedValue>
  4156. <enumeratedValue>
  4157. <name>11</name>
  4158. <description>Delay after Transfer Prescaler value is 7.</description>
  4159. <value>#11</value>
  4160. </enumeratedValue>
  4161. </enumeratedValues>
  4162. </field>
  4163. <field>
  4164. <name>PASC</name>
  4165. <description>After SCK Delay Prescaler</description>
  4166. <bitOffset>20</bitOffset>
  4167. <bitWidth>2</bitWidth>
  4168. <access>read-write</access>
  4169. <enumeratedValues>
  4170. <enumeratedValue>
  4171. <name>00</name>
  4172. <description>Delay after Transfer Prescaler value is 1.</description>
  4173. <value>#00</value>
  4174. </enumeratedValue>
  4175. <enumeratedValue>
  4176. <name>01</name>
  4177. <description>Delay after Transfer Prescaler value is 3.</description>
  4178. <value>#01</value>
  4179. </enumeratedValue>
  4180. <enumeratedValue>
  4181. <name>10</name>
  4182. <description>Delay after Transfer Prescaler value is 5.</description>
  4183. <value>#10</value>
  4184. </enumeratedValue>
  4185. <enumeratedValue>
  4186. <name>11</name>
  4187. <description>Delay after Transfer Prescaler value is 7.</description>
  4188. <value>#11</value>
  4189. </enumeratedValue>
  4190. </enumeratedValues>
  4191. </field>
  4192. <field>
  4193. <name>PCSSCK</name>
  4194. <description>PCS to SCK Delay Prescaler</description>
  4195. <bitOffset>22</bitOffset>
  4196. <bitWidth>2</bitWidth>
  4197. <access>read-write</access>
  4198. <enumeratedValues>
  4199. <enumeratedValue>
  4200. <name>00</name>
  4201. <description>PCS to SCK Prescaler value is 1.</description>
  4202. <value>#00</value>
  4203. </enumeratedValue>
  4204. <enumeratedValue>
  4205. <name>01</name>
  4206. <description>PCS to SCK Prescaler value is 3.</description>
  4207. <value>#01</value>
  4208. </enumeratedValue>
  4209. <enumeratedValue>
  4210. <name>10</name>
  4211. <description>PCS to SCK Prescaler value is 5.</description>
  4212. <value>#10</value>
  4213. </enumeratedValue>
  4214. <enumeratedValue>
  4215. <name>11</name>
  4216. <description>PCS to SCK Prescaler value is 7.</description>
  4217. <value>#11</value>
  4218. </enumeratedValue>
  4219. </enumeratedValues>
  4220. </field>
  4221. <field>
  4222. <name>LSBFE</name>
  4223. <description>LBS First</description>
  4224. <bitOffset>24</bitOffset>
  4225. <bitWidth>1</bitWidth>
  4226. <access>read-write</access>
  4227. <enumeratedValues>
  4228. <enumeratedValue>
  4229. <name>0</name>
  4230. <description>Data is transferred MSB first.</description>
  4231. <value>#0</value>
  4232. </enumeratedValue>
  4233. <enumeratedValue>
  4234. <name>1</name>
  4235. <description>Data is transferred LSB first.</description>
  4236. <value>#1</value>
  4237. </enumeratedValue>
  4238. </enumeratedValues>
  4239. </field>
  4240. <field>
  4241. <name>CPHA</name>
  4242. <description>Clock Phase</description>
  4243. <bitOffset>25</bitOffset>
  4244. <bitWidth>1</bitWidth>
  4245. <access>read-write</access>
  4246. <enumeratedValues>
  4247. <enumeratedValue>
  4248. <name>0</name>
  4249. <description>Data is captured on the leading edge of SCK and changed on the following edge.</description>
  4250. <value>#0</value>
  4251. </enumeratedValue>
  4252. <enumeratedValue>
  4253. <name>1</name>
  4254. <description>Data is changed on the leading edge of SCK and captured on the following edge.</description>
  4255. <value>#1</value>
  4256. </enumeratedValue>
  4257. </enumeratedValues>
  4258. </field>
  4259. <field>
  4260. <name>CPOL</name>
  4261. <description>Clock Polarity</description>
  4262. <bitOffset>26</bitOffset>
  4263. <bitWidth>1</bitWidth>
  4264. <access>read-write</access>
  4265. <enumeratedValues>
  4266. <enumeratedValue>
  4267. <name>0</name>
  4268. <description>The inactive state value of SCK is low.</description>
  4269. <value>#0</value>
  4270. </enumeratedValue>
  4271. <enumeratedValue>
  4272. <name>1</name>
  4273. <description>The inactive state value of SCK is high.</description>
  4274. <value>#1</value>
  4275. </enumeratedValue>
  4276. </enumeratedValues>
  4277. </field>
  4278. <field>
  4279. <name>FMSZ</name>
  4280. <description>Frame Size</description>
  4281. <bitOffset>27</bitOffset>
  4282. <bitWidth>4</bitWidth>
  4283. <access>read-write</access>
  4284. </field>
  4285. <field>
  4286. <name>DBR</name>
  4287. <description>Double Baud Rate</description>
  4288. <bitOffset>31</bitOffset>
  4289. <bitWidth>1</bitWidth>
  4290. <access>read-write</access>
  4291. <enumeratedValues>
  4292. <enumeratedValue>
  4293. <name>0</name>
  4294. <description>The baud rate is computed normally with a 50/50 duty cycle.</description>
  4295. <value>#0</value>
  4296. </enumeratedValue>
  4297. <enumeratedValue>
  4298. <name>1</name>
  4299. <description>The baud rate is doubled with the duty cycle depending on the Baud Rate Prescaler.</description>
  4300. <value>#1</value>
  4301. </enumeratedValue>
  4302. </enumeratedValues>
  4303. </field>
  4304. </fields>
  4305. </register>
  4306. <register>
  4307. <name>CTAR_SLAVE</name>
  4308. <description>DSPI Clock and Transfer Attributes Register (In Slave Mode)</description>
  4309. <alternateGroup>SPI0</alternateGroup>
  4310. <addressOffset>0xC</addressOffset>
  4311. <size>32</size>
  4312. <access>read-write</access>
  4313. <resetValue>0x78000000</resetValue>
  4314. <resetMask>0xFFFFFFFF</resetMask>
  4315. <fields>
  4316. <field>
  4317. <name>CPHA</name>
  4318. <description>Clock Phase</description>
  4319. <bitOffset>25</bitOffset>
  4320. <bitWidth>1</bitWidth>
  4321. <access>read-write</access>
  4322. <enumeratedValues>
  4323. <enumeratedValue>
  4324. <name>0</name>
  4325. <description>Data is captured on the leading edge of SCK and changed on the following edge.</description>
  4326. <value>#0</value>
  4327. </enumeratedValue>
  4328. <enumeratedValue>
  4329. <name>1</name>
  4330. <description>Data is changed on the leading edge of SCK and captured on the following edge.</description>
  4331. <value>#1</value>
  4332. </enumeratedValue>
  4333. </enumeratedValues>
  4334. </field>
  4335. <field>
  4336. <name>CPOL</name>
  4337. <description>Clock Polarity</description>
  4338. <bitOffset>26</bitOffset>
  4339. <bitWidth>1</bitWidth>
  4340. <access>read-write</access>
  4341. <enumeratedValues>
  4342. <enumeratedValue>
  4343. <name>0</name>
  4344. <description>The inactive state value of SCK is low.</description>
  4345. <value>#0</value>
  4346. </enumeratedValue>
  4347. <enumeratedValue>
  4348. <name>1</name>
  4349. <description>The inactive state value of SCK is high.</description>
  4350. <value>#1</value>
  4351. </enumeratedValue>
  4352. </enumeratedValues>
  4353. </field>
  4354. <field>
  4355. <name>FMSZ</name>
  4356. <description>Frame Size</description>
  4357. <bitOffset>27</bitOffset>
  4358. <bitWidth>5</bitWidth>
  4359. <access>read-write</access>
  4360. </field>
  4361. </fields>
  4362. </register>
  4363. <register>
  4364. <name>SR</name>
  4365. <description>DSPI Status Register</description>
  4366. <addressOffset>0x2C</addressOffset>
  4367. <size>32</size>
  4368. <access>read-write</access>
  4369. <resetValue>0x2000000</resetValue>
  4370. <resetMask>0xFFFFFFFF</resetMask>
  4371. <fields>
  4372. <field>
  4373. <name>POPNXTPTR</name>
  4374. <description>Pop Next Pointer</description>
  4375. <bitOffset>0</bitOffset>
  4376. <bitWidth>4</bitWidth>
  4377. <access>read-only</access>
  4378. </field>
  4379. <field>
  4380. <name>RXCTR</name>
  4381. <description>RX FIFO Counter</description>
  4382. <bitOffset>4</bitOffset>
  4383. <bitWidth>4</bitWidth>
  4384. <access>read-only</access>
  4385. </field>
  4386. <field>
  4387. <name>TXNXTPTR</name>
  4388. <description>Transmit Next Pointer</description>
  4389. <bitOffset>8</bitOffset>
  4390. <bitWidth>4</bitWidth>
  4391. <access>read-only</access>
  4392. </field>
  4393. <field>
  4394. <name>TXCTR</name>
  4395. <description>TX FIFO Counter</description>
  4396. <bitOffset>12</bitOffset>
  4397. <bitWidth>4</bitWidth>
  4398. <access>read-only</access>
  4399. </field>
  4400. <field>
  4401. <name>RFDF</name>
  4402. <description>Receive FIFO Drain Flag</description>
  4403. <bitOffset>17</bitOffset>
  4404. <bitWidth>1</bitWidth>
  4405. <access>read-write</access>
  4406. <enumeratedValues>
  4407. <enumeratedValue>
  4408. <name>0</name>
  4409. <description>Rx FIFO is empty.</description>
  4410. <value>#0</value>
  4411. </enumeratedValue>
  4412. <enumeratedValue>
  4413. <name>1</name>
  4414. <description>Rx FIFO is not empty.</description>
  4415. <value>#1</value>
  4416. </enumeratedValue>
  4417. </enumeratedValues>
  4418. </field>
  4419. <field>
  4420. <name>RFOF</name>
  4421. <description>Receive FIFO Overflow Flag</description>
  4422. <bitOffset>19</bitOffset>
  4423. <bitWidth>1</bitWidth>
  4424. <access>read-write</access>
  4425. <enumeratedValues>
  4426. <enumeratedValue>
  4427. <name>0</name>
  4428. <description>No Rx FIFO overflow.</description>
  4429. <value>#0</value>
  4430. </enumeratedValue>
  4431. <enumeratedValue>
  4432. <name>1</name>
  4433. <description>Rx FIFO overflow has occurred.</description>
  4434. <value>#1</value>
  4435. </enumeratedValue>
  4436. </enumeratedValues>
  4437. </field>
  4438. <field>
  4439. <name>TFFF</name>
  4440. <description>Transmit FIFO Fill Flag</description>
  4441. <bitOffset>25</bitOffset>
  4442. <bitWidth>1</bitWidth>
  4443. <access>read-write</access>
  4444. <enumeratedValues>
  4445. <enumeratedValue>
  4446. <name>0</name>
  4447. <description>Tx FIFO is full.</description>
  4448. <value>#0</value>
  4449. </enumeratedValue>
  4450. <enumeratedValue>
  4451. <name>1</name>
  4452. <description>Tx FIFO is not full.</description>
  4453. <value>#1</value>
  4454. </enumeratedValue>
  4455. </enumeratedValues>
  4456. </field>
  4457. <field>
  4458. <name>TFUF</name>
  4459. <description>Transmit FIFO Underflow Flag</description>
  4460. <bitOffset>27</bitOffset>
  4461. <bitWidth>1</bitWidth>
  4462. <access>read-write</access>
  4463. <enumeratedValues>
  4464. <enumeratedValue>
  4465. <name>0</name>
  4466. <description>No Tx FIFO underflow.</description>
  4467. <value>#0</value>
  4468. </enumeratedValue>
  4469. <enumeratedValue>
  4470. <name>1</name>
  4471. <description>Tx FIFO underflow has occurred.</description>
  4472. <value>#1</value>
  4473. </enumeratedValue>
  4474. </enumeratedValues>
  4475. </field>
  4476. <field>
  4477. <name>EOQF</name>
  4478. <description>End of Queue Flag</description>
  4479. <bitOffset>28</bitOffset>
  4480. <bitWidth>1</bitWidth>
  4481. <access>read-write</access>
  4482. <enumeratedValues>
  4483. <enumeratedValue>
  4484. <name>0</name>
  4485. <description>EOQ is not set in the executing command.</description>
  4486. <value>#0</value>
  4487. </enumeratedValue>
  4488. <enumeratedValue>
  4489. <name>1</name>
  4490. <description>EOQ is set in the executing SPI command.</description>
  4491. <value>#1</value>
  4492. </enumeratedValue>
  4493. </enumeratedValues>
  4494. </field>
  4495. <field>
  4496. <name>TXRXS</name>
  4497. <description>TX and RX Status</description>
  4498. <bitOffset>30</bitOffset>
  4499. <bitWidth>1</bitWidth>
  4500. <access>read-write</access>
  4501. <enumeratedValues>
  4502. <enumeratedValue>
  4503. <name>0</name>
  4504. <description>Transmit and receive operations are disabled (DSPI is in stopped state).</description>
  4505. <value>#0</value>
  4506. </enumeratedValue>
  4507. <enumeratedValue>
  4508. <name>1</name>
  4509. <description>Transmit and receive operations are enabled (DSPI is in running state).</description>
  4510. <value>#1</value>
  4511. </enumeratedValue>
  4512. </enumeratedValues>
  4513. </field>
  4514. <field>
  4515. <name>TCF</name>
  4516. <description>Transfer Complete Flag</description>
  4517. <bitOffset>31</bitOffset>
  4518. <bitWidth>1</bitWidth>
  4519. <access>read-write</access>
  4520. <enumeratedValues>
  4521. <enumeratedValue>
  4522. <name>0</name>
  4523. <description>Transfer not complete.</description>
  4524. <value>#0</value>
  4525. </enumeratedValue>
  4526. <enumeratedValue>
  4527. <name>1</name>
  4528. <description>Transfer complete.</description>
  4529. <value>#1</value>
  4530. </enumeratedValue>
  4531. </enumeratedValues>
  4532. </field>
  4533. </fields>
  4534. </register>
  4535. <register>
  4536. <name>RSER</name>
  4537. <description>DSPI DMA/Interrupt Request Select and Enable Register</description>
  4538. <addressOffset>0x30</addressOffset>
  4539. <size>32</size>
  4540. <access>read-write</access>
  4541. <resetValue>0</resetValue>
  4542. <resetMask>0xFFFFFFFF</resetMask>
  4543. <fields>
  4544. <field>
  4545. <name>RFDF_DIRS</name>
  4546. <description>Receive FIFO Drain DMA or Interrupt Request Select.</description>
  4547. <bitOffset>16</bitOffset>
  4548. <bitWidth>1</bitWidth>
  4549. <access>read-write</access>
  4550. <enumeratedValues>
  4551. <enumeratedValue>
  4552. <name>0</name>
  4553. <description>Interrupt request.</description>
  4554. <value>#0</value>
  4555. </enumeratedValue>
  4556. <enumeratedValue>
  4557. <name>1</name>
  4558. <description>DMA request.</description>
  4559. <value>#1</value>
  4560. </enumeratedValue>
  4561. </enumeratedValues>
  4562. </field>
  4563. <field>
  4564. <name>RFDF_RE</name>
  4565. <description>Receive FIFO Drain Request Enable</description>
  4566. <bitOffset>17</bitOffset>
  4567. <bitWidth>1</bitWidth>
  4568. <access>read-write</access>
  4569. <enumeratedValues>
  4570. <enumeratedValue>
  4571. <name>0</name>
  4572. <description>RFDF interrupt or DMA requests are disabled</description>
  4573. <value>#0</value>
  4574. </enumeratedValue>
  4575. <enumeratedValue>
  4576. <name>1</name>
  4577. <description>RFDF interrupt or DMA requests are enabled</description>
  4578. <value>#1</value>
  4579. </enumeratedValue>
  4580. </enumeratedValues>
  4581. </field>
  4582. <field>
  4583. <name>RFOF_RE</name>
  4584. <description>Receive FIFO Overflow Request Enable</description>
  4585. <bitOffset>19</bitOffset>
  4586. <bitWidth>1</bitWidth>
  4587. <access>read-write</access>
  4588. <enumeratedValues>
  4589. <enumeratedValue>
  4590. <name>0</name>
  4591. <description>RFOF interrupt requests are disabled.</description>
  4592. <value>#0</value>
  4593. </enumeratedValue>
  4594. <enumeratedValue>
  4595. <name>1</name>
  4596. <description>RFOF interrupt requests are enabled.</description>
  4597. <value>#1</value>
  4598. </enumeratedValue>
  4599. </enumeratedValues>
  4600. </field>
  4601. <field>
  4602. <name>TFFF_DIRS</name>
  4603. <description>Transmit FIFO Fill DMA or Interrupt Request Select</description>
  4604. <bitOffset>24</bitOffset>
  4605. <bitWidth>1</bitWidth>
  4606. <access>read-write</access>
  4607. <enumeratedValues>
  4608. <enumeratedValue>
  4609. <name>0</name>
  4610. <description>TFFF flag generates interrupt requests.</description>
  4611. <value>#0</value>
  4612. </enumeratedValue>
  4613. <enumeratedValue>
  4614. <name>1</name>
  4615. <description>TFFF flag generates DMA requests.</description>
  4616. <value>#1</value>
  4617. </enumeratedValue>
  4618. </enumeratedValues>
  4619. </field>
  4620. <field>
  4621. <name>TFFF_RE</name>
  4622. <description>Transmit FIFO Fill Request Enable</description>
  4623. <bitOffset>25</bitOffset>
  4624. <bitWidth>1</bitWidth>
  4625. <access>read-write</access>
  4626. <enumeratedValues>
  4627. <enumeratedValue>
  4628. <name>0</name>
  4629. <description>TFFF interrupts or DMA requests are disabled.</description>
  4630. <value>#0</value>
  4631. </enumeratedValue>
  4632. <enumeratedValue>
  4633. <name>1</name>
  4634. <description>TFFF interrupts or DMA requests are enabled.</description>
  4635. <value>#1</value>
  4636. </enumeratedValue>
  4637. </enumeratedValues>
  4638. </field>
  4639. <field>
  4640. <name>TFUF_RE</name>
  4641. <description>Transmit FIFO Underflow Request Enable</description>
  4642. <bitOffset>27</bitOffset>
  4643. <bitWidth>1</bitWidth>
  4644. <access>read-write</access>
  4645. <enumeratedValues>
  4646. <enumeratedValue>
  4647. <name>0</name>
  4648. <description>TFUF interrupt requests are disabled.</description>
  4649. <value>#0</value>
  4650. </enumeratedValue>
  4651. <enumeratedValue>
  4652. <name>1</name>
  4653. <description>TFUF interrupt requests are enabled.</description>
  4654. <value>#1</value>
  4655. </enumeratedValue>
  4656. </enumeratedValues>
  4657. </field>
  4658. <field>
  4659. <name>EOQF_RE</name>
  4660. <description>DSPI Finished Request Enable</description>
  4661. <bitOffset>28</bitOffset>
  4662. <bitWidth>1</bitWidth>
  4663. <access>read-write</access>
  4664. <enumeratedValues>
  4665. <enumeratedValue>
  4666. <name>0</name>
  4667. <description>EOQF interrupt requests are disabled.</description>
  4668. <value>#0</value>
  4669. </enumeratedValue>
  4670. <enumeratedValue>
  4671. <name>1</name>
  4672. <description>EOQF interrupt requests are enabled.</description>
  4673. <value>#1</value>
  4674. </enumeratedValue>
  4675. </enumeratedValues>
  4676. </field>
  4677. <field>
  4678. <name>TCF_RE</name>
  4679. <description>Transmission Complete Request Enable</description>
  4680. <bitOffset>31</bitOffset>
  4681. <bitWidth>1</bitWidth>
  4682. <access>read-write</access>
  4683. <enumeratedValues>
  4684. <enumeratedValue>
  4685. <name>0</name>
  4686. <description>TCF interrupt requests are disabled.</description>
  4687. <value>#0</value>
  4688. </enumeratedValue>
  4689. <enumeratedValue>
  4690. <name>1</name>
  4691. <description>TCF interrupt requests are enabled.</description>
  4692. <value>#1</value>
  4693. </enumeratedValue>
  4694. </enumeratedValues>
  4695. </field>
  4696. </fields>
  4697. </register>
  4698. <register>
  4699. <name>PUSHR</name>
  4700. <description>DSPI PUSH TX FIFO Register In Master Mode</description>
  4701. <alternateGroup>SPI0</alternateGroup>
  4702. <addressOffset>0x34</addressOffset>
  4703. <size>32</size>
  4704. <access>read-write</access>
  4705. <resetValue>0</resetValue>
  4706. <resetMask>0xFFFFFFFF</resetMask>
  4707. <fields>
  4708. <field>
  4709. <name>TXDATA</name>
  4710. <description>Transmit Data</description>
  4711. <bitOffset>0</bitOffset>
  4712. <bitWidth>16</bitWidth>
  4713. <access>read-write</access>
  4714. </field>
  4715. <field>
  4716. <name>PCS</name>
  4717. <description>Select which PCS signals are to be asserted for the transfer</description>
  4718. <bitOffset>16</bitOffset>
  4719. <bitWidth>6</bitWidth>
  4720. <access>read-write</access>
  4721. <enumeratedValues>
  4722. <enumeratedValue>
  4723. <name>0</name>
  4724. <description>Negate the PCS[x] signal.</description>
  4725. <value>#0</value>
  4726. </enumeratedValue>
  4727. <enumeratedValue>
  4728. <name>1</name>
  4729. <description>Assert the PCS[x] signal.</description>
  4730. <value>#1</value>
  4731. </enumeratedValue>
  4732. </enumeratedValues>
  4733. </field>
  4734. <field>
  4735. <name>CTCNT</name>
  4736. <description>Clear Transfer Counter.</description>
  4737. <bitOffset>26</bitOffset>
  4738. <bitWidth>1</bitWidth>
  4739. <access>read-write</access>
  4740. <enumeratedValues>
  4741. <enumeratedValue>
  4742. <name>0</name>
  4743. <description>Do not clear the TCR[SPI_TCNT] field.</description>
  4744. <value>#0</value>
  4745. </enumeratedValue>
  4746. <enumeratedValue>
  4747. <name>1</name>
  4748. <description>Clear the TCR[SPI_TCNT] field.</description>
  4749. <value>#1</value>
  4750. </enumeratedValue>
  4751. </enumeratedValues>
  4752. </field>
  4753. <field>
  4754. <name>EOQ</name>
  4755. <description>End Of Queue</description>
  4756. <bitOffset>27</bitOffset>
  4757. <bitWidth>1</bitWidth>
  4758. <access>read-write</access>
  4759. <enumeratedValues>
  4760. <enumeratedValue>
  4761. <name>0</name>
  4762. <description>The SPI data is not the last data to transfer.</description>
  4763. <value>#0</value>
  4764. </enumeratedValue>
  4765. <enumeratedValue>
  4766. <name>1</name>
  4767. <description>The SPI data is the last data to transfer.</description>
  4768. <value>#1</value>
  4769. </enumeratedValue>
  4770. </enumeratedValues>
  4771. </field>
  4772. <field>
  4773. <name>CTAS</name>
  4774. <description>Clock and Transfer Attributes Select.</description>
  4775. <bitOffset>28</bitOffset>
  4776. <bitWidth>3</bitWidth>
  4777. <access>read-write</access>
  4778. <enumeratedValues>
  4779. <enumeratedValue>
  4780. <name>000</name>
  4781. <description>CTAR0</description>
  4782. <value>#000</value>
  4783. </enumeratedValue>
  4784. <enumeratedValue>
  4785. <name>001</name>
  4786. <description>CTAR1</description>
  4787. <value>#001</value>
  4788. </enumeratedValue>
  4789. </enumeratedValues>
  4790. </field>
  4791. <field>
  4792. <name>CONT</name>
  4793. <description>Continuous Peripheral Chip Select Enable</description>
  4794. <bitOffset>31</bitOffset>
  4795. <bitWidth>1</bitWidth>
  4796. <access>read-write</access>
  4797. <enumeratedValues>
  4798. <enumeratedValue>
  4799. <name>0</name>
  4800. <description>Return PCSn signals to their inactive state between transfers.</description>
  4801. <value>#0</value>
  4802. </enumeratedValue>
  4803. <enumeratedValue>
  4804. <name>1</name>
  4805. <description>Keep PCSn signals asserted between transfers.</description>
  4806. <value>#1</value>
  4807. </enumeratedValue>
  4808. </enumeratedValues>
  4809. </field>
  4810. </fields>
  4811. </register>
  4812. <register>
  4813. <name>PUSHR_SLAVE</name>
  4814. <description>DSPI PUSH TX FIFO Register In Slave Mode</description>
  4815. <alternateGroup>SPI0</alternateGroup>
  4816. <addressOffset>0x34</addressOffset>
  4817. <size>32</size>
  4818. <access>read-write</access>
  4819. <resetValue>0</resetValue>
  4820. <resetMask>0xFFFFFFFF</resetMask>
  4821. <fields>
  4822. <field>
  4823. <name>TXDATA</name>
  4824. <description>Transmit Data</description>
  4825. <bitOffset>0</bitOffset>
  4826. <bitWidth>32</bitWidth>
  4827. <access>read-write</access>
  4828. </field>
  4829. </fields>
  4830. </register>
  4831. <register>
  4832. <name>POPR</name>
  4833. <description>DSPI POP RX FIFO Register</description>
  4834. <addressOffset>0x38</addressOffset>
  4835. <size>32</size>
  4836. <access>read-only</access>
  4837. <resetValue>0</resetValue>
  4838. <resetMask>0xFFFFFFFF</resetMask>
  4839. <fields>
  4840. <field>
  4841. <name>RXDATA</name>
  4842. <description>Received Data</description>
  4843. <bitOffset>0</bitOffset>
  4844. <bitWidth>32</bitWidth>
  4845. <access>read-only</access>
  4846. </field>
  4847. </fields>
  4848. </register>
  4849. <register>
  4850. <dim>4</dim>
  4851. <dimIncrement>0x4</dimIncrement>
  4852. <dimIndex>0,1,2,3</dimIndex>
  4853. <name>TXFR%s</name>
  4854. <description>DSPI Transmit FIFO Registers</description>
  4855. <addressOffset>0x3C</addressOffset>
  4856. <size>32</size>
  4857. <access>read-only</access>
  4858. <resetValue>0</resetValue>
  4859. <resetMask>0xFFFFFFFF</resetMask>
  4860. <fields>
  4861. <field>
  4862. <name>TXDATA</name>
  4863. <description>Transmit Data</description>
  4864. <bitOffset>0</bitOffset>
  4865. <bitWidth>16</bitWidth>
  4866. <access>read-only</access>
  4867. </field>
  4868. <field>
  4869. <name>TXCMD_TXDATA</name>
  4870. <description>Transmit Command or Transmit Data</description>
  4871. <bitOffset>16</bitOffset>
  4872. <bitWidth>16</bitWidth>
  4873. <access>read-only</access>
  4874. </field>
  4875. </fields>
  4876. </register>
  4877. <register>
  4878. <dim>4</dim>
  4879. <dimIncrement>0x4</dimIncrement>
  4880. <dimIndex>0,1,2,3</dimIndex>
  4881. <name>RXFR%s</name>
  4882. <description>DSPI Receive FIFO Registers</description>
  4883. <addressOffset>0x7C</addressOffset>
  4884. <size>32</size>
  4885. <access>read-only</access>
  4886. <resetValue>0</resetValue>
  4887. <resetMask>0xFFFFFFFF</resetMask>
  4888. <fields>
  4889. <field>
  4890. <name>RXDATA</name>
  4891. <description>Receive Data</description>
  4892. <bitOffset>0</bitOffset>
  4893. <bitWidth>32</bitWidth>
  4894. <access>read-only</access>
  4895. </field>
  4896. </fields>
  4897. </register>
  4898. </registers>
  4899. </peripheral>
  4900. <peripheral>
  4901. <name>I2S0</name>
  4902. <description>Inter-IC Sound / Synchronous Audio Interface</description>
  4903. <prependToName>I2S0_</prependToName>
  4904. <baseAddress>0x4002F000</baseAddress>
  4905. <addressBlock>
  4906. <offset>0</offset>
  4907. <size>0x108</size>
  4908. <usage>registers</usage>
  4909. </addressBlock>
  4910. <interrupt>
  4911. <name>I2S0_Tx</name>
  4912. <value>13</value>
  4913. </interrupt>
  4914. <interrupt>
  4915. <name>I2S0_Rx</name>
  4916. <value>14</value>
  4917. </interrupt>
  4918. <registers>
  4919. <register>
  4920. <name>TCSR</name>
  4921. <description>SAI Transmit Control Register</description>
  4922. <addressOffset>0</addressOffset>
  4923. <size>32</size>
  4924. <access>read-write</access>
  4925. <resetValue>0</resetValue>
  4926. <resetMask>0xFFFFFFFF</resetMask>
  4927. <fields>
  4928. <field>
  4929. <name>FRDE</name>
  4930. <description>FIFO request DMA enable</description>
  4931. <bitOffset>0</bitOffset>
  4932. <bitWidth>1</bitWidth>
  4933. <access>read-write</access>
  4934. <enumeratedValues>
  4935. <enumeratedValue>
  4936. <name>0</name>
  4937. <description>Disables the DMA request.</description>
  4938. <value>#0</value>
  4939. </enumeratedValue>
  4940. <enumeratedValue>
  4941. <name>1</name>
  4942. <description>Enables the DMA request.</description>
  4943. <value>#1</value>
  4944. </enumeratedValue>
  4945. </enumeratedValues>
  4946. </field>
  4947. <field>
  4948. <name>FWDE</name>
  4949. <description>FIFO warning DMA enable</description>
  4950. <bitOffset>1</bitOffset>
  4951. <bitWidth>1</bitWidth>
  4952. <access>read-write</access>
  4953. <enumeratedValues>
  4954. <enumeratedValue>
  4955. <name>0</name>
  4956. <description>Disables the DMA request.</description>
  4957. <value>#0</value>
  4958. </enumeratedValue>
  4959. <enumeratedValue>
  4960. <name>1</name>
  4961. <description>Enables the DMA request.</description>
  4962. <value>#1</value>
  4963. </enumeratedValue>
  4964. </enumeratedValues>
  4965. </field>
  4966. <field>
  4967. <name>FRIE</name>
  4968. <description>FIFO request interrupt enable</description>
  4969. <bitOffset>8</bitOffset>
  4970. <bitWidth>1</bitWidth>
  4971. <access>read-write</access>
  4972. <enumeratedValues>
  4973. <enumeratedValue>
  4974. <name>0</name>
  4975. <description>Disables the interrupt.</description>
  4976. <value>#0</value>
  4977. </enumeratedValue>
  4978. <enumeratedValue>
  4979. <name>1</name>
  4980. <description>Enables the interrupt.</description>
  4981. <value>#1</value>
  4982. </enumeratedValue>
  4983. </enumeratedValues>
  4984. </field>
  4985. <field>
  4986. <name>FWIE</name>
  4987. <description>FIFO warning interrupt enable</description>
  4988. <bitOffset>9</bitOffset>
  4989. <bitWidth>1</bitWidth>
  4990. <access>read-write</access>
  4991. <enumeratedValues>
  4992. <enumeratedValue>
  4993. <name>0</name>
  4994. <description>Disables the interrupt.</description>
  4995. <value>#0</value>
  4996. </enumeratedValue>
  4997. <enumeratedValue>
  4998. <name>1</name>
  4999. <description>Enables the interrupt.</description>
  5000. <value>#1</value>
  5001. </enumeratedValue>
  5002. </enumeratedValues>
  5003. </field>
  5004. <field>
  5005. <name>FEIE</name>
  5006. <description>FIFO error interrupt enable</description>
  5007. <bitOffset>10</bitOffset>
  5008. <bitWidth>1</bitWidth>
  5009. <access>read-write</access>
  5010. <enumeratedValues>
  5011. <enumeratedValue>
  5012. <name>0</name>
  5013. <description>Disables the interrupt,</description>
  5014. <value>#0</value>
  5015. </enumeratedValue>
  5016. <enumeratedValue>
  5017. <name>1</name>
  5018. <description>Enables the interrupt.</description>
  5019. <value>#1</value>
  5020. </enumeratedValue>
  5021. </enumeratedValues>
  5022. </field>
  5023. <field>
  5024. <name>SEIE</name>
  5025. <description>Sync error interrupt enable</description>
  5026. <bitOffset>11</bitOffset>
  5027. <bitWidth>1</bitWidth>
  5028. <access>read-write</access>
  5029. <enumeratedValues>
  5030. <enumeratedValue>
  5031. <name>0</name>
  5032. <description>Disables interrupt.</description>
  5033. <value>#0</value>
  5034. </enumeratedValue>
  5035. <enumeratedValue>
  5036. <name>1</name>
  5037. <description>Enables interrupt.</description>
  5038. <value>#1</value>
  5039. </enumeratedValue>
  5040. </enumeratedValues>
  5041. </field>
  5042. <field>
  5043. <name>WSIE</name>
  5044. <description>Word start interrupt enable</description>
  5045. <bitOffset>12</bitOffset>
  5046. <bitWidth>1</bitWidth>
  5047. <access>read-write</access>
  5048. <enumeratedValues>
  5049. <enumeratedValue>
  5050. <name>0</name>
  5051. <description>Disables interrupt.</description>
  5052. <value>#0</value>
  5053. </enumeratedValue>
  5054. <enumeratedValue>
  5055. <name>1</name>
  5056. <description>Enables interrupt.</description>
  5057. <value>#1</value>
  5058. </enumeratedValue>
  5059. </enumeratedValues>
  5060. </field>
  5061. <field>
  5062. <name>FRF</name>
  5063. <description>FIFO request flag</description>
  5064. <bitOffset>16</bitOffset>
  5065. <bitWidth>1</bitWidth>
  5066. <access>read-only</access>
  5067. <enumeratedValues>
  5068. <enumeratedValue>
  5069. <name>0</name>
  5070. <description>Transmit FIFO watermark not reached.</description>
  5071. <value>#0</value>
  5072. </enumeratedValue>
  5073. <enumeratedValue>
  5074. <name>1</name>
  5075. <description>Transmit FIFO watermark has been reached.</description>
  5076. <value>#1</value>
  5077. </enumeratedValue>
  5078. </enumeratedValues>
  5079. </field>
  5080. <field>
  5081. <name>FWF</name>
  5082. <description>FIFO warning flag</description>
  5083. <bitOffset>17</bitOffset>
  5084. <bitWidth>1</bitWidth>
  5085. <access>read-only</access>
  5086. <enumeratedValues>
  5087. <enumeratedValue>
  5088. <name>0</name>
  5089. <description>No enabled transmit FIFO is empty.</description>
  5090. <value>#0</value>
  5091. </enumeratedValue>
  5092. <enumeratedValue>
  5093. <name>1</name>
  5094. <description>Enabled transmit FIFO is empty.</description>
  5095. <value>#1</value>
  5096. </enumeratedValue>
  5097. </enumeratedValues>
  5098. </field>
  5099. <field>
  5100. <name>FEF</name>
  5101. <description>FIFO error flag</description>
  5102. <bitOffset>18</bitOffset>
  5103. <bitWidth>1</bitWidth>
  5104. <access>read-write</access>
  5105. <enumeratedValues>
  5106. <enumeratedValue>
  5107. <name>0</name>
  5108. <description>Transmit underrun not detected.</description>
  5109. <value>#0</value>
  5110. </enumeratedValue>
  5111. <enumeratedValue>
  5112. <name>1</name>
  5113. <description>Transmit underrun detected.</description>
  5114. <value>#1</value>
  5115. </enumeratedValue>
  5116. </enumeratedValues>
  5117. </field>
  5118. <field>
  5119. <name>SEF</name>
  5120. <description>Sync error flag</description>
  5121. <bitOffset>19</bitOffset>
  5122. <bitWidth>1</bitWidth>
  5123. <access>read-write</access>
  5124. <enumeratedValues>
  5125. <enumeratedValue>
  5126. <name>0</name>
  5127. <description>Sync error not detected.</description>
  5128. <value>#0</value>
  5129. </enumeratedValue>
  5130. <enumeratedValue>
  5131. <name>1</name>
  5132. <description>Frame sync error detected.</description>
  5133. <value>#1</value>
  5134. </enumeratedValue>
  5135. </enumeratedValues>
  5136. </field>
  5137. <field>
  5138. <name>WSF</name>
  5139. <description>Word start flag</description>
  5140. <bitOffset>20</bitOffset>
  5141. <bitWidth>1</bitWidth>
  5142. <access>read-write</access>
  5143. <enumeratedValues>
  5144. <enumeratedValue>
  5145. <name>0</name>
  5146. <description>Start of word not detected.</description>
  5147. <value>#0</value>
  5148. </enumeratedValue>
  5149. <enumeratedValue>
  5150. <name>1</name>
  5151. <description>Start of word detected.</description>
  5152. <value>#1</value>
  5153. </enumeratedValue>
  5154. </enumeratedValues>
  5155. </field>
  5156. <field>
  5157. <name>SR</name>
  5158. <description>Software reset</description>
  5159. <bitOffset>24</bitOffset>
  5160. <bitWidth>1</bitWidth>
  5161. <access>read-write</access>
  5162. <enumeratedValues>
  5163. <enumeratedValue>
  5164. <name>0</name>
  5165. <description>No effect.</description>
  5166. <value>#0</value>
  5167. </enumeratedValue>
  5168. <enumeratedValue>
  5169. <name>1</name>
  5170. <description>Software reset.</description>
  5171. <value>#1</value>
  5172. </enumeratedValue>
  5173. </enumeratedValues>
  5174. </field>
  5175. <field>
  5176. <name>FR</name>
  5177. <description>FIFO reset</description>
  5178. <bitOffset>25</bitOffset>
  5179. <bitWidth>1</bitWidth>
  5180. <access>write-only</access>
  5181. <enumeratedValues>
  5182. <enumeratedValue>
  5183. <name>0</name>
  5184. <description>No effect.</description>
  5185. <value>#0</value>
  5186. </enumeratedValue>
  5187. <enumeratedValue>
  5188. <name>1</name>
  5189. <description>FIFO reset.</description>
  5190. <value>#1</value>
  5191. </enumeratedValue>
  5192. </enumeratedValues>
  5193. </field>
  5194. <field>
  5195. <name>BCE</name>
  5196. <description>Bit Clock Enable</description>
  5197. <bitOffset>28</bitOffset>
  5198. <bitWidth>1</bitWidth>
  5199. <access>read-write</access>
  5200. <enumeratedValues>
  5201. <enumeratedValue>
  5202. <name>0</name>
  5203. <description>Transmit bit clock is disabled</description>
  5204. <value>#0</value>
  5205. </enumeratedValue>
  5206. <enumeratedValue>
  5207. <name>1</name>
  5208. <description>Transmit bit clock is enabled</description>
  5209. <value>#1</value>
  5210. </enumeratedValue>
  5211. </enumeratedValues>
  5212. </field>
  5213. <field>
  5214. <name>DBGE</name>
  5215. <description>Debug enable</description>
  5216. <bitOffset>29</bitOffset>
  5217. <bitWidth>1</bitWidth>
  5218. <access>read-write</access>
  5219. <enumeratedValues>
  5220. <enumeratedValue>
  5221. <name>0</name>
  5222. <description>Transmitter is disabled in debug mode, after completing the current frame.</description>
  5223. <value>#0</value>
  5224. </enumeratedValue>
  5225. <enumeratedValue>
  5226. <name>1</name>
  5227. <description>Transmitter is enabled in debug mode.</description>
  5228. <value>#1</value>
  5229. </enumeratedValue>
  5230. </enumeratedValues>
  5231. </field>
  5232. <field>
  5233. <name>STOPE</name>
  5234. <description>Stop enable</description>
  5235. <bitOffset>30</bitOffset>
  5236. <bitWidth>1</bitWidth>
  5237. <access>read-write</access>
  5238. <enumeratedValues>
  5239. <enumeratedValue>
  5240. <name>0</name>
  5241. <description>Transmitter disabled in stop mode.</description>
  5242. <value>#0</value>
  5243. </enumeratedValue>
  5244. <enumeratedValue>
  5245. <name>1</name>
  5246. <description>Transmitter enabled in stop mode.</description>
  5247. <value>#1</value>
  5248. </enumeratedValue>
  5249. </enumeratedValues>
  5250. </field>
  5251. <field>
  5252. <name>TE</name>
  5253. <description>Transmitter enable</description>
  5254. <bitOffset>31</bitOffset>
  5255. <bitWidth>1</bitWidth>
  5256. <access>read-write</access>
  5257. <enumeratedValues>
  5258. <enumeratedValue>
  5259. <name>0</name>
  5260. <description>Transmitter is disabled.</description>
  5261. <value>#0</value>
  5262. </enumeratedValue>
  5263. <enumeratedValue>
  5264. <name>1</name>
  5265. <description>Transmitter is enabled, or transmitter has been disabled and not end of frame.</description>
  5266. <value>#1</value>
  5267. </enumeratedValue>
  5268. </enumeratedValues>
  5269. </field>
  5270. </fields>
  5271. </register>
  5272. <register>
  5273. <name>TCR1</name>
  5274. <description>SAI Transmit Configuration 1 Register</description>
  5275. <addressOffset>0x4</addressOffset>
  5276. <size>32</size>
  5277. <access>read-write</access>
  5278. <resetValue>0</resetValue>
  5279. <resetMask>0xFFFFFFFF</resetMask>
  5280. <fields>
  5281. <field>
  5282. <name>TFW</name>
  5283. <description>Transmit FIFO watermark</description>
  5284. <bitOffset>0</bitOffset>
  5285. <bitWidth>3</bitWidth>
  5286. <access>read-write</access>
  5287. </field>
  5288. </fields>
  5289. </register>
  5290. <register>
  5291. <name>TCR2</name>
  5292. <description>SAI Transmit Configuration 2 Register</description>
  5293. <addressOffset>0x8</addressOffset>
  5294. <size>32</size>
  5295. <access>read-write</access>
  5296. <resetValue>0</resetValue>
  5297. <resetMask>0xFFFFFFFF</resetMask>
  5298. <fields>
  5299. <field>
  5300. <name>DIV</name>
  5301. <description>Bit clock divide</description>
  5302. <bitOffset>0</bitOffset>
  5303. <bitWidth>8</bitWidth>
  5304. <access>read-write</access>
  5305. </field>
  5306. <field>
  5307. <name>BCD</name>
  5308. <description>Bit clock direction</description>
  5309. <bitOffset>24</bitOffset>
  5310. <bitWidth>1</bitWidth>
  5311. <access>read-write</access>
  5312. <enumeratedValues>
  5313. <enumeratedValue>
  5314. <name>0</name>
  5315. <description>Bit clock is generated externally (slave mode).</description>
  5316. <value>#0</value>
  5317. </enumeratedValue>
  5318. <enumeratedValue>
  5319. <name>1</name>
  5320. <description>Bit clock is generated internally (master mode).</description>
  5321. <value>#1</value>
  5322. </enumeratedValue>
  5323. </enumeratedValues>
  5324. </field>
  5325. <field>
  5326. <name>BCP</name>
  5327. <description>Bit clock polarity</description>
  5328. <bitOffset>25</bitOffset>
  5329. <bitWidth>1</bitWidth>
  5330. <access>read-write</access>
  5331. <enumeratedValues>
  5332. <enumeratedValue>
  5333. <name>0</name>
  5334. <description>Bit Clock is active high (drive outputs on rising edge and sample inputs on falling edge).</description>
  5335. <value>#0</value>
  5336. </enumeratedValue>
  5337. <enumeratedValue>
  5338. <name>1</name>
  5339. <description>Bit Clock is active low (drive outputs on falling edge and sample inputs on rising edge).</description>
  5340. <value>#1</value>
  5341. </enumeratedValue>
  5342. </enumeratedValues>
  5343. </field>
  5344. <field>
  5345. <name>MSEL</name>
  5346. <description>MCLK Select</description>
  5347. <bitOffset>26</bitOffset>
  5348. <bitWidth>2</bitWidth>
  5349. <access>read-write</access>
  5350. <enumeratedValues>
  5351. <enumeratedValue>
  5352. <name>00</name>
  5353. <description>Bus Clock selected.</description>
  5354. <value>#00</value>
  5355. </enumeratedValue>
  5356. <enumeratedValue>
  5357. <name>01</name>
  5358. <description>Master Clock 1 selected.</description>
  5359. <value>#01</value>
  5360. </enumeratedValue>
  5361. <enumeratedValue>
  5362. <name>10</name>
  5363. <description>Master Clock 2 selected.</description>
  5364. <value>#10</value>
  5365. </enumeratedValue>
  5366. <enumeratedValue>
  5367. <name>11</name>
  5368. <description>Master Clock 3 selected.</description>
  5369. <value>#11</value>
  5370. </enumeratedValue>
  5371. </enumeratedValues>
  5372. </field>
  5373. <field>
  5374. <name>BCI</name>
  5375. <description>Bit Clock Input</description>
  5376. <bitOffset>28</bitOffset>
  5377. <bitWidth>1</bitWidth>
  5378. <access>read-write</access>
  5379. <enumeratedValues>
  5380. <enumeratedValue>
  5381. <name>0</name>
  5382. <description>No effect.</description>
  5383. <value>#0</value>
  5384. </enumeratedValue>
  5385. <enumeratedValue>
  5386. <name>1</name>
  5387. <description>Internal logic is clocked by external bit clock.</description>
  5388. <value>#1</value>
  5389. </enumeratedValue>
  5390. </enumeratedValues>
  5391. </field>
  5392. <field>
  5393. <name>BCS</name>
  5394. <description>Bit Clock Swap</description>
  5395. <bitOffset>29</bitOffset>
  5396. <bitWidth>1</bitWidth>
  5397. <access>read-write</access>
  5398. <enumeratedValues>
  5399. <enumeratedValue>
  5400. <name>0</name>
  5401. <description>Use the normal bit clock source.</description>
  5402. <value>#0</value>
  5403. </enumeratedValue>
  5404. <enumeratedValue>
  5405. <name>1</name>
  5406. <description>Swap the bit clock source.</description>
  5407. <value>#1</value>
  5408. </enumeratedValue>
  5409. </enumeratedValues>
  5410. </field>
  5411. <field>
  5412. <name>SYNC</name>
  5413. <description>Synchronous Mode</description>
  5414. <bitOffset>30</bitOffset>
  5415. <bitWidth>2</bitWidth>
  5416. <access>read-write</access>
  5417. <enumeratedValues>
  5418. <enumeratedValue>
  5419. <name>00</name>
  5420. <description>Asynchronous mode.</description>
  5421. <value>#00</value>
  5422. </enumeratedValue>
  5423. <enumeratedValue>
  5424. <name>01</name>
  5425. <description>Synchronous with receiver.</description>
  5426. <value>#01</value>
  5427. </enumeratedValue>
  5428. <enumeratedValue>
  5429. <name>10</name>
  5430. <description>Synchronous with another SAI transmitter.</description>
  5431. <value>#10</value>
  5432. </enumeratedValue>
  5433. <enumeratedValue>
  5434. <name>11</name>
  5435. <description>Synchronous with another SAI receiver.</description>
  5436. <value>#11</value>
  5437. </enumeratedValue>
  5438. </enumeratedValues>
  5439. </field>
  5440. </fields>
  5441. </register>
  5442. <register>
  5443. <name>TCR3</name>
  5444. <description>SAI Transmit Configuration 3 Register</description>
  5445. <addressOffset>0xC</addressOffset>
  5446. <size>32</size>
  5447. <access>read-write</access>
  5448. <resetValue>0</resetValue>
  5449. <resetMask>0xFFFFFFFF</resetMask>
  5450. <fields>
  5451. <field>
  5452. <name>WDFL</name>
  5453. <description>Word flag configuration</description>
  5454. <bitOffset>0</bitOffset>
  5455. <bitWidth>5</bitWidth>
  5456. <access>read-write</access>
  5457. </field>
  5458. <field>
  5459. <name>TCE</name>
  5460. <description>Transmit channel enable</description>
  5461. <bitOffset>16</bitOffset>
  5462. <bitWidth>2</bitWidth>
  5463. <access>read-write</access>
  5464. </field>
  5465. </fields>
  5466. </register>
  5467. <register>
  5468. <name>TCR4</name>
  5469. <description>SAI Transmit Configuration 4 Register</description>
  5470. <addressOffset>0x10</addressOffset>
  5471. <size>32</size>
  5472. <access>read-write</access>
  5473. <resetValue>0</resetValue>
  5474. <resetMask>0xFFFFFFFF</resetMask>
  5475. <fields>
  5476. <field>
  5477. <name>FSD</name>
  5478. <description>Frame sync direction</description>
  5479. <bitOffset>0</bitOffset>
  5480. <bitWidth>1</bitWidth>
  5481. <access>read-write</access>
  5482. <enumeratedValues>
  5483. <enumeratedValue>
  5484. <name>0</name>
  5485. <description>Frame Sync is generated externally (slave mode).</description>
  5486. <value>#0</value>
  5487. </enumeratedValue>
  5488. <enumeratedValue>
  5489. <name>1</name>
  5490. <description>Frame Sync is generated internally (master mode).</description>
  5491. <value>#1</value>
  5492. </enumeratedValue>
  5493. </enumeratedValues>
  5494. </field>
  5495. <field>
  5496. <name>FSP</name>
  5497. <description>Frame sync polarity</description>
  5498. <bitOffset>1</bitOffset>
  5499. <bitWidth>1</bitWidth>
  5500. <access>read-write</access>
  5501. <enumeratedValues>
  5502. <enumeratedValue>
  5503. <name>0</name>
  5504. <description>Frame sync is active high.</description>
  5505. <value>#0</value>
  5506. </enumeratedValue>
  5507. <enumeratedValue>
  5508. <name>1</name>
  5509. <description>Frame sync is active low.</description>
  5510. <value>#1</value>
  5511. </enumeratedValue>
  5512. </enumeratedValues>
  5513. </field>
  5514. <field>
  5515. <name>FSE</name>
  5516. <description>Frame sync early</description>
  5517. <bitOffset>3</bitOffset>
  5518. <bitWidth>1</bitWidth>
  5519. <access>read-write</access>
  5520. <enumeratedValues>
  5521. <enumeratedValue>
  5522. <name>0</name>
  5523. <description>Frame sync asserts with the first bit of the frame.</description>
  5524. <value>#0</value>
  5525. </enumeratedValue>
  5526. <enumeratedValue>
  5527. <name>1</name>
  5528. <description>Frame sync asserts one bit before the first bit of the frame.</description>
  5529. <value>#1</value>
  5530. </enumeratedValue>
  5531. </enumeratedValues>
  5532. </field>
  5533. <field>
  5534. <name>MF</name>
  5535. <description>MSB first</description>
  5536. <bitOffset>4</bitOffset>
  5537. <bitWidth>1</bitWidth>
  5538. <access>read-write</access>
  5539. <enumeratedValues>
  5540. <enumeratedValue>
  5541. <name>0</name>
  5542. <description>LBS is transmitted/received first.</description>
  5543. <value>#0</value>
  5544. </enumeratedValue>
  5545. <enumeratedValue>
  5546. <name>1</name>
  5547. <description>MBS is transmitted/received first.</description>
  5548. <value>#1</value>
  5549. </enumeratedValue>
  5550. </enumeratedValues>
  5551. </field>
  5552. <field>
  5553. <name>SYWD</name>
  5554. <description>Sync width</description>
  5555. <bitOffset>8</bitOffset>
  5556. <bitWidth>5</bitWidth>
  5557. <access>read-write</access>
  5558. </field>
  5559. <field>
  5560. <name>FRSZ</name>
  5561. <description>Frame size</description>
  5562. <bitOffset>16</bitOffset>
  5563. <bitWidth>5</bitWidth>
  5564. <access>read-write</access>
  5565. </field>
  5566. </fields>
  5567. </register>
  5568. <register>
  5569. <name>TCR5</name>
  5570. <description>SAI Transmit Configuration 5 Register</description>
  5571. <addressOffset>0x14</addressOffset>
  5572. <size>32</size>
  5573. <access>read-write</access>
  5574. <resetValue>0</resetValue>
  5575. <resetMask>0xFFFFFFFF</resetMask>
  5576. <fields>
  5577. <field>
  5578. <name>FBT</name>
  5579. <description>First bit shifted</description>
  5580. <bitOffset>8</bitOffset>
  5581. <bitWidth>5</bitWidth>
  5582. <access>read-write</access>
  5583. </field>
  5584. <field>
  5585. <name>W0W</name>
  5586. <description>Word 0 width</description>
  5587. <bitOffset>16</bitOffset>
  5588. <bitWidth>5</bitWidth>
  5589. <access>read-write</access>
  5590. </field>
  5591. <field>
  5592. <name>WNW</name>
  5593. <description>Word N width</description>
  5594. <bitOffset>24</bitOffset>
  5595. <bitWidth>5</bitWidth>
  5596. <access>read-write</access>
  5597. </field>
  5598. </fields>
  5599. </register>
  5600. <register>
  5601. <dim>2</dim>
  5602. <dimIncrement>0x4</dimIncrement>
  5603. <dimIndex>0,1</dimIndex>
  5604. <name>TDR%s</name>
  5605. <description>SAI Transmit Data Register</description>
  5606. <addressOffset>0x20</addressOffset>
  5607. <size>32</size>
  5608. <access>write-only</access>
  5609. <resetValue>0</resetValue>
  5610. <resetMask>0xFFFFFFFF</resetMask>
  5611. <fields>
  5612. <field>
  5613. <name>TDR</name>
  5614. <description>Transmit data register</description>
  5615. <bitOffset>0</bitOffset>
  5616. <bitWidth>32</bitWidth>
  5617. <access>write-only</access>
  5618. </field>
  5619. </fields>
  5620. </register>
  5621. <register>
  5622. <dim>2</dim>
  5623. <dimIncrement>0x4</dimIncrement>
  5624. <dimIndex>0,1</dimIndex>
  5625. <name>TFR%s</name>
  5626. <description>SAI Transmit FIFO Register</description>
  5627. <addressOffset>0x40</addressOffset>
  5628. <size>32</size>
  5629. <access>read-only</access>
  5630. <resetValue>0</resetValue>
  5631. <resetMask>0xFFFFFFFF</resetMask>
  5632. <fields>
  5633. <field>
  5634. <name>RFP</name>
  5635. <description>Read FIFO pointer</description>
  5636. <bitOffset>0</bitOffset>
  5637. <bitWidth>4</bitWidth>
  5638. <access>read-only</access>
  5639. </field>
  5640. <field>
  5641. <name>WFP</name>
  5642. <description>Write FIFO pointer</description>
  5643. <bitOffset>16</bitOffset>
  5644. <bitWidth>4</bitWidth>
  5645. <access>read-only</access>
  5646. </field>
  5647. </fields>
  5648. </register>
  5649. <register>
  5650. <name>TMR</name>
  5651. <description>SAI Transmit Mask Register</description>
  5652. <addressOffset>0x60</addressOffset>
  5653. <size>32</size>
  5654. <access>read-write</access>
  5655. <resetValue>0</resetValue>
  5656. <resetMask>0xFFFFFFFF</resetMask>
  5657. <fields>
  5658. <field>
  5659. <name>TWM</name>
  5660. <description>Transmit word mask</description>
  5661. <bitOffset>0</bitOffset>
  5662. <bitWidth>32</bitWidth>
  5663. <access>read-write</access>
  5664. <enumeratedValues>
  5665. <enumeratedValue>
  5666. <name>0</name>
  5667. <description>Word N is enabled.</description>
  5668. <value>#0</value>
  5669. </enumeratedValue>
  5670. <enumeratedValue>
  5671. <name>1</name>
  5672. <description>Word N is masked. The transmit data pins are tri-stated when masked.</description>
  5673. <value>#1</value>
  5674. </enumeratedValue>
  5675. </enumeratedValues>
  5676. </field>
  5677. </fields>
  5678. </register>
  5679. <register>
  5680. <name>RCSR</name>
  5681. <description>SAI Receive Control Register</description>
  5682. <addressOffset>0x80</addressOffset>
  5683. <size>32</size>
  5684. <access>read-write</access>
  5685. <resetValue>0</resetValue>
  5686. <resetMask>0xFFFFFFFF</resetMask>
  5687. <fields>
  5688. <field>
  5689. <name>FRDE</name>
  5690. <description>FIFO request DMA enable</description>
  5691. <bitOffset>0</bitOffset>
  5692. <bitWidth>1</bitWidth>
  5693. <access>read-write</access>
  5694. <enumeratedValues>
  5695. <enumeratedValue>
  5696. <name>0</name>
  5697. <description>Disables the DMA request.</description>
  5698. <value>#0</value>
  5699. </enumeratedValue>
  5700. <enumeratedValue>
  5701. <name>1</name>
  5702. <description>Enables the DMA request.</description>
  5703. <value>#1</value>
  5704. </enumeratedValue>
  5705. </enumeratedValues>
  5706. </field>
  5707. <field>
  5708. <name>FWDE</name>
  5709. <description>FIFO warning DMA enable</description>
  5710. <bitOffset>1</bitOffset>
  5711. <bitWidth>1</bitWidth>
  5712. <access>read-write</access>
  5713. <enumeratedValues>
  5714. <enumeratedValue>
  5715. <name>0</name>
  5716. <description>Disables the DMA request.</description>
  5717. <value>#0</value>
  5718. </enumeratedValue>
  5719. <enumeratedValue>
  5720. <name>1</name>
  5721. <description>Enables the DMA request.</description>
  5722. <value>#1</value>
  5723. </enumeratedValue>
  5724. </enumeratedValues>
  5725. </field>
  5726. <field>
  5727. <name>FRIE</name>
  5728. <description>FIFO request interrupt enable</description>
  5729. <bitOffset>8</bitOffset>
  5730. <bitWidth>1</bitWidth>
  5731. <access>read-write</access>
  5732. <enumeratedValues>
  5733. <enumeratedValue>
  5734. <name>0</name>
  5735. <description>Disables the interrupt.</description>
  5736. <value>#0</value>
  5737. </enumeratedValue>
  5738. <enumeratedValue>
  5739. <name>1</name>
  5740. <description>Enables the interrupt.</description>
  5741. <value>#1</value>
  5742. </enumeratedValue>
  5743. </enumeratedValues>
  5744. </field>
  5745. <field>
  5746. <name>FWIE</name>
  5747. <description>FIFO warning interrupt enable</description>
  5748. <bitOffset>9</bitOffset>
  5749. <bitWidth>1</bitWidth>
  5750. <access>read-write</access>
  5751. <enumeratedValues>
  5752. <enumeratedValue>
  5753. <name>0</name>
  5754. <description>Disables the interrupt.</description>
  5755. <value>#0</value>
  5756. </enumeratedValue>
  5757. <enumeratedValue>
  5758. <name>1</name>
  5759. <description>Enables the interrupt.</description>
  5760. <value>#1</value>
  5761. </enumeratedValue>
  5762. </enumeratedValues>
  5763. </field>
  5764. <field>
  5765. <name>FEIE</name>
  5766. <description>FIFO error interrupt enable</description>
  5767. <bitOffset>10</bitOffset>
  5768. <bitWidth>1</bitWidth>
  5769. <access>read-write</access>
  5770. <enumeratedValues>
  5771. <enumeratedValue>
  5772. <name>0</name>
  5773. <description>Disables the interrupt,</description>
  5774. <value>#0</value>
  5775. </enumeratedValue>
  5776. <enumeratedValue>
  5777. <name>1</name>
  5778. <description>Enables the interrupt.</description>
  5779. <value>#1</value>
  5780. </enumeratedValue>
  5781. </enumeratedValues>
  5782. </field>
  5783. <field>
  5784. <name>SEIE</name>
  5785. <description>Sync error interrupt enable</description>
  5786. <bitOffset>11</bitOffset>
  5787. <bitWidth>1</bitWidth>
  5788. <access>read-write</access>
  5789. <enumeratedValues>
  5790. <enumeratedValue>
  5791. <name>0</name>
  5792. <description>Disables interrupt.</description>
  5793. <value>#0</value>
  5794. </enumeratedValue>
  5795. <enumeratedValue>
  5796. <name>1</name>
  5797. <description>Enables interrupt.</description>
  5798. <value>#1</value>
  5799. </enumeratedValue>
  5800. </enumeratedValues>
  5801. </field>
  5802. <field>
  5803. <name>WSIE</name>
  5804. <description>Word start interrupt enable</description>
  5805. <bitOffset>12</bitOffset>
  5806. <bitWidth>1</bitWidth>
  5807. <access>read-write</access>
  5808. <enumeratedValues>
  5809. <enumeratedValue>
  5810. <name>0</name>
  5811. <description>Disables interrupt.</description>
  5812. <value>#0</value>
  5813. </enumeratedValue>
  5814. <enumeratedValue>
  5815. <name>1</name>
  5816. <description>Enables interrupt.</description>
  5817. <value>#1</value>
  5818. </enumeratedValue>
  5819. </enumeratedValues>
  5820. </field>
  5821. <field>
  5822. <name>FRF</name>
  5823. <description>FIFO request flag</description>
  5824. <bitOffset>16</bitOffset>
  5825. <bitWidth>1</bitWidth>
  5826. <access>read-only</access>
  5827. <enumeratedValues>
  5828. <enumeratedValue>
  5829. <name>0</name>
  5830. <description>Receive FIFO watermark not reached.</description>
  5831. <value>#0</value>
  5832. </enumeratedValue>
  5833. <enumeratedValue>
  5834. <name>1</name>
  5835. <description>Receive FIFO watermark has been reached.</description>
  5836. <value>#1</value>
  5837. </enumeratedValue>
  5838. </enumeratedValues>
  5839. </field>
  5840. <field>
  5841. <name>FWF</name>
  5842. <description>FIFO warning flag</description>
  5843. <bitOffset>17</bitOffset>
  5844. <bitWidth>1</bitWidth>
  5845. <access>read-only</access>
  5846. <enumeratedValues>
  5847. <enumeratedValue>
  5848. <name>0</name>
  5849. <description>No enabled receive FIFO is full.</description>
  5850. <value>#0</value>
  5851. </enumeratedValue>
  5852. <enumeratedValue>
  5853. <name>1</name>
  5854. <description>Enabled receive FIFO is full.</description>
  5855. <value>#1</value>
  5856. </enumeratedValue>
  5857. </enumeratedValues>
  5858. </field>
  5859. <field>
  5860. <name>FEF</name>
  5861. <description>FIFO error flag</description>
  5862. <bitOffset>18</bitOffset>
  5863. <bitWidth>1</bitWidth>
  5864. <access>read-write</access>
  5865. <enumeratedValues>
  5866. <enumeratedValue>
  5867. <name>0</name>
  5868. <description>Receive overflow not detected.</description>
  5869. <value>#0</value>
  5870. </enumeratedValue>
  5871. <enumeratedValue>
  5872. <name>1</name>
  5873. <description>Receive overflow detected.</description>
  5874. <value>#1</value>
  5875. </enumeratedValue>
  5876. </enumeratedValues>
  5877. </field>
  5878. <field>
  5879. <name>SEF</name>
  5880. <description>Sync error flag</description>
  5881. <bitOffset>19</bitOffset>
  5882. <bitWidth>1</bitWidth>
  5883. <access>read-write</access>
  5884. <enumeratedValues>
  5885. <enumeratedValue>
  5886. <name>0</name>
  5887. <description>Sync error not detected.</description>
  5888. <value>#0</value>
  5889. </enumeratedValue>
  5890. <enumeratedValue>
  5891. <name>1</name>
  5892. <description>Frame sync error detected.</description>
  5893. <value>#1</value>
  5894. </enumeratedValue>
  5895. </enumeratedValues>
  5896. </field>
  5897. <field>
  5898. <name>WSF</name>
  5899. <description>Word start flag</description>
  5900. <bitOffset>20</bitOffset>
  5901. <bitWidth>1</bitWidth>
  5902. <access>read-write</access>
  5903. <enumeratedValues>
  5904. <enumeratedValue>
  5905. <name>0</name>
  5906. <description>Start of word not detected.</description>
  5907. <value>#0</value>
  5908. </enumeratedValue>
  5909. <enumeratedValue>
  5910. <name>1</name>
  5911. <description>Start of word detected.</description>
  5912. <value>#1</value>
  5913. </enumeratedValue>
  5914. </enumeratedValues>
  5915. </field>
  5916. <field>
  5917. <name>SR</name>
  5918. <description>Software reset</description>
  5919. <bitOffset>24</bitOffset>
  5920. <bitWidth>1</bitWidth>
  5921. <access>read-write</access>
  5922. <enumeratedValues>
  5923. <enumeratedValue>
  5924. <name>0</name>
  5925. <description>No effect.</description>
  5926. <value>#0</value>
  5927. </enumeratedValue>
  5928. <enumeratedValue>
  5929. <name>1</name>
  5930. <description>Software reset.</description>
  5931. <value>#1</value>
  5932. </enumeratedValue>
  5933. </enumeratedValues>
  5934. </field>
  5935. <field>
  5936. <name>FR</name>
  5937. <description>FIFO reset</description>
  5938. <bitOffset>25</bitOffset>
  5939. <bitWidth>1</bitWidth>
  5940. <access>write-only</access>
  5941. <enumeratedValues>
  5942. <enumeratedValue>
  5943. <name>0</name>
  5944. <description>No effect.</description>
  5945. <value>#0</value>
  5946. </enumeratedValue>
  5947. <enumeratedValue>
  5948. <name>1</name>
  5949. <description>FIFO reset.</description>
  5950. <value>#1</value>
  5951. </enumeratedValue>
  5952. </enumeratedValues>
  5953. </field>
  5954. <field>
  5955. <name>BCE</name>
  5956. <description>Bit Clock enable</description>
  5957. <bitOffset>28</bitOffset>
  5958. <bitWidth>1</bitWidth>
  5959. <access>read-write</access>
  5960. <enumeratedValues>
  5961. <enumeratedValue>
  5962. <name>0</name>
  5963. <description>Receive bit clock is disabled</description>
  5964. <value>#0</value>
  5965. </enumeratedValue>
  5966. <enumeratedValue>
  5967. <name>1</name>
  5968. <description>Receive bit clock is enabled</description>
  5969. <value>#1</value>
  5970. </enumeratedValue>
  5971. </enumeratedValues>
  5972. </field>
  5973. <field>
  5974. <name>DBGE</name>
  5975. <description>Debug enable</description>
  5976. <bitOffset>29</bitOffset>
  5977. <bitWidth>1</bitWidth>
  5978. <access>read-write</access>
  5979. <enumeratedValues>
  5980. <enumeratedValue>
  5981. <name>0</name>
  5982. <description>Receiver is disabled in debug mode, after completing the current frame.</description>
  5983. <value>#0</value>
  5984. </enumeratedValue>
  5985. <enumeratedValue>
  5986. <name>1</name>
  5987. <description>Receiver is enabled in debug mode.</description>
  5988. <value>#1</value>
  5989. </enumeratedValue>
  5990. </enumeratedValues>
  5991. </field>
  5992. <field>
  5993. <name>STOPE</name>
  5994. <description>Stop enable</description>
  5995. <bitOffset>30</bitOffset>
  5996. <bitWidth>1</bitWidth>
  5997. <access>read-write</access>
  5998. <enumeratedValues>
  5999. <enumeratedValue>
  6000. <name>0</name>
  6001. <description>Receiver disabled in stop mode.</description>
  6002. <value>#0</value>
  6003. </enumeratedValue>
  6004. <enumeratedValue>
  6005. <name>1</name>
  6006. <description>Receiver enabled in stop mode.</description>
  6007. <value>#1</value>
  6008. </enumeratedValue>
  6009. </enumeratedValues>
  6010. </field>
  6011. <field>
  6012. <name>RE</name>
  6013. <description>Receiver enable</description>
  6014. <bitOffset>31</bitOffset>
  6015. <bitWidth>1</bitWidth>
  6016. <access>read-write</access>
  6017. <enumeratedValues>
  6018. <enumeratedValue>
  6019. <name>0</name>
  6020. <description>Receiver is disabled.</description>
  6021. <value>#0</value>
  6022. </enumeratedValue>
  6023. <enumeratedValue>
  6024. <name>1</name>
  6025. <description>Receiver is enabled, or receiver has been disabled and not end of frame.</description>
  6026. <value>#1</value>
  6027. </enumeratedValue>
  6028. </enumeratedValues>
  6029. </field>
  6030. </fields>
  6031. </register>
  6032. <register>
  6033. <name>RCR1</name>
  6034. <description>SAI Receive Configuration 1 Register</description>
  6035. <addressOffset>0x84</addressOffset>
  6036. <size>32</size>
  6037. <access>read-write</access>
  6038. <resetValue>0</resetValue>
  6039. <resetMask>0xFFFFFFFF</resetMask>
  6040. <fields>
  6041. <field>
  6042. <name>RFW</name>
  6043. <description>Receive FIFO watermark</description>
  6044. <bitOffset>0</bitOffset>
  6045. <bitWidth>3</bitWidth>
  6046. <access>read-write</access>
  6047. </field>
  6048. </fields>
  6049. </register>
  6050. <register>
  6051. <name>RCR2</name>
  6052. <description>SAI Receive Configuration 2 Register</description>
  6053. <addressOffset>0x88</addressOffset>
  6054. <size>32</size>
  6055. <access>read-write</access>
  6056. <resetValue>0</resetValue>
  6057. <resetMask>0xFFFFFFFF</resetMask>
  6058. <fields>
  6059. <field>
  6060. <name>DIV</name>
  6061. <description>Bit clock divide</description>
  6062. <bitOffset>0</bitOffset>
  6063. <bitWidth>8</bitWidth>
  6064. <access>read-write</access>
  6065. </field>
  6066. <field>
  6067. <name>BCD</name>
  6068. <description>Bit clock direction</description>
  6069. <bitOffset>24</bitOffset>
  6070. <bitWidth>1</bitWidth>
  6071. <access>read-write</access>
  6072. <enumeratedValues>
  6073. <enumeratedValue>
  6074. <name>0</name>
  6075. <description>Bit clock is generated externally (slave mode).</description>
  6076. <value>#0</value>
  6077. </enumeratedValue>
  6078. <enumeratedValue>
  6079. <name>1</name>
  6080. <description>Bit clock is generated internally (master mode).</description>
  6081. <value>#1</value>
  6082. </enumeratedValue>
  6083. </enumeratedValues>
  6084. </field>
  6085. <field>
  6086. <name>BCP</name>
  6087. <description>Bit clock polarity</description>
  6088. <bitOffset>25</bitOffset>
  6089. <bitWidth>1</bitWidth>
  6090. <access>read-write</access>
  6091. <enumeratedValues>
  6092. <enumeratedValue>
  6093. <name>0</name>
  6094. <description>Bit Clock is active high (drive outputs on rising edge and sample inputs on falling edge).</description>
  6095. <value>#0</value>
  6096. </enumeratedValue>
  6097. <enumeratedValue>
  6098. <name>1</name>
  6099. <description>Bit Clock is active low (drive outputs on falling edge and sample inputs on rising edge).</description>
  6100. <value>#1</value>
  6101. </enumeratedValue>
  6102. </enumeratedValues>
  6103. </field>
  6104. <field>
  6105. <name>MSEL</name>
  6106. <description>MCLK Select</description>
  6107. <bitOffset>26</bitOffset>
  6108. <bitWidth>2</bitWidth>
  6109. <access>read-write</access>
  6110. <enumeratedValues>
  6111. <enumeratedValue>
  6112. <name>00</name>
  6113. <description>Bus Clock selected.</description>
  6114. <value>#00</value>
  6115. </enumeratedValue>
  6116. <enumeratedValue>
  6117. <name>01</name>
  6118. <description>Master Clock 1 selected.</description>
  6119. <value>#01</value>
  6120. </enumeratedValue>
  6121. <enumeratedValue>
  6122. <name>10</name>
  6123. <description>Master Clock 2 selected.</description>
  6124. <value>#10</value>
  6125. </enumeratedValue>
  6126. <enumeratedValue>
  6127. <name>11</name>
  6128. <description>Master Clock 3 selected.</description>
  6129. <value>#11</value>
  6130. </enumeratedValue>
  6131. </enumeratedValues>
  6132. </field>
  6133. <field>
  6134. <name>BCI</name>
  6135. <description>Bit Clock Input</description>
  6136. <bitOffset>28</bitOffset>
  6137. <bitWidth>1</bitWidth>
  6138. <access>read-write</access>
  6139. <enumeratedValues>
  6140. <enumeratedValue>
  6141. <name>0</name>
  6142. <description>No effect.</description>
  6143. <value>#0</value>
  6144. </enumeratedValue>
  6145. <enumeratedValue>
  6146. <name>1</name>
  6147. <description>Internal logic is clocked as if bit clock was externally generated.</description>
  6148. <value>#1</value>
  6149. </enumeratedValue>
  6150. </enumeratedValues>
  6151. </field>
  6152. <field>
  6153. <name>BCS</name>
  6154. <description>Bit Clock Swap</description>
  6155. <bitOffset>29</bitOffset>
  6156. <bitWidth>1</bitWidth>
  6157. <access>read-write</access>
  6158. <enumeratedValues>
  6159. <enumeratedValue>
  6160. <name>0</name>
  6161. <description>Use the normal bit clock source.</description>
  6162. <value>#0</value>
  6163. </enumeratedValue>
  6164. <enumeratedValue>
  6165. <name>1</name>
  6166. <description>Swap the bit clock source.</description>
  6167. <value>#1</value>
  6168. </enumeratedValue>
  6169. </enumeratedValues>
  6170. </field>
  6171. <field>
  6172. <name>SYNC</name>
  6173. <description>Synchronous Mode</description>
  6174. <bitOffset>30</bitOffset>
  6175. <bitWidth>2</bitWidth>
  6176. <access>read-write</access>
  6177. <enumeratedValues>
  6178. <enumeratedValue>
  6179. <name>00</name>
  6180. <description>Asynchronous mode.</description>
  6181. <value>#00</value>
  6182. </enumeratedValue>
  6183. <enumeratedValue>
  6184. <name>01</name>
  6185. <description>Synchronous with transmitter.</description>
  6186. <value>#01</value>
  6187. </enumeratedValue>
  6188. <enumeratedValue>
  6189. <name>10</name>
  6190. <description>Synchronous with another SAI receiver.</description>
  6191. <value>#10</value>
  6192. </enumeratedValue>
  6193. <enumeratedValue>
  6194. <name>11</name>
  6195. <description>Synchronous with another SAI transmitter.</description>
  6196. <value>#11</value>
  6197. </enumeratedValue>
  6198. </enumeratedValues>
  6199. </field>
  6200. </fields>
  6201. </register>
  6202. <register>
  6203. <name>RCR3</name>
  6204. <description>SAI Receive Configuration 3 Register</description>
  6205. <addressOffset>0x8C</addressOffset>
  6206. <size>32</size>
  6207. <access>read-write</access>
  6208. <resetValue>0</resetValue>
  6209. <resetMask>0xFFFFFFFF</resetMask>
  6210. <fields>
  6211. <field>
  6212. <name>WDFL</name>
  6213. <description>Word flag configuration</description>
  6214. <bitOffset>0</bitOffset>
  6215. <bitWidth>5</bitWidth>
  6216. <access>read-write</access>
  6217. </field>
  6218. <field>
  6219. <name>RCE</name>
  6220. <description>Receive channel enable</description>
  6221. <bitOffset>16</bitOffset>
  6222. <bitWidth>2</bitWidth>
  6223. <access>read-write</access>
  6224. </field>
  6225. </fields>
  6226. </register>
  6227. <register>
  6228. <name>RCR4</name>
  6229. <description>SAI Receive Configuration 4 Register</description>
  6230. <addressOffset>0x90</addressOffset>
  6231. <size>32</size>
  6232. <access>read-write</access>
  6233. <resetValue>0</resetValue>
  6234. <resetMask>0xFFFFFFFF</resetMask>
  6235. <fields>
  6236. <field>
  6237. <name>FSD</name>
  6238. <description>Frame sync direction</description>
  6239. <bitOffset>0</bitOffset>
  6240. <bitWidth>1</bitWidth>
  6241. <access>read-write</access>
  6242. <enumeratedValues>
  6243. <enumeratedValue>
  6244. <name>0</name>
  6245. <description>Frame Sync is generated externally (slave mode).</description>
  6246. <value>#0</value>
  6247. </enumeratedValue>
  6248. <enumeratedValue>
  6249. <name>1</name>
  6250. <description>Frame Sync is generated internally (master mode).</description>
  6251. <value>#1</value>
  6252. </enumeratedValue>
  6253. </enumeratedValues>
  6254. </field>
  6255. <field>
  6256. <name>FSP</name>
  6257. <description>Frame sync polarity</description>
  6258. <bitOffset>1</bitOffset>
  6259. <bitWidth>1</bitWidth>
  6260. <access>read-write</access>
  6261. <enumeratedValues>
  6262. <enumeratedValue>
  6263. <name>0</name>
  6264. <description>Frame sync is active high.</description>
  6265. <value>#0</value>
  6266. </enumeratedValue>
  6267. <enumeratedValue>
  6268. <name>1</name>
  6269. <description>Frame sync is active low.</description>
  6270. <value>#1</value>
  6271. </enumeratedValue>
  6272. </enumeratedValues>
  6273. </field>
  6274. <field>
  6275. <name>FSE</name>
  6276. <description>Frame sync early</description>
  6277. <bitOffset>3</bitOffset>
  6278. <bitWidth>1</bitWidth>
  6279. <access>read-write</access>
  6280. <enumeratedValues>
  6281. <enumeratedValue>
  6282. <name>0</name>
  6283. <description>Frame sync asserts with the first bit of the frame.</description>
  6284. <value>#0</value>
  6285. </enumeratedValue>
  6286. <enumeratedValue>
  6287. <name>1</name>
  6288. <description>Frame sync asserts one bit before the first bit of the frame.</description>
  6289. <value>#1</value>
  6290. </enumeratedValue>
  6291. </enumeratedValues>
  6292. </field>
  6293. <field>
  6294. <name>MF</name>
  6295. <description>MSB first</description>
  6296. <bitOffset>4</bitOffset>
  6297. <bitWidth>1</bitWidth>
  6298. <access>read-write</access>
  6299. <enumeratedValues>
  6300. <enumeratedValue>
  6301. <name>0</name>
  6302. <description>LBS is transmitted/received first.</description>
  6303. <value>#0</value>
  6304. </enumeratedValue>
  6305. <enumeratedValue>
  6306. <name>1</name>
  6307. <description>MBS is transmitted/received first.</description>
  6308. <value>#1</value>
  6309. </enumeratedValue>
  6310. </enumeratedValues>
  6311. </field>
  6312. <field>
  6313. <name>SYWD</name>
  6314. <description>Sync width</description>
  6315. <bitOffset>8</bitOffset>
  6316. <bitWidth>5</bitWidth>
  6317. <access>read-write</access>
  6318. </field>
  6319. <field>
  6320. <name>FRSZ</name>
  6321. <description>Frame size</description>
  6322. <bitOffset>16</bitOffset>
  6323. <bitWidth>5</bitWidth>
  6324. <access>read-write</access>
  6325. </field>
  6326. </fields>
  6327. </register>
  6328. <register>
  6329. <name>RCR5</name>
  6330. <description>SAI Receive Configuration 5 Register</description>
  6331. <addressOffset>0x94</addressOffset>
  6332. <size>32</size>
  6333. <access>read-write</access>
  6334. <resetValue>0</resetValue>
  6335. <resetMask>0xFFFFFFFF</resetMask>
  6336. <fields>
  6337. <field>
  6338. <name>FBT</name>
  6339. <description>First bit shifted</description>
  6340. <bitOffset>8</bitOffset>
  6341. <bitWidth>5</bitWidth>
  6342. <access>read-write</access>
  6343. </field>
  6344. <field>
  6345. <name>W0W</name>
  6346. <description>Word 0 width</description>
  6347. <bitOffset>16</bitOffset>
  6348. <bitWidth>5</bitWidth>
  6349. <access>read-write</access>
  6350. </field>
  6351. <field>
  6352. <name>WNW</name>
  6353. <description>Word N width</description>
  6354. <bitOffset>24</bitOffset>
  6355. <bitWidth>5</bitWidth>
  6356. <access>read-write</access>
  6357. </field>
  6358. </fields>
  6359. </register>
  6360. <register>
  6361. <dim>2</dim>
  6362. <dimIncrement>0x4</dimIncrement>
  6363. <dimIndex>0,1</dimIndex>
  6364. <name>RDR%s</name>
  6365. <description>SAI Receive Data Register</description>
  6366. <addressOffset>0xA0</addressOffset>
  6367. <size>32</size>
  6368. <access>read-only</access>
  6369. <resetValue>0</resetValue>
  6370. <resetMask>0xFFFFFFFF</resetMask>
  6371. <fields>
  6372. <field>
  6373. <name>RDR</name>
  6374. <description>Receive data register</description>
  6375. <bitOffset>0</bitOffset>
  6376. <bitWidth>32</bitWidth>
  6377. <access>read-only</access>
  6378. </field>
  6379. </fields>
  6380. </register>
  6381. <register>
  6382. <dim>2</dim>
  6383. <dimIncrement>0x4</dimIncrement>
  6384. <dimIndex>0,1</dimIndex>
  6385. <name>RFR%s</name>
  6386. <description>SAI Receive FIFO Register</description>
  6387. <addressOffset>0xC0</addressOffset>
  6388. <size>32</size>
  6389. <access>read-only</access>
  6390. <resetValue>0</resetValue>
  6391. <resetMask>0xFFFFFFFF</resetMask>
  6392. <fields>
  6393. <field>
  6394. <name>RFP</name>
  6395. <description>Read FIFO pointer</description>
  6396. <bitOffset>0</bitOffset>
  6397. <bitWidth>4</bitWidth>
  6398. <access>read-only</access>
  6399. </field>
  6400. <field>
  6401. <name>WFP</name>
  6402. <description>Write FIFO pointer</description>
  6403. <bitOffset>16</bitOffset>
  6404. <bitWidth>4</bitWidth>
  6405. <access>read-only</access>
  6406. </field>
  6407. </fields>
  6408. </register>
  6409. <register>
  6410. <name>RMR</name>
  6411. <description>SAI Receive Mask Register</description>
  6412. <addressOffset>0xE0</addressOffset>
  6413. <size>32</size>
  6414. <access>read-write</access>
  6415. <resetValue>0</resetValue>
  6416. <resetMask>0xFFFFFFFF</resetMask>
  6417. <fields>
  6418. <field>
  6419. <name>RWM</name>
  6420. <description>Receive word mask</description>
  6421. <bitOffset>0</bitOffset>
  6422. <bitWidth>32</bitWidth>
  6423. <access>read-write</access>
  6424. <enumeratedValues>
  6425. <enumeratedValue>
  6426. <name>0</name>
  6427. <description>Word N is enabled.</description>
  6428. <value>#0</value>
  6429. </enumeratedValue>
  6430. <enumeratedValue>
  6431. <name>1</name>
  6432. <description>Word N is masked.</description>
  6433. <value>#1</value>
  6434. </enumeratedValue>
  6435. </enumeratedValues>
  6436. </field>
  6437. </fields>
  6438. </register>
  6439. <register>
  6440. <name>MCR</name>
  6441. <description>SAI MCLK Control Register</description>
  6442. <addressOffset>0x100</addressOffset>
  6443. <size>32</size>
  6444. <access>read-write</access>
  6445. <resetValue>0</resetValue>
  6446. <resetMask>0xFFFFFFFF</resetMask>
  6447. <fields>
  6448. <field>
  6449. <name>MICS</name>
  6450. <description>MCLK Input Clock Select</description>
  6451. <bitOffset>24</bitOffset>
  6452. <bitWidth>2</bitWidth>
  6453. <access>read-write</access>
  6454. <enumeratedValues>
  6455. <enumeratedValue>
  6456. <name>00</name>
  6457. <description>MCLK Divider input clock 0 selected.</description>
  6458. <value>#00</value>
  6459. </enumeratedValue>
  6460. <enumeratedValue>
  6461. <name>01</name>
  6462. <description>MCLK Divider input clock 1 selected.</description>
  6463. <value>#01</value>
  6464. </enumeratedValue>
  6465. <enumeratedValue>
  6466. <name>10</name>
  6467. <description>MCLK Divider input clock 2 selected.</description>
  6468. <value>#10</value>
  6469. </enumeratedValue>
  6470. <enumeratedValue>
  6471. <name>11</name>
  6472. <description>MCLK Divider input clock 3 selected.</description>
  6473. <value>#11</value>
  6474. </enumeratedValue>
  6475. </enumeratedValues>
  6476. </field>
  6477. <field>
  6478. <name>MOE</name>
  6479. <description>MCLK Output Enable</description>
  6480. <bitOffset>30</bitOffset>
  6481. <bitWidth>1</bitWidth>
  6482. <access>read-write</access>
  6483. <enumeratedValues>
  6484. <enumeratedValue>
  6485. <name>0</name>
  6486. <description>SAI_MCLK pin is configured as an input that bypasses the MCLK Divider.</description>
  6487. <value>#0</value>
  6488. </enumeratedValue>
  6489. <enumeratedValue>
  6490. <name>1</name>
  6491. <description>SAI_MCLK pin is configured as an output from the MCLK Divider and the MCLK Divider is enabled.</description>
  6492. <value>#1</value>
  6493. </enumeratedValue>
  6494. </enumeratedValues>
  6495. </field>
  6496. <field>
  6497. <name>DUF</name>
  6498. <description>Divider Update Flag</description>
  6499. <bitOffset>31</bitOffset>
  6500. <bitWidth>1</bitWidth>
  6501. <access>read-only</access>
  6502. <enumeratedValues>
  6503. <enumeratedValue>
  6504. <name>0</name>
  6505. <description>MCLK Divider ratio is not being updated currently.</description>
  6506. <value>#0</value>
  6507. </enumeratedValue>
  6508. <enumeratedValue>
  6509. <name>1</name>
  6510. <description>MCLK Divider ratio is updating on-the-fly. Furthur updates to the MCLK Divider ratio are blocked while this flag remains set.</description>
  6511. <value>#1</value>
  6512. </enumeratedValue>
  6513. </enumeratedValues>
  6514. </field>
  6515. </fields>
  6516. </register>
  6517. <register>
  6518. <name>MDR</name>
  6519. <description>MCLK Divide Register</description>
  6520. <addressOffset>0x104</addressOffset>
  6521. <size>32</size>
  6522. <access>read-write</access>
  6523. <resetValue>0</resetValue>
  6524. <resetMask>0xFFFFFFFF</resetMask>
  6525. <fields>
  6526. <field>
  6527. <name>DIVIDE</name>
  6528. <description>MCLK Divide</description>
  6529. <bitOffset>0</bitOffset>
  6530. <bitWidth>12</bitWidth>
  6531. <access>read-write</access>
  6532. </field>
  6533. <field>
  6534. <name>FRACT</name>
  6535. <description>MCLK Fraction</description>
  6536. <bitOffset>12</bitOffset>
  6537. <bitWidth>8</bitWidth>
  6538. <access>read-write</access>
  6539. </field>
  6540. </fields>
  6541. </register>
  6542. </registers>
  6543. </peripheral>
  6544. <peripheral>
  6545. <name>CRC</name>
  6546. <description>Cyclic Redundancy Check</description>
  6547. <prependToName>CRC_</prependToName>
  6548. <baseAddress>0x40032000</baseAddress>
  6549. <addressBlock>
  6550. <offset>0</offset>
  6551. <size>0xC</size>
  6552. <usage>registers</usage>
  6553. </addressBlock>
  6554. <registers>
  6555. <register>
  6556. <name>CRC</name>
  6557. <description>CRC Data Register</description>
  6558. <alternateGroup>CRC</alternateGroup>
  6559. <addressOffset>0</addressOffset>
  6560. <size>32</size>
  6561. <access>read-write</access>
  6562. <resetValue>0xFFFFFFFF</resetValue>
  6563. <resetMask>0xFFFFFFFF</resetMask>
  6564. <fields>
  6565. <field>
  6566. <name>LL</name>
  6567. <description>CRC Low Lower Byte</description>
  6568. <bitOffset>0</bitOffset>
  6569. <bitWidth>8</bitWidth>
  6570. <access>read-write</access>
  6571. </field>
  6572. <field>
  6573. <name>LU</name>
  6574. <description>CRC Low Upper Byte</description>
  6575. <bitOffset>8</bitOffset>
  6576. <bitWidth>8</bitWidth>
  6577. <access>read-write</access>
  6578. </field>
  6579. <field>
  6580. <name>HL</name>
  6581. <description>CRC High Lower Byte</description>
  6582. <bitOffset>16</bitOffset>
  6583. <bitWidth>8</bitWidth>
  6584. <access>read-write</access>
  6585. </field>
  6586. <field>
  6587. <name>HU</name>
  6588. <description>CRC High Upper Byte</description>
  6589. <bitOffset>24</bitOffset>
  6590. <bitWidth>8</bitWidth>
  6591. <access>read-write</access>
  6592. </field>
  6593. </fields>
  6594. </register>
  6595. <register>
  6596. <name>CRCL</name>
  6597. <description>CRC_CRCL register.</description>
  6598. <alternateGroup>CRC</alternateGroup>
  6599. <addressOffset>0</addressOffset>
  6600. <size>16</size>
  6601. <access>read-write</access>
  6602. <resetValue>0xFFFF</resetValue>
  6603. <resetMask>0xFFFF</resetMask>
  6604. <fields>
  6605. <field>
  6606. <name>CRCL</name>
  6607. <description>CRCL stores the lower 16 bits of the 16/32 bit CRC</description>
  6608. <bitOffset>0</bitOffset>
  6609. <bitWidth>16</bitWidth>
  6610. <access>read-write</access>
  6611. </field>
  6612. </fields>
  6613. </register>
  6614. <register>
  6615. <name>CRCLL</name>
  6616. <description>CRC_CRCLL register.</description>
  6617. <alternateGroup>CRC</alternateGroup>
  6618. <addressOffset>0</addressOffset>
  6619. <size>8</size>
  6620. <access>read-write</access>
  6621. <resetValue>0xFF</resetValue>
  6622. <resetMask>0xFF</resetMask>
  6623. <fields>
  6624. <field>
  6625. <name>CRCLL</name>
  6626. <description>CRCLL stores the first 8 bits of the 32 bit CRC</description>
  6627. <bitOffset>0</bitOffset>
  6628. <bitWidth>8</bitWidth>
  6629. <access>read-write</access>
  6630. </field>
  6631. </fields>
  6632. </register>
  6633. <register>
  6634. <name>CRCLU</name>
  6635. <description>CRC_CRCLU register.</description>
  6636. <addressOffset>0x1</addressOffset>
  6637. <size>8</size>
  6638. <access>read-write</access>
  6639. <resetValue>0xFF</resetValue>
  6640. <resetMask>0xFF</resetMask>
  6641. <fields>
  6642. <field>
  6643. <name>CRCLU</name>
  6644. <description>CRCLL stores the second 8 bits of the 32 bit CRC</description>
  6645. <bitOffset>0</bitOffset>
  6646. <bitWidth>8</bitWidth>
  6647. <access>read-write</access>
  6648. </field>
  6649. </fields>
  6650. </register>
  6651. <register>
  6652. <name>CRCH</name>
  6653. <description>CRC_CRCH register.</description>
  6654. <alternateGroup>CRC</alternateGroup>
  6655. <addressOffset>0x2</addressOffset>
  6656. <size>16</size>
  6657. <access>read-write</access>
  6658. <resetValue>0xFFFF</resetValue>
  6659. <resetMask>0xFFFF</resetMask>
  6660. <fields>
  6661. <field>
  6662. <name>CRCH</name>
  6663. <description>CRCH stores the high 16 bits of the 16/32 bit CRC</description>
  6664. <bitOffset>0</bitOffset>
  6665. <bitWidth>16</bitWidth>
  6666. <access>read-write</access>
  6667. </field>
  6668. </fields>
  6669. </register>
  6670. <register>
  6671. <name>CRCHL</name>
  6672. <description>CRC_CRCHL register.</description>
  6673. <alternateGroup>CRC</alternateGroup>
  6674. <addressOffset>0x2</addressOffset>
  6675. <size>8</size>
  6676. <access>read-write</access>
  6677. <resetValue>0xFF</resetValue>
  6678. <resetMask>0xFF</resetMask>
  6679. <fields>
  6680. <field>
  6681. <name>CRCHL</name>
  6682. <description>CRCHL stores the third 8 bits of the 32 bit CRC</description>
  6683. <bitOffset>0</bitOffset>
  6684. <bitWidth>8</bitWidth>
  6685. <access>read-write</access>
  6686. </field>
  6687. </fields>
  6688. </register>
  6689. <register>
  6690. <name>CRCHU</name>
  6691. <description>CRC_CRCHU register.</description>
  6692. <addressOffset>0x3</addressOffset>
  6693. <size>8</size>
  6694. <access>read-write</access>
  6695. <resetValue>0xFF</resetValue>
  6696. <resetMask>0xFF</resetMask>
  6697. <fields>
  6698. <field>
  6699. <name>CRCHU</name>
  6700. <description>CRCHU stores the fourth 8 bits of the 32 bit CRC</description>
  6701. <bitOffset>0</bitOffset>
  6702. <bitWidth>8</bitWidth>
  6703. <access>read-write</access>
  6704. </field>
  6705. </fields>
  6706. </register>
  6707. <register>
  6708. <name>GPOLY</name>
  6709. <description>CRC Polynomial Register</description>
  6710. <alternateGroup>CRC</alternateGroup>
  6711. <addressOffset>0x4</addressOffset>
  6712. <size>32</size>
  6713. <access>read-write</access>
  6714. <resetValue>0x1021</resetValue>
  6715. <resetMask>0xFFFFFFFF</resetMask>
  6716. <fields>
  6717. <field>
  6718. <name>LOW</name>
  6719. <description>Low polynominal half-word</description>
  6720. <bitOffset>0</bitOffset>
  6721. <bitWidth>16</bitWidth>
  6722. <access>read-write</access>
  6723. </field>
  6724. <field>
  6725. <name>HIGH</name>
  6726. <description>High polynominal half-word</description>
  6727. <bitOffset>16</bitOffset>
  6728. <bitWidth>16</bitWidth>
  6729. <access>read-write</access>
  6730. </field>
  6731. </fields>
  6732. </register>
  6733. <register>
  6734. <name>GPOLYL</name>
  6735. <description>CRC_GPOLYL register.</description>
  6736. <alternateGroup>CRC</alternateGroup>
  6737. <addressOffset>0x4</addressOffset>
  6738. <size>16</size>
  6739. <access>read-write</access>
  6740. <resetValue>0xFFFF</resetValue>
  6741. <resetMask>0xFFFF</resetMask>
  6742. <fields>
  6743. <field>
  6744. <name>GPOLYL</name>
  6745. <description>POLYL stores the lower 16 bits of the 16/32 bit CRC polynomial value</description>
  6746. <bitOffset>0</bitOffset>
  6747. <bitWidth>16</bitWidth>
  6748. <access>read-write</access>
  6749. </field>
  6750. </fields>
  6751. </register>
  6752. <register>
  6753. <name>GPOLYLL</name>
  6754. <description>CRC_GPOLYLL register.</description>
  6755. <alternateGroup>CRC</alternateGroup>
  6756. <addressOffset>0x4</addressOffset>
  6757. <size>8</size>
  6758. <access>read-write</access>
  6759. <resetValue>0xFF</resetValue>
  6760. <resetMask>0xFF</resetMask>
  6761. <fields>
  6762. <field>
  6763. <name>GPOLYLL</name>
  6764. <description>POLYLL stores the first 8 bits of the 32 bit CRC</description>
  6765. <bitOffset>0</bitOffset>
  6766. <bitWidth>8</bitWidth>
  6767. <access>read-write</access>
  6768. </field>
  6769. </fields>
  6770. </register>
  6771. <register>
  6772. <name>GPOLYLU</name>
  6773. <description>CRC_GPOLYLU register.</description>
  6774. <addressOffset>0x5</addressOffset>
  6775. <size>8</size>
  6776. <access>read-write</access>
  6777. <resetValue>0xFF</resetValue>
  6778. <resetMask>0xFF</resetMask>
  6779. <fields>
  6780. <field>
  6781. <name>GPOLYLU</name>
  6782. <description>POLYLL stores the second 8 bits of the 32 bit CRC</description>
  6783. <bitOffset>0</bitOffset>
  6784. <bitWidth>8</bitWidth>
  6785. <access>read-write</access>
  6786. </field>
  6787. </fields>
  6788. </register>
  6789. <register>
  6790. <name>GPOLYH</name>
  6791. <description>CRC_GPOLYH register.</description>
  6792. <alternateGroup>CRC</alternateGroup>
  6793. <addressOffset>0x6</addressOffset>
  6794. <size>16</size>
  6795. <access>read-write</access>
  6796. <resetValue>0xFFFF</resetValue>
  6797. <resetMask>0xFFFF</resetMask>
  6798. <fields>
  6799. <field>
  6800. <name>GPOLYH</name>
  6801. <description>POLYH stores the high 16 bits of the 16/32 bit CRC polynomial value</description>
  6802. <bitOffset>0</bitOffset>
  6803. <bitWidth>16</bitWidth>
  6804. <access>read-write</access>
  6805. </field>
  6806. </fields>
  6807. </register>
  6808. <register>
  6809. <name>GPOLYHL</name>
  6810. <description>CRC_GPOLYHL register.</description>
  6811. <alternateGroup>CRC</alternateGroup>
  6812. <addressOffset>0x6</addressOffset>
  6813. <size>8</size>
  6814. <access>read-write</access>
  6815. <resetValue>0xFF</resetValue>
  6816. <resetMask>0xFF</resetMask>
  6817. <fields>
  6818. <field>
  6819. <name>GPOLYHL</name>
  6820. <description>POLYHL stores the third 8 bits of the 32 bit CRC</description>
  6821. <bitOffset>0</bitOffset>
  6822. <bitWidth>8</bitWidth>
  6823. <access>read-write</access>
  6824. </field>
  6825. </fields>
  6826. </register>
  6827. <register>
  6828. <name>GPOLYHU</name>
  6829. <description>CRC_GPOLYHU register.</description>
  6830. <addressOffset>0x7</addressOffset>
  6831. <size>8</size>
  6832. <access>read-write</access>
  6833. <resetValue>0xFF</resetValue>
  6834. <resetMask>0xFF</resetMask>
  6835. <fields>
  6836. <field>
  6837. <name>GPOLYHU</name>
  6838. <description>POLYHU stores the fourth 8 bits of the 32 bit CRC</description>
  6839. <bitOffset>0</bitOffset>
  6840. <bitWidth>8</bitWidth>
  6841. <access>read-write</access>
  6842. </field>
  6843. </fields>
  6844. </register>
  6845. <register>
  6846. <name>CTRL</name>
  6847. <description>CRC Control Register</description>
  6848. <addressOffset>0x8</addressOffset>
  6849. <size>32</size>
  6850. <access>read-write</access>
  6851. <resetValue>0</resetValue>
  6852. <resetMask>0xFFFFFFFF</resetMask>
  6853. <fields>
  6854. <field>
  6855. <name>TCRC</name>
  6856. <description>Width of CRC protocol.</description>
  6857. <bitOffset>24</bitOffset>
  6858. <bitWidth>1</bitWidth>
  6859. <access>read-write</access>
  6860. <enumeratedValues>
  6861. <enumeratedValue>
  6862. <name>0</name>
  6863. <description>16-bit CRC protocol.</description>
  6864. <value>#0</value>
  6865. </enumeratedValue>
  6866. <enumeratedValue>
  6867. <name>1</name>
  6868. <description>32-bit CRC protocol.</description>
  6869. <value>#1</value>
  6870. </enumeratedValue>
  6871. </enumeratedValues>
  6872. </field>
  6873. <field>
  6874. <name>WAS</name>
  6875. <description>Write CRC data register as seed</description>
  6876. <bitOffset>25</bitOffset>
  6877. <bitWidth>1</bitWidth>
  6878. <access>read-write</access>
  6879. <enumeratedValues>
  6880. <enumeratedValue>
  6881. <name>0</name>
  6882. <description>Writes to the CRC data register are data values.</description>
  6883. <value>#0</value>
  6884. </enumeratedValue>
  6885. <enumeratedValue>
  6886. <name>1</name>
  6887. <description>Writes to the CRC data register are seed values.</description>
  6888. <value>#1</value>
  6889. </enumeratedValue>
  6890. </enumeratedValues>
  6891. </field>
  6892. <field>
  6893. <name>FXOR</name>
  6894. <description>Complement Read of CRC data register</description>
  6895. <bitOffset>26</bitOffset>
  6896. <bitWidth>1</bitWidth>
  6897. <access>read-write</access>
  6898. <enumeratedValues>
  6899. <enumeratedValue>
  6900. <name>0</name>
  6901. <description>No XOR on reading.</description>
  6902. <value>#0</value>
  6903. </enumeratedValue>
  6904. <enumeratedValue>
  6905. <name>1</name>
  6906. <description>Invert or complement the read value of the CRC data register.</description>
  6907. <value>#1</value>
  6908. </enumeratedValue>
  6909. </enumeratedValues>
  6910. </field>
  6911. <field>
  6912. <name>TOTR</name>
  6913. <description>Type of Transpose for Read</description>
  6914. <bitOffset>28</bitOffset>
  6915. <bitWidth>2</bitWidth>
  6916. <access>read-write</access>
  6917. <enumeratedValues>
  6918. <enumeratedValue>
  6919. <name>00</name>
  6920. <description>No transposition.</description>
  6921. <value>#00</value>
  6922. </enumeratedValue>
  6923. <enumeratedValue>
  6924. <name>01</name>
  6925. <description>Bits in bytes are transposed; bytes are not transposed.</description>
  6926. <value>#01</value>
  6927. </enumeratedValue>
  6928. <enumeratedValue>
  6929. <name>10</name>
  6930. <description>Both bits in bytes and bytes are transposed.</description>
  6931. <value>#10</value>
  6932. </enumeratedValue>
  6933. <enumeratedValue>
  6934. <name>11</name>
  6935. <description>Only bytes are transposed; no bits in a byte are transposed.</description>
  6936. <value>#11</value>
  6937. </enumeratedValue>
  6938. </enumeratedValues>
  6939. </field>
  6940. <field>
  6941. <name>TOT</name>
  6942. <description>Type of Transpose for Writes</description>
  6943. <bitOffset>30</bitOffset>
  6944. <bitWidth>2</bitWidth>
  6945. <access>read-write</access>
  6946. <enumeratedValues>
  6947. <enumeratedValue>
  6948. <name>00</name>
  6949. <description>No transposition.</description>
  6950. <value>#00</value>
  6951. </enumeratedValue>
  6952. <enumeratedValue>
  6953. <name>01</name>
  6954. <description>Bits in bytes are transposed; bytes are not transposed.</description>
  6955. <value>#01</value>
  6956. </enumeratedValue>
  6957. <enumeratedValue>
  6958. <name>10</name>
  6959. <description>Both bits in bytes and bytes are transposed.</description>
  6960. <value>#10</value>
  6961. </enumeratedValue>
  6962. <enumeratedValue>
  6963. <name>11</name>
  6964. <description>Only bytes are transposed; no bits in a byte are transposed.</description>
  6965. <value>#11</value>
  6966. </enumeratedValue>
  6967. </enumeratedValues>
  6968. </field>
  6969. </fields>
  6970. </register>
  6971. <register>
  6972. <name>CTRLHU</name>
  6973. <description>CRC_CTRLHU register.</description>
  6974. <addressOffset>0xB</addressOffset>
  6975. <size>8</size>
  6976. <access>read-write</access>
  6977. <resetValue>0</resetValue>
  6978. <resetMask>0xFF</resetMask>
  6979. <fields>
  6980. <field>
  6981. <name>TCRC</name>
  6982. <description>no description available</description>
  6983. <bitOffset>0</bitOffset>
  6984. <bitWidth>1</bitWidth>
  6985. <access>read-write</access>
  6986. <enumeratedValues>
  6987. <enumeratedValue>
  6988. <name>0</name>
  6989. <description>16-bit CRC protocol.</description>
  6990. <value>#0</value>
  6991. </enumeratedValue>
  6992. <enumeratedValue>
  6993. <name>1</name>
  6994. <description>32-bit CRC protocol.</description>
  6995. <value>#1</value>
  6996. </enumeratedValue>
  6997. </enumeratedValues>
  6998. </field>
  6999. <field>
  7000. <name>WAS</name>
  7001. <description>no description available</description>
  7002. <bitOffset>1</bitOffset>
  7003. <bitWidth>1</bitWidth>
  7004. <access>read-write</access>
  7005. <enumeratedValues>
  7006. <enumeratedValue>
  7007. <name>0</name>
  7008. <description>Writes to CRC data register are data values.</description>
  7009. <value>#0</value>
  7010. </enumeratedValue>
  7011. <enumeratedValue>
  7012. <name>1</name>
  7013. <description>Writes to CRC data reguster are seed values.</description>
  7014. <value>#1</value>
  7015. </enumeratedValue>
  7016. </enumeratedValues>
  7017. </field>
  7018. <field>
  7019. <name>FXOR</name>
  7020. <description>no description available</description>
  7021. <bitOffset>2</bitOffset>
  7022. <bitWidth>1</bitWidth>
  7023. <access>read-write</access>
  7024. <enumeratedValues>
  7025. <enumeratedValue>
  7026. <name>0</name>
  7027. <description>No XOR on reading.</description>
  7028. <value>#0</value>
  7029. </enumeratedValue>
  7030. <enumeratedValue>
  7031. <name>1</name>
  7032. <description>Invert or complement the read value of CRC data register.</description>
  7033. <value>#1</value>
  7034. </enumeratedValue>
  7035. </enumeratedValues>
  7036. </field>
  7037. <field>
  7038. <name>TOTR</name>
  7039. <description>no description available</description>
  7040. <bitOffset>4</bitOffset>
  7041. <bitWidth>2</bitWidth>
  7042. <access>read-write</access>
  7043. <enumeratedValues>
  7044. <enumeratedValue>
  7045. <name>00</name>
  7046. <description>No Transposition.</description>
  7047. <value>#00</value>
  7048. </enumeratedValue>
  7049. <enumeratedValue>
  7050. <name>01</name>
  7051. <description>Bits in bytes are transposed, bytes are not transposed.</description>
  7052. <value>#01</value>
  7053. </enumeratedValue>
  7054. <enumeratedValue>
  7055. <name>10</name>
  7056. <description>Both bits in bytes and bytes are transposed.</description>
  7057. <value>#10</value>
  7058. </enumeratedValue>
  7059. <enumeratedValue>
  7060. <name>11</name>
  7061. <description>Only bytes are transposed; no bits in a byte are transposed.</description>
  7062. <value>#11</value>
  7063. </enumeratedValue>
  7064. </enumeratedValues>
  7065. </field>
  7066. <field>
  7067. <name>TOT</name>
  7068. <description>no description available</description>
  7069. <bitOffset>6</bitOffset>
  7070. <bitWidth>2</bitWidth>
  7071. <access>read-write</access>
  7072. <enumeratedValues>
  7073. <enumeratedValue>
  7074. <name>00</name>
  7075. <description>No Transposition.</description>
  7076. <value>#00</value>
  7077. </enumeratedValue>
  7078. <enumeratedValue>
  7079. <name>01</name>
  7080. <description>Bits in bytes are transposed, bytes are not transposed.</description>
  7081. <value>#01</value>
  7082. </enumeratedValue>
  7083. <enumeratedValue>
  7084. <name>10</name>
  7085. <description>Both bits in bytes and bytes are transposed.</description>
  7086. <value>#10</value>
  7087. </enumeratedValue>
  7088. <enumeratedValue>
  7089. <name>11</name>
  7090. <description>Only bytes are transposed; no bits in a byte are transposed.</description>
  7091. <value>#11</value>
  7092. </enumeratedValue>
  7093. </enumeratedValues>
  7094. </field>
  7095. </fields>
  7096. </register>
  7097. </registers>
  7098. </peripheral>
  7099. <peripheral>
  7100. <name>USBDCD</name>
  7101. <description>USB Device Charger Detection module</description>
  7102. <prependToName>USBDCD_</prependToName>
  7103. <baseAddress>0x40035000</baseAddress>
  7104. <addressBlock>
  7105. <offset>0</offset>
  7106. <size>0x1C</size>
  7107. <usage>registers</usage>
  7108. </addressBlock>
  7109. <interrupt>
  7110. <name>USBDCD</name>
  7111. <value>36</value>
  7112. </interrupt>
  7113. <registers>
  7114. <register>
  7115. <name>CONTROL</name>
  7116. <description>Control Register</description>
  7117. <addressOffset>0</addressOffset>
  7118. <size>32</size>
  7119. <access>read-write</access>
  7120. <resetValue>0x10000</resetValue>
  7121. <resetMask>0xFFFFFFFF</resetMask>
  7122. <fields>
  7123. <field>
  7124. <name>IACK</name>
  7125. <description>Interrupt Acknowledge</description>
  7126. <bitOffset>0</bitOffset>
  7127. <bitWidth>1</bitWidth>
  7128. <access>write-only</access>
  7129. <enumeratedValues>
  7130. <enumeratedValue>
  7131. <name>0</name>
  7132. <description>Do not clear the interrupt.</description>
  7133. <value>#0</value>
  7134. </enumeratedValue>
  7135. <enumeratedValue>
  7136. <name>1</name>
  7137. <description>Clear the IF bit (interrupt flag).</description>
  7138. <value>#1</value>
  7139. </enumeratedValue>
  7140. </enumeratedValues>
  7141. </field>
  7142. <field>
  7143. <name>IF</name>
  7144. <description>Interrupt Flag</description>
  7145. <bitOffset>8</bitOffset>
  7146. <bitWidth>1</bitWidth>
  7147. <access>read-only</access>
  7148. <enumeratedValues>
  7149. <enumeratedValue>
  7150. <name>0</name>
  7151. <description>No interrupt is pending.</description>
  7152. <value>#0</value>
  7153. </enumeratedValue>
  7154. <enumeratedValue>
  7155. <name>1</name>
  7156. <description>An interrupt is pending.</description>
  7157. <value>#1</value>
  7158. </enumeratedValue>
  7159. </enumeratedValues>
  7160. </field>
  7161. <field>
  7162. <name>IE</name>
  7163. <description>Interrupt Enable</description>
  7164. <bitOffset>16</bitOffset>
  7165. <bitWidth>1</bitWidth>
  7166. <access>read-write</access>
  7167. <enumeratedValues>
  7168. <enumeratedValue>
  7169. <name>0</name>
  7170. <description>Disable interrupts to the system.</description>
  7171. <value>#0</value>
  7172. </enumeratedValue>
  7173. <enumeratedValue>
  7174. <name>1</name>
  7175. <description>Enable interrupts to the system.</description>
  7176. <value>#1</value>
  7177. </enumeratedValue>
  7178. </enumeratedValues>
  7179. </field>
  7180. <field>
  7181. <name>START</name>
  7182. <description>Start Change Detection Sequence</description>
  7183. <bitOffset>24</bitOffset>
  7184. <bitWidth>1</bitWidth>
  7185. <access>write-only</access>
  7186. <enumeratedValues>
  7187. <enumeratedValue>
  7188. <name>0</name>
  7189. <description>Do not start the sequence. Writes of this value have no effect.</description>
  7190. <value>#0</value>
  7191. </enumeratedValue>
  7192. <enumeratedValue>
  7193. <name>1</name>
  7194. <description>Initiate the charger detection sequence. If the sequence is already running, writes of this value have no effect.</description>
  7195. <value>#1</value>
  7196. </enumeratedValue>
  7197. </enumeratedValues>
  7198. </field>
  7199. <field>
  7200. <name>SR</name>
  7201. <description>Software Reset</description>
  7202. <bitOffset>25</bitOffset>
  7203. <bitWidth>1</bitWidth>
  7204. <access>write-only</access>
  7205. <enumeratedValues>
  7206. <enumeratedValue>
  7207. <name>0</name>
  7208. <description>Do not perform a software reset.</description>
  7209. <value>#0</value>
  7210. </enumeratedValue>
  7211. <enumeratedValue>
  7212. <name>1</name>
  7213. <description>Perform a software reset.</description>
  7214. <value>#1</value>
  7215. </enumeratedValue>
  7216. </enumeratedValues>
  7217. </field>
  7218. </fields>
  7219. </register>
  7220. <register>
  7221. <name>CLOCK</name>
  7222. <description>Clock Register</description>
  7223. <addressOffset>0x4</addressOffset>
  7224. <size>32</size>
  7225. <access>read-write</access>
  7226. <resetValue>0xC1</resetValue>
  7227. <resetMask>0xFFFFFFFF</resetMask>
  7228. <fields>
  7229. <field>
  7230. <name>CLOCK_UNIT</name>
  7231. <description>Unit of measurement encoding for Clock Speed</description>
  7232. <bitOffset>0</bitOffset>
  7233. <bitWidth>1</bitWidth>
  7234. <access>read-write</access>
  7235. <enumeratedValues>
  7236. <enumeratedValue>
  7237. <name>0</name>
  7238. <description>kHz Speed (between 1 kHz and 1023 kHz)</description>
  7239. <value>#0</value>
  7240. </enumeratedValue>
  7241. <enumeratedValue>
  7242. <name>1</name>
  7243. <description>MHz Speed (between 1 MHz and 1023 MHz)</description>
  7244. <value>#1</value>
  7245. </enumeratedValue>
  7246. </enumeratedValues>
  7247. </field>
  7248. <field>
  7249. <name>CLOCK_SPEED</name>
  7250. <description>Numerical Value of Clock Speed in Binary</description>
  7251. <bitOffset>2</bitOffset>
  7252. <bitWidth>10</bitWidth>
  7253. <access>read-write</access>
  7254. </field>
  7255. </fields>
  7256. </register>
  7257. <register>
  7258. <name>STATUS</name>
  7259. <description>Status Register</description>
  7260. <addressOffset>0x8</addressOffset>
  7261. <size>32</size>
  7262. <access>read-only</access>
  7263. <resetValue>0</resetValue>
  7264. <resetMask>0xFFFFFFFF</resetMask>
  7265. <fields>
  7266. <field>
  7267. <name>SEQ_RES</name>
  7268. <description>Charger Detection Sequence Results</description>
  7269. <bitOffset>16</bitOffset>
  7270. <bitWidth>2</bitWidth>
  7271. <access>read-only</access>
  7272. <enumeratedValues>
  7273. <enumeratedValue>
  7274. <name>00</name>
  7275. <description>No results to report.</description>
  7276. <value>#00</value>
  7277. </enumeratedValue>
  7278. <enumeratedValue>
  7279. <name>01</name>
  7280. <description>Attached to a standard host. Must comply with USB Spec 2.0 by drawing only 2.5mA (max) until connected.</description>
  7281. <value>#01</value>
  7282. </enumeratedValue>
  7283. <enumeratedValue>
  7284. <name>10</name>
  7285. <description>Attached to a charging port. The exact meaning depends on bit 18: 0: Attached to either a charging host or a dedicated charger (The charger type detection has not completed.) 1: Attached to a charging host (The charger type detection has completed.)</description>
  7286. <value>#10</value>
  7287. </enumeratedValue>
  7288. <enumeratedValue>
  7289. <name>11</name>
  7290. <description>Attached to a dedicated charger.</description>
  7291. <value>#11</value>
  7292. </enumeratedValue>
  7293. </enumeratedValues>
  7294. </field>
  7295. <field>
  7296. <name>SEQ_STAT</name>
  7297. <description>Charger Detection Sequence Status</description>
  7298. <bitOffset>18</bitOffset>
  7299. <bitWidth>2</bitWidth>
  7300. <access>read-only</access>
  7301. <enumeratedValues>
  7302. <enumeratedValue>
  7303. <name>00</name>
  7304. <description>The module is either not enabled, or the module is enabled but the data pins have not yet been detected.</description>
  7305. <value>#00</value>
  7306. </enumeratedValue>
  7307. <enumeratedValue>
  7308. <name>01</name>
  7309. <description>Data pin contact detection is complete.</description>
  7310. <value>#01</value>
  7311. </enumeratedValue>
  7312. <enumeratedValue>
  7313. <name>10</name>
  7314. <description>Charger detection is complete.</description>
  7315. <value>#10</value>
  7316. </enumeratedValue>
  7317. <enumeratedValue>
  7318. <name>11</name>
  7319. <description>Charger type detection is complete.</description>
  7320. <value>#11</value>
  7321. </enumeratedValue>
  7322. </enumeratedValues>
  7323. </field>
  7324. <field>
  7325. <name>ERR</name>
  7326. <description>Error Flag</description>
  7327. <bitOffset>20</bitOffset>
  7328. <bitWidth>1</bitWidth>
  7329. <access>read-only</access>
  7330. <enumeratedValues>
  7331. <enumeratedValue>
  7332. <name>0</name>
  7333. <description>No sequence errors.</description>
  7334. <value>#0</value>
  7335. </enumeratedValue>
  7336. <enumeratedValue>
  7337. <name>1</name>
  7338. <description>Error in the detection sequence. See the SEQ_STAT field to determine the phase in which the error occurred.</description>
  7339. <value>#1</value>
  7340. </enumeratedValue>
  7341. </enumeratedValues>
  7342. </field>
  7343. <field>
  7344. <name>TO</name>
  7345. <description>Timeout Flag</description>
  7346. <bitOffset>21</bitOffset>
  7347. <bitWidth>1</bitWidth>
  7348. <access>read-only</access>
  7349. <enumeratedValues>
  7350. <enumeratedValue>
  7351. <name>0</name>
  7352. <description>The detection sequence has not been running for over 1 s.</description>
  7353. <value>#0</value>
  7354. </enumeratedValue>
  7355. <enumeratedValue>
  7356. <name>1</name>
  7357. <description>It has been over 1 s since the data pin contact was detected and debounced.{</description>
  7358. <value>#1</value>
  7359. </enumeratedValue>
  7360. </enumeratedValues>
  7361. </field>
  7362. <field>
  7363. <name>ACTIVE</name>
  7364. <description>Active Status Indicator</description>
  7365. <bitOffset>22</bitOffset>
  7366. <bitWidth>1</bitWidth>
  7367. <access>read-only</access>
  7368. <enumeratedValues>
  7369. <enumeratedValue>
  7370. <name>0</name>
  7371. <description>The sequence is not running.</description>
  7372. <value>#0</value>
  7373. </enumeratedValue>
  7374. <enumeratedValue>
  7375. <name>1</name>
  7376. <description>The sequence is running.</description>
  7377. <value>#1</value>
  7378. </enumeratedValue>
  7379. </enumeratedValues>
  7380. </field>
  7381. </fields>
  7382. </register>
  7383. <register>
  7384. <name>TIMER0</name>
  7385. <description>TIMER0 Register</description>
  7386. <addressOffset>0x10</addressOffset>
  7387. <size>32</size>
  7388. <access>read-write</access>
  7389. <resetValue>0x100000</resetValue>
  7390. <resetMask>0xFFFFFFFF</resetMask>
  7391. <fields>
  7392. <field>
  7393. <name>TUNITCON</name>
  7394. <description>Unit Connection Timer Elapse (in ms)</description>
  7395. <bitOffset>0</bitOffset>
  7396. <bitWidth>12</bitWidth>
  7397. <access>read-only</access>
  7398. </field>
  7399. <field>
  7400. <name>TSEQ_INIT</name>
  7401. <description>Sequence Initiation Time</description>
  7402. <bitOffset>16</bitOffset>
  7403. <bitWidth>10</bitWidth>
  7404. <access>read-write</access>
  7405. </field>
  7406. </fields>
  7407. </register>
  7408. <register>
  7409. <name>TIMER1</name>
  7410. <description>no description available</description>
  7411. <addressOffset>0x14</addressOffset>
  7412. <size>32</size>
  7413. <access>read-write</access>
  7414. <resetValue>0xA0028</resetValue>
  7415. <resetMask>0xFFFFFFFF</resetMask>
  7416. <fields>
  7417. <field>
  7418. <name>TVDPSRC_ON</name>
  7419. <description>Time Period Comparator Enabled</description>
  7420. <bitOffset>0</bitOffset>
  7421. <bitWidth>10</bitWidth>
  7422. <access>read-write</access>
  7423. </field>
  7424. <field>
  7425. <name>TDCD_DBNC</name>
  7426. <description>Time Period to Debounce D+ Signal</description>
  7427. <bitOffset>16</bitOffset>
  7428. <bitWidth>10</bitWidth>
  7429. <access>read-write</access>
  7430. </field>
  7431. </fields>
  7432. </register>
  7433. <register>
  7434. <name>TIMER2</name>
  7435. <description>no description available</description>
  7436. <addressOffset>0x18</addressOffset>
  7437. <size>32</size>
  7438. <access>read-write</access>
  7439. <resetValue>0x280001</resetValue>
  7440. <resetMask>0xFFFFFFFF</resetMask>
  7441. <fields>
  7442. <field>
  7443. <name>CHECK_DM</name>
  7444. <description>Time Before Check of D- Line</description>
  7445. <bitOffset>0</bitOffset>
  7446. <bitWidth>4</bitWidth>
  7447. <access>read-write</access>
  7448. </field>
  7449. <field>
  7450. <name>TVDPSRC_CON</name>
  7451. <description>Time Period Before Enabling D+ Pullup</description>
  7452. <bitOffset>16</bitOffset>
  7453. <bitWidth>10</bitWidth>
  7454. <access>read-write</access>
  7455. </field>
  7456. </fields>
  7457. </register>
  7458. </registers>
  7459. </peripheral>
  7460. <peripheral>
  7461. <name>PDB0</name>
  7462. <description>Programmable Delay Block</description>
  7463. <prependToName>PDB0_</prependToName>
  7464. <baseAddress>0x40036000</baseAddress>
  7465. <addressBlock>
  7466. <offset>0</offset>
  7467. <size>0x19C</size>
  7468. <usage>registers</usage>
  7469. </addressBlock>
  7470. <interrupt>
  7471. <name>PDB0</name>
  7472. <value>34</value>
  7473. </interrupt>
  7474. <registers>
  7475. <register>
  7476. <name>SC</name>
  7477. <description>Status and Control Register</description>
  7478. <addressOffset>0</addressOffset>
  7479. <size>32</size>
  7480. <access>read-write</access>
  7481. <resetValue>0</resetValue>
  7482. <resetMask>0xFFFFFFFF</resetMask>
  7483. <fields>
  7484. <field>
  7485. <name>LDOK</name>
  7486. <description>Load OK</description>
  7487. <bitOffset>0</bitOffset>
  7488. <bitWidth>1</bitWidth>
  7489. <access>read-write</access>
  7490. </field>
  7491. <field>
  7492. <name>CONT</name>
  7493. <description>Continuous Mode Enable</description>
  7494. <bitOffset>1</bitOffset>
  7495. <bitWidth>1</bitWidth>
  7496. <access>read-write</access>
  7497. <enumeratedValues>
  7498. <enumeratedValue>
  7499. <name>0</name>
  7500. <description>PDB operation in One-Shot mode</description>
  7501. <value>#0</value>
  7502. </enumeratedValue>
  7503. <enumeratedValue>
  7504. <name>1</name>
  7505. <description>PDB operation in Continuous mode</description>
  7506. <value>#1</value>
  7507. </enumeratedValue>
  7508. </enumeratedValues>
  7509. </field>
  7510. <field>
  7511. <name>MULT</name>
  7512. <description>Multiplication Factor Select for Prescaler</description>
  7513. <bitOffset>2</bitOffset>
  7514. <bitWidth>2</bitWidth>
  7515. <access>read-write</access>
  7516. <enumeratedValues>
  7517. <enumeratedValue>
  7518. <name>00</name>
  7519. <description>Multiplication factor is 1</description>
  7520. <value>#00</value>
  7521. </enumeratedValue>
  7522. <enumeratedValue>
  7523. <name>01</name>
  7524. <description>Multiplication factor is 10</description>
  7525. <value>#01</value>
  7526. </enumeratedValue>
  7527. <enumeratedValue>
  7528. <name>10</name>
  7529. <description>Multiplication factor is 20</description>
  7530. <value>#10</value>
  7531. </enumeratedValue>
  7532. <enumeratedValue>
  7533. <name>11</name>
  7534. <description>Multiplication factor is 40</description>
  7535. <value>#11</value>
  7536. </enumeratedValue>
  7537. </enumeratedValues>
  7538. </field>
  7539. <field>
  7540. <name>PDBIE</name>
  7541. <description>PDB Interrupt Enable.</description>
  7542. <bitOffset>5</bitOffset>
  7543. <bitWidth>1</bitWidth>
  7544. <access>read-write</access>
  7545. <enumeratedValues>
  7546. <enumeratedValue>
  7547. <name>0</name>
  7548. <description>PDB interrupt disabled</description>
  7549. <value>#0</value>
  7550. </enumeratedValue>
  7551. <enumeratedValue>
  7552. <name>1</name>
  7553. <description>PDB interrupt enabled</description>
  7554. <value>#1</value>
  7555. </enumeratedValue>
  7556. </enumeratedValues>
  7557. </field>
  7558. <field>
  7559. <name>PDBIF</name>
  7560. <description>PDB Interrupt Flag</description>
  7561. <bitOffset>6</bitOffset>
  7562. <bitWidth>1</bitWidth>
  7563. <access>read-write</access>
  7564. </field>
  7565. <field>
  7566. <name>PDBEN</name>
  7567. <description>PDB Enable</description>
  7568. <bitOffset>7</bitOffset>
  7569. <bitWidth>1</bitWidth>
  7570. <access>read-write</access>
  7571. <enumeratedValues>
  7572. <enumeratedValue>
  7573. <name>0</name>
  7574. <description>PDB disabled. Counter is off.</description>
  7575. <value>#0</value>
  7576. </enumeratedValue>
  7577. <enumeratedValue>
  7578. <name>1</name>
  7579. <description>PDB enabled</description>
  7580. <value>#1</value>
  7581. </enumeratedValue>
  7582. </enumeratedValues>
  7583. </field>
  7584. <field>
  7585. <name>TRGSEL</name>
  7586. <description>Trigger Input Source Select</description>
  7587. <bitOffset>8</bitOffset>
  7588. <bitWidth>4</bitWidth>
  7589. <access>read-write</access>
  7590. <enumeratedValues>
  7591. <enumeratedValue>
  7592. <name>0000</name>
  7593. <description>Trigger-In 0 is selected</description>
  7594. <value>#0000</value>
  7595. </enumeratedValue>
  7596. <enumeratedValue>
  7597. <name>0001</name>
  7598. <description>Trigger-In 1 is selected</description>
  7599. <value>#0001</value>
  7600. </enumeratedValue>
  7601. <enumeratedValue>
  7602. <name>0010</name>
  7603. <description>Trigger-In 2 is selected</description>
  7604. <value>#0010</value>
  7605. </enumeratedValue>
  7606. <enumeratedValue>
  7607. <name>0011</name>
  7608. <description>Trigger-In 3 is selected</description>
  7609. <value>#0011</value>
  7610. </enumeratedValue>
  7611. <enumeratedValue>
  7612. <name>0100</name>
  7613. <description>Trigger-In 4 is selected</description>
  7614. <value>#0100</value>
  7615. </enumeratedValue>
  7616. <enumeratedValue>
  7617. <name>0101</name>
  7618. <description>Trigger-In 5 is selected</description>
  7619. <value>#0101</value>
  7620. </enumeratedValue>
  7621. <enumeratedValue>
  7622. <name>0110</name>
  7623. <description>Trigger-In 6 is selected</description>
  7624. <value>#0110</value>
  7625. </enumeratedValue>
  7626. <enumeratedValue>
  7627. <name>0111</name>
  7628. <description>Trigger-In 7 is selected</description>
  7629. <value>#0111</value>
  7630. </enumeratedValue>
  7631. <enumeratedValue>
  7632. <name>1000</name>
  7633. <description>Trigger-In 8 is selected</description>
  7634. <value>#1000</value>
  7635. </enumeratedValue>
  7636. <enumeratedValue>
  7637. <name>1001</name>
  7638. <description>Trigger-In 9 is selected</description>
  7639. <value>#1001</value>
  7640. </enumeratedValue>
  7641. <enumeratedValue>
  7642. <name>1010</name>
  7643. <description>Trigger-In 10 is selected</description>
  7644. <value>#1010</value>
  7645. </enumeratedValue>
  7646. <enumeratedValue>
  7647. <name>1011</name>
  7648. <description>Trigger-In 11 is selected</description>
  7649. <value>#1011</value>
  7650. </enumeratedValue>
  7651. <enumeratedValue>
  7652. <name>1100</name>
  7653. <description>Trigger-In 12 is selected</description>
  7654. <value>#1100</value>
  7655. </enumeratedValue>
  7656. <enumeratedValue>
  7657. <name>1101</name>
  7658. <description>Trigger-In 13 is selected</description>
  7659. <value>#1101</value>
  7660. </enumeratedValue>
  7661. <enumeratedValue>
  7662. <name>1110</name>
  7663. <description>Trigger-In 14 is selected</description>
  7664. <value>#1110</value>
  7665. </enumeratedValue>
  7666. <enumeratedValue>
  7667. <name>1111</name>
  7668. <description>Software trigger is selected</description>
  7669. <value>#1111</value>
  7670. </enumeratedValue>
  7671. </enumeratedValues>
  7672. </field>
  7673. <field>
  7674. <name>PRESCALER</name>
  7675. <description>Prescaler Divider Select</description>
  7676. <bitOffset>12</bitOffset>
  7677. <bitWidth>3</bitWidth>
  7678. <access>read-write</access>
  7679. <enumeratedValues>
  7680. <enumeratedValue>
  7681. <name>000</name>
  7682. <description>Counting uses the peripheral clock divided by multiplication factor selected by MULT.</description>
  7683. <value>#000</value>
  7684. </enumeratedValue>
  7685. <enumeratedValue>
  7686. <name>001</name>
  7687. <description>Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT.</description>
  7688. <value>#001</value>
  7689. </enumeratedValue>
  7690. <enumeratedValue>
  7691. <name>010</name>
  7692. <description>Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT.</description>
  7693. <value>#010</value>
  7694. </enumeratedValue>
  7695. <enumeratedValue>
  7696. <name>011</name>
  7697. <description>Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT.</description>
  7698. <value>#011</value>
  7699. </enumeratedValue>
  7700. <enumeratedValue>
  7701. <name>100</name>
  7702. <description>Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT.</description>
  7703. <value>#100</value>
  7704. </enumeratedValue>
  7705. <enumeratedValue>
  7706. <name>101</name>
  7707. <description>Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT.</description>
  7708. <value>#101</value>
  7709. </enumeratedValue>
  7710. <enumeratedValue>
  7711. <name>110</name>
  7712. <description>Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT.</description>
  7713. <value>#110</value>
  7714. </enumeratedValue>
  7715. <enumeratedValue>
  7716. <name>111</name>
  7717. <description>Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.</description>
  7718. <value>#111</value>
  7719. </enumeratedValue>
  7720. </enumeratedValues>
  7721. </field>
  7722. <field>
  7723. <name>DMAEN</name>
  7724. <description>DMA Enable</description>
  7725. <bitOffset>15</bitOffset>
  7726. <bitWidth>1</bitWidth>
  7727. <access>read-write</access>
  7728. <enumeratedValues>
  7729. <enumeratedValue>
  7730. <name>0</name>
  7731. <description>DMA disabled</description>
  7732. <value>#0</value>
  7733. </enumeratedValue>
  7734. <enumeratedValue>
  7735. <name>1</name>
  7736. <description>DMA enabled</description>
  7737. <value>#1</value>
  7738. </enumeratedValue>
  7739. </enumeratedValues>
  7740. </field>
  7741. <field>
  7742. <name>SWTRIG</name>
  7743. <description>Software Trigger</description>
  7744. <bitOffset>16</bitOffset>
  7745. <bitWidth>1</bitWidth>
  7746. <access>write-only</access>
  7747. </field>
  7748. <field>
  7749. <name>PDBEIE</name>
  7750. <description>PDB Sequence Error Interrupt Enable</description>
  7751. <bitOffset>17</bitOffset>
  7752. <bitWidth>1</bitWidth>
  7753. <access>read-write</access>
  7754. <enumeratedValues>
  7755. <enumeratedValue>
  7756. <name>0</name>
  7757. <description>PDB sequence error interrupt disabled.</description>
  7758. <value>#0</value>
  7759. </enumeratedValue>
  7760. <enumeratedValue>
  7761. <name>1</name>
  7762. <description>PDB sequence error interrupt enabled.</description>
  7763. <value>#1</value>
  7764. </enumeratedValue>
  7765. </enumeratedValues>
  7766. </field>
  7767. <field>
  7768. <name>LDMOD</name>
  7769. <description>Load Mode Select</description>
  7770. <bitOffset>18</bitOffset>
  7771. <bitWidth>2</bitWidth>
  7772. <access>read-write</access>
  7773. <enumeratedValues>
  7774. <enumeratedValue>
  7775. <name>00</name>
  7776. <description>The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK.</description>
  7777. <value>#00</value>
  7778. </enumeratedValue>
  7779. <enumeratedValue>
  7780. <name>01</name>
  7781. <description>The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK.</description>
  7782. <value>#01</value>
  7783. </enumeratedValue>
  7784. <enumeratedValue>
  7785. <name>10</name>
  7786. <description>The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK.</description>
  7787. <value>#10</value>
  7788. </enumeratedValue>
  7789. <enumeratedValue>
  7790. <name>11</name>
  7791. <description>The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.</description>
  7792. <value>#11</value>
  7793. </enumeratedValue>
  7794. </enumeratedValues>
  7795. </field>
  7796. </fields>
  7797. </register>
  7798. <register>
  7799. <name>MOD</name>
  7800. <description>Modulus Register</description>
  7801. <addressOffset>0x4</addressOffset>
  7802. <size>32</size>
  7803. <access>read-write</access>
  7804. <resetValue>0xFFFF</resetValue>
  7805. <resetMask>0xFFFFFFFF</resetMask>
  7806. <fields>
  7807. <field>
  7808. <name>MOD</name>
  7809. <description>PDB Modulus.</description>
  7810. <bitOffset>0</bitOffset>
  7811. <bitWidth>16</bitWidth>
  7812. <access>read-write</access>
  7813. </field>
  7814. </fields>
  7815. </register>
  7816. <register>
  7817. <name>CNT</name>
  7818. <description>Counter Register</description>
  7819. <addressOffset>0x8</addressOffset>
  7820. <size>32</size>
  7821. <access>read-only</access>
  7822. <resetValue>0</resetValue>
  7823. <resetMask>0xFFFFFFFF</resetMask>
  7824. <fields>
  7825. <field>
  7826. <name>CNT</name>
  7827. <description>PDB Counter</description>
  7828. <bitOffset>0</bitOffset>
  7829. <bitWidth>16</bitWidth>
  7830. <access>read-only</access>
  7831. </field>
  7832. </fields>
  7833. </register>
  7834. <register>
  7835. <name>IDLY</name>
  7836. <description>Interrupt Delay Register</description>
  7837. <addressOffset>0xC</addressOffset>
  7838. <size>32</size>
  7839. <access>read-write</access>
  7840. <resetValue>0xFFFF</resetValue>
  7841. <resetMask>0xFFFFFFFF</resetMask>
  7842. <fields>
  7843. <field>
  7844. <name>IDLY</name>
  7845. <description>PDB Interrupt Delay</description>
  7846. <bitOffset>0</bitOffset>
  7847. <bitWidth>16</bitWidth>
  7848. <access>read-write</access>
  7849. </field>
  7850. </fields>
  7851. </register>
  7852. <register>
  7853. <name>CHC1</name>
  7854. <description>Channel n Control Register 1</description>
  7855. <addressOffset>0x10</addressOffset>
  7856. <size>32</size>
  7857. <access>read-write</access>
  7858. <resetValue>0</resetValue>
  7859. <resetMask>0xFFFFFFFF</resetMask>
  7860. <fields>
  7861. <field>
  7862. <name>EN</name>
  7863. <description>PDB Channel Pre-Trigger Enable</description>
  7864. <bitOffset>0</bitOffset>
  7865. <bitWidth>8</bitWidth>
  7866. <access>read-write</access>
  7867. <enumeratedValues>
  7868. <enumeratedValue>
  7869. <name>0</name>
  7870. <description>PDB channel&apos;s corresponding pre-trigger disabled.</description>
  7871. <value>#0</value>
  7872. </enumeratedValue>
  7873. <enumeratedValue>
  7874. <name>1</name>
  7875. <description>PDB channel&apos;s corresponding pre-trigger enabled.</description>
  7876. <value>#1</value>
  7877. </enumeratedValue>
  7878. </enumeratedValues>
  7879. </field>
  7880. <field>
  7881. <name>TOS</name>
  7882. <description>PDB Channel Pre-Trigger Output Select</description>
  7883. <bitOffset>8</bitOffset>
  7884. <bitWidth>8</bitWidth>
  7885. <access>read-write</access>
  7886. <enumeratedValues>
  7887. <enumeratedValue>
  7888. <name>0</name>
  7889. <description>PDB channel&apos;s corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1.</description>
  7890. <value>#0</value>
  7891. </enumeratedValue>
  7892. <enumeratedValue>
  7893. <name>1</name>
  7894. <description>PDB channel&apos;s corresponding pre-trigger asserts when the counter reaches the channel delay register plus one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.</description>
  7895. <value>#1</value>
  7896. </enumeratedValue>
  7897. </enumeratedValues>
  7898. </field>
  7899. <field>
  7900. <name>BB</name>
  7901. <description>PDB Channel Pre-Trigger Back-to-Back Operation Enable</description>
  7902. <bitOffset>16</bitOffset>
  7903. <bitWidth>8</bitWidth>
  7904. <access>read-write</access>
  7905. <enumeratedValues>
  7906. <enumeratedValue>
  7907. <name>0</name>
  7908. <description>PDB channel&apos;s corresponding pre-trigger back-to-back operation disabled.</description>
  7909. <value>#0</value>
  7910. </enumeratedValue>
  7911. <enumeratedValue>
  7912. <name>1</name>
  7913. <description>PDB channel&apos;s corresponding pre-trigger back-to-back operation enabled.</description>
  7914. <value>#1</value>
  7915. </enumeratedValue>
  7916. </enumeratedValues>
  7917. </field>
  7918. </fields>
  7919. </register>
  7920. <register>
  7921. <name>CHS</name>
  7922. <description>Channel n Status Register</description>
  7923. <addressOffset>0x14</addressOffset>
  7924. <size>32</size>
  7925. <access>read-write</access>
  7926. <resetValue>0</resetValue>
  7927. <resetMask>0xFFFFFFFF</resetMask>
  7928. <fields>
  7929. <field>
  7930. <name>ERR</name>
  7931. <description>PDB Channel Sequence Error Flags</description>
  7932. <bitOffset>0</bitOffset>
  7933. <bitWidth>8</bitWidth>
  7934. <access>read-write</access>
  7935. <enumeratedValues>
  7936. <enumeratedValue>
  7937. <name>0</name>
  7938. <description>Sequence error not detected on PDB channel&apos;s corresponding pre-trigger.</description>
  7939. <value>#0</value>
  7940. </enumeratedValue>
  7941. <enumeratedValue>
  7942. <name>1</name>
  7943. <description>Sequence error detected on PDB channel&apos;s corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel&apos;s corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 1&apos;s to clear the sequence error flags.</description>
  7944. <value>#1</value>
  7945. </enumeratedValue>
  7946. </enumeratedValues>
  7947. </field>
  7948. <field>
  7949. <name>CF</name>
  7950. <description>PDB Channel Flags</description>
  7951. <bitOffset>16</bitOffset>
  7952. <bitWidth>8</bitWidth>
  7953. <access>read-write</access>
  7954. </field>
  7955. </fields>
  7956. </register>
  7957. <register>
  7958. <name>CHDLY0</name>
  7959. <description>Channel n Delay 0 Register</description>
  7960. <addressOffset>0x18</addressOffset>
  7961. <size>32</size>
  7962. <access>read-write</access>
  7963. <resetValue>0</resetValue>
  7964. <resetMask>0xFFFFFFFF</resetMask>
  7965. <fields>
  7966. <field>
  7967. <name>DLY</name>
  7968. <description>PDB Channel Delay</description>
  7969. <bitOffset>0</bitOffset>
  7970. <bitWidth>16</bitWidth>
  7971. <access>read-write</access>
  7972. </field>
  7973. </fields>
  7974. </register>
  7975. <register>
  7976. <name>CHDLY1</name>
  7977. <description>Channel n Delay 1 Register</description>
  7978. <addressOffset>0x1C</addressOffset>
  7979. <size>32</size>
  7980. <access>read-write</access>
  7981. <resetValue>0</resetValue>
  7982. <resetMask>0xFFFFFFFF</resetMask>
  7983. <fields>
  7984. <field>
  7985. <name>DLY</name>
  7986. <description>PDB Channel Delay</description>
  7987. <bitOffset>0</bitOffset>
  7988. <bitWidth>16</bitWidth>
  7989. <access>read-write</access>
  7990. </field>
  7991. </fields>
  7992. </register>
  7993. <register>
  7994. <name>POEN</name>
  7995. <description>Pulse-Out n Enable Register</description>
  7996. <addressOffset>0x190</addressOffset>
  7997. <size>32</size>
  7998. <access>read-write</access>
  7999. <resetValue>0</resetValue>
  8000. <resetMask>0xFFFFFFFF</resetMask>
  8001. <fields>
  8002. <field>
  8003. <name>POEN</name>
  8004. <description>PDB Pulse-Out Enable</description>
  8005. <bitOffset>0</bitOffset>
  8006. <bitWidth>8</bitWidth>
  8007. <access>read-write</access>
  8008. <enumeratedValues>
  8009. <enumeratedValue>
  8010. <name>0</name>
  8011. <description>PDB Pulse-Out disabled</description>
  8012. <value>#0</value>
  8013. </enumeratedValue>
  8014. <enumeratedValue>
  8015. <name>1</name>
  8016. <description>PDB Pulse-Out enabled</description>
  8017. <value>#1</value>
  8018. </enumeratedValue>
  8019. </enumeratedValues>
  8020. </field>
  8021. </fields>
  8022. </register>
  8023. <register>
  8024. <dim>2</dim>
  8025. <dimIncrement>0x4</dimIncrement>
  8026. <dimIndex>0,1</dimIndex>
  8027. <name>PO%sDLY</name>
  8028. <description>Pulse-Out n Delay Register</description>
  8029. <addressOffset>0x194</addressOffset>
  8030. <size>32</size>
  8031. <access>read-write</access>
  8032. <resetValue>0</resetValue>
  8033. <resetMask>0xFFFFFFFF</resetMask>
  8034. <fields>
  8035. <field>
  8036. <name>DLY2</name>
  8037. <description>PDB Pulse-Out Delay 2</description>
  8038. <bitOffset>0</bitOffset>
  8039. <bitWidth>16</bitWidth>
  8040. <access>read-write</access>
  8041. </field>
  8042. <field>
  8043. <name>DLY1</name>
  8044. <description>PDB Pulse-Out Delay 1</description>
  8045. <bitOffset>16</bitOffset>
  8046. <bitWidth>16</bitWidth>
  8047. <access>read-write</access>
  8048. </field>
  8049. </fields>
  8050. </register>
  8051. </registers>
  8052. </peripheral>
  8053. <peripheral>
  8054. <name>PIT</name>
  8055. <description>Periodic Interrupt Timer</description>
  8056. <prependToName>PIT_</prependToName>
  8057. <baseAddress>0x40037000</baseAddress>
  8058. <addressBlock>
  8059. <offset>0</offset>
  8060. <size>0x140</size>
  8061. <usage>registers</usage>
  8062. </addressBlock>
  8063. <interrupt>
  8064. <name>PIT0</name>
  8065. <value>30</value>
  8066. </interrupt>
  8067. <interrupt>
  8068. <name>PIT1</name>
  8069. <value>31</value>
  8070. </interrupt>
  8071. <interrupt>
  8072. <name>PIT2</name>
  8073. <value>32</value>
  8074. </interrupt>
  8075. <interrupt>
  8076. <name>PIT3</name>
  8077. <value>33</value>
  8078. </interrupt>
  8079. <registers>
  8080. <register>
  8081. <name>MCR</name>
  8082. <description>PIT Module Control Register</description>
  8083. <addressOffset>0</addressOffset>
  8084. <size>32</size>
  8085. <access>read-write</access>
  8086. <resetValue>0x2</resetValue>
  8087. <resetMask>0xFFFFFFFF</resetMask>
  8088. <fields>
  8089. <field>
  8090. <name>FRZ</name>
  8091. <description>Freeze</description>
  8092. <bitOffset>0</bitOffset>
  8093. <bitWidth>1</bitWidth>
  8094. <access>read-write</access>
  8095. <enumeratedValues>
  8096. <enumeratedValue>
  8097. <name>0</name>
  8098. <description>Timers continue to run in debug mode.</description>
  8099. <value>#0</value>
  8100. </enumeratedValue>
  8101. <enumeratedValue>
  8102. <name>1</name>
  8103. <description>Timers are stopped in debug mode.</description>
  8104. <value>#1</value>
  8105. </enumeratedValue>
  8106. </enumeratedValues>
  8107. </field>
  8108. <field>
  8109. <name>MDIS</name>
  8110. <description>Module Disable</description>
  8111. <bitOffset>1</bitOffset>
  8112. <bitWidth>1</bitWidth>
  8113. <access>read-write</access>
  8114. <enumeratedValues>
  8115. <enumeratedValue>
  8116. <name>0</name>
  8117. <description>Clock for PIT Timers is enabled.</description>
  8118. <value>#0</value>
  8119. </enumeratedValue>
  8120. <enumeratedValue>
  8121. <name>1</name>
  8122. <description>Clock for PIT Timers is disabled.</description>
  8123. <value>#1</value>
  8124. </enumeratedValue>
  8125. </enumeratedValues>
  8126. </field>
  8127. </fields>
  8128. </register>
  8129. <register>
  8130. <dim>4</dim>
  8131. <dimIncrement>0x10</dimIncrement>
  8132. <dimIndex>0,1,2,3</dimIndex>
  8133. <name>LDVAL%s</name>
  8134. <description>Timer Load Value Register</description>
  8135. <addressOffset>0x100</addressOffset>
  8136. <size>32</size>
  8137. <access>read-write</access>
  8138. <resetValue>0</resetValue>
  8139. <resetMask>0xFFFFFFFF</resetMask>
  8140. <fields>
  8141. <field>
  8142. <name>TSV</name>
  8143. <description>Timer Start Value Bits</description>
  8144. <bitOffset>0</bitOffset>
  8145. <bitWidth>32</bitWidth>
  8146. <access>read-write</access>
  8147. </field>
  8148. </fields>
  8149. </register>
  8150. <register>
  8151. <dim>4</dim>
  8152. <dimIncrement>0x10</dimIncrement>
  8153. <dimIndex>0,1,2,3</dimIndex>
  8154. <name>CVAL%s</name>
  8155. <description>Current Timer Value Register</description>
  8156. <addressOffset>0x104</addressOffset>
  8157. <size>32</size>
  8158. <access>read-only</access>
  8159. <resetValue>0</resetValue>
  8160. <resetMask>0xFFFFFFFF</resetMask>
  8161. <fields>
  8162. <field>
  8163. <name>TVL</name>
  8164. <description>Current Timer Value</description>
  8165. <bitOffset>0</bitOffset>
  8166. <bitWidth>32</bitWidth>
  8167. <access>read-only</access>
  8168. </field>
  8169. </fields>
  8170. </register>
  8171. <register>
  8172. <dim>4</dim>
  8173. <dimIncrement>0x10</dimIncrement>
  8174. <dimIndex>0,1,2,3</dimIndex>
  8175. <name>TCTRL%s</name>
  8176. <description>Timer Control Register</description>
  8177. <addressOffset>0x108</addressOffset>
  8178. <size>32</size>
  8179. <access>read-write</access>
  8180. <resetValue>0</resetValue>
  8181. <resetMask>0xFFFFFFFF</resetMask>
  8182. <fields>
  8183. <field>
  8184. <name>TEN</name>
  8185. <description>Timer Enable Bit.</description>
  8186. <bitOffset>0</bitOffset>
  8187. <bitWidth>1</bitWidth>
  8188. <access>read-write</access>
  8189. <enumeratedValues>
  8190. <enumeratedValue>
  8191. <name>0</name>
  8192. <description>Timer n is disabled.</description>
  8193. <value>#0</value>
  8194. </enumeratedValue>
  8195. <enumeratedValue>
  8196. <name>1</name>
  8197. <description>Timer n is active.</description>
  8198. <value>#1</value>
  8199. </enumeratedValue>
  8200. </enumeratedValues>
  8201. </field>
  8202. <field>
  8203. <name>TIE</name>
  8204. <description>Timer Interrupt Enable Bit.</description>
  8205. <bitOffset>1</bitOffset>
  8206. <bitWidth>1</bitWidth>
  8207. <access>read-write</access>
  8208. <enumeratedValues>
  8209. <enumeratedValue>
  8210. <name>0</name>
  8211. <description>Interrupt requests from Timer n are disabled.</description>
  8212. <value>#0</value>
  8213. </enumeratedValue>
  8214. <enumeratedValue>
  8215. <name>1</name>
  8216. <description>Interrupt will be requested whenever TIF is set.</description>
  8217. <value>#1</value>
  8218. </enumeratedValue>
  8219. </enumeratedValues>
  8220. </field>
  8221. </fields>
  8222. </register>
  8223. <register>
  8224. <dim>4</dim>
  8225. <dimIncrement>0x10</dimIncrement>
  8226. <dimIndex>0,1,2,3</dimIndex>
  8227. <name>TFLG%s</name>
  8228. <description>Timer Flag Register</description>
  8229. <addressOffset>0x10C</addressOffset>
  8230. <size>32</size>
  8231. <access>read-write</access>
  8232. <resetValue>0</resetValue>
  8233. <resetMask>0xFFFFFFFF</resetMask>
  8234. <fields>
  8235. <field>
  8236. <name>TIF</name>
  8237. <description>Timer Interrupt Flag.</description>
  8238. <bitOffset>0</bitOffset>
  8239. <bitWidth>1</bitWidth>
  8240. <access>read-write</access>
  8241. <enumeratedValues>
  8242. <enumeratedValue>
  8243. <name>0</name>
  8244. <description>Time-out has not yet occurred.</description>
  8245. <value>#0</value>
  8246. </enumeratedValue>
  8247. <enumeratedValue>
  8248. <name>1</name>
  8249. <description>Time-out has occurred.</description>
  8250. <value>#1</value>
  8251. </enumeratedValue>
  8252. </enumeratedValues>
  8253. </field>
  8254. </fields>
  8255. </register>
  8256. </registers>
  8257. </peripheral>
  8258. <peripheral>
  8259. <name>FTM0</name>
  8260. <description>FlexTimer Module</description>
  8261. <groupName>FTM</groupName>
  8262. <prependToName>FTM0_</prependToName>
  8263. <baseAddress>0x40038000</baseAddress>
  8264. <addressBlock>
  8265. <offset>0</offset>
  8266. <size>0x9C</size>
  8267. <usage>registers</usage>
  8268. </addressBlock>
  8269. <interrupt>
  8270. <name>FTM0</name>
  8271. <value>25</value>
  8272. </interrupt>
  8273. <registers>
  8274. <register>
  8275. <name>SC</name>
  8276. <description>Status and Control</description>
  8277. <addressOffset>0</addressOffset>
  8278. <size>32</size>
  8279. <access>read-write</access>
  8280. <resetValue>0</resetValue>
  8281. <resetMask>0xFFFFFFFF</resetMask>
  8282. <fields>
  8283. <field>
  8284. <name>PS</name>
  8285. <description>Prescale Factor Selection</description>
  8286. <bitOffset>0</bitOffset>
  8287. <bitWidth>3</bitWidth>
  8288. <access>read-write</access>
  8289. <enumeratedValues>
  8290. <enumeratedValue>
  8291. <name>000</name>
  8292. <description>Divide by 1</description>
  8293. <value>#000</value>
  8294. </enumeratedValue>
  8295. <enumeratedValue>
  8296. <name>001</name>
  8297. <description>Divide by 2</description>
  8298. <value>#001</value>
  8299. </enumeratedValue>
  8300. <enumeratedValue>
  8301. <name>010</name>
  8302. <description>Divide by 4</description>
  8303. <value>#010</value>
  8304. </enumeratedValue>
  8305. <enumeratedValue>
  8306. <name>011</name>
  8307. <description>Divide by 8</description>
  8308. <value>#011</value>
  8309. </enumeratedValue>
  8310. <enumeratedValue>
  8311. <name>100</name>
  8312. <description>Divide by 16</description>
  8313. <value>#100</value>
  8314. </enumeratedValue>
  8315. <enumeratedValue>
  8316. <name>101</name>
  8317. <description>Divide by 32</description>
  8318. <value>#101</value>
  8319. </enumeratedValue>
  8320. <enumeratedValue>
  8321. <name>110</name>
  8322. <description>Divide by 64</description>
  8323. <value>#110</value>
  8324. </enumeratedValue>
  8325. <enumeratedValue>
  8326. <name>111</name>
  8327. <description>Divide by 128</description>
  8328. <value>#111</value>
  8329. </enumeratedValue>
  8330. </enumeratedValues>
  8331. </field>
  8332. <field>
  8333. <name>CLKS</name>
  8334. <description>Clock Source Selection</description>
  8335. <bitOffset>3</bitOffset>
  8336. <bitWidth>2</bitWidth>
  8337. <access>read-write</access>
  8338. <enumeratedValues>
  8339. <enumeratedValue>
  8340. <name>00</name>
  8341. <description>No clock selected (This in effect disables the FTM counter.)</description>
  8342. <value>#00</value>
  8343. </enumeratedValue>
  8344. <enumeratedValue>
  8345. <name>01</name>
  8346. <description>System clock</description>
  8347. <value>#01</value>
  8348. </enumeratedValue>
  8349. <enumeratedValue>
  8350. <name>10</name>
  8351. <description>Fixed frequency clock</description>
  8352. <value>#10</value>
  8353. </enumeratedValue>
  8354. <enumeratedValue>
  8355. <name>11</name>
  8356. <description>External clock</description>
  8357. <value>#11</value>
  8358. </enumeratedValue>
  8359. </enumeratedValues>
  8360. </field>
  8361. <field>
  8362. <name>CPWMS</name>
  8363. <description>Center-aligned PWM Select</description>
  8364. <bitOffset>5</bitOffset>
  8365. <bitWidth>1</bitWidth>
  8366. <access>read-write</access>
  8367. <enumeratedValues>
  8368. <enumeratedValue>
  8369. <name>0</name>
  8370. <description>FTM counter operates in up counting mode.</description>
  8371. <value>#0</value>
  8372. </enumeratedValue>
  8373. <enumeratedValue>
  8374. <name>1</name>
  8375. <description>FTM counter operates in up-down counting mode.</description>
  8376. <value>#1</value>
  8377. </enumeratedValue>
  8378. </enumeratedValues>
  8379. </field>
  8380. <field>
  8381. <name>TOIE</name>
  8382. <description>Timer Overflow Interrupt Enable</description>
  8383. <bitOffset>6</bitOffset>
  8384. <bitWidth>1</bitWidth>
  8385. <access>read-write</access>
  8386. <enumeratedValues>
  8387. <enumeratedValue>
  8388. <name>0</name>
  8389. <description>Disable TOF interrupts. Use software polling.</description>
  8390. <value>#0</value>
  8391. </enumeratedValue>
  8392. <enumeratedValue>
  8393. <name>1</name>
  8394. <description>Enable TOF interrupts. An interrupt is generated when TOF equals one.</description>
  8395. <value>#1</value>
  8396. </enumeratedValue>
  8397. </enumeratedValues>
  8398. </field>
  8399. <field>
  8400. <name>TOF</name>
  8401. <description>Timer Overflow Flag</description>
  8402. <bitOffset>7</bitOffset>
  8403. <bitWidth>1</bitWidth>
  8404. <access>read-only</access>
  8405. <enumeratedValues>
  8406. <enumeratedValue>
  8407. <name>0</name>
  8408. <description>FTM counter has not overflowed.</description>
  8409. <value>#0</value>
  8410. </enumeratedValue>
  8411. <enumeratedValue>
  8412. <name>1</name>
  8413. <description>FTM counter has overflowed.</description>
  8414. <value>#1</value>
  8415. </enumeratedValue>
  8416. </enumeratedValues>
  8417. </field>
  8418. </fields>
  8419. </register>
  8420. <register>
  8421. <name>CNT</name>
  8422. <description>Counter</description>
  8423. <addressOffset>0x4</addressOffset>
  8424. <size>32</size>
  8425. <access>read-write</access>
  8426. <resetValue>0</resetValue>
  8427. <resetMask>0xFFFFFFFF</resetMask>
  8428. <fields>
  8429. <field>
  8430. <name>COUNT</name>
  8431. <description>Counter value</description>
  8432. <bitOffset>0</bitOffset>
  8433. <bitWidth>16</bitWidth>
  8434. <access>read-write</access>
  8435. </field>
  8436. </fields>
  8437. </register>
  8438. <register>
  8439. <name>MOD</name>
  8440. <description>Modulo</description>
  8441. <addressOffset>0x8</addressOffset>
  8442. <size>32</size>
  8443. <access>read-write</access>
  8444. <resetValue>0</resetValue>
  8445. <resetMask>0xFFFFFFFF</resetMask>
  8446. <fields>
  8447. <field>
  8448. <name>MOD</name>
  8449. <description>Modulo value</description>
  8450. <bitOffset>0</bitOffset>
  8451. <bitWidth>16</bitWidth>
  8452. <access>read-write</access>
  8453. </field>
  8454. </fields>
  8455. </register>
  8456. <register>
  8457. <dim>8</dim>
  8458. <dimIncrement>0x8</dimIncrement>
  8459. <dimIndex>0,1,2,3,4,5,6,7</dimIndex>
  8460. <name>C%sSC</name>
  8461. <description>Channel (n) Status and Control</description>
  8462. <addressOffset>0xC</addressOffset>
  8463. <size>32</size>
  8464. <access>read-write</access>
  8465. <resetValue>0</resetValue>
  8466. <resetMask>0xFFFFFFFF</resetMask>
  8467. <fields>
  8468. <field>
  8469. <name>DMA</name>
  8470. <description>DMA Enable</description>
  8471. <bitOffset>0</bitOffset>
  8472. <bitWidth>1</bitWidth>
  8473. <access>read-write</access>
  8474. <enumeratedValues>
  8475. <enumeratedValue>
  8476. <name>0</name>
  8477. <description>Disable DMA transfers.</description>
  8478. <value>#0</value>
  8479. </enumeratedValue>
  8480. <enumeratedValue>
  8481. <name>1</name>
  8482. <description>Enable DMA transfers.</description>
  8483. <value>#1</value>
  8484. </enumeratedValue>
  8485. </enumeratedValues>
  8486. </field>
  8487. <field>
  8488. <name>ELSA</name>
  8489. <description>Edge or Level Select</description>
  8490. <bitOffset>2</bitOffset>
  8491. <bitWidth>1</bitWidth>
  8492. <access>read-write</access>
  8493. </field>
  8494. <field>
  8495. <name>ELSB</name>
  8496. <description>Edge or Level Select</description>
  8497. <bitOffset>3</bitOffset>
  8498. <bitWidth>1</bitWidth>
  8499. <access>read-write</access>
  8500. </field>
  8501. <field>
  8502. <name>MSA</name>
  8503. <description>Channel Mode Select</description>
  8504. <bitOffset>4</bitOffset>
  8505. <bitWidth>1</bitWidth>
  8506. <access>read-write</access>
  8507. </field>
  8508. <field>
  8509. <name>MSB</name>
  8510. <description>Channel Mode Select</description>
  8511. <bitOffset>5</bitOffset>
  8512. <bitWidth>1</bitWidth>
  8513. <access>read-write</access>
  8514. </field>
  8515. <field>
  8516. <name>CHIE</name>
  8517. <description>Channel Interrupt Enable</description>
  8518. <bitOffset>6</bitOffset>
  8519. <bitWidth>1</bitWidth>
  8520. <access>read-write</access>
  8521. <enumeratedValues>
  8522. <enumeratedValue>
  8523. <name>0</name>
  8524. <description>Disable channel interrupts. Use software polling.</description>
  8525. <value>#0</value>
  8526. </enumeratedValue>
  8527. <enumeratedValue>
  8528. <name>1</name>
  8529. <description>Enable channel interrupts.</description>
  8530. <value>#1</value>
  8531. </enumeratedValue>
  8532. </enumeratedValues>
  8533. </field>
  8534. <field>
  8535. <name>CHF</name>
  8536. <description>Channel Flag</description>
  8537. <bitOffset>7</bitOffset>
  8538. <bitWidth>1</bitWidth>
  8539. <access>read-only</access>
  8540. <enumeratedValues>
  8541. <enumeratedValue>
  8542. <name>0</name>
  8543. <description>No channel event has occurred.</description>
  8544. <value>#0</value>
  8545. </enumeratedValue>
  8546. <enumeratedValue>
  8547. <name>1</name>
  8548. <description>A channel event has occurred.</description>
  8549. <value>#1</value>
  8550. </enumeratedValue>
  8551. </enumeratedValues>
  8552. </field>
  8553. </fields>
  8554. </register>
  8555. <register>
  8556. <dim>8</dim>
  8557. <dimIncrement>0x8</dimIncrement>
  8558. <dimIndex>0,1,2,3,4,5,6,7</dimIndex>
  8559. <name>C%sV</name>
  8560. <description>Channel (n) Value</description>
  8561. <addressOffset>0x10</addressOffset>
  8562. <size>32</size>
  8563. <access>read-write</access>
  8564. <resetValue>0</resetValue>
  8565. <resetMask>0xFFFFFFFF</resetMask>
  8566. <fields>
  8567. <field>
  8568. <name>VAL</name>
  8569. <description>Channel Value</description>
  8570. <bitOffset>0</bitOffset>
  8571. <bitWidth>16</bitWidth>
  8572. <access>read-write</access>
  8573. </field>
  8574. </fields>
  8575. </register>
  8576. <register>
  8577. <name>CNTIN</name>
  8578. <description>Counter Initial Value</description>
  8579. <addressOffset>0x4C</addressOffset>
  8580. <size>32</size>
  8581. <access>read-write</access>
  8582. <resetValue>0</resetValue>
  8583. <resetMask>0xFFFFFFFF</resetMask>
  8584. <fields>
  8585. <field>
  8586. <name>INIT</name>
  8587. <description>Initial Value of the FTM Counter</description>
  8588. <bitOffset>0</bitOffset>
  8589. <bitWidth>16</bitWidth>
  8590. <access>read-write</access>
  8591. </field>
  8592. </fields>
  8593. </register>
  8594. <register>
  8595. <name>STATUS</name>
  8596. <description>Capture and Compare Status</description>
  8597. <addressOffset>0x50</addressOffset>
  8598. <size>32</size>
  8599. <access>read-write</access>
  8600. <resetValue>0</resetValue>
  8601. <resetMask>0xFFFFFFFF</resetMask>
  8602. <fields>
  8603. <field>
  8604. <name>CH0F</name>
  8605. <description>Channel 0 Flag</description>
  8606. <bitOffset>0</bitOffset>
  8607. <bitWidth>1</bitWidth>
  8608. <access>read-write</access>
  8609. <enumeratedValues>
  8610. <enumeratedValue>
  8611. <name>0</name>
  8612. <description>No channel event has occurred.</description>
  8613. <value>#0</value>
  8614. </enumeratedValue>
  8615. <enumeratedValue>
  8616. <name>1</name>
  8617. <description>A channel event has occurred.</description>
  8618. <value>#1</value>
  8619. </enumeratedValue>
  8620. </enumeratedValues>
  8621. </field>
  8622. <field>
  8623. <name>CH1F</name>
  8624. <description>Channel 1 Flag</description>
  8625. <bitOffset>1</bitOffset>
  8626. <bitWidth>1</bitWidth>
  8627. <access>read-write</access>
  8628. <enumeratedValues>
  8629. <enumeratedValue>
  8630. <name>0</name>
  8631. <description>No channel event has occurred.</description>
  8632. <value>#0</value>
  8633. </enumeratedValue>
  8634. <enumeratedValue>
  8635. <name>1</name>
  8636. <description>A channel event has occurred.</description>
  8637. <value>#1</value>
  8638. </enumeratedValue>
  8639. </enumeratedValues>
  8640. </field>
  8641. <field>
  8642. <name>CH2F</name>
  8643. <description>Channel 2 Flag</description>
  8644. <bitOffset>2</bitOffset>
  8645. <bitWidth>1</bitWidth>
  8646. <access>read-write</access>
  8647. <enumeratedValues>
  8648. <enumeratedValue>
  8649. <name>0</name>
  8650. <description>No channel event has occurred.</description>
  8651. <value>#0</value>
  8652. </enumeratedValue>
  8653. <enumeratedValue>
  8654. <name>1</name>
  8655. <description>A channel event has occurred.</description>
  8656. <value>#1</value>
  8657. </enumeratedValue>
  8658. </enumeratedValues>
  8659. </field>
  8660. <field>
  8661. <name>CH3F</name>
  8662. <description>Channel 3 Flag</description>
  8663. <bitOffset>3</bitOffset>
  8664. <bitWidth>1</bitWidth>
  8665. <access>read-write</access>
  8666. <enumeratedValues>
  8667. <enumeratedValue>
  8668. <name>0</name>
  8669. <description>No channel event has occurred.</description>
  8670. <value>#0</value>
  8671. </enumeratedValue>
  8672. <enumeratedValue>
  8673. <name>1</name>
  8674. <description>A channel event has occurred.</description>
  8675. <value>#1</value>
  8676. </enumeratedValue>
  8677. </enumeratedValues>
  8678. </field>
  8679. <field>
  8680. <name>CH4F</name>
  8681. <description>Channel 4 Flag</description>
  8682. <bitOffset>4</bitOffset>
  8683. <bitWidth>1</bitWidth>
  8684. <access>read-write</access>
  8685. <enumeratedValues>
  8686. <enumeratedValue>
  8687. <name>0</name>
  8688. <description>No channel event has occurred.</description>
  8689. <value>#0</value>
  8690. </enumeratedValue>
  8691. <enumeratedValue>
  8692. <name>1</name>
  8693. <description>A channel event has occurred.</description>
  8694. <value>#1</value>
  8695. </enumeratedValue>
  8696. </enumeratedValues>
  8697. </field>
  8698. <field>
  8699. <name>CH5F</name>
  8700. <description>Channel 5 Flag</description>
  8701. <bitOffset>5</bitOffset>
  8702. <bitWidth>1</bitWidth>
  8703. <access>read-write</access>
  8704. <enumeratedValues>
  8705. <enumeratedValue>
  8706. <name>0</name>
  8707. <description>No channel event has occurred.</description>
  8708. <value>#0</value>
  8709. </enumeratedValue>
  8710. <enumeratedValue>
  8711. <name>1</name>
  8712. <description>A channel event has occurred.</description>
  8713. <value>#1</value>
  8714. </enumeratedValue>
  8715. </enumeratedValues>
  8716. </field>
  8717. <field>
  8718. <name>CH6F</name>
  8719. <description>Channel 6 Flag</description>
  8720. <bitOffset>6</bitOffset>
  8721. <bitWidth>1</bitWidth>
  8722. <access>read-write</access>
  8723. <enumeratedValues>
  8724. <enumeratedValue>
  8725. <name>0</name>
  8726. <description>No channel event has occurred.</description>
  8727. <value>#0</value>
  8728. </enumeratedValue>
  8729. <enumeratedValue>
  8730. <name>1</name>
  8731. <description>A channel event has occurred.</description>
  8732. <value>#1</value>
  8733. </enumeratedValue>
  8734. </enumeratedValues>
  8735. </field>
  8736. <field>
  8737. <name>CH7F</name>
  8738. <description>Channel 7 Flag</description>
  8739. <bitOffset>7</bitOffset>
  8740. <bitWidth>1</bitWidth>
  8741. <access>read-write</access>
  8742. <enumeratedValues>
  8743. <enumeratedValue>
  8744. <name>0</name>
  8745. <description>No channel event has occurred.</description>
  8746. <value>#0</value>
  8747. </enumeratedValue>
  8748. <enumeratedValue>
  8749. <name>1</name>
  8750. <description>A channel event has occurred.</description>
  8751. <value>#1</value>
  8752. </enumeratedValue>
  8753. </enumeratedValues>
  8754. </field>
  8755. </fields>
  8756. </register>
  8757. <register>
  8758. <name>MODE</name>
  8759. <description>Features Mode Selection</description>
  8760. <addressOffset>0x54</addressOffset>
  8761. <size>32</size>
  8762. <access>read-write</access>
  8763. <resetValue>0x4</resetValue>
  8764. <resetMask>0xFFFFFFFF</resetMask>
  8765. <fields>
  8766. <field>
  8767. <name>FTMEN</name>
  8768. <description>FTM Enable</description>
  8769. <bitOffset>0</bitOffset>
  8770. <bitWidth>1</bitWidth>
  8771. <access>read-write</access>
  8772. <enumeratedValues>
  8773. <enumeratedValue>
  8774. <name>0</name>
  8775. <description>Only the TPM-compatible registers (first set of registers) can be used without any restriction. Do not use the FTM-specific registers.</description>
  8776. <value>#0</value>
  8777. </enumeratedValue>
  8778. <enumeratedValue>
  8779. <name>1</name>
  8780. <description>All registers including the FTM-specific registers (second set of registers) are available for use with no restrictions.</description>
  8781. <value>#1</value>
  8782. </enumeratedValue>
  8783. </enumeratedValues>
  8784. </field>
  8785. <field>
  8786. <name>INIT</name>
  8787. <description>Initialize the Channels Output</description>
  8788. <bitOffset>1</bitOffset>
  8789. <bitWidth>1</bitWidth>
  8790. <access>read-write</access>
  8791. </field>
  8792. <field>
  8793. <name>WPDIS</name>
  8794. <description>Write Protection Disable</description>
  8795. <bitOffset>2</bitOffset>
  8796. <bitWidth>1</bitWidth>
  8797. <access>read-write</access>
  8798. <enumeratedValues>
  8799. <enumeratedValue>
  8800. <name>0</name>
  8801. <description>Write protection is enabled.</description>
  8802. <value>#0</value>
  8803. </enumeratedValue>
  8804. <enumeratedValue>
  8805. <name>1</name>
  8806. <description>Write protection is disabled.</description>
  8807. <value>#1</value>
  8808. </enumeratedValue>
  8809. </enumeratedValues>
  8810. </field>
  8811. <field>
  8812. <name>PWMSYNC</name>
  8813. <description>PWM Synchronization Mode</description>
  8814. <bitOffset>3</bitOffset>
  8815. <bitWidth>1</bitWidth>
  8816. <access>read-write</access>
  8817. <enumeratedValues>
  8818. <enumeratedValue>
  8819. <name>0</name>
  8820. <description>No restrictions. Software and hardware triggers can be used by MOD, CnV, OUTMASK, and FTM counter synchronization.</description>
  8821. <value>#0</value>
  8822. </enumeratedValue>
  8823. <enumeratedValue>
  8824. <name>1</name>
  8825. <description>Software trigger can only be used by MOD and CnV synchronization, and hardware triggers can only be used by OUTMASK and FTM counter synchronization.</description>
  8826. <value>#1</value>
  8827. </enumeratedValue>
  8828. </enumeratedValues>
  8829. </field>
  8830. <field>
  8831. <name>CAPTEST</name>
  8832. <description>Capture Test Mode Enable</description>
  8833. <bitOffset>4</bitOffset>
  8834. <bitWidth>1</bitWidth>
  8835. <access>read-write</access>
  8836. <enumeratedValues>
  8837. <enumeratedValue>
  8838. <name>0</name>
  8839. <description>Capture test mode is disabled.</description>
  8840. <value>#0</value>
  8841. </enumeratedValue>
  8842. <enumeratedValue>
  8843. <name>1</name>
  8844. <description>Capture test mode is enabled.</description>
  8845. <value>#1</value>
  8846. </enumeratedValue>
  8847. </enumeratedValues>
  8848. </field>
  8849. <field>
  8850. <name>FAULTM</name>
  8851. <description>Fault Control Mode</description>
  8852. <bitOffset>5</bitOffset>
  8853. <bitWidth>2</bitWidth>
  8854. <access>read-write</access>
  8855. <enumeratedValues>
  8856. <enumeratedValue>
  8857. <name>00</name>
  8858. <description>Fault control is disabled for all channels.</description>
  8859. <value>#00</value>
  8860. </enumeratedValue>
  8861. <enumeratedValue>
  8862. <name>01</name>
  8863. <description>Fault control is enabled for even channels only (channels 0, 2, 4, and 6), and the selected mode is the manual fault clearing.</description>
  8864. <value>#01</value>
  8865. </enumeratedValue>
  8866. <enumeratedValue>
  8867. <name>10</name>
  8868. <description>Fault control is enabled for all channels, and the selected mode is the manual fault clearing.</description>
  8869. <value>#10</value>
  8870. </enumeratedValue>
  8871. <enumeratedValue>
  8872. <name>11</name>
  8873. <description>Fault control is enabled for all channels, and the selected mode is the automatic fault clearing.</description>
  8874. <value>#11</value>
  8875. </enumeratedValue>
  8876. </enumeratedValues>
  8877. </field>
  8878. <field>
  8879. <name>FAULTIE</name>
  8880. <description>Fault Interrupt Enable</description>
  8881. <bitOffset>7</bitOffset>
  8882. <bitWidth>1</bitWidth>
  8883. <access>read-write</access>
  8884. <enumeratedValues>
  8885. <enumeratedValue>
  8886. <name>0</name>
  8887. <description>Fault control interrupt is disabled.</description>
  8888. <value>#0</value>
  8889. </enumeratedValue>
  8890. <enumeratedValue>
  8891. <name>1</name>
  8892. <description>Fault control interrupt is enabled.</description>
  8893. <value>#1</value>
  8894. </enumeratedValue>
  8895. </enumeratedValues>
  8896. </field>
  8897. </fields>
  8898. </register>
  8899. <register>
  8900. <name>SYNC</name>
  8901. <description>Synchronization</description>
  8902. <addressOffset>0x58</addressOffset>
  8903. <size>32</size>
  8904. <access>read-write</access>
  8905. <resetValue>0</resetValue>
  8906. <resetMask>0xFFFFFFFF</resetMask>
  8907. <fields>
  8908. <field>
  8909. <name>CNTMIN</name>
  8910. <description>Minimum loading point enable</description>
  8911. <bitOffset>0</bitOffset>
  8912. <bitWidth>1</bitWidth>
  8913. <access>read-write</access>
  8914. <enumeratedValues>
  8915. <enumeratedValue>
  8916. <name>0</name>
  8917. <description>The minimum loading point is disabled.</description>
  8918. <value>#0</value>
  8919. </enumeratedValue>
  8920. <enumeratedValue>
  8921. <name>1</name>
  8922. <description>The minimum loading point is enabled.</description>
  8923. <value>#1</value>
  8924. </enumeratedValue>
  8925. </enumeratedValues>
  8926. </field>
  8927. <field>
  8928. <name>CNTMAX</name>
  8929. <description>Maximum loading point enable</description>
  8930. <bitOffset>1</bitOffset>
  8931. <bitWidth>1</bitWidth>
  8932. <access>read-write</access>
  8933. <enumeratedValues>
  8934. <enumeratedValue>
  8935. <name>0</name>
  8936. <description>The maximum loading point is disabled.</description>
  8937. <value>#0</value>
  8938. </enumeratedValue>
  8939. <enumeratedValue>
  8940. <name>1</name>
  8941. <description>The maximum loading point is enabled.</description>
  8942. <value>#1</value>
  8943. </enumeratedValue>
  8944. </enumeratedValues>
  8945. </field>
  8946. <field>
  8947. <name>REINIT</name>
  8948. <description>FTM Counter Reinitialization by Synchronization (FTM Counter Synchronization)</description>
  8949. <bitOffset>2</bitOffset>
  8950. <bitWidth>1</bitWidth>
  8951. <access>read-write</access>
  8952. <enumeratedValues>
  8953. <enumeratedValue>
  8954. <name>0</name>
  8955. <description>FTM counter continues to count normally.</description>
  8956. <value>#0</value>
  8957. </enumeratedValue>
  8958. <enumeratedValue>
  8959. <name>1</name>
  8960. <description>FTM counter is updated with its initial value when the selected trigger is detected.</description>
  8961. <value>#1</value>
  8962. </enumeratedValue>
  8963. </enumeratedValues>
  8964. </field>
  8965. <field>
  8966. <name>SYNCHOM</name>
  8967. <description>Output Mask Synchronization</description>
  8968. <bitOffset>3</bitOffset>
  8969. <bitWidth>1</bitWidth>
  8970. <access>read-write</access>
  8971. <enumeratedValues>
  8972. <enumeratedValue>
  8973. <name>0</name>
  8974. <description>OUTMASK register is updated with the value of its buffer in all rising edges of the system clock.</description>
  8975. <value>#0</value>
  8976. </enumeratedValue>
  8977. <enumeratedValue>
  8978. <name>1</name>
  8979. <description>OUTMASK register is updated with the value of its buffer only by the PWM synchronization.</description>
  8980. <value>#1</value>
  8981. </enumeratedValue>
  8982. </enumeratedValues>
  8983. </field>
  8984. <field>
  8985. <name>TRIG0</name>
  8986. <description>PWM Synchronization Hardware Trigger 0</description>
  8987. <bitOffset>4</bitOffset>
  8988. <bitWidth>1</bitWidth>
  8989. <access>read-write</access>
  8990. <enumeratedValues>
  8991. <enumeratedValue>
  8992. <name>0</name>
  8993. <description>Trigger is disabled.</description>
  8994. <value>#0</value>
  8995. </enumeratedValue>
  8996. <enumeratedValue>
  8997. <name>1</name>
  8998. <description>Trigger is enabled.</description>
  8999. <value>#1</value>
  9000. </enumeratedValue>
  9001. </enumeratedValues>
  9002. </field>
  9003. <field>
  9004. <name>TRIG1</name>
  9005. <description>PWM Synchronization Hardware Trigger 1</description>
  9006. <bitOffset>5</bitOffset>
  9007. <bitWidth>1</bitWidth>
  9008. <access>read-write</access>
  9009. <enumeratedValues>
  9010. <enumeratedValue>
  9011. <name>0</name>
  9012. <description>Trigger is disabled.</description>
  9013. <value>#0</value>
  9014. </enumeratedValue>
  9015. <enumeratedValue>
  9016. <name>1</name>
  9017. <description>Trigger is enabled.</description>
  9018. <value>#1</value>
  9019. </enumeratedValue>
  9020. </enumeratedValues>
  9021. </field>
  9022. <field>
  9023. <name>TRIG2</name>
  9024. <description>PWM Synchronization Hardware Trigger 2</description>
  9025. <bitOffset>6</bitOffset>
  9026. <bitWidth>1</bitWidth>
  9027. <access>read-write</access>
  9028. <enumeratedValues>
  9029. <enumeratedValue>
  9030. <name>0</name>
  9031. <description>Trigger is disabled.</description>
  9032. <value>#0</value>
  9033. </enumeratedValue>
  9034. <enumeratedValue>
  9035. <name>1</name>
  9036. <description>Trigger is enabled.</description>
  9037. <value>#1</value>
  9038. </enumeratedValue>
  9039. </enumeratedValues>
  9040. </field>
  9041. <field>
  9042. <name>SWSYNC</name>
  9043. <description>PWM Synchronization Software Trigger</description>
  9044. <bitOffset>7</bitOffset>
  9045. <bitWidth>1</bitWidth>
  9046. <access>read-write</access>
  9047. <enumeratedValues>
  9048. <enumeratedValue>
  9049. <name>0</name>
  9050. <description>Software trigger is not selected.</description>
  9051. <value>#0</value>
  9052. </enumeratedValue>
  9053. <enumeratedValue>
  9054. <name>1</name>
  9055. <description>Software trigger is selected.</description>
  9056. <value>#1</value>
  9057. </enumeratedValue>
  9058. </enumeratedValues>
  9059. </field>
  9060. </fields>
  9061. </register>
  9062. <register>
  9063. <name>OUTINIT</name>
  9064. <description>Initial State for Channels Output</description>
  9065. <addressOffset>0x5C</addressOffset>
  9066. <size>32</size>
  9067. <access>read-write</access>
  9068. <resetValue>0</resetValue>
  9069. <resetMask>0xFFFFFFFF</resetMask>
  9070. <fields>
  9071. <field>
  9072. <name>CH0OI</name>
  9073. <description>Channel 0 Output Initialization Value</description>
  9074. <bitOffset>0</bitOffset>
  9075. <bitWidth>1</bitWidth>
  9076. <access>read-write</access>
  9077. <enumeratedValues>
  9078. <enumeratedValue>
  9079. <name>0</name>
  9080. <description>The initialization value is 0.</description>
  9081. <value>#0</value>
  9082. </enumeratedValue>
  9083. <enumeratedValue>
  9084. <name>1</name>
  9085. <description>The initialization value is 1.</description>
  9086. <value>#1</value>
  9087. </enumeratedValue>
  9088. </enumeratedValues>
  9089. </field>
  9090. <field>
  9091. <name>CH1OI</name>
  9092. <description>Channel 1 Output Initialization Value</description>
  9093. <bitOffset>1</bitOffset>
  9094. <bitWidth>1</bitWidth>
  9095. <access>read-write</access>
  9096. <enumeratedValues>
  9097. <enumeratedValue>
  9098. <name>0</name>
  9099. <description>The initialization value is 0.</description>
  9100. <value>#0</value>
  9101. </enumeratedValue>
  9102. <enumeratedValue>
  9103. <name>1</name>
  9104. <description>The initialization value is 1.</description>
  9105. <value>#1</value>
  9106. </enumeratedValue>
  9107. </enumeratedValues>
  9108. </field>
  9109. <field>
  9110. <name>CH2OI</name>
  9111. <description>Channel 2 Output Initialization Value</description>
  9112. <bitOffset>2</bitOffset>
  9113. <bitWidth>1</bitWidth>
  9114. <access>read-write</access>
  9115. <enumeratedValues>
  9116. <enumeratedValue>
  9117. <name>0</name>
  9118. <description>The initialization value is 0.</description>
  9119. <value>#0</value>
  9120. </enumeratedValue>
  9121. <enumeratedValue>
  9122. <name>1</name>
  9123. <description>The initialization value is 1.</description>
  9124. <value>#1</value>
  9125. </enumeratedValue>
  9126. </enumeratedValues>
  9127. </field>
  9128. <field>
  9129. <name>CH3OI</name>
  9130. <description>Channel 3 Output Initialization Value</description>
  9131. <bitOffset>3</bitOffset>
  9132. <bitWidth>1</bitWidth>
  9133. <access>read-write</access>
  9134. <enumeratedValues>
  9135. <enumeratedValue>
  9136. <name>0</name>
  9137. <description>The initialization value is 0.</description>
  9138. <value>#0</value>
  9139. </enumeratedValue>
  9140. <enumeratedValue>
  9141. <name>1</name>
  9142. <description>The initialization value is 1.</description>
  9143. <value>#1</value>
  9144. </enumeratedValue>
  9145. </enumeratedValues>
  9146. </field>
  9147. <field>
  9148. <name>CH4OI</name>
  9149. <description>Channel 4 Output Initialization Value</description>
  9150. <bitOffset>4</bitOffset>
  9151. <bitWidth>1</bitWidth>
  9152. <access>read-write</access>
  9153. <enumeratedValues>
  9154. <enumeratedValue>
  9155. <name>0</name>
  9156. <description>The initialization value is 0.</description>
  9157. <value>#0</value>
  9158. </enumeratedValue>
  9159. <enumeratedValue>
  9160. <name>1</name>
  9161. <description>The initialization value is 1.</description>
  9162. <value>#1</value>
  9163. </enumeratedValue>
  9164. </enumeratedValues>
  9165. </field>
  9166. <field>
  9167. <name>CH5OI</name>
  9168. <description>Channel 5 Output Initialization Value</description>
  9169. <bitOffset>5</bitOffset>
  9170. <bitWidth>1</bitWidth>
  9171. <access>read-write</access>
  9172. <enumeratedValues>
  9173. <enumeratedValue>
  9174. <name>0</name>
  9175. <description>The initialization value is 0.</description>
  9176. <value>#0</value>
  9177. </enumeratedValue>
  9178. <enumeratedValue>
  9179. <name>1</name>
  9180. <description>The initialization value is 1.</description>
  9181. <value>#1</value>
  9182. </enumeratedValue>
  9183. </enumeratedValues>
  9184. </field>
  9185. <field>
  9186. <name>CH6OI</name>
  9187. <description>Channel 6 Output Initialization Value</description>
  9188. <bitOffset>6</bitOffset>
  9189. <bitWidth>1</bitWidth>
  9190. <access>read-write</access>
  9191. <enumeratedValues>
  9192. <enumeratedValue>
  9193. <name>0</name>
  9194. <description>The initialization value is 0.</description>
  9195. <value>#0</value>
  9196. </enumeratedValue>
  9197. <enumeratedValue>
  9198. <name>1</name>
  9199. <description>The initialization value is 1.</description>
  9200. <value>#1</value>
  9201. </enumeratedValue>
  9202. </enumeratedValues>
  9203. </field>
  9204. <field>
  9205. <name>CH7OI</name>
  9206. <description>Channel 7 Output Initialization Value</description>
  9207. <bitOffset>7</bitOffset>
  9208. <bitWidth>1</bitWidth>
  9209. <access>read-write</access>
  9210. <enumeratedValues>
  9211. <enumeratedValue>
  9212. <name>0</name>
  9213. <description>The initialization value is 0.</description>
  9214. <value>#0</value>
  9215. </enumeratedValue>
  9216. <enumeratedValue>
  9217. <name>1</name>
  9218. <description>The initialization value is 1.</description>
  9219. <value>#1</value>
  9220. </enumeratedValue>
  9221. </enumeratedValues>
  9222. </field>
  9223. </fields>
  9224. </register>
  9225. <register>
  9226. <name>OUTMASK</name>
  9227. <description>Output Mask</description>
  9228. <addressOffset>0x60</addressOffset>
  9229. <size>32</size>
  9230. <access>read-write</access>
  9231. <resetValue>0</resetValue>
  9232. <resetMask>0xFFFFFFFF</resetMask>
  9233. <fields>
  9234. <field>
  9235. <name>CH0OM</name>
  9236. <description>Channel 0 Output Mask</description>
  9237. <bitOffset>0</bitOffset>
  9238. <bitWidth>1</bitWidth>
  9239. <access>read-write</access>
  9240. <enumeratedValues>
  9241. <enumeratedValue>
  9242. <name>0</name>
  9243. <description>Channel output is not masked. It continues to operate normally.</description>
  9244. <value>#0</value>
  9245. </enumeratedValue>
  9246. <enumeratedValue>
  9247. <name>1</name>
  9248. <description>Channel output is masked. It is forced to its inactive state.</description>
  9249. <value>#1</value>
  9250. </enumeratedValue>
  9251. </enumeratedValues>
  9252. </field>
  9253. <field>
  9254. <name>CH1OM</name>
  9255. <description>Channel 1 Output Mask</description>
  9256. <bitOffset>1</bitOffset>
  9257. <bitWidth>1</bitWidth>
  9258. <access>read-write</access>
  9259. <enumeratedValues>
  9260. <enumeratedValue>
  9261. <name>0</name>
  9262. <description>Channel output is not masked. It continues to operate normally.</description>
  9263. <value>#0</value>
  9264. </enumeratedValue>
  9265. <enumeratedValue>
  9266. <name>1</name>
  9267. <description>Channel output is masked. It is forced to its inactive state.</description>
  9268. <value>#1</value>
  9269. </enumeratedValue>
  9270. </enumeratedValues>
  9271. </field>
  9272. <field>
  9273. <name>CH2OM</name>
  9274. <description>Channel 2 Output Mask</description>
  9275. <bitOffset>2</bitOffset>
  9276. <bitWidth>1</bitWidth>
  9277. <access>read-write</access>
  9278. <enumeratedValues>
  9279. <enumeratedValue>
  9280. <name>0</name>
  9281. <description>Channel output is not masked. It continues to operate normally.</description>
  9282. <value>#0</value>
  9283. </enumeratedValue>
  9284. <enumeratedValue>
  9285. <name>1</name>
  9286. <description>Channel output is masked. It is forced to its inactive state.</description>
  9287. <value>#1</value>
  9288. </enumeratedValue>
  9289. </enumeratedValues>
  9290. </field>
  9291. <field>
  9292. <name>CH3OM</name>
  9293. <description>Channel 3 Output Mask</description>
  9294. <bitOffset>3</bitOffset>
  9295. <bitWidth>1</bitWidth>
  9296. <access>read-write</access>
  9297. <enumeratedValues>
  9298. <enumeratedValue>
  9299. <name>0</name>
  9300. <description>Channel output is not masked. It continues to operate normally.</description>
  9301. <value>#0</value>
  9302. </enumeratedValue>
  9303. <enumeratedValue>
  9304. <name>1</name>
  9305. <description>Channel output is masked. It is forced to its inactive state.</description>
  9306. <value>#1</value>
  9307. </enumeratedValue>
  9308. </enumeratedValues>
  9309. </field>
  9310. <field>
  9311. <name>CH4OM</name>
  9312. <description>Channel 4 Output Mask</description>
  9313. <bitOffset>4</bitOffset>
  9314. <bitWidth>1</bitWidth>
  9315. <access>read-write</access>
  9316. <enumeratedValues>
  9317. <enumeratedValue>
  9318. <name>0</name>
  9319. <description>Channel output is not masked. It continues to operate normally.</description>
  9320. <value>#0</value>
  9321. </enumeratedValue>
  9322. <enumeratedValue>
  9323. <name>1</name>
  9324. <description>Channel output is masked. It is forced to its inactive state.</description>
  9325. <value>#1</value>
  9326. </enumeratedValue>
  9327. </enumeratedValues>
  9328. </field>
  9329. <field>
  9330. <name>CH5OM</name>
  9331. <description>Channel 5 Output Mask</description>
  9332. <bitOffset>5</bitOffset>
  9333. <bitWidth>1</bitWidth>
  9334. <access>read-write</access>
  9335. <enumeratedValues>
  9336. <enumeratedValue>
  9337. <name>0</name>
  9338. <description>Channel output is not masked. It continues to operate normally.</description>
  9339. <value>#0</value>
  9340. </enumeratedValue>
  9341. <enumeratedValue>
  9342. <name>1</name>
  9343. <description>Channel output is masked. It is forced to its inactive state.</description>
  9344. <value>#1</value>
  9345. </enumeratedValue>
  9346. </enumeratedValues>
  9347. </field>
  9348. <field>
  9349. <name>CH6OM</name>
  9350. <description>Channel 6 Output Mask</description>
  9351. <bitOffset>6</bitOffset>
  9352. <bitWidth>1</bitWidth>
  9353. <access>read-write</access>
  9354. <enumeratedValues>
  9355. <enumeratedValue>
  9356. <name>0</name>
  9357. <description>Channel output is not masked. It continues to operate normally.</description>
  9358. <value>#0</value>
  9359. </enumeratedValue>
  9360. <enumeratedValue>
  9361. <name>1</name>
  9362. <description>Channel output is masked. It is forced to its inactive state.</description>
  9363. <value>#1</value>
  9364. </enumeratedValue>
  9365. </enumeratedValues>
  9366. </field>
  9367. <field>
  9368. <name>CH7OM</name>
  9369. <description>Channel 7 Output Mask</description>
  9370. <bitOffset>7</bitOffset>
  9371. <bitWidth>1</bitWidth>
  9372. <access>read-write</access>
  9373. <enumeratedValues>
  9374. <enumeratedValue>
  9375. <name>0</name>
  9376. <description>Channel output is not masked. It continues to operate normally.</description>
  9377. <value>#0</value>
  9378. </enumeratedValue>
  9379. <enumeratedValue>
  9380. <name>1</name>
  9381. <description>Channel output is masked. It is forced to its inactive state.</description>
  9382. <value>#1</value>
  9383. </enumeratedValue>
  9384. </enumeratedValues>
  9385. </field>
  9386. </fields>
  9387. </register>
  9388. <register>
  9389. <name>COMBINE</name>
  9390. <description>Function for Linked Channels</description>
  9391. <addressOffset>0x64</addressOffset>
  9392. <size>32</size>
  9393. <access>read-write</access>
  9394. <resetValue>0</resetValue>
  9395. <resetMask>0xFFFFFFFF</resetMask>
  9396. <fields>
  9397. <field>
  9398. <name>COMBINE0</name>
  9399. <description>Combine Channels for n = 0</description>
  9400. <bitOffset>0</bitOffset>
  9401. <bitWidth>1</bitWidth>
  9402. <access>read-write</access>
  9403. <enumeratedValues>
  9404. <enumeratedValue>
  9405. <name>0</name>
  9406. <description>Channels (n) and (n+1) are independent.</description>
  9407. <value>#0</value>
  9408. </enumeratedValue>
  9409. <enumeratedValue>
  9410. <name>1</name>
  9411. <description>Channels (n) and (n+1) are combined.</description>
  9412. <value>#1</value>
  9413. </enumeratedValue>
  9414. </enumeratedValues>
  9415. </field>
  9416. <field>
  9417. <name>COMP0</name>
  9418. <description>Complement of Channel (n) for n = 0</description>
  9419. <bitOffset>1</bitOffset>
  9420. <bitWidth>1</bitWidth>
  9421. <access>read-write</access>
  9422. <enumeratedValues>
  9423. <enumeratedValue>
  9424. <name>0</name>
  9425. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  9426. <value>#0</value>
  9427. </enumeratedValue>
  9428. <enumeratedValue>
  9429. <name>1</name>
  9430. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  9431. <value>#1</value>
  9432. </enumeratedValue>
  9433. </enumeratedValues>
  9434. </field>
  9435. <field>
  9436. <name>DECAPEN0</name>
  9437. <description>Dual Edge Capture Mode Enable for n = 0</description>
  9438. <bitOffset>2</bitOffset>
  9439. <bitWidth>1</bitWidth>
  9440. <access>read-write</access>
  9441. <enumeratedValues>
  9442. <enumeratedValue>
  9443. <name>0</name>
  9444. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  9445. <value>#0</value>
  9446. </enumeratedValue>
  9447. <enumeratedValue>
  9448. <name>1</name>
  9449. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  9450. <value>#1</value>
  9451. </enumeratedValue>
  9452. </enumeratedValues>
  9453. </field>
  9454. <field>
  9455. <name>DECAP0</name>
  9456. <description>Dual Edge Capture Mode Captures for n = 0</description>
  9457. <bitOffset>3</bitOffset>
  9458. <bitWidth>1</bitWidth>
  9459. <access>read-write</access>
  9460. <enumeratedValues>
  9461. <enumeratedValue>
  9462. <name>0</name>
  9463. <description>The dual edge captures are inactive.</description>
  9464. <value>#0</value>
  9465. </enumeratedValue>
  9466. <enumeratedValue>
  9467. <name>1</name>
  9468. <description>The dual edge captures are active.</description>
  9469. <value>#1</value>
  9470. </enumeratedValue>
  9471. </enumeratedValues>
  9472. </field>
  9473. <field>
  9474. <name>DTEN0</name>
  9475. <description>Deadtime Enable for n = 0</description>
  9476. <bitOffset>4</bitOffset>
  9477. <bitWidth>1</bitWidth>
  9478. <access>read-write</access>
  9479. <enumeratedValues>
  9480. <enumeratedValue>
  9481. <name>0</name>
  9482. <description>The deadtime insertion in this pair of channels is disabled.</description>
  9483. <value>#0</value>
  9484. </enumeratedValue>
  9485. <enumeratedValue>
  9486. <name>1</name>
  9487. <description>The deadtime insertion in this pair of channels is enabled.</description>
  9488. <value>#1</value>
  9489. </enumeratedValue>
  9490. </enumeratedValues>
  9491. </field>
  9492. <field>
  9493. <name>SYNCEN0</name>
  9494. <description>Synchronization Enable for n = 0</description>
  9495. <bitOffset>5</bitOffset>
  9496. <bitWidth>1</bitWidth>
  9497. <access>read-write</access>
  9498. <enumeratedValues>
  9499. <enumeratedValue>
  9500. <name>0</name>
  9501. <description>The PWM synchronization in this pair of channels is disabled.</description>
  9502. <value>#0</value>
  9503. </enumeratedValue>
  9504. <enumeratedValue>
  9505. <name>1</name>
  9506. <description>The PWM synchronization in this pair of channels is enabled.</description>
  9507. <value>#1</value>
  9508. </enumeratedValue>
  9509. </enumeratedValues>
  9510. </field>
  9511. <field>
  9512. <name>FAULTEN0</name>
  9513. <description>Fault Control Enable for n = 0</description>
  9514. <bitOffset>6</bitOffset>
  9515. <bitWidth>1</bitWidth>
  9516. <access>read-write</access>
  9517. <enumeratedValues>
  9518. <enumeratedValue>
  9519. <name>0</name>
  9520. <description>The fault control in this pair of channels is disabled.</description>
  9521. <value>#0</value>
  9522. </enumeratedValue>
  9523. <enumeratedValue>
  9524. <name>1</name>
  9525. <description>The fault control in this pair of channels is enabled.</description>
  9526. <value>#1</value>
  9527. </enumeratedValue>
  9528. </enumeratedValues>
  9529. </field>
  9530. <field>
  9531. <name>COMBINE1</name>
  9532. <description>Combine Channels for n = 2</description>
  9533. <bitOffset>8</bitOffset>
  9534. <bitWidth>1</bitWidth>
  9535. <access>read-write</access>
  9536. <enumeratedValues>
  9537. <enumeratedValue>
  9538. <name>0</name>
  9539. <description>Channels (n) and (n+1) are independent.</description>
  9540. <value>#0</value>
  9541. </enumeratedValue>
  9542. <enumeratedValue>
  9543. <name>1</name>
  9544. <description>Channels (n) and (n+1) are combined.</description>
  9545. <value>#1</value>
  9546. </enumeratedValue>
  9547. </enumeratedValues>
  9548. </field>
  9549. <field>
  9550. <name>COMP1</name>
  9551. <description>Complement of Channel (n) for n = 2</description>
  9552. <bitOffset>9</bitOffset>
  9553. <bitWidth>1</bitWidth>
  9554. <access>read-write</access>
  9555. <enumeratedValues>
  9556. <enumeratedValue>
  9557. <name>0</name>
  9558. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  9559. <value>#0</value>
  9560. </enumeratedValue>
  9561. <enumeratedValue>
  9562. <name>1</name>
  9563. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  9564. <value>#1</value>
  9565. </enumeratedValue>
  9566. </enumeratedValues>
  9567. </field>
  9568. <field>
  9569. <name>DECAPEN1</name>
  9570. <description>Dual Edge Capture Mode Enable for n = 2</description>
  9571. <bitOffset>10</bitOffset>
  9572. <bitWidth>1</bitWidth>
  9573. <access>read-write</access>
  9574. <enumeratedValues>
  9575. <enumeratedValue>
  9576. <name>0</name>
  9577. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  9578. <value>#0</value>
  9579. </enumeratedValue>
  9580. <enumeratedValue>
  9581. <name>1</name>
  9582. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  9583. <value>#1</value>
  9584. </enumeratedValue>
  9585. </enumeratedValues>
  9586. </field>
  9587. <field>
  9588. <name>DECAP1</name>
  9589. <description>Dual Edge Capture Mode Captures for n = 2</description>
  9590. <bitOffset>11</bitOffset>
  9591. <bitWidth>1</bitWidth>
  9592. <access>read-write</access>
  9593. <enumeratedValues>
  9594. <enumeratedValue>
  9595. <name>0</name>
  9596. <description>The dual edge captures are inactive.</description>
  9597. <value>#0</value>
  9598. </enumeratedValue>
  9599. <enumeratedValue>
  9600. <name>1</name>
  9601. <description>The dual edge captures are active.</description>
  9602. <value>#1</value>
  9603. </enumeratedValue>
  9604. </enumeratedValues>
  9605. </field>
  9606. <field>
  9607. <name>DTEN1</name>
  9608. <description>Deadtime Enable for n = 2</description>
  9609. <bitOffset>12</bitOffset>
  9610. <bitWidth>1</bitWidth>
  9611. <access>read-write</access>
  9612. <enumeratedValues>
  9613. <enumeratedValue>
  9614. <name>0</name>
  9615. <description>The deadtime insertion in this pair of channels is disabled.</description>
  9616. <value>#0</value>
  9617. </enumeratedValue>
  9618. <enumeratedValue>
  9619. <name>1</name>
  9620. <description>The deadtime insertion in this pair of channels is enabled.</description>
  9621. <value>#1</value>
  9622. </enumeratedValue>
  9623. </enumeratedValues>
  9624. </field>
  9625. <field>
  9626. <name>SYNCEN1</name>
  9627. <description>Synchronization Enable for n = 2</description>
  9628. <bitOffset>13</bitOffset>
  9629. <bitWidth>1</bitWidth>
  9630. <access>read-write</access>
  9631. <enumeratedValues>
  9632. <enumeratedValue>
  9633. <name>0</name>
  9634. <description>The PWM synchronization in this pair of channels is disabled.</description>
  9635. <value>#0</value>
  9636. </enumeratedValue>
  9637. <enumeratedValue>
  9638. <name>1</name>
  9639. <description>The PWM synchronization in this pair of channels is enabled.</description>
  9640. <value>#1</value>
  9641. </enumeratedValue>
  9642. </enumeratedValues>
  9643. </field>
  9644. <field>
  9645. <name>FAULTEN1</name>
  9646. <description>Fault Control Enable for n = 2</description>
  9647. <bitOffset>14</bitOffset>
  9648. <bitWidth>1</bitWidth>
  9649. <access>read-write</access>
  9650. <enumeratedValues>
  9651. <enumeratedValue>
  9652. <name>0</name>
  9653. <description>The fault control in this pair of channels is disabled.</description>
  9654. <value>#0</value>
  9655. </enumeratedValue>
  9656. <enumeratedValue>
  9657. <name>1</name>
  9658. <description>The fault control in this pair of channels is enabled.</description>
  9659. <value>#1</value>
  9660. </enumeratedValue>
  9661. </enumeratedValues>
  9662. </field>
  9663. <field>
  9664. <name>COMBINE2</name>
  9665. <description>Combine Channels for n = 4</description>
  9666. <bitOffset>16</bitOffset>
  9667. <bitWidth>1</bitWidth>
  9668. <access>read-write</access>
  9669. <enumeratedValues>
  9670. <enumeratedValue>
  9671. <name>0</name>
  9672. <description>Channels (n) and (n+1) are independent.</description>
  9673. <value>#0</value>
  9674. </enumeratedValue>
  9675. <enumeratedValue>
  9676. <name>1</name>
  9677. <description>Channels (n) and (n+1) are combined.</description>
  9678. <value>#1</value>
  9679. </enumeratedValue>
  9680. </enumeratedValues>
  9681. </field>
  9682. <field>
  9683. <name>COMP2</name>
  9684. <description>Complement of Channel (n) for n = 4</description>
  9685. <bitOffset>17</bitOffset>
  9686. <bitWidth>1</bitWidth>
  9687. <access>read-write</access>
  9688. <enumeratedValues>
  9689. <enumeratedValue>
  9690. <name>0</name>
  9691. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  9692. <value>#0</value>
  9693. </enumeratedValue>
  9694. <enumeratedValue>
  9695. <name>1</name>
  9696. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  9697. <value>#1</value>
  9698. </enumeratedValue>
  9699. </enumeratedValues>
  9700. </field>
  9701. <field>
  9702. <name>DECAPEN2</name>
  9703. <description>Dual Edge Capture Mode Enable for n = 4</description>
  9704. <bitOffset>18</bitOffset>
  9705. <bitWidth>1</bitWidth>
  9706. <access>read-write</access>
  9707. <enumeratedValues>
  9708. <enumeratedValue>
  9709. <name>0</name>
  9710. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  9711. <value>#0</value>
  9712. </enumeratedValue>
  9713. <enumeratedValue>
  9714. <name>1</name>
  9715. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  9716. <value>#1</value>
  9717. </enumeratedValue>
  9718. </enumeratedValues>
  9719. </field>
  9720. <field>
  9721. <name>DECAP2</name>
  9722. <description>Dual Edge Capture Mode Captures for n = 4</description>
  9723. <bitOffset>19</bitOffset>
  9724. <bitWidth>1</bitWidth>
  9725. <access>read-write</access>
  9726. <enumeratedValues>
  9727. <enumeratedValue>
  9728. <name>0</name>
  9729. <description>The dual edge captures are inactive.</description>
  9730. <value>#0</value>
  9731. </enumeratedValue>
  9732. <enumeratedValue>
  9733. <name>1</name>
  9734. <description>The dual edge captures are active.</description>
  9735. <value>#1</value>
  9736. </enumeratedValue>
  9737. </enumeratedValues>
  9738. </field>
  9739. <field>
  9740. <name>DTEN2</name>
  9741. <description>Deadtime Enable for n = 4</description>
  9742. <bitOffset>20</bitOffset>
  9743. <bitWidth>1</bitWidth>
  9744. <access>read-write</access>
  9745. <enumeratedValues>
  9746. <enumeratedValue>
  9747. <name>0</name>
  9748. <description>The deadtime insertion in this pair of channels is disabled.</description>
  9749. <value>#0</value>
  9750. </enumeratedValue>
  9751. <enumeratedValue>
  9752. <name>1</name>
  9753. <description>The deadtime insertion in this pair of channels is enabled.</description>
  9754. <value>#1</value>
  9755. </enumeratedValue>
  9756. </enumeratedValues>
  9757. </field>
  9758. <field>
  9759. <name>SYNCEN2</name>
  9760. <description>Synchronization Enable for n = 4</description>
  9761. <bitOffset>21</bitOffset>
  9762. <bitWidth>1</bitWidth>
  9763. <access>read-write</access>
  9764. <enumeratedValues>
  9765. <enumeratedValue>
  9766. <name>0</name>
  9767. <description>The PWM synchronization in this pair of channels is disabled.</description>
  9768. <value>#0</value>
  9769. </enumeratedValue>
  9770. <enumeratedValue>
  9771. <name>1</name>
  9772. <description>The PWM synchronization in this pair of channels is enabled.</description>
  9773. <value>#1</value>
  9774. </enumeratedValue>
  9775. </enumeratedValues>
  9776. </field>
  9777. <field>
  9778. <name>FAULTEN2</name>
  9779. <description>Fault Control Enable for n = 4</description>
  9780. <bitOffset>22</bitOffset>
  9781. <bitWidth>1</bitWidth>
  9782. <access>read-write</access>
  9783. <enumeratedValues>
  9784. <enumeratedValue>
  9785. <name>0</name>
  9786. <description>The fault control in this pair of channels is disabled.</description>
  9787. <value>#0</value>
  9788. </enumeratedValue>
  9789. <enumeratedValue>
  9790. <name>1</name>
  9791. <description>The fault control in this pair of channels is enabled.</description>
  9792. <value>#1</value>
  9793. </enumeratedValue>
  9794. </enumeratedValues>
  9795. </field>
  9796. <field>
  9797. <name>COMBINE3</name>
  9798. <description>Combine Channels for n = 6</description>
  9799. <bitOffset>24</bitOffset>
  9800. <bitWidth>1</bitWidth>
  9801. <access>read-write</access>
  9802. <enumeratedValues>
  9803. <enumeratedValue>
  9804. <name>0</name>
  9805. <description>Channels (n) and (n+1) are independent.</description>
  9806. <value>#0</value>
  9807. </enumeratedValue>
  9808. <enumeratedValue>
  9809. <name>1</name>
  9810. <description>Channels (n) and (n+1) are combined.</description>
  9811. <value>#1</value>
  9812. </enumeratedValue>
  9813. </enumeratedValues>
  9814. </field>
  9815. <field>
  9816. <name>COMP3</name>
  9817. <description>Complement of Channel (n) for n = 6</description>
  9818. <bitOffset>25</bitOffset>
  9819. <bitWidth>1</bitWidth>
  9820. <access>read-write</access>
  9821. <enumeratedValues>
  9822. <enumeratedValue>
  9823. <name>0</name>
  9824. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  9825. <value>#0</value>
  9826. </enumeratedValue>
  9827. <enumeratedValue>
  9828. <name>1</name>
  9829. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  9830. <value>#1</value>
  9831. </enumeratedValue>
  9832. </enumeratedValues>
  9833. </field>
  9834. <field>
  9835. <name>DECAPEN3</name>
  9836. <description>Dual Edge Capture Mode Enable for n = 6</description>
  9837. <bitOffset>26</bitOffset>
  9838. <bitWidth>1</bitWidth>
  9839. <access>read-write</access>
  9840. <enumeratedValues>
  9841. <enumeratedValue>
  9842. <name>0</name>
  9843. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  9844. <value>#0</value>
  9845. </enumeratedValue>
  9846. <enumeratedValue>
  9847. <name>1</name>
  9848. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  9849. <value>#1</value>
  9850. </enumeratedValue>
  9851. </enumeratedValues>
  9852. </field>
  9853. <field>
  9854. <name>DECAP3</name>
  9855. <description>Dual Edge Capture Mode Captures for n = 6</description>
  9856. <bitOffset>27</bitOffset>
  9857. <bitWidth>1</bitWidth>
  9858. <access>read-write</access>
  9859. <enumeratedValues>
  9860. <enumeratedValue>
  9861. <name>0</name>
  9862. <description>The dual edge captures are inactive.</description>
  9863. <value>#0</value>
  9864. </enumeratedValue>
  9865. <enumeratedValue>
  9866. <name>1</name>
  9867. <description>The dual edge captures are active.</description>
  9868. <value>#1</value>
  9869. </enumeratedValue>
  9870. </enumeratedValues>
  9871. </field>
  9872. <field>
  9873. <name>DTEN3</name>
  9874. <description>Deadtime Enable for n = 6</description>
  9875. <bitOffset>28</bitOffset>
  9876. <bitWidth>1</bitWidth>
  9877. <access>read-write</access>
  9878. <enumeratedValues>
  9879. <enumeratedValue>
  9880. <name>0</name>
  9881. <description>The deadtime insertion in this pair of channels is disabled.</description>
  9882. <value>#0</value>
  9883. </enumeratedValue>
  9884. <enumeratedValue>
  9885. <name>1</name>
  9886. <description>The deadtime insertion in this pair of channels is enabled.</description>
  9887. <value>#1</value>
  9888. </enumeratedValue>
  9889. </enumeratedValues>
  9890. </field>
  9891. <field>
  9892. <name>SYNCEN3</name>
  9893. <description>Synchronization Enable for n = 6</description>
  9894. <bitOffset>29</bitOffset>
  9895. <bitWidth>1</bitWidth>
  9896. <access>read-write</access>
  9897. <enumeratedValues>
  9898. <enumeratedValue>
  9899. <name>0</name>
  9900. <description>The PWM synchronization in this pair of channels is disabled.</description>
  9901. <value>#0</value>
  9902. </enumeratedValue>
  9903. <enumeratedValue>
  9904. <name>1</name>
  9905. <description>The PWM synchronization in this pair of channels is enabled.</description>
  9906. <value>#1</value>
  9907. </enumeratedValue>
  9908. </enumeratedValues>
  9909. </field>
  9910. <field>
  9911. <name>FAULTEN3</name>
  9912. <description>Fault Control Enable for n = 6</description>
  9913. <bitOffset>30</bitOffset>
  9914. <bitWidth>1</bitWidth>
  9915. <access>read-write</access>
  9916. <enumeratedValues>
  9917. <enumeratedValue>
  9918. <name>0</name>
  9919. <description>The fault control in this pair of channels is disabled.</description>
  9920. <value>#0</value>
  9921. </enumeratedValue>
  9922. <enumeratedValue>
  9923. <name>1</name>
  9924. <description>The fault control in this pair of channels is enabled.</description>
  9925. <value>#1</value>
  9926. </enumeratedValue>
  9927. </enumeratedValues>
  9928. </field>
  9929. </fields>
  9930. </register>
  9931. <register>
  9932. <name>DEADTIME</name>
  9933. <description>Deadtime Insertion Control</description>
  9934. <addressOffset>0x68</addressOffset>
  9935. <size>32</size>
  9936. <access>read-write</access>
  9937. <resetValue>0</resetValue>
  9938. <resetMask>0xFFFFFFFF</resetMask>
  9939. <fields>
  9940. <field>
  9941. <name>DTVAL</name>
  9942. <description>Deadtime Value</description>
  9943. <bitOffset>0</bitOffset>
  9944. <bitWidth>6</bitWidth>
  9945. <access>read-write</access>
  9946. </field>
  9947. <field>
  9948. <name>DTPS</name>
  9949. <description>Deadtime Prescaler Value</description>
  9950. <bitOffset>6</bitOffset>
  9951. <bitWidth>2</bitWidth>
  9952. <access>read-write</access>
  9953. <enumeratedValues>
  9954. <enumeratedValue>
  9955. <name>0x</name>
  9956. <description>Divide the system clock by 1.</description>
  9957. <value>#0x</value>
  9958. </enumeratedValue>
  9959. <enumeratedValue>
  9960. <name>10</name>
  9961. <description>Divide the system clock by 4.</description>
  9962. <value>#10</value>
  9963. </enumeratedValue>
  9964. <enumeratedValue>
  9965. <name>11</name>
  9966. <description>Divide the system clock by 16.</description>
  9967. <value>#11</value>
  9968. </enumeratedValue>
  9969. </enumeratedValues>
  9970. </field>
  9971. </fields>
  9972. </register>
  9973. <register>
  9974. <name>EXTTRIG</name>
  9975. <description>FTM External Trigger</description>
  9976. <addressOffset>0x6C</addressOffset>
  9977. <size>32</size>
  9978. <access>read-write</access>
  9979. <resetValue>0</resetValue>
  9980. <resetMask>0xFFFFFFFF</resetMask>
  9981. <fields>
  9982. <field>
  9983. <name>CH2TRIG</name>
  9984. <description>Channel 2 Trigger Enable</description>
  9985. <bitOffset>0</bitOffset>
  9986. <bitWidth>1</bitWidth>
  9987. <access>read-write</access>
  9988. <enumeratedValues>
  9989. <enumeratedValue>
  9990. <name>0</name>
  9991. <description>The generation of the channel trigger is disabled.</description>
  9992. <value>#0</value>
  9993. </enumeratedValue>
  9994. <enumeratedValue>
  9995. <name>1</name>
  9996. <description>The generation of the channel trigger is enabled.</description>
  9997. <value>#1</value>
  9998. </enumeratedValue>
  9999. </enumeratedValues>
  10000. </field>
  10001. <field>
  10002. <name>CH3TRIG</name>
  10003. <description>Channel 3 Trigger Enable</description>
  10004. <bitOffset>1</bitOffset>
  10005. <bitWidth>1</bitWidth>
  10006. <access>read-write</access>
  10007. <enumeratedValues>
  10008. <enumeratedValue>
  10009. <name>0</name>
  10010. <description>The generation of the channel trigger is disabled.</description>
  10011. <value>#0</value>
  10012. </enumeratedValue>
  10013. <enumeratedValue>
  10014. <name>1</name>
  10015. <description>The generation of the channel trigger is enabled.</description>
  10016. <value>#1</value>
  10017. </enumeratedValue>
  10018. </enumeratedValues>
  10019. </field>
  10020. <field>
  10021. <name>CH4TRIG</name>
  10022. <description>Channel 4 Trigger Enable</description>
  10023. <bitOffset>2</bitOffset>
  10024. <bitWidth>1</bitWidth>
  10025. <access>read-write</access>
  10026. <enumeratedValues>
  10027. <enumeratedValue>
  10028. <name>0</name>
  10029. <description>The generation of the channel trigger is disabled.</description>
  10030. <value>#0</value>
  10031. </enumeratedValue>
  10032. <enumeratedValue>
  10033. <name>1</name>
  10034. <description>The generation of the channel trigger is enabled.</description>
  10035. <value>#1</value>
  10036. </enumeratedValue>
  10037. </enumeratedValues>
  10038. </field>
  10039. <field>
  10040. <name>CH5TRIG</name>
  10041. <description>Channel 5 Trigger Enable</description>
  10042. <bitOffset>3</bitOffset>
  10043. <bitWidth>1</bitWidth>
  10044. <access>read-write</access>
  10045. <enumeratedValues>
  10046. <enumeratedValue>
  10047. <name>0</name>
  10048. <description>The generation of the channel trigger is disabled.</description>
  10049. <value>#0</value>
  10050. </enumeratedValue>
  10051. <enumeratedValue>
  10052. <name>1</name>
  10053. <description>The generation of the channel trigger is enabled.</description>
  10054. <value>#1</value>
  10055. </enumeratedValue>
  10056. </enumeratedValues>
  10057. </field>
  10058. <field>
  10059. <name>CH0TRIG</name>
  10060. <description>Channel 0 Trigger Enable</description>
  10061. <bitOffset>4</bitOffset>
  10062. <bitWidth>1</bitWidth>
  10063. <access>read-write</access>
  10064. <enumeratedValues>
  10065. <enumeratedValue>
  10066. <name>0</name>
  10067. <description>The generation of the channel trigger is disabled.</description>
  10068. <value>#0</value>
  10069. </enumeratedValue>
  10070. <enumeratedValue>
  10071. <name>1</name>
  10072. <description>The generation of the channel trigger is enabled.</description>
  10073. <value>#1</value>
  10074. </enumeratedValue>
  10075. </enumeratedValues>
  10076. </field>
  10077. <field>
  10078. <name>CH1TRIG</name>
  10079. <description>Channel 1 Trigger Enable</description>
  10080. <bitOffset>5</bitOffset>
  10081. <bitWidth>1</bitWidth>
  10082. <access>read-write</access>
  10083. <enumeratedValues>
  10084. <enumeratedValue>
  10085. <name>0</name>
  10086. <description>The generation of the channel trigger is disabled.</description>
  10087. <value>#0</value>
  10088. </enumeratedValue>
  10089. <enumeratedValue>
  10090. <name>1</name>
  10091. <description>The generation of the channel trigger is enabled.</description>
  10092. <value>#1</value>
  10093. </enumeratedValue>
  10094. </enumeratedValues>
  10095. </field>
  10096. <field>
  10097. <name>INITTRIGEN</name>
  10098. <description>Initialization Trigger Enable</description>
  10099. <bitOffset>6</bitOffset>
  10100. <bitWidth>1</bitWidth>
  10101. <access>read-write</access>
  10102. <enumeratedValues>
  10103. <enumeratedValue>
  10104. <name>0</name>
  10105. <description>The generation of initialization trigger is disabled.</description>
  10106. <value>#0</value>
  10107. </enumeratedValue>
  10108. <enumeratedValue>
  10109. <name>1</name>
  10110. <description>The generation of initialization trigger is enabled.</description>
  10111. <value>#1</value>
  10112. </enumeratedValue>
  10113. </enumeratedValues>
  10114. </field>
  10115. <field>
  10116. <name>TRIGF</name>
  10117. <description>Channel Trigger Flag</description>
  10118. <bitOffset>7</bitOffset>
  10119. <bitWidth>1</bitWidth>
  10120. <access>read-write</access>
  10121. <enumeratedValues>
  10122. <enumeratedValue>
  10123. <name>0</name>
  10124. <description>No channel trigger was generated.</description>
  10125. <value>#0</value>
  10126. </enumeratedValue>
  10127. <enumeratedValue>
  10128. <name>1</name>
  10129. <description>A channel trigger was generated.</description>
  10130. <value>#1</value>
  10131. </enumeratedValue>
  10132. </enumeratedValues>
  10133. </field>
  10134. </fields>
  10135. </register>
  10136. <register>
  10137. <name>POL</name>
  10138. <description>Channels Polarity</description>
  10139. <addressOffset>0x70</addressOffset>
  10140. <size>32</size>
  10141. <access>read-write</access>
  10142. <resetValue>0</resetValue>
  10143. <resetMask>0xFFFFFFFF</resetMask>
  10144. <fields>
  10145. <field>
  10146. <name>POL0</name>
  10147. <description>Channel 0 Polarity</description>
  10148. <bitOffset>0</bitOffset>
  10149. <bitWidth>1</bitWidth>
  10150. <access>read-write</access>
  10151. <enumeratedValues>
  10152. <enumeratedValue>
  10153. <name>0</name>
  10154. <description>The channel polarity is active high.</description>
  10155. <value>#0</value>
  10156. </enumeratedValue>
  10157. <enumeratedValue>
  10158. <name>1</name>
  10159. <description>The channel polarity is active low.</description>
  10160. <value>#1</value>
  10161. </enumeratedValue>
  10162. </enumeratedValues>
  10163. </field>
  10164. <field>
  10165. <name>POL1</name>
  10166. <description>Channel 1 Polarity</description>
  10167. <bitOffset>1</bitOffset>
  10168. <bitWidth>1</bitWidth>
  10169. <access>read-write</access>
  10170. <enumeratedValues>
  10171. <enumeratedValue>
  10172. <name>0</name>
  10173. <description>The channel polarity is active high.</description>
  10174. <value>#0</value>
  10175. </enumeratedValue>
  10176. <enumeratedValue>
  10177. <name>1</name>
  10178. <description>The channel polarity is active low.</description>
  10179. <value>#1</value>
  10180. </enumeratedValue>
  10181. </enumeratedValues>
  10182. </field>
  10183. <field>
  10184. <name>POL2</name>
  10185. <description>Channel 2 Polarity</description>
  10186. <bitOffset>2</bitOffset>
  10187. <bitWidth>1</bitWidth>
  10188. <access>read-write</access>
  10189. <enumeratedValues>
  10190. <enumeratedValue>
  10191. <name>0</name>
  10192. <description>The channel polarity is active high.</description>
  10193. <value>#0</value>
  10194. </enumeratedValue>
  10195. <enumeratedValue>
  10196. <name>1</name>
  10197. <description>The channel polarity is active low.</description>
  10198. <value>#1</value>
  10199. </enumeratedValue>
  10200. </enumeratedValues>
  10201. </field>
  10202. <field>
  10203. <name>POL3</name>
  10204. <description>Channel 3 Polarity</description>
  10205. <bitOffset>3</bitOffset>
  10206. <bitWidth>1</bitWidth>
  10207. <access>read-write</access>
  10208. <enumeratedValues>
  10209. <enumeratedValue>
  10210. <name>0</name>
  10211. <description>The channel polarity is active high.</description>
  10212. <value>#0</value>
  10213. </enumeratedValue>
  10214. <enumeratedValue>
  10215. <name>1</name>
  10216. <description>The channel polarity is active low.</description>
  10217. <value>#1</value>
  10218. </enumeratedValue>
  10219. </enumeratedValues>
  10220. </field>
  10221. <field>
  10222. <name>POL4</name>
  10223. <description>Channel 4 Polarity</description>
  10224. <bitOffset>4</bitOffset>
  10225. <bitWidth>1</bitWidth>
  10226. <access>read-write</access>
  10227. <enumeratedValues>
  10228. <enumeratedValue>
  10229. <name>0</name>
  10230. <description>The channel polarity is active high.</description>
  10231. <value>#0</value>
  10232. </enumeratedValue>
  10233. <enumeratedValue>
  10234. <name>1</name>
  10235. <description>The channel polarity is active low.</description>
  10236. <value>#1</value>
  10237. </enumeratedValue>
  10238. </enumeratedValues>
  10239. </field>
  10240. <field>
  10241. <name>POL5</name>
  10242. <description>Channel 5 Polarity</description>
  10243. <bitOffset>5</bitOffset>
  10244. <bitWidth>1</bitWidth>
  10245. <access>read-write</access>
  10246. <enumeratedValues>
  10247. <enumeratedValue>
  10248. <name>0</name>
  10249. <description>The channel polarity is active high.</description>
  10250. <value>#0</value>
  10251. </enumeratedValue>
  10252. <enumeratedValue>
  10253. <name>1</name>
  10254. <description>The channel polarity is active low.</description>
  10255. <value>#1</value>
  10256. </enumeratedValue>
  10257. </enumeratedValues>
  10258. </field>
  10259. <field>
  10260. <name>POL6</name>
  10261. <description>Channel 6 Polarity</description>
  10262. <bitOffset>6</bitOffset>
  10263. <bitWidth>1</bitWidth>
  10264. <access>read-write</access>
  10265. <enumeratedValues>
  10266. <enumeratedValue>
  10267. <name>0</name>
  10268. <description>The channel polarity is active high.</description>
  10269. <value>#0</value>
  10270. </enumeratedValue>
  10271. <enumeratedValue>
  10272. <name>1</name>
  10273. <description>The channel polarity is active low.</description>
  10274. <value>#1</value>
  10275. </enumeratedValue>
  10276. </enumeratedValues>
  10277. </field>
  10278. <field>
  10279. <name>POL7</name>
  10280. <description>Channel 7 Polarity</description>
  10281. <bitOffset>7</bitOffset>
  10282. <bitWidth>1</bitWidth>
  10283. <access>read-write</access>
  10284. <enumeratedValues>
  10285. <enumeratedValue>
  10286. <name>0</name>
  10287. <description>The channel polarity is active high.</description>
  10288. <value>#0</value>
  10289. </enumeratedValue>
  10290. <enumeratedValue>
  10291. <name>1</name>
  10292. <description>The channel polarity is active low.</description>
  10293. <value>#1</value>
  10294. </enumeratedValue>
  10295. </enumeratedValues>
  10296. </field>
  10297. </fields>
  10298. </register>
  10299. <register>
  10300. <name>FMS</name>
  10301. <description>Fault Mode Status</description>
  10302. <addressOffset>0x74</addressOffset>
  10303. <size>32</size>
  10304. <access>read-write</access>
  10305. <resetValue>0</resetValue>
  10306. <resetMask>0xFFFFFFFF</resetMask>
  10307. <fields>
  10308. <field>
  10309. <name>FAULTF0</name>
  10310. <description>Fault Detection Flag 0</description>
  10311. <bitOffset>0</bitOffset>
  10312. <bitWidth>1</bitWidth>
  10313. <access>read-only</access>
  10314. <enumeratedValues>
  10315. <enumeratedValue>
  10316. <name>0</name>
  10317. <description>No fault condition was detected at the fault input.</description>
  10318. <value>#0</value>
  10319. </enumeratedValue>
  10320. <enumeratedValue>
  10321. <name>1</name>
  10322. <description>A fault condition was detected at the fault input.</description>
  10323. <value>#1</value>
  10324. </enumeratedValue>
  10325. </enumeratedValues>
  10326. </field>
  10327. <field>
  10328. <name>FAULTF1</name>
  10329. <description>Fault Detection Flag 1</description>
  10330. <bitOffset>1</bitOffset>
  10331. <bitWidth>1</bitWidth>
  10332. <access>read-only</access>
  10333. <enumeratedValues>
  10334. <enumeratedValue>
  10335. <name>0</name>
  10336. <description>No fault condition was detected at the fault input.</description>
  10337. <value>#0</value>
  10338. </enumeratedValue>
  10339. <enumeratedValue>
  10340. <name>1</name>
  10341. <description>A fault condition was detected at the fault input.</description>
  10342. <value>#1</value>
  10343. </enumeratedValue>
  10344. </enumeratedValues>
  10345. </field>
  10346. <field>
  10347. <name>FAULTF2</name>
  10348. <description>Fault Detection Flag 2</description>
  10349. <bitOffset>2</bitOffset>
  10350. <bitWidth>1</bitWidth>
  10351. <access>read-only</access>
  10352. <enumeratedValues>
  10353. <enumeratedValue>
  10354. <name>0</name>
  10355. <description>No fault condition was detected at the fault input.</description>
  10356. <value>#0</value>
  10357. </enumeratedValue>
  10358. <enumeratedValue>
  10359. <name>1</name>
  10360. <description>A fault condition was detected at the fault input.</description>
  10361. <value>#1</value>
  10362. </enumeratedValue>
  10363. </enumeratedValues>
  10364. </field>
  10365. <field>
  10366. <name>FAULTF3</name>
  10367. <description>Fault Detection Flag 3</description>
  10368. <bitOffset>3</bitOffset>
  10369. <bitWidth>1</bitWidth>
  10370. <access>read-only</access>
  10371. <enumeratedValues>
  10372. <enumeratedValue>
  10373. <name>0</name>
  10374. <description>No fault condition was detected at the fault input.</description>
  10375. <value>#0</value>
  10376. </enumeratedValue>
  10377. <enumeratedValue>
  10378. <name>1</name>
  10379. <description>A fault condition was detected at the fault input.</description>
  10380. <value>#1</value>
  10381. </enumeratedValue>
  10382. </enumeratedValues>
  10383. </field>
  10384. <field>
  10385. <name>FAULTIN</name>
  10386. <description>Fault Inputs</description>
  10387. <bitOffset>5</bitOffset>
  10388. <bitWidth>1</bitWidth>
  10389. <access>read-only</access>
  10390. <enumeratedValues>
  10391. <enumeratedValue>
  10392. <name>0</name>
  10393. <description>The logic OR of the enabled fault inputs is 0.</description>
  10394. <value>#0</value>
  10395. </enumeratedValue>
  10396. <enumeratedValue>
  10397. <name>1</name>
  10398. <description>The logic OR of the enabled fault inputs is 1.</description>
  10399. <value>#1</value>
  10400. </enumeratedValue>
  10401. </enumeratedValues>
  10402. </field>
  10403. <field>
  10404. <name>WPEN</name>
  10405. <description>Write Protection Enable</description>
  10406. <bitOffset>6</bitOffset>
  10407. <bitWidth>1</bitWidth>
  10408. <access>read-write</access>
  10409. <enumeratedValues>
  10410. <enumeratedValue>
  10411. <name>0</name>
  10412. <description>Write protection is disabled. Write protected bits can be written.</description>
  10413. <value>#0</value>
  10414. </enumeratedValue>
  10415. <enumeratedValue>
  10416. <name>1</name>
  10417. <description>Write protection is enabled. Write protected bits cannot be written.</description>
  10418. <value>#1</value>
  10419. </enumeratedValue>
  10420. </enumeratedValues>
  10421. </field>
  10422. <field>
  10423. <name>FAULTF</name>
  10424. <description>Fault Detection Flag</description>
  10425. <bitOffset>7</bitOffset>
  10426. <bitWidth>1</bitWidth>
  10427. <access>read-only</access>
  10428. <enumeratedValues>
  10429. <enumeratedValue>
  10430. <name>0</name>
  10431. <description>No fault condition was detected.</description>
  10432. <value>#0</value>
  10433. </enumeratedValue>
  10434. <enumeratedValue>
  10435. <name>1</name>
  10436. <description>A fault condition was detected.</description>
  10437. <value>#1</value>
  10438. </enumeratedValue>
  10439. </enumeratedValues>
  10440. </field>
  10441. </fields>
  10442. </register>
  10443. <register>
  10444. <name>FILTER</name>
  10445. <description>Input Capture Filter Control</description>
  10446. <addressOffset>0x78</addressOffset>
  10447. <size>32</size>
  10448. <access>read-write</access>
  10449. <resetValue>0</resetValue>
  10450. <resetMask>0xFFFFFFFF</resetMask>
  10451. <fields>
  10452. <field>
  10453. <name>CH0FVAL</name>
  10454. <description>Channel 0 Input Filter</description>
  10455. <bitOffset>0</bitOffset>
  10456. <bitWidth>4</bitWidth>
  10457. <access>read-write</access>
  10458. </field>
  10459. <field>
  10460. <name>CH1FVAL</name>
  10461. <description>Channel 1 Input Filter</description>
  10462. <bitOffset>4</bitOffset>
  10463. <bitWidth>4</bitWidth>
  10464. <access>read-write</access>
  10465. </field>
  10466. <field>
  10467. <name>CH2FVAL</name>
  10468. <description>Channel 2 Input Filter</description>
  10469. <bitOffset>8</bitOffset>
  10470. <bitWidth>4</bitWidth>
  10471. <access>read-write</access>
  10472. </field>
  10473. <field>
  10474. <name>CH3FVAL</name>
  10475. <description>Channel 3 Input Filter</description>
  10476. <bitOffset>12</bitOffset>
  10477. <bitWidth>4</bitWidth>
  10478. <access>read-write</access>
  10479. </field>
  10480. </fields>
  10481. </register>
  10482. <register>
  10483. <name>FLTCTRL</name>
  10484. <description>Fault Control</description>
  10485. <addressOffset>0x7C</addressOffset>
  10486. <size>32</size>
  10487. <access>read-write</access>
  10488. <resetValue>0</resetValue>
  10489. <resetMask>0xFFFFFFFF</resetMask>
  10490. <fields>
  10491. <field>
  10492. <name>FAULT0EN</name>
  10493. <description>Fault Input 0 Enable</description>
  10494. <bitOffset>0</bitOffset>
  10495. <bitWidth>1</bitWidth>
  10496. <access>read-write</access>
  10497. <enumeratedValues>
  10498. <enumeratedValue>
  10499. <name>0</name>
  10500. <description>Fault input is disabled.</description>
  10501. <value>#0</value>
  10502. </enumeratedValue>
  10503. <enumeratedValue>
  10504. <name>1</name>
  10505. <description>Fault input is enabled.</description>
  10506. <value>#1</value>
  10507. </enumeratedValue>
  10508. </enumeratedValues>
  10509. </field>
  10510. <field>
  10511. <name>FAULT1EN</name>
  10512. <description>Fault Input 1 Enable</description>
  10513. <bitOffset>1</bitOffset>
  10514. <bitWidth>1</bitWidth>
  10515. <access>read-write</access>
  10516. <enumeratedValues>
  10517. <enumeratedValue>
  10518. <name>0</name>
  10519. <description>Fault input is disabled.</description>
  10520. <value>#0</value>
  10521. </enumeratedValue>
  10522. <enumeratedValue>
  10523. <name>1</name>
  10524. <description>Fault input is enabled.</description>
  10525. <value>#1</value>
  10526. </enumeratedValue>
  10527. </enumeratedValues>
  10528. </field>
  10529. <field>
  10530. <name>FAULT2EN</name>
  10531. <description>Fault Input 2 Enable</description>
  10532. <bitOffset>2</bitOffset>
  10533. <bitWidth>1</bitWidth>
  10534. <access>read-write</access>
  10535. <enumeratedValues>
  10536. <enumeratedValue>
  10537. <name>0</name>
  10538. <description>Fault input is disabled.</description>
  10539. <value>#0</value>
  10540. </enumeratedValue>
  10541. <enumeratedValue>
  10542. <name>1</name>
  10543. <description>Fault input is enabled.</description>
  10544. <value>#1</value>
  10545. </enumeratedValue>
  10546. </enumeratedValues>
  10547. </field>
  10548. <field>
  10549. <name>FAULT3EN</name>
  10550. <description>Fault Input 3 Enable</description>
  10551. <bitOffset>3</bitOffset>
  10552. <bitWidth>1</bitWidth>
  10553. <access>read-write</access>
  10554. <enumeratedValues>
  10555. <enumeratedValue>
  10556. <name>0</name>
  10557. <description>Fault input is disabled.</description>
  10558. <value>#0</value>
  10559. </enumeratedValue>
  10560. <enumeratedValue>
  10561. <name>1</name>
  10562. <description>Fault input is enabled.</description>
  10563. <value>#1</value>
  10564. </enumeratedValue>
  10565. </enumeratedValues>
  10566. </field>
  10567. <field>
  10568. <name>FFLTR0EN</name>
  10569. <description>Fault Input 0 Filter Enable</description>
  10570. <bitOffset>4</bitOffset>
  10571. <bitWidth>1</bitWidth>
  10572. <access>read-write</access>
  10573. <enumeratedValues>
  10574. <enumeratedValue>
  10575. <name>0</name>
  10576. <description>Fault input filter is disabled.</description>
  10577. <value>#0</value>
  10578. </enumeratedValue>
  10579. <enumeratedValue>
  10580. <name>1</name>
  10581. <description>Fault input filter is enabled.</description>
  10582. <value>#1</value>
  10583. </enumeratedValue>
  10584. </enumeratedValues>
  10585. </field>
  10586. <field>
  10587. <name>FFLTR1EN</name>
  10588. <description>Fault Input 1 Filter Enable</description>
  10589. <bitOffset>5</bitOffset>
  10590. <bitWidth>1</bitWidth>
  10591. <access>read-write</access>
  10592. <enumeratedValues>
  10593. <enumeratedValue>
  10594. <name>0</name>
  10595. <description>Fault input filter is disabled.</description>
  10596. <value>#0</value>
  10597. </enumeratedValue>
  10598. <enumeratedValue>
  10599. <name>1</name>
  10600. <description>Fault input filter is enabled.</description>
  10601. <value>#1</value>
  10602. </enumeratedValue>
  10603. </enumeratedValues>
  10604. </field>
  10605. <field>
  10606. <name>FFLTR2EN</name>
  10607. <description>Fault Input 2 Filter Enable</description>
  10608. <bitOffset>6</bitOffset>
  10609. <bitWidth>1</bitWidth>
  10610. <access>read-write</access>
  10611. <enumeratedValues>
  10612. <enumeratedValue>
  10613. <name>0</name>
  10614. <description>Fault input filter is disabled.</description>
  10615. <value>#0</value>
  10616. </enumeratedValue>
  10617. <enumeratedValue>
  10618. <name>1</name>
  10619. <description>Fault input filter is enabled.</description>
  10620. <value>#1</value>
  10621. </enumeratedValue>
  10622. </enumeratedValues>
  10623. </field>
  10624. <field>
  10625. <name>FFLTR3EN</name>
  10626. <description>Fault Input 3 Filter Enable</description>
  10627. <bitOffset>7</bitOffset>
  10628. <bitWidth>1</bitWidth>
  10629. <access>read-write</access>
  10630. <enumeratedValues>
  10631. <enumeratedValue>
  10632. <name>0</name>
  10633. <description>Fault input filter is disabled.</description>
  10634. <value>#0</value>
  10635. </enumeratedValue>
  10636. <enumeratedValue>
  10637. <name>1</name>
  10638. <description>Fault input filter is enabled.</description>
  10639. <value>#1</value>
  10640. </enumeratedValue>
  10641. </enumeratedValues>
  10642. </field>
  10643. <field>
  10644. <name>FFVAL</name>
  10645. <description>Fault Input Filter</description>
  10646. <bitOffset>8</bitOffset>
  10647. <bitWidth>4</bitWidth>
  10648. <access>read-write</access>
  10649. </field>
  10650. </fields>
  10651. </register>
  10652. <register>
  10653. <name>QDCTRL</name>
  10654. <description>Quadrature Decoder Control and Status</description>
  10655. <addressOffset>0x80</addressOffset>
  10656. <size>32</size>
  10657. <access>read-write</access>
  10658. <resetValue>0</resetValue>
  10659. <resetMask>0xFFFFFFFF</resetMask>
  10660. <fields>
  10661. <field>
  10662. <name>QUADEN</name>
  10663. <description>Quadrature Decoder Mode Enable</description>
  10664. <bitOffset>0</bitOffset>
  10665. <bitWidth>1</bitWidth>
  10666. <access>read-write</access>
  10667. <enumeratedValues>
  10668. <enumeratedValue>
  10669. <name>0</name>
  10670. <description>Quadrature decoder mode is disabled.</description>
  10671. <value>#0</value>
  10672. </enumeratedValue>
  10673. <enumeratedValue>
  10674. <name>1</name>
  10675. <description>Quadrature decoder mode is enabled.</description>
  10676. <value>#1</value>
  10677. </enumeratedValue>
  10678. </enumeratedValues>
  10679. </field>
  10680. <field>
  10681. <name>TOFDIR</name>
  10682. <description>Timer Overflow Direction in Quadrature Decoder Mode</description>
  10683. <bitOffset>1</bitOffset>
  10684. <bitWidth>1</bitWidth>
  10685. <access>read-only</access>
  10686. <enumeratedValues>
  10687. <enumeratedValue>
  10688. <name>0</name>
  10689. <description>TOF bit was set on the bottom of counting. There was an FTM counter decrement and FTM counter changes from its minimum value (CNTIN register) to its maximum value (MOD register).</description>
  10690. <value>#0</value>
  10691. </enumeratedValue>
  10692. <enumeratedValue>
  10693. <name>1</name>
  10694. <description>TOF bit was set on the top of counting. There was an FTM counter increment and FTM counter changes from its maximum value (MOD register) to its minimum value (CNTIN register).</description>
  10695. <value>#1</value>
  10696. </enumeratedValue>
  10697. </enumeratedValues>
  10698. </field>
  10699. <field>
  10700. <name>QUADIR</name>
  10701. <description>FTM Counter Direction in Quadrature Decoder Mode</description>
  10702. <bitOffset>2</bitOffset>
  10703. <bitWidth>1</bitWidth>
  10704. <access>read-only</access>
  10705. <enumeratedValues>
  10706. <enumeratedValue>
  10707. <name>0</name>
  10708. <description>Counting direction is decreasing (FTM counter decrement).</description>
  10709. <value>#0</value>
  10710. </enumeratedValue>
  10711. <enumeratedValue>
  10712. <name>1</name>
  10713. <description>Counting direction is increasing (FTM counter increment).</description>
  10714. <value>#1</value>
  10715. </enumeratedValue>
  10716. </enumeratedValues>
  10717. </field>
  10718. <field>
  10719. <name>QUADMODE</name>
  10720. <description>Quadrature Decoder Mode</description>
  10721. <bitOffset>3</bitOffset>
  10722. <bitWidth>1</bitWidth>
  10723. <access>read-write</access>
  10724. <enumeratedValues>
  10725. <enumeratedValue>
  10726. <name>0</name>
  10727. <description>Phase A and phase B encoding mode.</description>
  10728. <value>#0</value>
  10729. </enumeratedValue>
  10730. <enumeratedValue>
  10731. <name>1</name>
  10732. <description>Count and direction encoding mode.</description>
  10733. <value>#1</value>
  10734. </enumeratedValue>
  10735. </enumeratedValues>
  10736. </field>
  10737. <field>
  10738. <name>PHBPOL</name>
  10739. <description>Phase B Input Polarity</description>
  10740. <bitOffset>4</bitOffset>
  10741. <bitWidth>1</bitWidth>
  10742. <access>read-write</access>
  10743. <enumeratedValues>
  10744. <enumeratedValue>
  10745. <name>0</name>
  10746. <description>Normal polarity. Phase B input signal is not inverted before identifying the rising and falling edges of this signal.</description>
  10747. <value>#0</value>
  10748. </enumeratedValue>
  10749. <enumeratedValue>
  10750. <name>1</name>
  10751. <description>Inverted polarity. Phase B input signal is inverted before identifying the rising and falling edges of this signal.</description>
  10752. <value>#1</value>
  10753. </enumeratedValue>
  10754. </enumeratedValues>
  10755. </field>
  10756. <field>
  10757. <name>PHAPOL</name>
  10758. <description>Phase A Input Polarity</description>
  10759. <bitOffset>5</bitOffset>
  10760. <bitWidth>1</bitWidth>
  10761. <access>read-write</access>
  10762. <enumeratedValues>
  10763. <enumeratedValue>
  10764. <name>0</name>
  10765. <description>Normal polarity. Phase A input signal is not inverted before identifying the rising and falling edges of this signal.</description>
  10766. <value>#0</value>
  10767. </enumeratedValue>
  10768. <enumeratedValue>
  10769. <name>1</name>
  10770. <description>Inverted polarity. Phase A input signal is inverted before identifying the rising and falling edges of this signal.</description>
  10771. <value>#1</value>
  10772. </enumeratedValue>
  10773. </enumeratedValues>
  10774. </field>
  10775. <field>
  10776. <name>PHBFLTREN</name>
  10777. <description>Phase B Input Filter Enable</description>
  10778. <bitOffset>6</bitOffset>
  10779. <bitWidth>1</bitWidth>
  10780. <access>read-write</access>
  10781. <enumeratedValues>
  10782. <enumeratedValue>
  10783. <name>0</name>
  10784. <description>Phase B input filter is disabled.</description>
  10785. <value>#0</value>
  10786. </enumeratedValue>
  10787. <enumeratedValue>
  10788. <name>1</name>
  10789. <description>Phase B input filter is enabled.</description>
  10790. <value>#1</value>
  10791. </enumeratedValue>
  10792. </enumeratedValues>
  10793. </field>
  10794. <field>
  10795. <name>PHAFLTREN</name>
  10796. <description>Phase A Input Filter Enable</description>
  10797. <bitOffset>7</bitOffset>
  10798. <bitWidth>1</bitWidth>
  10799. <access>read-write</access>
  10800. <enumeratedValues>
  10801. <enumeratedValue>
  10802. <name>0</name>
  10803. <description>Phase A input filter is disabled.</description>
  10804. <value>#0</value>
  10805. </enumeratedValue>
  10806. <enumeratedValue>
  10807. <name>1</name>
  10808. <description>Phase A input filter is enabled.</description>
  10809. <value>#1</value>
  10810. </enumeratedValue>
  10811. </enumeratedValues>
  10812. </field>
  10813. </fields>
  10814. </register>
  10815. <register>
  10816. <name>CONF</name>
  10817. <description>Configuration</description>
  10818. <addressOffset>0x84</addressOffset>
  10819. <size>32</size>
  10820. <access>read-write</access>
  10821. <resetValue>0</resetValue>
  10822. <resetMask>0xFFFFFFFF</resetMask>
  10823. <fields>
  10824. <field>
  10825. <name>NUMTOF</name>
  10826. <description>TOF Frequency</description>
  10827. <bitOffset>0</bitOffset>
  10828. <bitWidth>5</bitWidth>
  10829. <access>read-write</access>
  10830. </field>
  10831. <field>
  10832. <name>BDMMODE</name>
  10833. <description>BDM Mode</description>
  10834. <bitOffset>6</bitOffset>
  10835. <bitWidth>2</bitWidth>
  10836. <access>read-write</access>
  10837. </field>
  10838. <field>
  10839. <name>GTBEEN</name>
  10840. <description>Global time base enable</description>
  10841. <bitOffset>9</bitOffset>
  10842. <bitWidth>1</bitWidth>
  10843. <access>read-write</access>
  10844. <enumeratedValues>
  10845. <enumeratedValue>
  10846. <name>0</name>
  10847. <description>Use of an external global time base is disabled.</description>
  10848. <value>#0</value>
  10849. </enumeratedValue>
  10850. <enumeratedValue>
  10851. <name>1</name>
  10852. <description>Use of an external global time base is enabled.</description>
  10853. <value>#1</value>
  10854. </enumeratedValue>
  10855. </enumeratedValues>
  10856. </field>
  10857. <field>
  10858. <name>GTBEOUT</name>
  10859. <description>Global time base output</description>
  10860. <bitOffset>10</bitOffset>
  10861. <bitWidth>1</bitWidth>
  10862. <access>read-write</access>
  10863. <enumeratedValues>
  10864. <enumeratedValue>
  10865. <name>0</name>
  10866. <description>A global time base signal generation is disabled.</description>
  10867. <value>#0</value>
  10868. </enumeratedValue>
  10869. <enumeratedValue>
  10870. <name>1</name>
  10871. <description>A global time base signal generation is enabled.</description>
  10872. <value>#1</value>
  10873. </enumeratedValue>
  10874. </enumeratedValues>
  10875. </field>
  10876. </fields>
  10877. </register>
  10878. <register>
  10879. <name>FLTPOL</name>
  10880. <description>FTM Fault Input Polarity</description>
  10881. <addressOffset>0x88</addressOffset>
  10882. <size>32</size>
  10883. <access>read-write</access>
  10884. <resetValue>0</resetValue>
  10885. <resetMask>0xFFFFFFFF</resetMask>
  10886. <fields>
  10887. <field>
  10888. <name>FLT0POL</name>
  10889. <description>Fault Input 0 Polarity</description>
  10890. <bitOffset>0</bitOffset>
  10891. <bitWidth>1</bitWidth>
  10892. <access>read-write</access>
  10893. <enumeratedValues>
  10894. <enumeratedValue>
  10895. <name>0</name>
  10896. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  10897. <value>#0</value>
  10898. </enumeratedValue>
  10899. <enumeratedValue>
  10900. <name>1</name>
  10901. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  10902. <value>#1</value>
  10903. </enumeratedValue>
  10904. </enumeratedValues>
  10905. </field>
  10906. <field>
  10907. <name>FLT1POL</name>
  10908. <description>Fault Input 1 Polarity</description>
  10909. <bitOffset>1</bitOffset>
  10910. <bitWidth>1</bitWidth>
  10911. <access>read-write</access>
  10912. <enumeratedValues>
  10913. <enumeratedValue>
  10914. <name>0</name>
  10915. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  10916. <value>#0</value>
  10917. </enumeratedValue>
  10918. <enumeratedValue>
  10919. <name>1</name>
  10920. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  10921. <value>#1</value>
  10922. </enumeratedValue>
  10923. </enumeratedValues>
  10924. </field>
  10925. <field>
  10926. <name>FLT2POL</name>
  10927. <description>Fault Input 2 Polarity</description>
  10928. <bitOffset>2</bitOffset>
  10929. <bitWidth>1</bitWidth>
  10930. <access>read-write</access>
  10931. <enumeratedValues>
  10932. <enumeratedValue>
  10933. <name>0</name>
  10934. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  10935. <value>#0</value>
  10936. </enumeratedValue>
  10937. <enumeratedValue>
  10938. <name>1</name>
  10939. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  10940. <value>#1</value>
  10941. </enumeratedValue>
  10942. </enumeratedValues>
  10943. </field>
  10944. <field>
  10945. <name>FLT3POL</name>
  10946. <description>Fault Input 3 Polarity</description>
  10947. <bitOffset>3</bitOffset>
  10948. <bitWidth>1</bitWidth>
  10949. <access>read-write</access>
  10950. <enumeratedValues>
  10951. <enumeratedValue>
  10952. <name>0</name>
  10953. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  10954. <value>#0</value>
  10955. </enumeratedValue>
  10956. <enumeratedValue>
  10957. <name>1</name>
  10958. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  10959. <value>#1</value>
  10960. </enumeratedValue>
  10961. </enumeratedValues>
  10962. </field>
  10963. </fields>
  10964. </register>
  10965. <register>
  10966. <name>SYNCONF</name>
  10967. <description>Synchronization Configuration</description>
  10968. <addressOffset>0x8C</addressOffset>
  10969. <size>32</size>
  10970. <access>read-write</access>
  10971. <resetValue>0</resetValue>
  10972. <resetMask>0xFFFFFFFF</resetMask>
  10973. <fields>
  10974. <field>
  10975. <name>HWTRIGMODE</name>
  10976. <description>Hardware Trigger Mode</description>
  10977. <bitOffset>0</bitOffset>
  10978. <bitWidth>1</bitWidth>
  10979. <access>read-write</access>
  10980. <enumeratedValues>
  10981. <enumeratedValue>
  10982. <name>0</name>
  10983. <description>FTM clears the TRIGj bit when the hardware trigger j is detected.</description>
  10984. <value>#0</value>
  10985. </enumeratedValue>
  10986. <enumeratedValue>
  10987. <name>1</name>
  10988. <description>FTM does not clear the TRIGj bit when the hardware trigger j is detected.</description>
  10989. <value>#1</value>
  10990. </enumeratedValue>
  10991. </enumeratedValues>
  10992. </field>
  10993. <field>
  10994. <name>CNTINC</name>
  10995. <description>CNTIN register synchronization</description>
  10996. <bitOffset>2</bitOffset>
  10997. <bitWidth>1</bitWidth>
  10998. <access>read-write</access>
  10999. <enumeratedValues>
  11000. <enumeratedValue>
  11001. <name>0</name>
  11002. <description>CNTIN register is updated with its buffer value at all rising edges of system clock.</description>
  11003. <value>#0</value>
  11004. </enumeratedValue>
  11005. <enumeratedValue>
  11006. <name>1</name>
  11007. <description>CNTIN register is updated with its buffer value by the PWM synchronization.</description>
  11008. <value>#1</value>
  11009. </enumeratedValue>
  11010. </enumeratedValues>
  11011. </field>
  11012. <field>
  11013. <name>INVC</name>
  11014. <description>INVCTRL register synchronization</description>
  11015. <bitOffset>4</bitOffset>
  11016. <bitWidth>1</bitWidth>
  11017. <access>read-write</access>
  11018. <enumeratedValues>
  11019. <enumeratedValue>
  11020. <name>0</name>
  11021. <description>INVCTRL register is updated with its buffer value at all rising edges of system clock.</description>
  11022. <value>#0</value>
  11023. </enumeratedValue>
  11024. <enumeratedValue>
  11025. <name>1</name>
  11026. <description>INVCTRL register is updated with its buffer value by the PWM synchronization.</description>
  11027. <value>#1</value>
  11028. </enumeratedValue>
  11029. </enumeratedValues>
  11030. </field>
  11031. <field>
  11032. <name>SWOC</name>
  11033. <description>SWOCTRL register synchronization</description>
  11034. <bitOffset>5</bitOffset>
  11035. <bitWidth>1</bitWidth>
  11036. <access>read-write</access>
  11037. <enumeratedValues>
  11038. <enumeratedValue>
  11039. <name>0</name>
  11040. <description>SWOCTRL register is updated with its buffer value at all rising edges of system clock.</description>
  11041. <value>#0</value>
  11042. </enumeratedValue>
  11043. <enumeratedValue>
  11044. <name>1</name>
  11045. <description>SWOCTRL register is updated with its buffer value by the PWM synchronization.</description>
  11046. <value>#1</value>
  11047. </enumeratedValue>
  11048. </enumeratedValues>
  11049. </field>
  11050. <field>
  11051. <name>SYNCMODE</name>
  11052. <description>Synchronization Mode</description>
  11053. <bitOffset>7</bitOffset>
  11054. <bitWidth>1</bitWidth>
  11055. <access>read-write</access>
  11056. <enumeratedValues>
  11057. <enumeratedValue>
  11058. <name>0</name>
  11059. <description>Legacy PWM synchronization is selected.</description>
  11060. <value>#0</value>
  11061. </enumeratedValue>
  11062. <enumeratedValue>
  11063. <name>1</name>
  11064. <description>Enhanced PWM synchronization is selected.</description>
  11065. <value>#1</value>
  11066. </enumeratedValue>
  11067. </enumeratedValues>
  11068. </field>
  11069. <field>
  11070. <name>SWRSTCNT</name>
  11071. <description>FTM counter synchronization is activated by the software trigger.</description>
  11072. <bitOffset>8</bitOffset>
  11073. <bitWidth>1</bitWidth>
  11074. <access>read-write</access>
  11075. <enumeratedValues>
  11076. <enumeratedValue>
  11077. <name>0</name>
  11078. <description>The software trigger does not activate the FTM counter synchronization.</description>
  11079. <value>#0</value>
  11080. </enumeratedValue>
  11081. <enumeratedValue>
  11082. <name>1</name>
  11083. <description>The software trigger activates the FTM counter synchronization.</description>
  11084. <value>#1</value>
  11085. </enumeratedValue>
  11086. </enumeratedValues>
  11087. </field>
  11088. <field>
  11089. <name>SWWRBUF</name>
  11090. <description>MOD, CNTIN, and CV registers synchronization is activated by the software trigger.</description>
  11091. <bitOffset>9</bitOffset>
  11092. <bitWidth>1</bitWidth>
  11093. <access>read-write</access>
  11094. <enumeratedValues>
  11095. <enumeratedValue>
  11096. <name>0</name>
  11097. <description>The software trigger does not activate MOD, CNTIN, and CV registers synchronization.</description>
  11098. <value>#0</value>
  11099. </enumeratedValue>
  11100. <enumeratedValue>
  11101. <name>1</name>
  11102. <description>The software trigger activates MOD, CNTIN, and CV registers synchronization.</description>
  11103. <value>#1</value>
  11104. </enumeratedValue>
  11105. </enumeratedValues>
  11106. </field>
  11107. <field>
  11108. <name>SWOM</name>
  11109. <description>Output mask synchronization is activated by the software trigger.</description>
  11110. <bitOffset>10</bitOffset>
  11111. <bitWidth>1</bitWidth>
  11112. <access>read-write</access>
  11113. <enumeratedValues>
  11114. <enumeratedValue>
  11115. <name>0</name>
  11116. <description>The software trigger does not activate the OUTMASK register synchronization.</description>
  11117. <value>#0</value>
  11118. </enumeratedValue>
  11119. <enumeratedValue>
  11120. <name>1</name>
  11121. <description>The software trigger activates the OUTMASK register synchronization.</description>
  11122. <value>#1</value>
  11123. </enumeratedValue>
  11124. </enumeratedValues>
  11125. </field>
  11126. <field>
  11127. <name>SWINVC</name>
  11128. <description>Inverting control synchronization is activated by the software trigger.</description>
  11129. <bitOffset>11</bitOffset>
  11130. <bitWidth>1</bitWidth>
  11131. <access>read-write</access>
  11132. <enumeratedValues>
  11133. <enumeratedValue>
  11134. <name>0</name>
  11135. <description>The software trigger does not activate the INVCTRL register synchronization.</description>
  11136. <value>#0</value>
  11137. </enumeratedValue>
  11138. <enumeratedValue>
  11139. <name>1</name>
  11140. <description>The software trigger activates the INVCTRL register synchronization.</description>
  11141. <value>#1</value>
  11142. </enumeratedValue>
  11143. </enumeratedValues>
  11144. </field>
  11145. <field>
  11146. <name>SWSOC</name>
  11147. <description>Software output control synchronization is activated by the software trigger.</description>
  11148. <bitOffset>12</bitOffset>
  11149. <bitWidth>1</bitWidth>
  11150. <access>read-write</access>
  11151. <enumeratedValues>
  11152. <enumeratedValue>
  11153. <name>0</name>
  11154. <description>The software trigger does not activate the SWOCTRL register synchronization.</description>
  11155. <value>#0</value>
  11156. </enumeratedValue>
  11157. <enumeratedValue>
  11158. <name>1</name>
  11159. <description>The software trigger activates the SWOCTRL register synchronization.</description>
  11160. <value>#1</value>
  11161. </enumeratedValue>
  11162. </enumeratedValues>
  11163. </field>
  11164. <field>
  11165. <name>HWRSTCNT</name>
  11166. <description>FTM counter synchronization is activated by a hardware trigger.</description>
  11167. <bitOffset>16</bitOffset>
  11168. <bitWidth>1</bitWidth>
  11169. <access>read-write</access>
  11170. <enumeratedValues>
  11171. <enumeratedValue>
  11172. <name>0</name>
  11173. <description>A hardware trigger does not activate the FTM counter synchronization.</description>
  11174. <value>#0</value>
  11175. </enumeratedValue>
  11176. <enumeratedValue>
  11177. <name>1</name>
  11178. <description>A hardware trigger activates the FTM counter synchronization.</description>
  11179. <value>#1</value>
  11180. </enumeratedValue>
  11181. </enumeratedValues>
  11182. </field>
  11183. <field>
  11184. <name>HWWRBUF</name>
  11185. <description>MOD, CNTIN, and CV registers synchronization is activated by a hardware trigger.</description>
  11186. <bitOffset>17</bitOffset>
  11187. <bitWidth>1</bitWidth>
  11188. <access>read-write</access>
  11189. <enumeratedValues>
  11190. <enumeratedValue>
  11191. <name>0</name>
  11192. <description>A hardware trigger does not activate MOD, CNTIN, and CV registers synchronization.</description>
  11193. <value>#0</value>
  11194. </enumeratedValue>
  11195. <enumeratedValue>
  11196. <name>1</name>
  11197. <description>A hardware trigger activates MOD, CNTIN, and CV registers synchronization.</description>
  11198. <value>#1</value>
  11199. </enumeratedValue>
  11200. </enumeratedValues>
  11201. </field>
  11202. <field>
  11203. <name>HWOM</name>
  11204. <description>Output mask synchronization is activated by a hardware trigger.</description>
  11205. <bitOffset>18</bitOffset>
  11206. <bitWidth>1</bitWidth>
  11207. <access>read-write</access>
  11208. <enumeratedValues>
  11209. <enumeratedValue>
  11210. <name>0</name>
  11211. <description>A hardware trigger does not activate the OUTMASK register synchronization.</description>
  11212. <value>#0</value>
  11213. </enumeratedValue>
  11214. <enumeratedValue>
  11215. <name>1</name>
  11216. <description>A hardware trigger activates the OUTMASK register synchronization.</description>
  11217. <value>#1</value>
  11218. </enumeratedValue>
  11219. </enumeratedValues>
  11220. </field>
  11221. <field>
  11222. <name>HWINVC</name>
  11223. <description>Inverting control synchronization is activated by a hardware trigger.</description>
  11224. <bitOffset>19</bitOffset>
  11225. <bitWidth>1</bitWidth>
  11226. <access>read-write</access>
  11227. <enumeratedValues>
  11228. <enumeratedValue>
  11229. <name>0</name>
  11230. <description>A hardware trigger does not activate the INVCTRL register synchronization.</description>
  11231. <value>#0</value>
  11232. </enumeratedValue>
  11233. <enumeratedValue>
  11234. <name>1</name>
  11235. <description>A hardware trigger activates the INVCTRL register synchronization.</description>
  11236. <value>#1</value>
  11237. </enumeratedValue>
  11238. </enumeratedValues>
  11239. </field>
  11240. <field>
  11241. <name>HWSOC</name>
  11242. <description>Software output control synchronization is activated by a hardware trigger.</description>
  11243. <bitOffset>20</bitOffset>
  11244. <bitWidth>1</bitWidth>
  11245. <access>read-write</access>
  11246. <enumeratedValues>
  11247. <enumeratedValue>
  11248. <name>0</name>
  11249. <description>A hardware trigger does not activate the SWOCTRL register synchronization.</description>
  11250. <value>#0</value>
  11251. </enumeratedValue>
  11252. <enumeratedValue>
  11253. <name>1</name>
  11254. <description>A hardware trigger activates the SWOCTRL register synchronization.</description>
  11255. <value>#1</value>
  11256. </enumeratedValue>
  11257. </enumeratedValues>
  11258. </field>
  11259. </fields>
  11260. </register>
  11261. <register>
  11262. <name>INVCTRL</name>
  11263. <description>FTM Inverting Control</description>
  11264. <addressOffset>0x90</addressOffset>
  11265. <size>32</size>
  11266. <access>read-write</access>
  11267. <resetValue>0</resetValue>
  11268. <resetMask>0xFFFFFFFF</resetMask>
  11269. <fields>
  11270. <field>
  11271. <name>INV0EN</name>
  11272. <description>Pair Channels 0 Inverting Enable</description>
  11273. <bitOffset>0</bitOffset>
  11274. <bitWidth>1</bitWidth>
  11275. <access>read-write</access>
  11276. <enumeratedValues>
  11277. <enumeratedValue>
  11278. <name>0</name>
  11279. <description>Inverting is disabled.</description>
  11280. <value>#0</value>
  11281. </enumeratedValue>
  11282. <enumeratedValue>
  11283. <name>1</name>
  11284. <description>Inverting is enabled.</description>
  11285. <value>#1</value>
  11286. </enumeratedValue>
  11287. </enumeratedValues>
  11288. </field>
  11289. <field>
  11290. <name>INV1EN</name>
  11291. <description>Pair Channels 1 Inverting Enable</description>
  11292. <bitOffset>1</bitOffset>
  11293. <bitWidth>1</bitWidth>
  11294. <access>read-write</access>
  11295. <enumeratedValues>
  11296. <enumeratedValue>
  11297. <name>0</name>
  11298. <description>Inverting is disabled.</description>
  11299. <value>#0</value>
  11300. </enumeratedValue>
  11301. <enumeratedValue>
  11302. <name>1</name>
  11303. <description>Inverting is enabled.</description>
  11304. <value>#1</value>
  11305. </enumeratedValue>
  11306. </enumeratedValues>
  11307. </field>
  11308. <field>
  11309. <name>INV2EN</name>
  11310. <description>Pair Channels 2 Inverting Enable</description>
  11311. <bitOffset>2</bitOffset>
  11312. <bitWidth>1</bitWidth>
  11313. <access>read-write</access>
  11314. <enumeratedValues>
  11315. <enumeratedValue>
  11316. <name>0</name>
  11317. <description>Inverting is disabled.</description>
  11318. <value>#0</value>
  11319. </enumeratedValue>
  11320. <enumeratedValue>
  11321. <name>1</name>
  11322. <description>Inverting is enabled.</description>
  11323. <value>#1</value>
  11324. </enumeratedValue>
  11325. </enumeratedValues>
  11326. </field>
  11327. <field>
  11328. <name>INV3EN</name>
  11329. <description>Pair Channels 3 Inverting Enable</description>
  11330. <bitOffset>3</bitOffset>
  11331. <bitWidth>1</bitWidth>
  11332. <access>read-write</access>
  11333. <enumeratedValues>
  11334. <enumeratedValue>
  11335. <name>0</name>
  11336. <description>Inverting is disabled.</description>
  11337. <value>#0</value>
  11338. </enumeratedValue>
  11339. <enumeratedValue>
  11340. <name>1</name>
  11341. <description>Inverting is enabled.</description>
  11342. <value>#1</value>
  11343. </enumeratedValue>
  11344. </enumeratedValues>
  11345. </field>
  11346. </fields>
  11347. </register>
  11348. <register>
  11349. <name>SWOCTRL</name>
  11350. <description>FTM Software Output Control</description>
  11351. <addressOffset>0x94</addressOffset>
  11352. <size>32</size>
  11353. <access>read-write</access>
  11354. <resetValue>0</resetValue>
  11355. <resetMask>0xFFFFFFFF</resetMask>
  11356. <fields>
  11357. <field>
  11358. <name>CH0OC</name>
  11359. <description>Channel 0 Software Output Control Enable</description>
  11360. <bitOffset>0</bitOffset>
  11361. <bitWidth>1</bitWidth>
  11362. <access>read-write</access>
  11363. <enumeratedValues>
  11364. <enumeratedValue>
  11365. <name>0</name>
  11366. <description>The channel output is not affected by software output control.</description>
  11367. <value>#0</value>
  11368. </enumeratedValue>
  11369. <enumeratedValue>
  11370. <name>1</name>
  11371. <description>The channel output is affected by software output control.</description>
  11372. <value>#1</value>
  11373. </enumeratedValue>
  11374. </enumeratedValues>
  11375. </field>
  11376. <field>
  11377. <name>CH1OC</name>
  11378. <description>Channel 1 Software Output Control Enable</description>
  11379. <bitOffset>1</bitOffset>
  11380. <bitWidth>1</bitWidth>
  11381. <access>read-write</access>
  11382. <enumeratedValues>
  11383. <enumeratedValue>
  11384. <name>0</name>
  11385. <description>The channel output is not affected by software output control.</description>
  11386. <value>#0</value>
  11387. </enumeratedValue>
  11388. <enumeratedValue>
  11389. <name>1</name>
  11390. <description>The channel output is affected by software output control.</description>
  11391. <value>#1</value>
  11392. </enumeratedValue>
  11393. </enumeratedValues>
  11394. </field>
  11395. <field>
  11396. <name>CH2OC</name>
  11397. <description>Channel 2 Software Output Control Enable</description>
  11398. <bitOffset>2</bitOffset>
  11399. <bitWidth>1</bitWidth>
  11400. <access>read-write</access>
  11401. <enumeratedValues>
  11402. <enumeratedValue>
  11403. <name>0</name>
  11404. <description>The channel output is not affected by software output control.</description>
  11405. <value>#0</value>
  11406. </enumeratedValue>
  11407. <enumeratedValue>
  11408. <name>1</name>
  11409. <description>The channel output is affected by software output control.</description>
  11410. <value>#1</value>
  11411. </enumeratedValue>
  11412. </enumeratedValues>
  11413. </field>
  11414. <field>
  11415. <name>CH3OC</name>
  11416. <description>Channel 3 Software Output Control Enable</description>
  11417. <bitOffset>3</bitOffset>
  11418. <bitWidth>1</bitWidth>
  11419. <access>read-write</access>
  11420. <enumeratedValues>
  11421. <enumeratedValue>
  11422. <name>0</name>
  11423. <description>The channel output is not affected by software output control.</description>
  11424. <value>#0</value>
  11425. </enumeratedValue>
  11426. <enumeratedValue>
  11427. <name>1</name>
  11428. <description>The channel output is affected by software output control.</description>
  11429. <value>#1</value>
  11430. </enumeratedValue>
  11431. </enumeratedValues>
  11432. </field>
  11433. <field>
  11434. <name>CH4OC</name>
  11435. <description>Channel 4 Software Output Control Enable</description>
  11436. <bitOffset>4</bitOffset>
  11437. <bitWidth>1</bitWidth>
  11438. <access>read-write</access>
  11439. <enumeratedValues>
  11440. <enumeratedValue>
  11441. <name>0</name>
  11442. <description>The channel output is not affected by software output control.</description>
  11443. <value>#0</value>
  11444. </enumeratedValue>
  11445. <enumeratedValue>
  11446. <name>1</name>
  11447. <description>The channel output is affected by software output control.</description>
  11448. <value>#1</value>
  11449. </enumeratedValue>
  11450. </enumeratedValues>
  11451. </field>
  11452. <field>
  11453. <name>CH5OC</name>
  11454. <description>Channel 5 Software Output Control Enable</description>
  11455. <bitOffset>5</bitOffset>
  11456. <bitWidth>1</bitWidth>
  11457. <access>read-write</access>
  11458. <enumeratedValues>
  11459. <enumeratedValue>
  11460. <name>0</name>
  11461. <description>The channel output is not affected by software output control.</description>
  11462. <value>#0</value>
  11463. </enumeratedValue>
  11464. <enumeratedValue>
  11465. <name>1</name>
  11466. <description>The channel output is affected by software output control.</description>
  11467. <value>#1</value>
  11468. </enumeratedValue>
  11469. </enumeratedValues>
  11470. </field>
  11471. <field>
  11472. <name>CH6OC</name>
  11473. <description>Channel 6 Software Output Control Enable</description>
  11474. <bitOffset>6</bitOffset>
  11475. <bitWidth>1</bitWidth>
  11476. <access>read-write</access>
  11477. <enumeratedValues>
  11478. <enumeratedValue>
  11479. <name>0</name>
  11480. <description>The channel output is not affected by software output control.</description>
  11481. <value>#0</value>
  11482. </enumeratedValue>
  11483. <enumeratedValue>
  11484. <name>1</name>
  11485. <description>The channel output is affected by software output control.</description>
  11486. <value>#1</value>
  11487. </enumeratedValue>
  11488. </enumeratedValues>
  11489. </field>
  11490. <field>
  11491. <name>CH7OC</name>
  11492. <description>Channel 7 Software Output Control Enable</description>
  11493. <bitOffset>7</bitOffset>
  11494. <bitWidth>1</bitWidth>
  11495. <access>read-write</access>
  11496. <enumeratedValues>
  11497. <enumeratedValue>
  11498. <name>0</name>
  11499. <description>The channel output is not affected by software output control.</description>
  11500. <value>#0</value>
  11501. </enumeratedValue>
  11502. <enumeratedValue>
  11503. <name>1</name>
  11504. <description>The channel output is affected by software output control.</description>
  11505. <value>#1</value>
  11506. </enumeratedValue>
  11507. </enumeratedValues>
  11508. </field>
  11509. <field>
  11510. <name>CH0OCV</name>
  11511. <description>Channel 0 Software Output Control Value</description>
  11512. <bitOffset>8</bitOffset>
  11513. <bitWidth>1</bitWidth>
  11514. <access>read-write</access>
  11515. <enumeratedValues>
  11516. <enumeratedValue>
  11517. <name>0</name>
  11518. <description>The software output control forces 0 to the channel output.</description>
  11519. <value>#0</value>
  11520. </enumeratedValue>
  11521. <enumeratedValue>
  11522. <name>1</name>
  11523. <description>The software output control forces 1 to the channel output.</description>
  11524. <value>#1</value>
  11525. </enumeratedValue>
  11526. </enumeratedValues>
  11527. </field>
  11528. <field>
  11529. <name>CH1OCV</name>
  11530. <description>Channel 1 Software Output Control Value</description>
  11531. <bitOffset>9</bitOffset>
  11532. <bitWidth>1</bitWidth>
  11533. <access>read-write</access>
  11534. <enumeratedValues>
  11535. <enumeratedValue>
  11536. <name>0</name>
  11537. <description>The software output control forces 0 to the channel output.</description>
  11538. <value>#0</value>
  11539. </enumeratedValue>
  11540. <enumeratedValue>
  11541. <name>1</name>
  11542. <description>The software output control forces 1 to the channel output.</description>
  11543. <value>#1</value>
  11544. </enumeratedValue>
  11545. </enumeratedValues>
  11546. </field>
  11547. <field>
  11548. <name>CH2OCV</name>
  11549. <description>Channel 2 Software Output Control Value</description>
  11550. <bitOffset>10</bitOffset>
  11551. <bitWidth>1</bitWidth>
  11552. <access>read-write</access>
  11553. <enumeratedValues>
  11554. <enumeratedValue>
  11555. <name>0</name>
  11556. <description>The software output control forces 0 to the channel output.</description>
  11557. <value>#0</value>
  11558. </enumeratedValue>
  11559. <enumeratedValue>
  11560. <name>1</name>
  11561. <description>The software output control forces 1 to the channel output.</description>
  11562. <value>#1</value>
  11563. </enumeratedValue>
  11564. </enumeratedValues>
  11565. </field>
  11566. <field>
  11567. <name>CH3OCV</name>
  11568. <description>Channel 3 Software Output Control Value</description>
  11569. <bitOffset>11</bitOffset>
  11570. <bitWidth>1</bitWidth>
  11571. <access>read-write</access>
  11572. <enumeratedValues>
  11573. <enumeratedValue>
  11574. <name>0</name>
  11575. <description>The software output control forces 0 to the channel output.</description>
  11576. <value>#0</value>
  11577. </enumeratedValue>
  11578. <enumeratedValue>
  11579. <name>1</name>
  11580. <description>The software output control forces 1 to the channel output.</description>
  11581. <value>#1</value>
  11582. </enumeratedValue>
  11583. </enumeratedValues>
  11584. </field>
  11585. <field>
  11586. <name>CH4OCV</name>
  11587. <description>Channel 4 Software Output Control Value</description>
  11588. <bitOffset>12</bitOffset>
  11589. <bitWidth>1</bitWidth>
  11590. <access>read-write</access>
  11591. <enumeratedValues>
  11592. <enumeratedValue>
  11593. <name>0</name>
  11594. <description>The software output control forces 0 to the channel output.</description>
  11595. <value>#0</value>
  11596. </enumeratedValue>
  11597. <enumeratedValue>
  11598. <name>1</name>
  11599. <description>The software output control forces 1 to the channel output.</description>
  11600. <value>#1</value>
  11601. </enumeratedValue>
  11602. </enumeratedValues>
  11603. </field>
  11604. <field>
  11605. <name>CH5OCV</name>
  11606. <description>Channel 5 Software Output Control Value</description>
  11607. <bitOffset>13</bitOffset>
  11608. <bitWidth>1</bitWidth>
  11609. <access>read-write</access>
  11610. <enumeratedValues>
  11611. <enumeratedValue>
  11612. <name>0</name>
  11613. <description>The software output control forces 0 to the channel output.</description>
  11614. <value>#0</value>
  11615. </enumeratedValue>
  11616. <enumeratedValue>
  11617. <name>1</name>
  11618. <description>The software output control forces 1 to the channel output.</description>
  11619. <value>#1</value>
  11620. </enumeratedValue>
  11621. </enumeratedValues>
  11622. </field>
  11623. <field>
  11624. <name>CH6OCV</name>
  11625. <description>Channel 6 Software Output Control Value</description>
  11626. <bitOffset>14</bitOffset>
  11627. <bitWidth>1</bitWidth>
  11628. <access>read-write</access>
  11629. <enumeratedValues>
  11630. <enumeratedValue>
  11631. <name>0</name>
  11632. <description>The software output control forces 0 to the channel output.</description>
  11633. <value>#0</value>
  11634. </enumeratedValue>
  11635. <enumeratedValue>
  11636. <name>1</name>
  11637. <description>The software output control forces 1 to the channel output.</description>
  11638. <value>#1</value>
  11639. </enumeratedValue>
  11640. </enumeratedValues>
  11641. </field>
  11642. <field>
  11643. <name>CH7OCV</name>
  11644. <description>Channel 7 Software Output Control Value</description>
  11645. <bitOffset>15</bitOffset>
  11646. <bitWidth>1</bitWidth>
  11647. <access>read-write</access>
  11648. <enumeratedValues>
  11649. <enumeratedValue>
  11650. <name>0</name>
  11651. <description>The software output control forces 0 to the channel output.</description>
  11652. <value>#0</value>
  11653. </enumeratedValue>
  11654. <enumeratedValue>
  11655. <name>1</name>
  11656. <description>The software output control forces 1 to the channel output.</description>
  11657. <value>#1</value>
  11658. </enumeratedValue>
  11659. </enumeratedValues>
  11660. </field>
  11661. </fields>
  11662. </register>
  11663. <register>
  11664. <name>PWMLOAD</name>
  11665. <description>FTM PWM Load</description>
  11666. <addressOffset>0x98</addressOffset>
  11667. <size>32</size>
  11668. <access>read-write</access>
  11669. <resetValue>0</resetValue>
  11670. <resetMask>0xFFFFFFFF</resetMask>
  11671. <fields>
  11672. <field>
  11673. <name>CH0SEL</name>
  11674. <description>Channel 0 Select</description>
  11675. <bitOffset>0</bitOffset>
  11676. <bitWidth>1</bitWidth>
  11677. <access>read-write</access>
  11678. <enumeratedValues>
  11679. <enumeratedValue>
  11680. <name>0</name>
  11681. <description>Do not include the channel in the matching process.</description>
  11682. <value>#0</value>
  11683. </enumeratedValue>
  11684. <enumeratedValue>
  11685. <name>1</name>
  11686. <description>Include the channel in the matching process.</description>
  11687. <value>#1</value>
  11688. </enumeratedValue>
  11689. </enumeratedValues>
  11690. </field>
  11691. <field>
  11692. <name>CH1SEL</name>
  11693. <description>Channel 1 Select</description>
  11694. <bitOffset>1</bitOffset>
  11695. <bitWidth>1</bitWidth>
  11696. <access>read-write</access>
  11697. <enumeratedValues>
  11698. <enumeratedValue>
  11699. <name>0</name>
  11700. <description>Do not include the channel in the matching process.</description>
  11701. <value>#0</value>
  11702. </enumeratedValue>
  11703. <enumeratedValue>
  11704. <name>1</name>
  11705. <description>Include the channel in the matching process.</description>
  11706. <value>#1</value>
  11707. </enumeratedValue>
  11708. </enumeratedValues>
  11709. </field>
  11710. <field>
  11711. <name>CH2SEL</name>
  11712. <description>Channel 2 Select</description>
  11713. <bitOffset>2</bitOffset>
  11714. <bitWidth>1</bitWidth>
  11715. <access>read-write</access>
  11716. <enumeratedValues>
  11717. <enumeratedValue>
  11718. <name>0</name>
  11719. <description>Do not include the channel in the matching process.</description>
  11720. <value>#0</value>
  11721. </enumeratedValue>
  11722. <enumeratedValue>
  11723. <name>1</name>
  11724. <description>Include the channel in the matching process.</description>
  11725. <value>#1</value>
  11726. </enumeratedValue>
  11727. </enumeratedValues>
  11728. </field>
  11729. <field>
  11730. <name>CH3SEL</name>
  11731. <description>Channel 3 Select</description>
  11732. <bitOffset>3</bitOffset>
  11733. <bitWidth>1</bitWidth>
  11734. <access>read-write</access>
  11735. <enumeratedValues>
  11736. <enumeratedValue>
  11737. <name>0</name>
  11738. <description>Do not include the channel in the matching process.</description>
  11739. <value>#0</value>
  11740. </enumeratedValue>
  11741. <enumeratedValue>
  11742. <name>1</name>
  11743. <description>Include the channel in the matching process.</description>
  11744. <value>#1</value>
  11745. </enumeratedValue>
  11746. </enumeratedValues>
  11747. </field>
  11748. <field>
  11749. <name>CH4SEL</name>
  11750. <description>Channel 4 Select</description>
  11751. <bitOffset>4</bitOffset>
  11752. <bitWidth>1</bitWidth>
  11753. <access>read-write</access>
  11754. <enumeratedValues>
  11755. <enumeratedValue>
  11756. <name>0</name>
  11757. <description>Do not include the channel in the matching process.</description>
  11758. <value>#0</value>
  11759. </enumeratedValue>
  11760. <enumeratedValue>
  11761. <name>1</name>
  11762. <description>Include the channel in the matching process.</description>
  11763. <value>#1</value>
  11764. </enumeratedValue>
  11765. </enumeratedValues>
  11766. </field>
  11767. <field>
  11768. <name>CH5SEL</name>
  11769. <description>Channel 5 Select</description>
  11770. <bitOffset>5</bitOffset>
  11771. <bitWidth>1</bitWidth>
  11772. <access>read-write</access>
  11773. <enumeratedValues>
  11774. <enumeratedValue>
  11775. <name>0</name>
  11776. <description>Do not include the channel in the matching process.</description>
  11777. <value>#0</value>
  11778. </enumeratedValue>
  11779. <enumeratedValue>
  11780. <name>1</name>
  11781. <description>Include the channel in the matching process.</description>
  11782. <value>#1</value>
  11783. </enumeratedValue>
  11784. </enumeratedValues>
  11785. </field>
  11786. <field>
  11787. <name>CH6SEL</name>
  11788. <description>Channel 6 Select</description>
  11789. <bitOffset>6</bitOffset>
  11790. <bitWidth>1</bitWidth>
  11791. <access>read-write</access>
  11792. <enumeratedValues>
  11793. <enumeratedValue>
  11794. <name>0</name>
  11795. <description>Do not include the channel in the matching process.</description>
  11796. <value>#0</value>
  11797. </enumeratedValue>
  11798. <enumeratedValue>
  11799. <name>1</name>
  11800. <description>Include the channel in the matching process.</description>
  11801. <value>#1</value>
  11802. </enumeratedValue>
  11803. </enumeratedValues>
  11804. </field>
  11805. <field>
  11806. <name>CH7SEL</name>
  11807. <description>Channel 7 Select</description>
  11808. <bitOffset>7</bitOffset>
  11809. <bitWidth>1</bitWidth>
  11810. <access>read-write</access>
  11811. <enumeratedValues>
  11812. <enumeratedValue>
  11813. <name>0</name>
  11814. <description>Do not include the channel in the matching process.</description>
  11815. <value>#0</value>
  11816. </enumeratedValue>
  11817. <enumeratedValue>
  11818. <name>1</name>
  11819. <description>Include the channel in the matching process.</description>
  11820. <value>#1</value>
  11821. </enumeratedValue>
  11822. </enumeratedValues>
  11823. </field>
  11824. <field>
  11825. <name>LDOK</name>
  11826. <description>Load Enable</description>
  11827. <bitOffset>9</bitOffset>
  11828. <bitWidth>1</bitWidth>
  11829. <access>read-write</access>
  11830. <enumeratedValues>
  11831. <enumeratedValue>
  11832. <name>0</name>
  11833. <description>Loading updated values is disabled.</description>
  11834. <value>#0</value>
  11835. </enumeratedValue>
  11836. <enumeratedValue>
  11837. <name>1</name>
  11838. <description>Loading updated values is enabled.</description>
  11839. <value>#1</value>
  11840. </enumeratedValue>
  11841. </enumeratedValues>
  11842. </field>
  11843. </fields>
  11844. </register>
  11845. </registers>
  11846. </peripheral>
  11847. <peripheral>
  11848. <name>FTM1</name>
  11849. <description>FlexTimer Module</description>
  11850. <groupName>FTM</groupName>
  11851. <prependToName>FTM1_</prependToName>
  11852. <baseAddress>0x40039000</baseAddress>
  11853. <addressBlock>
  11854. <offset>0</offset>
  11855. <size>0x9C</size>
  11856. <usage>registers</usage>
  11857. </addressBlock>
  11858. <interrupt>
  11859. <name>FTM1</name>
  11860. <value>26</value>
  11861. </interrupt>
  11862. <registers>
  11863. <register>
  11864. <name>SC</name>
  11865. <description>Status and Control</description>
  11866. <addressOffset>0</addressOffset>
  11867. <size>32</size>
  11868. <access>read-write</access>
  11869. <resetValue>0</resetValue>
  11870. <resetMask>0xFFFFFFFF</resetMask>
  11871. <fields>
  11872. <field>
  11873. <name>PS</name>
  11874. <description>Prescale Factor Selection</description>
  11875. <bitOffset>0</bitOffset>
  11876. <bitWidth>3</bitWidth>
  11877. <access>read-write</access>
  11878. <enumeratedValues>
  11879. <enumeratedValue>
  11880. <name>000</name>
  11881. <description>Divide by 1</description>
  11882. <value>#000</value>
  11883. </enumeratedValue>
  11884. <enumeratedValue>
  11885. <name>001</name>
  11886. <description>Divide by 2</description>
  11887. <value>#001</value>
  11888. </enumeratedValue>
  11889. <enumeratedValue>
  11890. <name>010</name>
  11891. <description>Divide by 4</description>
  11892. <value>#010</value>
  11893. </enumeratedValue>
  11894. <enumeratedValue>
  11895. <name>011</name>
  11896. <description>Divide by 8</description>
  11897. <value>#011</value>
  11898. </enumeratedValue>
  11899. <enumeratedValue>
  11900. <name>100</name>
  11901. <description>Divide by 16</description>
  11902. <value>#100</value>
  11903. </enumeratedValue>
  11904. <enumeratedValue>
  11905. <name>101</name>
  11906. <description>Divide by 32</description>
  11907. <value>#101</value>
  11908. </enumeratedValue>
  11909. <enumeratedValue>
  11910. <name>110</name>
  11911. <description>Divide by 64</description>
  11912. <value>#110</value>
  11913. </enumeratedValue>
  11914. <enumeratedValue>
  11915. <name>111</name>
  11916. <description>Divide by 128</description>
  11917. <value>#111</value>
  11918. </enumeratedValue>
  11919. </enumeratedValues>
  11920. </field>
  11921. <field>
  11922. <name>CLKS</name>
  11923. <description>Clock Source Selection</description>
  11924. <bitOffset>3</bitOffset>
  11925. <bitWidth>2</bitWidth>
  11926. <access>read-write</access>
  11927. <enumeratedValues>
  11928. <enumeratedValue>
  11929. <name>00</name>
  11930. <description>No clock selected (This in effect disables the FTM counter.)</description>
  11931. <value>#00</value>
  11932. </enumeratedValue>
  11933. <enumeratedValue>
  11934. <name>01</name>
  11935. <description>System clock</description>
  11936. <value>#01</value>
  11937. </enumeratedValue>
  11938. <enumeratedValue>
  11939. <name>10</name>
  11940. <description>Fixed frequency clock</description>
  11941. <value>#10</value>
  11942. </enumeratedValue>
  11943. <enumeratedValue>
  11944. <name>11</name>
  11945. <description>External clock</description>
  11946. <value>#11</value>
  11947. </enumeratedValue>
  11948. </enumeratedValues>
  11949. </field>
  11950. <field>
  11951. <name>CPWMS</name>
  11952. <description>Center-aligned PWM Select</description>
  11953. <bitOffset>5</bitOffset>
  11954. <bitWidth>1</bitWidth>
  11955. <access>read-write</access>
  11956. <enumeratedValues>
  11957. <enumeratedValue>
  11958. <name>0</name>
  11959. <description>FTM counter operates in up counting mode.</description>
  11960. <value>#0</value>
  11961. </enumeratedValue>
  11962. <enumeratedValue>
  11963. <name>1</name>
  11964. <description>FTM counter operates in up-down counting mode.</description>
  11965. <value>#1</value>
  11966. </enumeratedValue>
  11967. </enumeratedValues>
  11968. </field>
  11969. <field>
  11970. <name>TOIE</name>
  11971. <description>Timer Overflow Interrupt Enable</description>
  11972. <bitOffset>6</bitOffset>
  11973. <bitWidth>1</bitWidth>
  11974. <access>read-write</access>
  11975. <enumeratedValues>
  11976. <enumeratedValue>
  11977. <name>0</name>
  11978. <description>Disable TOF interrupts. Use software polling.</description>
  11979. <value>#0</value>
  11980. </enumeratedValue>
  11981. <enumeratedValue>
  11982. <name>1</name>
  11983. <description>Enable TOF interrupts. An interrupt is generated when TOF equals one.</description>
  11984. <value>#1</value>
  11985. </enumeratedValue>
  11986. </enumeratedValues>
  11987. </field>
  11988. <field>
  11989. <name>TOF</name>
  11990. <description>Timer Overflow Flag</description>
  11991. <bitOffset>7</bitOffset>
  11992. <bitWidth>1</bitWidth>
  11993. <access>read-only</access>
  11994. <enumeratedValues>
  11995. <enumeratedValue>
  11996. <name>0</name>
  11997. <description>FTM counter has not overflowed.</description>
  11998. <value>#0</value>
  11999. </enumeratedValue>
  12000. <enumeratedValue>
  12001. <name>1</name>
  12002. <description>FTM counter has overflowed.</description>
  12003. <value>#1</value>
  12004. </enumeratedValue>
  12005. </enumeratedValues>
  12006. </field>
  12007. </fields>
  12008. </register>
  12009. <register>
  12010. <name>CNT</name>
  12011. <description>Counter</description>
  12012. <addressOffset>0x4</addressOffset>
  12013. <size>32</size>
  12014. <access>read-write</access>
  12015. <resetValue>0</resetValue>
  12016. <resetMask>0xFFFFFFFF</resetMask>
  12017. <fields>
  12018. <field>
  12019. <name>COUNT</name>
  12020. <description>Counter value</description>
  12021. <bitOffset>0</bitOffset>
  12022. <bitWidth>16</bitWidth>
  12023. <access>read-write</access>
  12024. </field>
  12025. </fields>
  12026. </register>
  12027. <register>
  12028. <name>MOD</name>
  12029. <description>Modulo</description>
  12030. <addressOffset>0x8</addressOffset>
  12031. <size>32</size>
  12032. <access>read-write</access>
  12033. <resetValue>0</resetValue>
  12034. <resetMask>0xFFFFFFFF</resetMask>
  12035. <fields>
  12036. <field>
  12037. <name>MOD</name>
  12038. <description>Modulo value</description>
  12039. <bitOffset>0</bitOffset>
  12040. <bitWidth>16</bitWidth>
  12041. <access>read-write</access>
  12042. </field>
  12043. </fields>
  12044. </register>
  12045. <register>
  12046. <dim>2</dim>
  12047. <dimIncrement>0x8</dimIncrement>
  12048. <dimIndex>0,1</dimIndex>
  12049. <name>C%sSC</name>
  12050. <description>Channel (n) Status and Control</description>
  12051. <addressOffset>0xC</addressOffset>
  12052. <size>32</size>
  12053. <access>read-write</access>
  12054. <resetValue>0</resetValue>
  12055. <resetMask>0xFFFFFFFF</resetMask>
  12056. <fields>
  12057. <field>
  12058. <name>DMA</name>
  12059. <description>DMA Enable</description>
  12060. <bitOffset>0</bitOffset>
  12061. <bitWidth>1</bitWidth>
  12062. <access>read-write</access>
  12063. <enumeratedValues>
  12064. <enumeratedValue>
  12065. <name>0</name>
  12066. <description>Disable DMA transfers.</description>
  12067. <value>#0</value>
  12068. </enumeratedValue>
  12069. <enumeratedValue>
  12070. <name>1</name>
  12071. <description>Enable DMA transfers.</description>
  12072. <value>#1</value>
  12073. </enumeratedValue>
  12074. </enumeratedValues>
  12075. </field>
  12076. <field>
  12077. <name>ELSA</name>
  12078. <description>Edge or Level Select</description>
  12079. <bitOffset>2</bitOffset>
  12080. <bitWidth>1</bitWidth>
  12081. <access>read-write</access>
  12082. </field>
  12083. <field>
  12084. <name>ELSB</name>
  12085. <description>Edge or Level Select</description>
  12086. <bitOffset>3</bitOffset>
  12087. <bitWidth>1</bitWidth>
  12088. <access>read-write</access>
  12089. </field>
  12090. <field>
  12091. <name>MSA</name>
  12092. <description>Channel Mode Select</description>
  12093. <bitOffset>4</bitOffset>
  12094. <bitWidth>1</bitWidth>
  12095. <access>read-write</access>
  12096. </field>
  12097. <field>
  12098. <name>MSB</name>
  12099. <description>Channel Mode Select</description>
  12100. <bitOffset>5</bitOffset>
  12101. <bitWidth>1</bitWidth>
  12102. <access>read-write</access>
  12103. </field>
  12104. <field>
  12105. <name>CHIE</name>
  12106. <description>Channel Interrupt Enable</description>
  12107. <bitOffset>6</bitOffset>
  12108. <bitWidth>1</bitWidth>
  12109. <access>read-write</access>
  12110. <enumeratedValues>
  12111. <enumeratedValue>
  12112. <name>0</name>
  12113. <description>Disable channel interrupts. Use software polling.</description>
  12114. <value>#0</value>
  12115. </enumeratedValue>
  12116. <enumeratedValue>
  12117. <name>1</name>
  12118. <description>Enable channel interrupts.</description>
  12119. <value>#1</value>
  12120. </enumeratedValue>
  12121. </enumeratedValues>
  12122. </field>
  12123. <field>
  12124. <name>CHF</name>
  12125. <description>Channel Flag</description>
  12126. <bitOffset>7</bitOffset>
  12127. <bitWidth>1</bitWidth>
  12128. <access>read-only</access>
  12129. <enumeratedValues>
  12130. <enumeratedValue>
  12131. <name>0</name>
  12132. <description>No channel event has occurred.</description>
  12133. <value>#0</value>
  12134. </enumeratedValue>
  12135. <enumeratedValue>
  12136. <name>1</name>
  12137. <description>A channel event has occurred.</description>
  12138. <value>#1</value>
  12139. </enumeratedValue>
  12140. </enumeratedValues>
  12141. </field>
  12142. </fields>
  12143. </register>
  12144. <register>
  12145. <dim>2</dim>
  12146. <dimIncrement>0x8</dimIncrement>
  12147. <dimIndex>0,1</dimIndex>
  12148. <name>C%sV</name>
  12149. <description>Channel (n) Value</description>
  12150. <addressOffset>0x10</addressOffset>
  12151. <size>32</size>
  12152. <access>read-write</access>
  12153. <resetValue>0</resetValue>
  12154. <resetMask>0xFFFFFFFF</resetMask>
  12155. <fields>
  12156. <field>
  12157. <name>VAL</name>
  12158. <description>Channel Value</description>
  12159. <bitOffset>0</bitOffset>
  12160. <bitWidth>16</bitWidth>
  12161. <access>read-write</access>
  12162. </field>
  12163. </fields>
  12164. </register>
  12165. <register>
  12166. <name>CNTIN</name>
  12167. <description>Counter Initial Value</description>
  12168. <addressOffset>0x4C</addressOffset>
  12169. <size>32</size>
  12170. <access>read-write</access>
  12171. <resetValue>0</resetValue>
  12172. <resetMask>0xFFFFFFFF</resetMask>
  12173. <fields>
  12174. <field>
  12175. <name>INIT</name>
  12176. <description>Initial Value of the FTM Counter</description>
  12177. <bitOffset>0</bitOffset>
  12178. <bitWidth>16</bitWidth>
  12179. <access>read-write</access>
  12180. </field>
  12181. </fields>
  12182. </register>
  12183. <register>
  12184. <name>STATUS</name>
  12185. <description>Capture and Compare Status</description>
  12186. <addressOffset>0x50</addressOffset>
  12187. <size>32</size>
  12188. <access>read-write</access>
  12189. <resetValue>0</resetValue>
  12190. <resetMask>0xFFFFFFFF</resetMask>
  12191. <fields>
  12192. <field>
  12193. <name>CH0F</name>
  12194. <description>Channel 0 Flag</description>
  12195. <bitOffset>0</bitOffset>
  12196. <bitWidth>1</bitWidth>
  12197. <access>read-write</access>
  12198. <enumeratedValues>
  12199. <enumeratedValue>
  12200. <name>0</name>
  12201. <description>No channel event has occurred.</description>
  12202. <value>#0</value>
  12203. </enumeratedValue>
  12204. <enumeratedValue>
  12205. <name>1</name>
  12206. <description>A channel event has occurred.</description>
  12207. <value>#1</value>
  12208. </enumeratedValue>
  12209. </enumeratedValues>
  12210. </field>
  12211. <field>
  12212. <name>CH1F</name>
  12213. <description>Channel 1 Flag</description>
  12214. <bitOffset>1</bitOffset>
  12215. <bitWidth>1</bitWidth>
  12216. <access>read-write</access>
  12217. <enumeratedValues>
  12218. <enumeratedValue>
  12219. <name>0</name>
  12220. <description>No channel event has occurred.</description>
  12221. <value>#0</value>
  12222. </enumeratedValue>
  12223. <enumeratedValue>
  12224. <name>1</name>
  12225. <description>A channel event has occurred.</description>
  12226. <value>#1</value>
  12227. </enumeratedValue>
  12228. </enumeratedValues>
  12229. </field>
  12230. <field>
  12231. <name>CH2F</name>
  12232. <description>Channel 2 Flag</description>
  12233. <bitOffset>2</bitOffset>
  12234. <bitWidth>1</bitWidth>
  12235. <access>read-write</access>
  12236. <enumeratedValues>
  12237. <enumeratedValue>
  12238. <name>0</name>
  12239. <description>No channel event has occurred.</description>
  12240. <value>#0</value>
  12241. </enumeratedValue>
  12242. <enumeratedValue>
  12243. <name>1</name>
  12244. <description>A channel event has occurred.</description>
  12245. <value>#1</value>
  12246. </enumeratedValue>
  12247. </enumeratedValues>
  12248. </field>
  12249. <field>
  12250. <name>CH3F</name>
  12251. <description>Channel 3 Flag</description>
  12252. <bitOffset>3</bitOffset>
  12253. <bitWidth>1</bitWidth>
  12254. <access>read-write</access>
  12255. <enumeratedValues>
  12256. <enumeratedValue>
  12257. <name>0</name>
  12258. <description>No channel event has occurred.</description>
  12259. <value>#0</value>
  12260. </enumeratedValue>
  12261. <enumeratedValue>
  12262. <name>1</name>
  12263. <description>A channel event has occurred.</description>
  12264. <value>#1</value>
  12265. </enumeratedValue>
  12266. </enumeratedValues>
  12267. </field>
  12268. <field>
  12269. <name>CH4F</name>
  12270. <description>Channel 4 Flag</description>
  12271. <bitOffset>4</bitOffset>
  12272. <bitWidth>1</bitWidth>
  12273. <access>read-write</access>
  12274. <enumeratedValues>
  12275. <enumeratedValue>
  12276. <name>0</name>
  12277. <description>No channel event has occurred.</description>
  12278. <value>#0</value>
  12279. </enumeratedValue>
  12280. <enumeratedValue>
  12281. <name>1</name>
  12282. <description>A channel event has occurred.</description>
  12283. <value>#1</value>
  12284. </enumeratedValue>
  12285. </enumeratedValues>
  12286. </field>
  12287. <field>
  12288. <name>CH5F</name>
  12289. <description>Channel 5 Flag</description>
  12290. <bitOffset>5</bitOffset>
  12291. <bitWidth>1</bitWidth>
  12292. <access>read-write</access>
  12293. <enumeratedValues>
  12294. <enumeratedValue>
  12295. <name>0</name>
  12296. <description>No channel event has occurred.</description>
  12297. <value>#0</value>
  12298. </enumeratedValue>
  12299. <enumeratedValue>
  12300. <name>1</name>
  12301. <description>A channel event has occurred.</description>
  12302. <value>#1</value>
  12303. </enumeratedValue>
  12304. </enumeratedValues>
  12305. </field>
  12306. <field>
  12307. <name>CH6F</name>
  12308. <description>Channel 6 Flag</description>
  12309. <bitOffset>6</bitOffset>
  12310. <bitWidth>1</bitWidth>
  12311. <access>read-write</access>
  12312. <enumeratedValues>
  12313. <enumeratedValue>
  12314. <name>0</name>
  12315. <description>No channel event has occurred.</description>
  12316. <value>#0</value>
  12317. </enumeratedValue>
  12318. <enumeratedValue>
  12319. <name>1</name>
  12320. <description>A channel event has occurred.</description>
  12321. <value>#1</value>
  12322. </enumeratedValue>
  12323. </enumeratedValues>
  12324. </field>
  12325. <field>
  12326. <name>CH7F</name>
  12327. <description>Channel 7 Flag</description>
  12328. <bitOffset>7</bitOffset>
  12329. <bitWidth>1</bitWidth>
  12330. <access>read-write</access>
  12331. <enumeratedValues>
  12332. <enumeratedValue>
  12333. <name>0</name>
  12334. <description>No channel event has occurred.</description>
  12335. <value>#0</value>
  12336. </enumeratedValue>
  12337. <enumeratedValue>
  12338. <name>1</name>
  12339. <description>A channel event has occurred.</description>
  12340. <value>#1</value>
  12341. </enumeratedValue>
  12342. </enumeratedValues>
  12343. </field>
  12344. </fields>
  12345. </register>
  12346. <register>
  12347. <name>MODE</name>
  12348. <description>Features Mode Selection</description>
  12349. <addressOffset>0x54</addressOffset>
  12350. <size>32</size>
  12351. <access>read-write</access>
  12352. <resetValue>0x4</resetValue>
  12353. <resetMask>0xFFFFFFFF</resetMask>
  12354. <fields>
  12355. <field>
  12356. <name>FTMEN</name>
  12357. <description>FTM Enable</description>
  12358. <bitOffset>0</bitOffset>
  12359. <bitWidth>1</bitWidth>
  12360. <access>read-write</access>
  12361. <enumeratedValues>
  12362. <enumeratedValue>
  12363. <name>0</name>
  12364. <description>Only the TPM-compatible registers (first set of registers) can be used without any restriction. Do not use the FTM-specific registers.</description>
  12365. <value>#0</value>
  12366. </enumeratedValue>
  12367. <enumeratedValue>
  12368. <name>1</name>
  12369. <description>All registers including the FTM-specific registers (second set of registers) are available for use with no restrictions.</description>
  12370. <value>#1</value>
  12371. </enumeratedValue>
  12372. </enumeratedValues>
  12373. </field>
  12374. <field>
  12375. <name>INIT</name>
  12376. <description>Initialize the Channels Output</description>
  12377. <bitOffset>1</bitOffset>
  12378. <bitWidth>1</bitWidth>
  12379. <access>read-write</access>
  12380. </field>
  12381. <field>
  12382. <name>WPDIS</name>
  12383. <description>Write Protection Disable</description>
  12384. <bitOffset>2</bitOffset>
  12385. <bitWidth>1</bitWidth>
  12386. <access>read-write</access>
  12387. <enumeratedValues>
  12388. <enumeratedValue>
  12389. <name>0</name>
  12390. <description>Write protection is enabled.</description>
  12391. <value>#0</value>
  12392. </enumeratedValue>
  12393. <enumeratedValue>
  12394. <name>1</name>
  12395. <description>Write protection is disabled.</description>
  12396. <value>#1</value>
  12397. </enumeratedValue>
  12398. </enumeratedValues>
  12399. </field>
  12400. <field>
  12401. <name>PWMSYNC</name>
  12402. <description>PWM Synchronization Mode</description>
  12403. <bitOffset>3</bitOffset>
  12404. <bitWidth>1</bitWidth>
  12405. <access>read-write</access>
  12406. <enumeratedValues>
  12407. <enumeratedValue>
  12408. <name>0</name>
  12409. <description>No restrictions. Software and hardware triggers can be used by MOD, CnV, OUTMASK, and FTM counter synchronization.</description>
  12410. <value>#0</value>
  12411. </enumeratedValue>
  12412. <enumeratedValue>
  12413. <name>1</name>
  12414. <description>Software trigger can only be used by MOD and CnV synchronization, and hardware triggers can only be used by OUTMASK and FTM counter synchronization.</description>
  12415. <value>#1</value>
  12416. </enumeratedValue>
  12417. </enumeratedValues>
  12418. </field>
  12419. <field>
  12420. <name>CAPTEST</name>
  12421. <description>Capture Test Mode Enable</description>
  12422. <bitOffset>4</bitOffset>
  12423. <bitWidth>1</bitWidth>
  12424. <access>read-write</access>
  12425. <enumeratedValues>
  12426. <enumeratedValue>
  12427. <name>0</name>
  12428. <description>Capture test mode is disabled.</description>
  12429. <value>#0</value>
  12430. </enumeratedValue>
  12431. <enumeratedValue>
  12432. <name>1</name>
  12433. <description>Capture test mode is enabled.</description>
  12434. <value>#1</value>
  12435. </enumeratedValue>
  12436. </enumeratedValues>
  12437. </field>
  12438. <field>
  12439. <name>FAULTM</name>
  12440. <description>Fault Control Mode</description>
  12441. <bitOffset>5</bitOffset>
  12442. <bitWidth>2</bitWidth>
  12443. <access>read-write</access>
  12444. <enumeratedValues>
  12445. <enumeratedValue>
  12446. <name>00</name>
  12447. <description>Fault control is disabled for all channels.</description>
  12448. <value>#00</value>
  12449. </enumeratedValue>
  12450. <enumeratedValue>
  12451. <name>01</name>
  12452. <description>Fault control is enabled for even channels only (channels 0, 2, 4, and 6), and the selected mode is the manual fault clearing.</description>
  12453. <value>#01</value>
  12454. </enumeratedValue>
  12455. <enumeratedValue>
  12456. <name>10</name>
  12457. <description>Fault control is enabled for all channels, and the selected mode is the manual fault clearing.</description>
  12458. <value>#10</value>
  12459. </enumeratedValue>
  12460. <enumeratedValue>
  12461. <name>11</name>
  12462. <description>Fault control is enabled for all channels, and the selected mode is the automatic fault clearing.</description>
  12463. <value>#11</value>
  12464. </enumeratedValue>
  12465. </enumeratedValues>
  12466. </field>
  12467. <field>
  12468. <name>FAULTIE</name>
  12469. <description>Fault Interrupt Enable</description>
  12470. <bitOffset>7</bitOffset>
  12471. <bitWidth>1</bitWidth>
  12472. <access>read-write</access>
  12473. <enumeratedValues>
  12474. <enumeratedValue>
  12475. <name>0</name>
  12476. <description>Fault control interrupt is disabled.</description>
  12477. <value>#0</value>
  12478. </enumeratedValue>
  12479. <enumeratedValue>
  12480. <name>1</name>
  12481. <description>Fault control interrupt is enabled.</description>
  12482. <value>#1</value>
  12483. </enumeratedValue>
  12484. </enumeratedValues>
  12485. </field>
  12486. </fields>
  12487. </register>
  12488. <register>
  12489. <name>SYNC</name>
  12490. <description>Synchronization</description>
  12491. <addressOffset>0x58</addressOffset>
  12492. <size>32</size>
  12493. <access>read-write</access>
  12494. <resetValue>0</resetValue>
  12495. <resetMask>0xFFFFFFFF</resetMask>
  12496. <fields>
  12497. <field>
  12498. <name>CNTMIN</name>
  12499. <description>Minimum loading point enable</description>
  12500. <bitOffset>0</bitOffset>
  12501. <bitWidth>1</bitWidth>
  12502. <access>read-write</access>
  12503. <enumeratedValues>
  12504. <enumeratedValue>
  12505. <name>0</name>
  12506. <description>The minimum loading point is disabled.</description>
  12507. <value>#0</value>
  12508. </enumeratedValue>
  12509. <enumeratedValue>
  12510. <name>1</name>
  12511. <description>The minimum loading point is enabled.</description>
  12512. <value>#1</value>
  12513. </enumeratedValue>
  12514. </enumeratedValues>
  12515. </field>
  12516. <field>
  12517. <name>CNTMAX</name>
  12518. <description>Maximum loading point enable</description>
  12519. <bitOffset>1</bitOffset>
  12520. <bitWidth>1</bitWidth>
  12521. <access>read-write</access>
  12522. <enumeratedValues>
  12523. <enumeratedValue>
  12524. <name>0</name>
  12525. <description>The maximum loading point is disabled.</description>
  12526. <value>#0</value>
  12527. </enumeratedValue>
  12528. <enumeratedValue>
  12529. <name>1</name>
  12530. <description>The maximum loading point is enabled.</description>
  12531. <value>#1</value>
  12532. </enumeratedValue>
  12533. </enumeratedValues>
  12534. </field>
  12535. <field>
  12536. <name>REINIT</name>
  12537. <description>FTM Counter Reinitialization by Synchronization (FTM Counter Synchronization)</description>
  12538. <bitOffset>2</bitOffset>
  12539. <bitWidth>1</bitWidth>
  12540. <access>read-write</access>
  12541. <enumeratedValues>
  12542. <enumeratedValue>
  12543. <name>0</name>
  12544. <description>FTM counter continues to count normally.</description>
  12545. <value>#0</value>
  12546. </enumeratedValue>
  12547. <enumeratedValue>
  12548. <name>1</name>
  12549. <description>FTM counter is updated with its initial value when the selected trigger is detected.</description>
  12550. <value>#1</value>
  12551. </enumeratedValue>
  12552. </enumeratedValues>
  12553. </field>
  12554. <field>
  12555. <name>SYNCHOM</name>
  12556. <description>Output Mask Synchronization</description>
  12557. <bitOffset>3</bitOffset>
  12558. <bitWidth>1</bitWidth>
  12559. <access>read-write</access>
  12560. <enumeratedValues>
  12561. <enumeratedValue>
  12562. <name>0</name>
  12563. <description>OUTMASK register is updated with the value of its buffer in all rising edges of the system clock.</description>
  12564. <value>#0</value>
  12565. </enumeratedValue>
  12566. <enumeratedValue>
  12567. <name>1</name>
  12568. <description>OUTMASK register is updated with the value of its buffer only by the PWM synchronization.</description>
  12569. <value>#1</value>
  12570. </enumeratedValue>
  12571. </enumeratedValues>
  12572. </field>
  12573. <field>
  12574. <name>TRIG0</name>
  12575. <description>PWM Synchronization Hardware Trigger 0</description>
  12576. <bitOffset>4</bitOffset>
  12577. <bitWidth>1</bitWidth>
  12578. <access>read-write</access>
  12579. <enumeratedValues>
  12580. <enumeratedValue>
  12581. <name>0</name>
  12582. <description>Trigger is disabled.</description>
  12583. <value>#0</value>
  12584. </enumeratedValue>
  12585. <enumeratedValue>
  12586. <name>1</name>
  12587. <description>Trigger is enabled.</description>
  12588. <value>#1</value>
  12589. </enumeratedValue>
  12590. </enumeratedValues>
  12591. </field>
  12592. <field>
  12593. <name>TRIG1</name>
  12594. <description>PWM Synchronization Hardware Trigger 1</description>
  12595. <bitOffset>5</bitOffset>
  12596. <bitWidth>1</bitWidth>
  12597. <access>read-write</access>
  12598. <enumeratedValues>
  12599. <enumeratedValue>
  12600. <name>0</name>
  12601. <description>Trigger is disabled.</description>
  12602. <value>#0</value>
  12603. </enumeratedValue>
  12604. <enumeratedValue>
  12605. <name>1</name>
  12606. <description>Trigger is enabled.</description>
  12607. <value>#1</value>
  12608. </enumeratedValue>
  12609. </enumeratedValues>
  12610. </field>
  12611. <field>
  12612. <name>TRIG2</name>
  12613. <description>PWM Synchronization Hardware Trigger 2</description>
  12614. <bitOffset>6</bitOffset>
  12615. <bitWidth>1</bitWidth>
  12616. <access>read-write</access>
  12617. <enumeratedValues>
  12618. <enumeratedValue>
  12619. <name>0</name>
  12620. <description>Trigger is disabled.</description>
  12621. <value>#0</value>
  12622. </enumeratedValue>
  12623. <enumeratedValue>
  12624. <name>1</name>
  12625. <description>Trigger is enabled.</description>
  12626. <value>#1</value>
  12627. </enumeratedValue>
  12628. </enumeratedValues>
  12629. </field>
  12630. <field>
  12631. <name>SWSYNC</name>
  12632. <description>PWM Synchronization Software Trigger</description>
  12633. <bitOffset>7</bitOffset>
  12634. <bitWidth>1</bitWidth>
  12635. <access>read-write</access>
  12636. <enumeratedValues>
  12637. <enumeratedValue>
  12638. <name>0</name>
  12639. <description>Software trigger is not selected.</description>
  12640. <value>#0</value>
  12641. </enumeratedValue>
  12642. <enumeratedValue>
  12643. <name>1</name>
  12644. <description>Software trigger is selected.</description>
  12645. <value>#1</value>
  12646. </enumeratedValue>
  12647. </enumeratedValues>
  12648. </field>
  12649. </fields>
  12650. </register>
  12651. <register>
  12652. <name>OUTINIT</name>
  12653. <description>Initial State for Channels Output</description>
  12654. <addressOffset>0x5C</addressOffset>
  12655. <size>32</size>
  12656. <access>read-write</access>
  12657. <resetValue>0</resetValue>
  12658. <resetMask>0xFFFFFFFF</resetMask>
  12659. <fields>
  12660. <field>
  12661. <name>CH0OI</name>
  12662. <description>Channel 0 Output Initialization Value</description>
  12663. <bitOffset>0</bitOffset>
  12664. <bitWidth>1</bitWidth>
  12665. <access>read-write</access>
  12666. <enumeratedValues>
  12667. <enumeratedValue>
  12668. <name>0</name>
  12669. <description>The initialization value is 0.</description>
  12670. <value>#0</value>
  12671. </enumeratedValue>
  12672. <enumeratedValue>
  12673. <name>1</name>
  12674. <description>The initialization value is 1.</description>
  12675. <value>#1</value>
  12676. </enumeratedValue>
  12677. </enumeratedValues>
  12678. </field>
  12679. <field>
  12680. <name>CH1OI</name>
  12681. <description>Channel 1 Output Initialization Value</description>
  12682. <bitOffset>1</bitOffset>
  12683. <bitWidth>1</bitWidth>
  12684. <access>read-write</access>
  12685. <enumeratedValues>
  12686. <enumeratedValue>
  12687. <name>0</name>
  12688. <description>The initialization value is 0.</description>
  12689. <value>#0</value>
  12690. </enumeratedValue>
  12691. <enumeratedValue>
  12692. <name>1</name>
  12693. <description>The initialization value is 1.</description>
  12694. <value>#1</value>
  12695. </enumeratedValue>
  12696. </enumeratedValues>
  12697. </field>
  12698. <field>
  12699. <name>CH2OI</name>
  12700. <description>Channel 2 Output Initialization Value</description>
  12701. <bitOffset>2</bitOffset>
  12702. <bitWidth>1</bitWidth>
  12703. <access>read-write</access>
  12704. <enumeratedValues>
  12705. <enumeratedValue>
  12706. <name>0</name>
  12707. <description>The initialization value is 0.</description>
  12708. <value>#0</value>
  12709. </enumeratedValue>
  12710. <enumeratedValue>
  12711. <name>1</name>
  12712. <description>The initialization value is 1.</description>
  12713. <value>#1</value>
  12714. </enumeratedValue>
  12715. </enumeratedValues>
  12716. </field>
  12717. <field>
  12718. <name>CH3OI</name>
  12719. <description>Channel 3 Output Initialization Value</description>
  12720. <bitOffset>3</bitOffset>
  12721. <bitWidth>1</bitWidth>
  12722. <access>read-write</access>
  12723. <enumeratedValues>
  12724. <enumeratedValue>
  12725. <name>0</name>
  12726. <description>The initialization value is 0.</description>
  12727. <value>#0</value>
  12728. </enumeratedValue>
  12729. <enumeratedValue>
  12730. <name>1</name>
  12731. <description>The initialization value is 1.</description>
  12732. <value>#1</value>
  12733. </enumeratedValue>
  12734. </enumeratedValues>
  12735. </field>
  12736. <field>
  12737. <name>CH4OI</name>
  12738. <description>Channel 4 Output Initialization Value</description>
  12739. <bitOffset>4</bitOffset>
  12740. <bitWidth>1</bitWidth>
  12741. <access>read-write</access>
  12742. <enumeratedValues>
  12743. <enumeratedValue>
  12744. <name>0</name>
  12745. <description>The initialization value is 0.</description>
  12746. <value>#0</value>
  12747. </enumeratedValue>
  12748. <enumeratedValue>
  12749. <name>1</name>
  12750. <description>The initialization value is 1.</description>
  12751. <value>#1</value>
  12752. </enumeratedValue>
  12753. </enumeratedValues>
  12754. </field>
  12755. <field>
  12756. <name>CH5OI</name>
  12757. <description>Channel 5 Output Initialization Value</description>
  12758. <bitOffset>5</bitOffset>
  12759. <bitWidth>1</bitWidth>
  12760. <access>read-write</access>
  12761. <enumeratedValues>
  12762. <enumeratedValue>
  12763. <name>0</name>
  12764. <description>The initialization value is 0.</description>
  12765. <value>#0</value>
  12766. </enumeratedValue>
  12767. <enumeratedValue>
  12768. <name>1</name>
  12769. <description>The initialization value is 1.</description>
  12770. <value>#1</value>
  12771. </enumeratedValue>
  12772. </enumeratedValues>
  12773. </field>
  12774. <field>
  12775. <name>CH6OI</name>
  12776. <description>Channel 6 Output Initialization Value</description>
  12777. <bitOffset>6</bitOffset>
  12778. <bitWidth>1</bitWidth>
  12779. <access>read-write</access>
  12780. <enumeratedValues>
  12781. <enumeratedValue>
  12782. <name>0</name>
  12783. <description>The initialization value is 0.</description>
  12784. <value>#0</value>
  12785. </enumeratedValue>
  12786. <enumeratedValue>
  12787. <name>1</name>
  12788. <description>The initialization value is 1.</description>
  12789. <value>#1</value>
  12790. </enumeratedValue>
  12791. </enumeratedValues>
  12792. </field>
  12793. <field>
  12794. <name>CH7OI</name>
  12795. <description>Channel 7 Output Initialization Value</description>
  12796. <bitOffset>7</bitOffset>
  12797. <bitWidth>1</bitWidth>
  12798. <access>read-write</access>
  12799. <enumeratedValues>
  12800. <enumeratedValue>
  12801. <name>0</name>
  12802. <description>The initialization value is 0.</description>
  12803. <value>#0</value>
  12804. </enumeratedValue>
  12805. <enumeratedValue>
  12806. <name>1</name>
  12807. <description>The initialization value is 1.</description>
  12808. <value>#1</value>
  12809. </enumeratedValue>
  12810. </enumeratedValues>
  12811. </field>
  12812. </fields>
  12813. </register>
  12814. <register>
  12815. <name>OUTMASK</name>
  12816. <description>Output Mask</description>
  12817. <addressOffset>0x60</addressOffset>
  12818. <size>32</size>
  12819. <access>read-write</access>
  12820. <resetValue>0</resetValue>
  12821. <resetMask>0xFFFFFFFF</resetMask>
  12822. <fields>
  12823. <field>
  12824. <name>CH0OM</name>
  12825. <description>Channel 0 Output Mask</description>
  12826. <bitOffset>0</bitOffset>
  12827. <bitWidth>1</bitWidth>
  12828. <access>read-write</access>
  12829. <enumeratedValues>
  12830. <enumeratedValue>
  12831. <name>0</name>
  12832. <description>Channel output is not masked. It continues to operate normally.</description>
  12833. <value>#0</value>
  12834. </enumeratedValue>
  12835. <enumeratedValue>
  12836. <name>1</name>
  12837. <description>Channel output is masked. It is forced to its inactive state.</description>
  12838. <value>#1</value>
  12839. </enumeratedValue>
  12840. </enumeratedValues>
  12841. </field>
  12842. <field>
  12843. <name>CH1OM</name>
  12844. <description>Channel 1 Output Mask</description>
  12845. <bitOffset>1</bitOffset>
  12846. <bitWidth>1</bitWidth>
  12847. <access>read-write</access>
  12848. <enumeratedValues>
  12849. <enumeratedValue>
  12850. <name>0</name>
  12851. <description>Channel output is not masked. It continues to operate normally.</description>
  12852. <value>#0</value>
  12853. </enumeratedValue>
  12854. <enumeratedValue>
  12855. <name>1</name>
  12856. <description>Channel output is masked. It is forced to its inactive state.</description>
  12857. <value>#1</value>
  12858. </enumeratedValue>
  12859. </enumeratedValues>
  12860. </field>
  12861. <field>
  12862. <name>CH2OM</name>
  12863. <description>Channel 2 Output Mask</description>
  12864. <bitOffset>2</bitOffset>
  12865. <bitWidth>1</bitWidth>
  12866. <access>read-write</access>
  12867. <enumeratedValues>
  12868. <enumeratedValue>
  12869. <name>0</name>
  12870. <description>Channel output is not masked. It continues to operate normally.</description>
  12871. <value>#0</value>
  12872. </enumeratedValue>
  12873. <enumeratedValue>
  12874. <name>1</name>
  12875. <description>Channel output is masked. It is forced to its inactive state.</description>
  12876. <value>#1</value>
  12877. </enumeratedValue>
  12878. </enumeratedValues>
  12879. </field>
  12880. <field>
  12881. <name>CH3OM</name>
  12882. <description>Channel 3 Output Mask</description>
  12883. <bitOffset>3</bitOffset>
  12884. <bitWidth>1</bitWidth>
  12885. <access>read-write</access>
  12886. <enumeratedValues>
  12887. <enumeratedValue>
  12888. <name>0</name>
  12889. <description>Channel output is not masked. It continues to operate normally.</description>
  12890. <value>#0</value>
  12891. </enumeratedValue>
  12892. <enumeratedValue>
  12893. <name>1</name>
  12894. <description>Channel output is masked. It is forced to its inactive state.</description>
  12895. <value>#1</value>
  12896. </enumeratedValue>
  12897. </enumeratedValues>
  12898. </field>
  12899. <field>
  12900. <name>CH4OM</name>
  12901. <description>Channel 4 Output Mask</description>
  12902. <bitOffset>4</bitOffset>
  12903. <bitWidth>1</bitWidth>
  12904. <access>read-write</access>
  12905. <enumeratedValues>
  12906. <enumeratedValue>
  12907. <name>0</name>
  12908. <description>Channel output is not masked. It continues to operate normally.</description>
  12909. <value>#0</value>
  12910. </enumeratedValue>
  12911. <enumeratedValue>
  12912. <name>1</name>
  12913. <description>Channel output is masked. It is forced to its inactive state.</description>
  12914. <value>#1</value>
  12915. </enumeratedValue>
  12916. </enumeratedValues>
  12917. </field>
  12918. <field>
  12919. <name>CH5OM</name>
  12920. <description>Channel 5 Output Mask</description>
  12921. <bitOffset>5</bitOffset>
  12922. <bitWidth>1</bitWidth>
  12923. <access>read-write</access>
  12924. <enumeratedValues>
  12925. <enumeratedValue>
  12926. <name>0</name>
  12927. <description>Channel output is not masked. It continues to operate normally.</description>
  12928. <value>#0</value>
  12929. </enumeratedValue>
  12930. <enumeratedValue>
  12931. <name>1</name>
  12932. <description>Channel output is masked. It is forced to its inactive state.</description>
  12933. <value>#1</value>
  12934. </enumeratedValue>
  12935. </enumeratedValues>
  12936. </field>
  12937. <field>
  12938. <name>CH6OM</name>
  12939. <description>Channel 6 Output Mask</description>
  12940. <bitOffset>6</bitOffset>
  12941. <bitWidth>1</bitWidth>
  12942. <access>read-write</access>
  12943. <enumeratedValues>
  12944. <enumeratedValue>
  12945. <name>0</name>
  12946. <description>Channel output is not masked. It continues to operate normally.</description>
  12947. <value>#0</value>
  12948. </enumeratedValue>
  12949. <enumeratedValue>
  12950. <name>1</name>
  12951. <description>Channel output is masked. It is forced to its inactive state.</description>
  12952. <value>#1</value>
  12953. </enumeratedValue>
  12954. </enumeratedValues>
  12955. </field>
  12956. <field>
  12957. <name>CH7OM</name>
  12958. <description>Channel 7 Output Mask</description>
  12959. <bitOffset>7</bitOffset>
  12960. <bitWidth>1</bitWidth>
  12961. <access>read-write</access>
  12962. <enumeratedValues>
  12963. <enumeratedValue>
  12964. <name>0</name>
  12965. <description>Channel output is not masked. It continues to operate normally.</description>
  12966. <value>#0</value>
  12967. </enumeratedValue>
  12968. <enumeratedValue>
  12969. <name>1</name>
  12970. <description>Channel output is masked. It is forced to its inactive state.</description>
  12971. <value>#1</value>
  12972. </enumeratedValue>
  12973. </enumeratedValues>
  12974. </field>
  12975. </fields>
  12976. </register>
  12977. <register>
  12978. <name>COMBINE</name>
  12979. <description>Function for Linked Channels</description>
  12980. <addressOffset>0x64</addressOffset>
  12981. <size>32</size>
  12982. <access>read-write</access>
  12983. <resetValue>0</resetValue>
  12984. <resetMask>0xFFFFFFFF</resetMask>
  12985. <fields>
  12986. <field>
  12987. <name>COMBINE0</name>
  12988. <description>Combine Channels for n = 0</description>
  12989. <bitOffset>0</bitOffset>
  12990. <bitWidth>1</bitWidth>
  12991. <access>read-write</access>
  12992. <enumeratedValues>
  12993. <enumeratedValue>
  12994. <name>0</name>
  12995. <description>Channels (n) and (n+1) are independent.</description>
  12996. <value>#0</value>
  12997. </enumeratedValue>
  12998. <enumeratedValue>
  12999. <name>1</name>
  13000. <description>Channels (n) and (n+1) are combined.</description>
  13001. <value>#1</value>
  13002. </enumeratedValue>
  13003. </enumeratedValues>
  13004. </field>
  13005. <field>
  13006. <name>COMP0</name>
  13007. <description>Complement of Channel (n) for n = 0</description>
  13008. <bitOffset>1</bitOffset>
  13009. <bitWidth>1</bitWidth>
  13010. <access>read-write</access>
  13011. <enumeratedValues>
  13012. <enumeratedValue>
  13013. <name>0</name>
  13014. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  13015. <value>#0</value>
  13016. </enumeratedValue>
  13017. <enumeratedValue>
  13018. <name>1</name>
  13019. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  13020. <value>#1</value>
  13021. </enumeratedValue>
  13022. </enumeratedValues>
  13023. </field>
  13024. <field>
  13025. <name>DECAPEN0</name>
  13026. <description>Dual Edge Capture Mode Enable for n = 0</description>
  13027. <bitOffset>2</bitOffset>
  13028. <bitWidth>1</bitWidth>
  13029. <access>read-write</access>
  13030. <enumeratedValues>
  13031. <enumeratedValue>
  13032. <name>0</name>
  13033. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  13034. <value>#0</value>
  13035. </enumeratedValue>
  13036. <enumeratedValue>
  13037. <name>1</name>
  13038. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  13039. <value>#1</value>
  13040. </enumeratedValue>
  13041. </enumeratedValues>
  13042. </field>
  13043. <field>
  13044. <name>DECAP0</name>
  13045. <description>Dual Edge Capture Mode Captures for n = 0</description>
  13046. <bitOffset>3</bitOffset>
  13047. <bitWidth>1</bitWidth>
  13048. <access>read-write</access>
  13049. <enumeratedValues>
  13050. <enumeratedValue>
  13051. <name>0</name>
  13052. <description>The dual edge captures are inactive.</description>
  13053. <value>#0</value>
  13054. </enumeratedValue>
  13055. <enumeratedValue>
  13056. <name>1</name>
  13057. <description>The dual edge captures are active.</description>
  13058. <value>#1</value>
  13059. </enumeratedValue>
  13060. </enumeratedValues>
  13061. </field>
  13062. <field>
  13063. <name>DTEN0</name>
  13064. <description>Deadtime Enable for n = 0</description>
  13065. <bitOffset>4</bitOffset>
  13066. <bitWidth>1</bitWidth>
  13067. <access>read-write</access>
  13068. <enumeratedValues>
  13069. <enumeratedValue>
  13070. <name>0</name>
  13071. <description>The deadtime insertion in this pair of channels is disabled.</description>
  13072. <value>#0</value>
  13073. </enumeratedValue>
  13074. <enumeratedValue>
  13075. <name>1</name>
  13076. <description>The deadtime insertion in this pair of channels is enabled.</description>
  13077. <value>#1</value>
  13078. </enumeratedValue>
  13079. </enumeratedValues>
  13080. </field>
  13081. <field>
  13082. <name>SYNCEN0</name>
  13083. <description>Synchronization Enable for n = 0</description>
  13084. <bitOffset>5</bitOffset>
  13085. <bitWidth>1</bitWidth>
  13086. <access>read-write</access>
  13087. <enumeratedValues>
  13088. <enumeratedValue>
  13089. <name>0</name>
  13090. <description>The PWM synchronization in this pair of channels is disabled.</description>
  13091. <value>#0</value>
  13092. </enumeratedValue>
  13093. <enumeratedValue>
  13094. <name>1</name>
  13095. <description>The PWM synchronization in this pair of channels is enabled.</description>
  13096. <value>#1</value>
  13097. </enumeratedValue>
  13098. </enumeratedValues>
  13099. </field>
  13100. <field>
  13101. <name>FAULTEN0</name>
  13102. <description>Fault Control Enable for n = 0</description>
  13103. <bitOffset>6</bitOffset>
  13104. <bitWidth>1</bitWidth>
  13105. <access>read-write</access>
  13106. <enumeratedValues>
  13107. <enumeratedValue>
  13108. <name>0</name>
  13109. <description>The fault control in this pair of channels is disabled.</description>
  13110. <value>#0</value>
  13111. </enumeratedValue>
  13112. <enumeratedValue>
  13113. <name>1</name>
  13114. <description>The fault control in this pair of channels is enabled.</description>
  13115. <value>#1</value>
  13116. </enumeratedValue>
  13117. </enumeratedValues>
  13118. </field>
  13119. <field>
  13120. <name>COMBINE1</name>
  13121. <description>Combine Channels for n = 2</description>
  13122. <bitOffset>8</bitOffset>
  13123. <bitWidth>1</bitWidth>
  13124. <access>read-write</access>
  13125. <enumeratedValues>
  13126. <enumeratedValue>
  13127. <name>0</name>
  13128. <description>Channels (n) and (n+1) are independent.</description>
  13129. <value>#0</value>
  13130. </enumeratedValue>
  13131. <enumeratedValue>
  13132. <name>1</name>
  13133. <description>Channels (n) and (n+1) are combined.</description>
  13134. <value>#1</value>
  13135. </enumeratedValue>
  13136. </enumeratedValues>
  13137. </field>
  13138. <field>
  13139. <name>COMP1</name>
  13140. <description>Complement of Channel (n) for n = 2</description>
  13141. <bitOffset>9</bitOffset>
  13142. <bitWidth>1</bitWidth>
  13143. <access>read-write</access>
  13144. <enumeratedValues>
  13145. <enumeratedValue>
  13146. <name>0</name>
  13147. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  13148. <value>#0</value>
  13149. </enumeratedValue>
  13150. <enumeratedValue>
  13151. <name>1</name>
  13152. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  13153. <value>#1</value>
  13154. </enumeratedValue>
  13155. </enumeratedValues>
  13156. </field>
  13157. <field>
  13158. <name>DECAPEN1</name>
  13159. <description>Dual Edge Capture Mode Enable for n = 2</description>
  13160. <bitOffset>10</bitOffset>
  13161. <bitWidth>1</bitWidth>
  13162. <access>read-write</access>
  13163. <enumeratedValues>
  13164. <enumeratedValue>
  13165. <name>0</name>
  13166. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  13167. <value>#0</value>
  13168. </enumeratedValue>
  13169. <enumeratedValue>
  13170. <name>1</name>
  13171. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  13172. <value>#1</value>
  13173. </enumeratedValue>
  13174. </enumeratedValues>
  13175. </field>
  13176. <field>
  13177. <name>DECAP1</name>
  13178. <description>Dual Edge Capture Mode Captures for n = 2</description>
  13179. <bitOffset>11</bitOffset>
  13180. <bitWidth>1</bitWidth>
  13181. <access>read-write</access>
  13182. <enumeratedValues>
  13183. <enumeratedValue>
  13184. <name>0</name>
  13185. <description>The dual edge captures are inactive.</description>
  13186. <value>#0</value>
  13187. </enumeratedValue>
  13188. <enumeratedValue>
  13189. <name>1</name>
  13190. <description>The dual edge captures are active.</description>
  13191. <value>#1</value>
  13192. </enumeratedValue>
  13193. </enumeratedValues>
  13194. </field>
  13195. <field>
  13196. <name>DTEN1</name>
  13197. <description>Deadtime Enable for n = 2</description>
  13198. <bitOffset>12</bitOffset>
  13199. <bitWidth>1</bitWidth>
  13200. <access>read-write</access>
  13201. <enumeratedValues>
  13202. <enumeratedValue>
  13203. <name>0</name>
  13204. <description>The deadtime insertion in this pair of channels is disabled.</description>
  13205. <value>#0</value>
  13206. </enumeratedValue>
  13207. <enumeratedValue>
  13208. <name>1</name>
  13209. <description>The deadtime insertion in this pair of channels is enabled.</description>
  13210. <value>#1</value>
  13211. </enumeratedValue>
  13212. </enumeratedValues>
  13213. </field>
  13214. <field>
  13215. <name>SYNCEN1</name>
  13216. <description>Synchronization Enable for n = 2</description>
  13217. <bitOffset>13</bitOffset>
  13218. <bitWidth>1</bitWidth>
  13219. <access>read-write</access>
  13220. <enumeratedValues>
  13221. <enumeratedValue>
  13222. <name>0</name>
  13223. <description>The PWM synchronization in this pair of channels is disabled.</description>
  13224. <value>#0</value>
  13225. </enumeratedValue>
  13226. <enumeratedValue>
  13227. <name>1</name>
  13228. <description>The PWM synchronization in this pair of channels is enabled.</description>
  13229. <value>#1</value>
  13230. </enumeratedValue>
  13231. </enumeratedValues>
  13232. </field>
  13233. <field>
  13234. <name>FAULTEN1</name>
  13235. <description>Fault Control Enable for n = 2</description>
  13236. <bitOffset>14</bitOffset>
  13237. <bitWidth>1</bitWidth>
  13238. <access>read-write</access>
  13239. <enumeratedValues>
  13240. <enumeratedValue>
  13241. <name>0</name>
  13242. <description>The fault control in this pair of channels is disabled.</description>
  13243. <value>#0</value>
  13244. </enumeratedValue>
  13245. <enumeratedValue>
  13246. <name>1</name>
  13247. <description>The fault control in this pair of channels is enabled.</description>
  13248. <value>#1</value>
  13249. </enumeratedValue>
  13250. </enumeratedValues>
  13251. </field>
  13252. <field>
  13253. <name>COMBINE2</name>
  13254. <description>Combine Channels for n = 4</description>
  13255. <bitOffset>16</bitOffset>
  13256. <bitWidth>1</bitWidth>
  13257. <access>read-write</access>
  13258. <enumeratedValues>
  13259. <enumeratedValue>
  13260. <name>0</name>
  13261. <description>Channels (n) and (n+1) are independent.</description>
  13262. <value>#0</value>
  13263. </enumeratedValue>
  13264. <enumeratedValue>
  13265. <name>1</name>
  13266. <description>Channels (n) and (n+1) are combined.</description>
  13267. <value>#1</value>
  13268. </enumeratedValue>
  13269. </enumeratedValues>
  13270. </field>
  13271. <field>
  13272. <name>COMP2</name>
  13273. <description>Complement of Channel (n) for n = 4</description>
  13274. <bitOffset>17</bitOffset>
  13275. <bitWidth>1</bitWidth>
  13276. <access>read-write</access>
  13277. <enumeratedValues>
  13278. <enumeratedValue>
  13279. <name>0</name>
  13280. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  13281. <value>#0</value>
  13282. </enumeratedValue>
  13283. <enumeratedValue>
  13284. <name>1</name>
  13285. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  13286. <value>#1</value>
  13287. </enumeratedValue>
  13288. </enumeratedValues>
  13289. </field>
  13290. <field>
  13291. <name>DECAPEN2</name>
  13292. <description>Dual Edge Capture Mode Enable for n = 4</description>
  13293. <bitOffset>18</bitOffset>
  13294. <bitWidth>1</bitWidth>
  13295. <access>read-write</access>
  13296. <enumeratedValues>
  13297. <enumeratedValue>
  13298. <name>0</name>
  13299. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  13300. <value>#0</value>
  13301. </enumeratedValue>
  13302. <enumeratedValue>
  13303. <name>1</name>
  13304. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  13305. <value>#1</value>
  13306. </enumeratedValue>
  13307. </enumeratedValues>
  13308. </field>
  13309. <field>
  13310. <name>DECAP2</name>
  13311. <description>Dual Edge Capture Mode Captures for n = 4</description>
  13312. <bitOffset>19</bitOffset>
  13313. <bitWidth>1</bitWidth>
  13314. <access>read-write</access>
  13315. <enumeratedValues>
  13316. <enumeratedValue>
  13317. <name>0</name>
  13318. <description>The dual edge captures are inactive.</description>
  13319. <value>#0</value>
  13320. </enumeratedValue>
  13321. <enumeratedValue>
  13322. <name>1</name>
  13323. <description>The dual edge captures are active.</description>
  13324. <value>#1</value>
  13325. </enumeratedValue>
  13326. </enumeratedValues>
  13327. </field>
  13328. <field>
  13329. <name>DTEN2</name>
  13330. <description>Deadtime Enable for n = 4</description>
  13331. <bitOffset>20</bitOffset>
  13332. <bitWidth>1</bitWidth>
  13333. <access>read-write</access>
  13334. <enumeratedValues>
  13335. <enumeratedValue>
  13336. <name>0</name>
  13337. <description>The deadtime insertion in this pair of channels is disabled.</description>
  13338. <value>#0</value>
  13339. </enumeratedValue>
  13340. <enumeratedValue>
  13341. <name>1</name>
  13342. <description>The deadtime insertion in this pair of channels is enabled.</description>
  13343. <value>#1</value>
  13344. </enumeratedValue>
  13345. </enumeratedValues>
  13346. </field>
  13347. <field>
  13348. <name>SYNCEN2</name>
  13349. <description>Synchronization Enable for n = 4</description>
  13350. <bitOffset>21</bitOffset>
  13351. <bitWidth>1</bitWidth>
  13352. <access>read-write</access>
  13353. <enumeratedValues>
  13354. <enumeratedValue>
  13355. <name>0</name>
  13356. <description>The PWM synchronization in this pair of channels is disabled.</description>
  13357. <value>#0</value>
  13358. </enumeratedValue>
  13359. <enumeratedValue>
  13360. <name>1</name>
  13361. <description>The PWM synchronization in this pair of channels is enabled.</description>
  13362. <value>#1</value>
  13363. </enumeratedValue>
  13364. </enumeratedValues>
  13365. </field>
  13366. <field>
  13367. <name>FAULTEN2</name>
  13368. <description>Fault Control Enable for n = 4</description>
  13369. <bitOffset>22</bitOffset>
  13370. <bitWidth>1</bitWidth>
  13371. <access>read-write</access>
  13372. <enumeratedValues>
  13373. <enumeratedValue>
  13374. <name>0</name>
  13375. <description>The fault control in this pair of channels is disabled.</description>
  13376. <value>#0</value>
  13377. </enumeratedValue>
  13378. <enumeratedValue>
  13379. <name>1</name>
  13380. <description>The fault control in this pair of channels is enabled.</description>
  13381. <value>#1</value>
  13382. </enumeratedValue>
  13383. </enumeratedValues>
  13384. </field>
  13385. <field>
  13386. <name>COMBINE3</name>
  13387. <description>Combine Channels for n = 6</description>
  13388. <bitOffset>24</bitOffset>
  13389. <bitWidth>1</bitWidth>
  13390. <access>read-write</access>
  13391. <enumeratedValues>
  13392. <enumeratedValue>
  13393. <name>0</name>
  13394. <description>Channels (n) and (n+1) are independent.</description>
  13395. <value>#0</value>
  13396. </enumeratedValue>
  13397. <enumeratedValue>
  13398. <name>1</name>
  13399. <description>Channels (n) and (n+1) are combined.</description>
  13400. <value>#1</value>
  13401. </enumeratedValue>
  13402. </enumeratedValues>
  13403. </field>
  13404. <field>
  13405. <name>COMP3</name>
  13406. <description>Complement of Channel (n) for n = 6</description>
  13407. <bitOffset>25</bitOffset>
  13408. <bitWidth>1</bitWidth>
  13409. <access>read-write</access>
  13410. <enumeratedValues>
  13411. <enumeratedValue>
  13412. <name>0</name>
  13413. <description>The channel (n+1) output is the same as the channel (n) output.</description>
  13414. <value>#0</value>
  13415. </enumeratedValue>
  13416. <enumeratedValue>
  13417. <name>1</name>
  13418. <description>The channel (n+1) output is the complement of the channel (n) output.</description>
  13419. <value>#1</value>
  13420. </enumeratedValue>
  13421. </enumeratedValues>
  13422. </field>
  13423. <field>
  13424. <name>DECAPEN3</name>
  13425. <description>Dual Edge Capture Mode Enable for n = 6</description>
  13426. <bitOffset>26</bitOffset>
  13427. <bitWidth>1</bitWidth>
  13428. <access>read-write</access>
  13429. <enumeratedValues>
  13430. <enumeratedValue>
  13431. <name>0</name>
  13432. <description>The dual edge capture mode in this pair of channels is disabled.</description>
  13433. <value>#0</value>
  13434. </enumeratedValue>
  13435. <enumeratedValue>
  13436. <name>1</name>
  13437. <description>The dual edge capture mode in this pair of channels is enabled.</description>
  13438. <value>#1</value>
  13439. </enumeratedValue>
  13440. </enumeratedValues>
  13441. </field>
  13442. <field>
  13443. <name>DECAP3</name>
  13444. <description>Dual Edge Capture Mode Captures for n = 6</description>
  13445. <bitOffset>27</bitOffset>
  13446. <bitWidth>1</bitWidth>
  13447. <access>read-write</access>
  13448. <enumeratedValues>
  13449. <enumeratedValue>
  13450. <name>0</name>
  13451. <description>The dual edge captures are inactive.</description>
  13452. <value>#0</value>
  13453. </enumeratedValue>
  13454. <enumeratedValue>
  13455. <name>1</name>
  13456. <description>The dual edge captures are active.</description>
  13457. <value>#1</value>
  13458. </enumeratedValue>
  13459. </enumeratedValues>
  13460. </field>
  13461. <field>
  13462. <name>DTEN3</name>
  13463. <description>Deadtime Enable for n = 6</description>
  13464. <bitOffset>28</bitOffset>
  13465. <bitWidth>1</bitWidth>
  13466. <access>read-write</access>
  13467. <enumeratedValues>
  13468. <enumeratedValue>
  13469. <name>0</name>
  13470. <description>The deadtime insertion in this pair of channels is disabled.</description>
  13471. <value>#0</value>
  13472. </enumeratedValue>
  13473. <enumeratedValue>
  13474. <name>1</name>
  13475. <description>The deadtime insertion in this pair of channels is enabled.</description>
  13476. <value>#1</value>
  13477. </enumeratedValue>
  13478. </enumeratedValues>
  13479. </field>
  13480. <field>
  13481. <name>SYNCEN3</name>
  13482. <description>Synchronization Enable for n = 6</description>
  13483. <bitOffset>29</bitOffset>
  13484. <bitWidth>1</bitWidth>
  13485. <access>read-write</access>
  13486. <enumeratedValues>
  13487. <enumeratedValue>
  13488. <name>0</name>
  13489. <description>The PWM synchronization in this pair of channels is disabled.</description>
  13490. <value>#0</value>
  13491. </enumeratedValue>
  13492. <enumeratedValue>
  13493. <name>1</name>
  13494. <description>The PWM synchronization in this pair of channels is enabled.</description>
  13495. <value>#1</value>
  13496. </enumeratedValue>
  13497. </enumeratedValues>
  13498. </field>
  13499. <field>
  13500. <name>FAULTEN3</name>
  13501. <description>Fault Control Enable for n = 6</description>
  13502. <bitOffset>30</bitOffset>
  13503. <bitWidth>1</bitWidth>
  13504. <access>read-write</access>
  13505. <enumeratedValues>
  13506. <enumeratedValue>
  13507. <name>0</name>
  13508. <description>The fault control in this pair of channels is disabled.</description>
  13509. <value>#0</value>
  13510. </enumeratedValue>
  13511. <enumeratedValue>
  13512. <name>1</name>
  13513. <description>The fault control in this pair of channels is enabled.</description>
  13514. <value>#1</value>
  13515. </enumeratedValue>
  13516. </enumeratedValues>
  13517. </field>
  13518. </fields>
  13519. </register>
  13520. <register>
  13521. <name>DEADTIME</name>
  13522. <description>Deadtime Insertion Control</description>
  13523. <addressOffset>0x68</addressOffset>
  13524. <size>32</size>
  13525. <access>read-write</access>
  13526. <resetValue>0</resetValue>
  13527. <resetMask>0xFFFFFFFF</resetMask>
  13528. <fields>
  13529. <field>
  13530. <name>DTVAL</name>
  13531. <description>Deadtime Value</description>
  13532. <bitOffset>0</bitOffset>
  13533. <bitWidth>6</bitWidth>
  13534. <access>read-write</access>
  13535. </field>
  13536. <field>
  13537. <name>DTPS</name>
  13538. <description>Deadtime Prescaler Value</description>
  13539. <bitOffset>6</bitOffset>
  13540. <bitWidth>2</bitWidth>
  13541. <access>read-write</access>
  13542. <enumeratedValues>
  13543. <enumeratedValue>
  13544. <name>0x</name>
  13545. <description>Divide the system clock by 1.</description>
  13546. <value>#0x</value>
  13547. </enumeratedValue>
  13548. <enumeratedValue>
  13549. <name>10</name>
  13550. <description>Divide the system clock by 4.</description>
  13551. <value>#10</value>
  13552. </enumeratedValue>
  13553. <enumeratedValue>
  13554. <name>11</name>
  13555. <description>Divide the system clock by 16.</description>
  13556. <value>#11</value>
  13557. </enumeratedValue>
  13558. </enumeratedValues>
  13559. </field>
  13560. </fields>
  13561. </register>
  13562. <register>
  13563. <name>EXTTRIG</name>
  13564. <description>FTM External Trigger</description>
  13565. <addressOffset>0x6C</addressOffset>
  13566. <size>32</size>
  13567. <access>read-write</access>
  13568. <resetValue>0</resetValue>
  13569. <resetMask>0xFFFFFFFF</resetMask>
  13570. <fields>
  13571. <field>
  13572. <name>CH2TRIG</name>
  13573. <description>Channel 2 Trigger Enable</description>
  13574. <bitOffset>0</bitOffset>
  13575. <bitWidth>1</bitWidth>
  13576. <access>read-write</access>
  13577. <enumeratedValues>
  13578. <enumeratedValue>
  13579. <name>0</name>
  13580. <description>The generation of the channel trigger is disabled.</description>
  13581. <value>#0</value>
  13582. </enumeratedValue>
  13583. <enumeratedValue>
  13584. <name>1</name>
  13585. <description>The generation of the channel trigger is enabled.</description>
  13586. <value>#1</value>
  13587. </enumeratedValue>
  13588. </enumeratedValues>
  13589. </field>
  13590. <field>
  13591. <name>CH3TRIG</name>
  13592. <description>Channel 3 Trigger Enable</description>
  13593. <bitOffset>1</bitOffset>
  13594. <bitWidth>1</bitWidth>
  13595. <access>read-write</access>
  13596. <enumeratedValues>
  13597. <enumeratedValue>
  13598. <name>0</name>
  13599. <description>The generation of the channel trigger is disabled.</description>
  13600. <value>#0</value>
  13601. </enumeratedValue>
  13602. <enumeratedValue>
  13603. <name>1</name>
  13604. <description>The generation of the channel trigger is enabled.</description>
  13605. <value>#1</value>
  13606. </enumeratedValue>
  13607. </enumeratedValues>
  13608. </field>
  13609. <field>
  13610. <name>CH4TRIG</name>
  13611. <description>Channel 4 Trigger Enable</description>
  13612. <bitOffset>2</bitOffset>
  13613. <bitWidth>1</bitWidth>
  13614. <access>read-write</access>
  13615. <enumeratedValues>
  13616. <enumeratedValue>
  13617. <name>0</name>
  13618. <description>The generation of the channel trigger is disabled.</description>
  13619. <value>#0</value>
  13620. </enumeratedValue>
  13621. <enumeratedValue>
  13622. <name>1</name>
  13623. <description>The generation of the channel trigger is enabled.</description>
  13624. <value>#1</value>
  13625. </enumeratedValue>
  13626. </enumeratedValues>
  13627. </field>
  13628. <field>
  13629. <name>CH5TRIG</name>
  13630. <description>Channel 5 Trigger Enable</description>
  13631. <bitOffset>3</bitOffset>
  13632. <bitWidth>1</bitWidth>
  13633. <access>read-write</access>
  13634. <enumeratedValues>
  13635. <enumeratedValue>
  13636. <name>0</name>
  13637. <description>The generation of the channel trigger is disabled.</description>
  13638. <value>#0</value>
  13639. </enumeratedValue>
  13640. <enumeratedValue>
  13641. <name>1</name>
  13642. <description>The generation of the channel trigger is enabled.</description>
  13643. <value>#1</value>
  13644. </enumeratedValue>
  13645. </enumeratedValues>
  13646. </field>
  13647. <field>
  13648. <name>CH0TRIG</name>
  13649. <description>Channel 0 Trigger Enable</description>
  13650. <bitOffset>4</bitOffset>
  13651. <bitWidth>1</bitWidth>
  13652. <access>read-write</access>
  13653. <enumeratedValues>
  13654. <enumeratedValue>
  13655. <name>0</name>
  13656. <description>The generation of the channel trigger is disabled.</description>
  13657. <value>#0</value>
  13658. </enumeratedValue>
  13659. <enumeratedValue>
  13660. <name>1</name>
  13661. <description>The generation of the channel trigger is enabled.</description>
  13662. <value>#1</value>
  13663. </enumeratedValue>
  13664. </enumeratedValues>
  13665. </field>
  13666. <field>
  13667. <name>CH1TRIG</name>
  13668. <description>Channel 1 Trigger Enable</description>
  13669. <bitOffset>5</bitOffset>
  13670. <bitWidth>1</bitWidth>
  13671. <access>read-write</access>
  13672. <enumeratedValues>
  13673. <enumeratedValue>
  13674. <name>0</name>
  13675. <description>The generation of the channel trigger is disabled.</description>
  13676. <value>#0</value>
  13677. </enumeratedValue>
  13678. <enumeratedValue>
  13679. <name>1</name>
  13680. <description>The generation of the channel trigger is enabled.</description>
  13681. <value>#1</value>
  13682. </enumeratedValue>
  13683. </enumeratedValues>
  13684. </field>
  13685. <field>
  13686. <name>INITTRIGEN</name>
  13687. <description>Initialization Trigger Enable</description>
  13688. <bitOffset>6</bitOffset>
  13689. <bitWidth>1</bitWidth>
  13690. <access>read-write</access>
  13691. <enumeratedValues>
  13692. <enumeratedValue>
  13693. <name>0</name>
  13694. <description>The generation of initialization trigger is disabled.</description>
  13695. <value>#0</value>
  13696. </enumeratedValue>
  13697. <enumeratedValue>
  13698. <name>1</name>
  13699. <description>The generation of initialization trigger is enabled.</description>
  13700. <value>#1</value>
  13701. </enumeratedValue>
  13702. </enumeratedValues>
  13703. </field>
  13704. <field>
  13705. <name>TRIGF</name>
  13706. <description>Channel Trigger Flag</description>
  13707. <bitOffset>7</bitOffset>
  13708. <bitWidth>1</bitWidth>
  13709. <access>read-write</access>
  13710. <enumeratedValues>
  13711. <enumeratedValue>
  13712. <name>0</name>
  13713. <description>No channel trigger was generated.</description>
  13714. <value>#0</value>
  13715. </enumeratedValue>
  13716. <enumeratedValue>
  13717. <name>1</name>
  13718. <description>A channel trigger was generated.</description>
  13719. <value>#1</value>
  13720. </enumeratedValue>
  13721. </enumeratedValues>
  13722. </field>
  13723. </fields>
  13724. </register>
  13725. <register>
  13726. <name>POL</name>
  13727. <description>Channels Polarity</description>
  13728. <addressOffset>0x70</addressOffset>
  13729. <size>32</size>
  13730. <access>read-write</access>
  13731. <resetValue>0</resetValue>
  13732. <resetMask>0xFFFFFFFF</resetMask>
  13733. <fields>
  13734. <field>
  13735. <name>POL0</name>
  13736. <description>Channel 0 Polarity</description>
  13737. <bitOffset>0</bitOffset>
  13738. <bitWidth>1</bitWidth>
  13739. <access>read-write</access>
  13740. <enumeratedValues>
  13741. <enumeratedValue>
  13742. <name>0</name>
  13743. <description>The channel polarity is active high.</description>
  13744. <value>#0</value>
  13745. </enumeratedValue>
  13746. <enumeratedValue>
  13747. <name>1</name>
  13748. <description>The channel polarity is active low.</description>
  13749. <value>#1</value>
  13750. </enumeratedValue>
  13751. </enumeratedValues>
  13752. </field>
  13753. <field>
  13754. <name>POL1</name>
  13755. <description>Channel 1 Polarity</description>
  13756. <bitOffset>1</bitOffset>
  13757. <bitWidth>1</bitWidth>
  13758. <access>read-write</access>
  13759. <enumeratedValues>
  13760. <enumeratedValue>
  13761. <name>0</name>
  13762. <description>The channel polarity is active high.</description>
  13763. <value>#0</value>
  13764. </enumeratedValue>
  13765. <enumeratedValue>
  13766. <name>1</name>
  13767. <description>The channel polarity is active low.</description>
  13768. <value>#1</value>
  13769. </enumeratedValue>
  13770. </enumeratedValues>
  13771. </field>
  13772. <field>
  13773. <name>POL2</name>
  13774. <description>Channel 2 Polarity</description>
  13775. <bitOffset>2</bitOffset>
  13776. <bitWidth>1</bitWidth>
  13777. <access>read-write</access>
  13778. <enumeratedValues>
  13779. <enumeratedValue>
  13780. <name>0</name>
  13781. <description>The channel polarity is active high.</description>
  13782. <value>#0</value>
  13783. </enumeratedValue>
  13784. <enumeratedValue>
  13785. <name>1</name>
  13786. <description>The channel polarity is active low.</description>
  13787. <value>#1</value>
  13788. </enumeratedValue>
  13789. </enumeratedValues>
  13790. </field>
  13791. <field>
  13792. <name>POL3</name>
  13793. <description>Channel 3 Polarity</description>
  13794. <bitOffset>3</bitOffset>
  13795. <bitWidth>1</bitWidth>
  13796. <access>read-write</access>
  13797. <enumeratedValues>
  13798. <enumeratedValue>
  13799. <name>0</name>
  13800. <description>The channel polarity is active high.</description>
  13801. <value>#0</value>
  13802. </enumeratedValue>
  13803. <enumeratedValue>
  13804. <name>1</name>
  13805. <description>The channel polarity is active low.</description>
  13806. <value>#1</value>
  13807. </enumeratedValue>
  13808. </enumeratedValues>
  13809. </field>
  13810. <field>
  13811. <name>POL4</name>
  13812. <description>Channel 4 Polarity</description>
  13813. <bitOffset>4</bitOffset>
  13814. <bitWidth>1</bitWidth>
  13815. <access>read-write</access>
  13816. <enumeratedValues>
  13817. <enumeratedValue>
  13818. <name>0</name>
  13819. <description>The channel polarity is active high.</description>
  13820. <value>#0</value>
  13821. </enumeratedValue>
  13822. <enumeratedValue>
  13823. <name>1</name>
  13824. <description>The channel polarity is active low.</description>
  13825. <value>#1</value>
  13826. </enumeratedValue>
  13827. </enumeratedValues>
  13828. </field>
  13829. <field>
  13830. <name>POL5</name>
  13831. <description>Channel 5 Polarity</description>
  13832. <bitOffset>5</bitOffset>
  13833. <bitWidth>1</bitWidth>
  13834. <access>read-write</access>
  13835. <enumeratedValues>
  13836. <enumeratedValue>
  13837. <name>0</name>
  13838. <description>The channel polarity is active high.</description>
  13839. <value>#0</value>
  13840. </enumeratedValue>
  13841. <enumeratedValue>
  13842. <name>1</name>
  13843. <description>The channel polarity is active low.</description>
  13844. <value>#1</value>
  13845. </enumeratedValue>
  13846. </enumeratedValues>
  13847. </field>
  13848. <field>
  13849. <name>POL6</name>
  13850. <description>Channel 6 Polarity</description>
  13851. <bitOffset>6</bitOffset>
  13852. <bitWidth>1</bitWidth>
  13853. <access>read-write</access>
  13854. <enumeratedValues>
  13855. <enumeratedValue>
  13856. <name>0</name>
  13857. <description>The channel polarity is active high.</description>
  13858. <value>#0</value>
  13859. </enumeratedValue>
  13860. <enumeratedValue>
  13861. <name>1</name>
  13862. <description>The channel polarity is active low.</description>
  13863. <value>#1</value>
  13864. </enumeratedValue>
  13865. </enumeratedValues>
  13866. </field>
  13867. <field>
  13868. <name>POL7</name>
  13869. <description>Channel 7 Polarity</description>
  13870. <bitOffset>7</bitOffset>
  13871. <bitWidth>1</bitWidth>
  13872. <access>read-write</access>
  13873. <enumeratedValues>
  13874. <enumeratedValue>
  13875. <name>0</name>
  13876. <description>The channel polarity is active high.</description>
  13877. <value>#0</value>
  13878. </enumeratedValue>
  13879. <enumeratedValue>
  13880. <name>1</name>
  13881. <description>The channel polarity is active low.</description>
  13882. <value>#1</value>
  13883. </enumeratedValue>
  13884. </enumeratedValues>
  13885. </field>
  13886. </fields>
  13887. </register>
  13888. <register>
  13889. <name>FMS</name>
  13890. <description>Fault Mode Status</description>
  13891. <addressOffset>0x74</addressOffset>
  13892. <size>32</size>
  13893. <access>read-write</access>
  13894. <resetValue>0</resetValue>
  13895. <resetMask>0xFFFFFFFF</resetMask>
  13896. <fields>
  13897. <field>
  13898. <name>FAULTF0</name>
  13899. <description>Fault Detection Flag 0</description>
  13900. <bitOffset>0</bitOffset>
  13901. <bitWidth>1</bitWidth>
  13902. <access>read-only</access>
  13903. <enumeratedValues>
  13904. <enumeratedValue>
  13905. <name>0</name>
  13906. <description>No fault condition was detected at the fault input.</description>
  13907. <value>#0</value>
  13908. </enumeratedValue>
  13909. <enumeratedValue>
  13910. <name>1</name>
  13911. <description>A fault condition was detected at the fault input.</description>
  13912. <value>#1</value>
  13913. </enumeratedValue>
  13914. </enumeratedValues>
  13915. </field>
  13916. <field>
  13917. <name>FAULTF1</name>
  13918. <description>Fault Detection Flag 1</description>
  13919. <bitOffset>1</bitOffset>
  13920. <bitWidth>1</bitWidth>
  13921. <access>read-only</access>
  13922. <enumeratedValues>
  13923. <enumeratedValue>
  13924. <name>0</name>
  13925. <description>No fault condition was detected at the fault input.</description>
  13926. <value>#0</value>
  13927. </enumeratedValue>
  13928. <enumeratedValue>
  13929. <name>1</name>
  13930. <description>A fault condition was detected at the fault input.</description>
  13931. <value>#1</value>
  13932. </enumeratedValue>
  13933. </enumeratedValues>
  13934. </field>
  13935. <field>
  13936. <name>FAULTF2</name>
  13937. <description>Fault Detection Flag 2</description>
  13938. <bitOffset>2</bitOffset>
  13939. <bitWidth>1</bitWidth>
  13940. <access>read-only</access>
  13941. <enumeratedValues>
  13942. <enumeratedValue>
  13943. <name>0</name>
  13944. <description>No fault condition was detected at the fault input.</description>
  13945. <value>#0</value>
  13946. </enumeratedValue>
  13947. <enumeratedValue>
  13948. <name>1</name>
  13949. <description>A fault condition was detected at the fault input.</description>
  13950. <value>#1</value>
  13951. </enumeratedValue>
  13952. </enumeratedValues>
  13953. </field>
  13954. <field>
  13955. <name>FAULTF3</name>
  13956. <description>Fault Detection Flag 3</description>
  13957. <bitOffset>3</bitOffset>
  13958. <bitWidth>1</bitWidth>
  13959. <access>read-only</access>
  13960. <enumeratedValues>
  13961. <enumeratedValue>
  13962. <name>0</name>
  13963. <description>No fault condition was detected at the fault input.</description>
  13964. <value>#0</value>
  13965. </enumeratedValue>
  13966. <enumeratedValue>
  13967. <name>1</name>
  13968. <description>A fault condition was detected at the fault input.</description>
  13969. <value>#1</value>
  13970. </enumeratedValue>
  13971. </enumeratedValues>
  13972. </field>
  13973. <field>
  13974. <name>FAULTIN</name>
  13975. <description>Fault Inputs</description>
  13976. <bitOffset>5</bitOffset>
  13977. <bitWidth>1</bitWidth>
  13978. <access>read-only</access>
  13979. <enumeratedValues>
  13980. <enumeratedValue>
  13981. <name>0</name>
  13982. <description>The logic OR of the enabled fault inputs is 0.</description>
  13983. <value>#0</value>
  13984. </enumeratedValue>
  13985. <enumeratedValue>
  13986. <name>1</name>
  13987. <description>The logic OR of the enabled fault inputs is 1.</description>
  13988. <value>#1</value>
  13989. </enumeratedValue>
  13990. </enumeratedValues>
  13991. </field>
  13992. <field>
  13993. <name>WPEN</name>
  13994. <description>Write Protection Enable</description>
  13995. <bitOffset>6</bitOffset>
  13996. <bitWidth>1</bitWidth>
  13997. <access>read-write</access>
  13998. <enumeratedValues>
  13999. <enumeratedValue>
  14000. <name>0</name>
  14001. <description>Write protection is disabled. Write protected bits can be written.</description>
  14002. <value>#0</value>
  14003. </enumeratedValue>
  14004. <enumeratedValue>
  14005. <name>1</name>
  14006. <description>Write protection is enabled. Write protected bits cannot be written.</description>
  14007. <value>#1</value>
  14008. </enumeratedValue>
  14009. </enumeratedValues>
  14010. </field>
  14011. <field>
  14012. <name>FAULTF</name>
  14013. <description>Fault Detection Flag</description>
  14014. <bitOffset>7</bitOffset>
  14015. <bitWidth>1</bitWidth>
  14016. <access>read-only</access>
  14017. <enumeratedValues>
  14018. <enumeratedValue>
  14019. <name>0</name>
  14020. <description>No fault condition was detected.</description>
  14021. <value>#0</value>
  14022. </enumeratedValue>
  14023. <enumeratedValue>
  14024. <name>1</name>
  14025. <description>A fault condition was detected.</description>
  14026. <value>#1</value>
  14027. </enumeratedValue>
  14028. </enumeratedValues>
  14029. </field>
  14030. </fields>
  14031. </register>
  14032. <register>
  14033. <name>FILTER</name>
  14034. <description>Input Capture Filter Control</description>
  14035. <addressOffset>0x78</addressOffset>
  14036. <size>32</size>
  14037. <access>read-write</access>
  14038. <resetValue>0</resetValue>
  14039. <resetMask>0xFFFFFFFF</resetMask>
  14040. <fields>
  14041. <field>
  14042. <name>CH0FVAL</name>
  14043. <description>Channel 0 Input Filter</description>
  14044. <bitOffset>0</bitOffset>
  14045. <bitWidth>4</bitWidth>
  14046. <access>read-write</access>
  14047. </field>
  14048. <field>
  14049. <name>CH1FVAL</name>
  14050. <description>Channel 1 Input Filter</description>
  14051. <bitOffset>4</bitOffset>
  14052. <bitWidth>4</bitWidth>
  14053. <access>read-write</access>
  14054. </field>
  14055. <field>
  14056. <name>CH2FVAL</name>
  14057. <description>Channel 2 Input Filter</description>
  14058. <bitOffset>8</bitOffset>
  14059. <bitWidth>4</bitWidth>
  14060. <access>read-write</access>
  14061. </field>
  14062. <field>
  14063. <name>CH3FVAL</name>
  14064. <description>Channel 3 Input Filter</description>
  14065. <bitOffset>12</bitOffset>
  14066. <bitWidth>4</bitWidth>
  14067. <access>read-write</access>
  14068. </field>
  14069. </fields>
  14070. </register>
  14071. <register>
  14072. <name>FLTCTRL</name>
  14073. <description>Fault Control</description>
  14074. <addressOffset>0x7C</addressOffset>
  14075. <size>32</size>
  14076. <access>read-write</access>
  14077. <resetValue>0</resetValue>
  14078. <resetMask>0xFFFFFFFF</resetMask>
  14079. <fields>
  14080. <field>
  14081. <name>FAULT0EN</name>
  14082. <description>Fault Input 0 Enable</description>
  14083. <bitOffset>0</bitOffset>
  14084. <bitWidth>1</bitWidth>
  14085. <access>read-write</access>
  14086. <enumeratedValues>
  14087. <enumeratedValue>
  14088. <name>0</name>
  14089. <description>Fault input is disabled.</description>
  14090. <value>#0</value>
  14091. </enumeratedValue>
  14092. <enumeratedValue>
  14093. <name>1</name>
  14094. <description>Fault input is enabled.</description>
  14095. <value>#1</value>
  14096. </enumeratedValue>
  14097. </enumeratedValues>
  14098. </field>
  14099. <field>
  14100. <name>FAULT1EN</name>
  14101. <description>Fault Input 1 Enable</description>
  14102. <bitOffset>1</bitOffset>
  14103. <bitWidth>1</bitWidth>
  14104. <access>read-write</access>
  14105. <enumeratedValues>
  14106. <enumeratedValue>
  14107. <name>0</name>
  14108. <description>Fault input is disabled.</description>
  14109. <value>#0</value>
  14110. </enumeratedValue>
  14111. <enumeratedValue>
  14112. <name>1</name>
  14113. <description>Fault input is enabled.</description>
  14114. <value>#1</value>
  14115. </enumeratedValue>
  14116. </enumeratedValues>
  14117. </field>
  14118. <field>
  14119. <name>FAULT2EN</name>
  14120. <description>Fault Input 2 Enable</description>
  14121. <bitOffset>2</bitOffset>
  14122. <bitWidth>1</bitWidth>
  14123. <access>read-write</access>
  14124. <enumeratedValues>
  14125. <enumeratedValue>
  14126. <name>0</name>
  14127. <description>Fault input is disabled.</description>
  14128. <value>#0</value>
  14129. </enumeratedValue>
  14130. <enumeratedValue>
  14131. <name>1</name>
  14132. <description>Fault input is enabled.</description>
  14133. <value>#1</value>
  14134. </enumeratedValue>
  14135. </enumeratedValues>
  14136. </field>
  14137. <field>
  14138. <name>FAULT3EN</name>
  14139. <description>Fault Input 3 Enable</description>
  14140. <bitOffset>3</bitOffset>
  14141. <bitWidth>1</bitWidth>
  14142. <access>read-write</access>
  14143. <enumeratedValues>
  14144. <enumeratedValue>
  14145. <name>0</name>
  14146. <description>Fault input is disabled.</description>
  14147. <value>#0</value>
  14148. </enumeratedValue>
  14149. <enumeratedValue>
  14150. <name>1</name>
  14151. <description>Fault input is enabled.</description>
  14152. <value>#1</value>
  14153. </enumeratedValue>
  14154. </enumeratedValues>
  14155. </field>
  14156. <field>
  14157. <name>FFLTR0EN</name>
  14158. <description>Fault Input 0 Filter Enable</description>
  14159. <bitOffset>4</bitOffset>
  14160. <bitWidth>1</bitWidth>
  14161. <access>read-write</access>
  14162. <enumeratedValues>
  14163. <enumeratedValue>
  14164. <name>0</name>
  14165. <description>Fault input filter is disabled.</description>
  14166. <value>#0</value>
  14167. </enumeratedValue>
  14168. <enumeratedValue>
  14169. <name>1</name>
  14170. <description>Fault input filter is enabled.</description>
  14171. <value>#1</value>
  14172. </enumeratedValue>
  14173. </enumeratedValues>
  14174. </field>
  14175. <field>
  14176. <name>FFLTR1EN</name>
  14177. <description>Fault Input 1 Filter Enable</description>
  14178. <bitOffset>5</bitOffset>
  14179. <bitWidth>1</bitWidth>
  14180. <access>read-write</access>
  14181. <enumeratedValues>
  14182. <enumeratedValue>
  14183. <name>0</name>
  14184. <description>Fault input filter is disabled.</description>
  14185. <value>#0</value>
  14186. </enumeratedValue>
  14187. <enumeratedValue>
  14188. <name>1</name>
  14189. <description>Fault input filter is enabled.</description>
  14190. <value>#1</value>
  14191. </enumeratedValue>
  14192. </enumeratedValues>
  14193. </field>
  14194. <field>
  14195. <name>FFLTR2EN</name>
  14196. <description>Fault Input 2 Filter Enable</description>
  14197. <bitOffset>6</bitOffset>
  14198. <bitWidth>1</bitWidth>
  14199. <access>read-write</access>
  14200. <enumeratedValues>
  14201. <enumeratedValue>
  14202. <name>0</name>
  14203. <description>Fault input filter is disabled.</description>
  14204. <value>#0</value>
  14205. </enumeratedValue>
  14206. <enumeratedValue>
  14207. <name>1</name>
  14208. <description>Fault input filter is enabled.</description>
  14209. <value>#1</value>
  14210. </enumeratedValue>
  14211. </enumeratedValues>
  14212. </field>
  14213. <field>
  14214. <name>FFLTR3EN</name>
  14215. <description>Fault Input 3 Filter Enable</description>
  14216. <bitOffset>7</bitOffset>
  14217. <bitWidth>1</bitWidth>
  14218. <access>read-write</access>
  14219. <enumeratedValues>
  14220. <enumeratedValue>
  14221. <name>0</name>
  14222. <description>Fault input filter is disabled.</description>
  14223. <value>#0</value>
  14224. </enumeratedValue>
  14225. <enumeratedValue>
  14226. <name>1</name>
  14227. <description>Fault input filter is enabled.</description>
  14228. <value>#1</value>
  14229. </enumeratedValue>
  14230. </enumeratedValues>
  14231. </field>
  14232. <field>
  14233. <name>FFVAL</name>
  14234. <description>Fault Input Filter</description>
  14235. <bitOffset>8</bitOffset>
  14236. <bitWidth>4</bitWidth>
  14237. <access>read-write</access>
  14238. </field>
  14239. </fields>
  14240. </register>
  14241. <register>
  14242. <name>QDCTRL</name>
  14243. <description>Quadrature Decoder Control and Status</description>
  14244. <addressOffset>0x80</addressOffset>
  14245. <size>32</size>
  14246. <access>read-write</access>
  14247. <resetValue>0</resetValue>
  14248. <resetMask>0xFFFFFFFF</resetMask>
  14249. <fields>
  14250. <field>
  14251. <name>QUADEN</name>
  14252. <description>Quadrature Decoder Mode Enable</description>
  14253. <bitOffset>0</bitOffset>
  14254. <bitWidth>1</bitWidth>
  14255. <access>read-write</access>
  14256. <enumeratedValues>
  14257. <enumeratedValue>
  14258. <name>0</name>
  14259. <description>Quadrature decoder mode is disabled.</description>
  14260. <value>#0</value>
  14261. </enumeratedValue>
  14262. <enumeratedValue>
  14263. <name>1</name>
  14264. <description>Quadrature decoder mode is enabled.</description>
  14265. <value>#1</value>
  14266. </enumeratedValue>
  14267. </enumeratedValues>
  14268. </field>
  14269. <field>
  14270. <name>TOFDIR</name>
  14271. <description>Timer Overflow Direction in Quadrature Decoder Mode</description>
  14272. <bitOffset>1</bitOffset>
  14273. <bitWidth>1</bitWidth>
  14274. <access>read-only</access>
  14275. <enumeratedValues>
  14276. <enumeratedValue>
  14277. <name>0</name>
  14278. <description>TOF bit was set on the bottom of counting. There was an FTM counter decrement and FTM counter changes from its minimum value (CNTIN register) to its maximum value (MOD register).</description>
  14279. <value>#0</value>
  14280. </enumeratedValue>
  14281. <enumeratedValue>
  14282. <name>1</name>
  14283. <description>TOF bit was set on the top of counting. There was an FTM counter increment and FTM counter changes from its maximum value (MOD register) to its minimum value (CNTIN register).</description>
  14284. <value>#1</value>
  14285. </enumeratedValue>
  14286. </enumeratedValues>
  14287. </field>
  14288. <field>
  14289. <name>QUADIR</name>
  14290. <description>FTM Counter Direction in Quadrature Decoder Mode</description>
  14291. <bitOffset>2</bitOffset>
  14292. <bitWidth>1</bitWidth>
  14293. <access>read-only</access>
  14294. <enumeratedValues>
  14295. <enumeratedValue>
  14296. <name>0</name>
  14297. <description>Counting direction is decreasing (FTM counter decrement).</description>
  14298. <value>#0</value>
  14299. </enumeratedValue>
  14300. <enumeratedValue>
  14301. <name>1</name>
  14302. <description>Counting direction is increasing (FTM counter increment).</description>
  14303. <value>#1</value>
  14304. </enumeratedValue>
  14305. </enumeratedValues>
  14306. </field>
  14307. <field>
  14308. <name>QUADMODE</name>
  14309. <description>Quadrature Decoder Mode</description>
  14310. <bitOffset>3</bitOffset>
  14311. <bitWidth>1</bitWidth>
  14312. <access>read-write</access>
  14313. <enumeratedValues>
  14314. <enumeratedValue>
  14315. <name>0</name>
  14316. <description>Phase A and phase B encoding mode.</description>
  14317. <value>#0</value>
  14318. </enumeratedValue>
  14319. <enumeratedValue>
  14320. <name>1</name>
  14321. <description>Count and direction encoding mode.</description>
  14322. <value>#1</value>
  14323. </enumeratedValue>
  14324. </enumeratedValues>
  14325. </field>
  14326. <field>
  14327. <name>PHBPOL</name>
  14328. <description>Phase B Input Polarity</description>
  14329. <bitOffset>4</bitOffset>
  14330. <bitWidth>1</bitWidth>
  14331. <access>read-write</access>
  14332. <enumeratedValues>
  14333. <enumeratedValue>
  14334. <name>0</name>
  14335. <description>Normal polarity. Phase B input signal is not inverted before identifying the rising and falling edges of this signal.</description>
  14336. <value>#0</value>
  14337. </enumeratedValue>
  14338. <enumeratedValue>
  14339. <name>1</name>
  14340. <description>Inverted polarity. Phase B input signal is inverted before identifying the rising and falling edges of this signal.</description>
  14341. <value>#1</value>
  14342. </enumeratedValue>
  14343. </enumeratedValues>
  14344. </field>
  14345. <field>
  14346. <name>PHAPOL</name>
  14347. <description>Phase A Input Polarity</description>
  14348. <bitOffset>5</bitOffset>
  14349. <bitWidth>1</bitWidth>
  14350. <access>read-write</access>
  14351. <enumeratedValues>
  14352. <enumeratedValue>
  14353. <name>0</name>
  14354. <description>Normal polarity. Phase A input signal is not inverted before identifying the rising and falling edges of this signal.</description>
  14355. <value>#0</value>
  14356. </enumeratedValue>
  14357. <enumeratedValue>
  14358. <name>1</name>
  14359. <description>Inverted polarity. Phase A input signal is inverted before identifying the rising and falling edges of this signal.</description>
  14360. <value>#1</value>
  14361. </enumeratedValue>
  14362. </enumeratedValues>
  14363. </field>
  14364. <field>
  14365. <name>PHBFLTREN</name>
  14366. <description>Phase B Input Filter Enable</description>
  14367. <bitOffset>6</bitOffset>
  14368. <bitWidth>1</bitWidth>
  14369. <access>read-write</access>
  14370. <enumeratedValues>
  14371. <enumeratedValue>
  14372. <name>0</name>
  14373. <description>Phase B input filter is disabled.</description>
  14374. <value>#0</value>
  14375. </enumeratedValue>
  14376. <enumeratedValue>
  14377. <name>1</name>
  14378. <description>Phase B input filter is enabled.</description>
  14379. <value>#1</value>
  14380. </enumeratedValue>
  14381. </enumeratedValues>
  14382. </field>
  14383. <field>
  14384. <name>PHAFLTREN</name>
  14385. <description>Phase A Input Filter Enable</description>
  14386. <bitOffset>7</bitOffset>
  14387. <bitWidth>1</bitWidth>
  14388. <access>read-write</access>
  14389. <enumeratedValues>
  14390. <enumeratedValue>
  14391. <name>0</name>
  14392. <description>Phase A input filter is disabled.</description>
  14393. <value>#0</value>
  14394. </enumeratedValue>
  14395. <enumeratedValue>
  14396. <name>1</name>
  14397. <description>Phase A input filter is enabled.</description>
  14398. <value>#1</value>
  14399. </enumeratedValue>
  14400. </enumeratedValues>
  14401. </field>
  14402. </fields>
  14403. </register>
  14404. <register>
  14405. <name>CONF</name>
  14406. <description>Configuration</description>
  14407. <addressOffset>0x84</addressOffset>
  14408. <size>32</size>
  14409. <access>read-write</access>
  14410. <resetValue>0</resetValue>
  14411. <resetMask>0xFFFFFFFF</resetMask>
  14412. <fields>
  14413. <field>
  14414. <name>NUMTOF</name>
  14415. <description>TOF Frequency</description>
  14416. <bitOffset>0</bitOffset>
  14417. <bitWidth>5</bitWidth>
  14418. <access>read-write</access>
  14419. </field>
  14420. <field>
  14421. <name>BDMMODE</name>
  14422. <description>BDM Mode</description>
  14423. <bitOffset>6</bitOffset>
  14424. <bitWidth>2</bitWidth>
  14425. <access>read-write</access>
  14426. </field>
  14427. <field>
  14428. <name>GTBEEN</name>
  14429. <description>Global time base enable</description>
  14430. <bitOffset>9</bitOffset>
  14431. <bitWidth>1</bitWidth>
  14432. <access>read-write</access>
  14433. <enumeratedValues>
  14434. <enumeratedValue>
  14435. <name>0</name>
  14436. <description>Use of an external global time base is disabled.</description>
  14437. <value>#0</value>
  14438. </enumeratedValue>
  14439. <enumeratedValue>
  14440. <name>1</name>
  14441. <description>Use of an external global time base is enabled.</description>
  14442. <value>#1</value>
  14443. </enumeratedValue>
  14444. </enumeratedValues>
  14445. </field>
  14446. <field>
  14447. <name>GTBEOUT</name>
  14448. <description>Global time base output</description>
  14449. <bitOffset>10</bitOffset>
  14450. <bitWidth>1</bitWidth>
  14451. <access>read-write</access>
  14452. <enumeratedValues>
  14453. <enumeratedValue>
  14454. <name>0</name>
  14455. <description>A global time base signal generation is disabled.</description>
  14456. <value>#0</value>
  14457. </enumeratedValue>
  14458. <enumeratedValue>
  14459. <name>1</name>
  14460. <description>A global time base signal generation is enabled.</description>
  14461. <value>#1</value>
  14462. </enumeratedValue>
  14463. </enumeratedValues>
  14464. </field>
  14465. </fields>
  14466. </register>
  14467. <register>
  14468. <name>FLTPOL</name>
  14469. <description>FTM Fault Input Polarity</description>
  14470. <addressOffset>0x88</addressOffset>
  14471. <size>32</size>
  14472. <access>read-write</access>
  14473. <resetValue>0</resetValue>
  14474. <resetMask>0xFFFFFFFF</resetMask>
  14475. <fields>
  14476. <field>
  14477. <name>FLT0POL</name>
  14478. <description>Fault Input 0 Polarity</description>
  14479. <bitOffset>0</bitOffset>
  14480. <bitWidth>1</bitWidth>
  14481. <access>read-write</access>
  14482. <enumeratedValues>
  14483. <enumeratedValue>
  14484. <name>0</name>
  14485. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  14486. <value>#0</value>
  14487. </enumeratedValue>
  14488. <enumeratedValue>
  14489. <name>1</name>
  14490. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  14491. <value>#1</value>
  14492. </enumeratedValue>
  14493. </enumeratedValues>
  14494. </field>
  14495. <field>
  14496. <name>FLT1POL</name>
  14497. <description>Fault Input 1 Polarity</description>
  14498. <bitOffset>1</bitOffset>
  14499. <bitWidth>1</bitWidth>
  14500. <access>read-write</access>
  14501. <enumeratedValues>
  14502. <enumeratedValue>
  14503. <name>0</name>
  14504. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  14505. <value>#0</value>
  14506. </enumeratedValue>
  14507. <enumeratedValue>
  14508. <name>1</name>
  14509. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  14510. <value>#1</value>
  14511. </enumeratedValue>
  14512. </enumeratedValues>
  14513. </field>
  14514. <field>
  14515. <name>FLT2POL</name>
  14516. <description>Fault Input 2 Polarity</description>
  14517. <bitOffset>2</bitOffset>
  14518. <bitWidth>1</bitWidth>
  14519. <access>read-write</access>
  14520. <enumeratedValues>
  14521. <enumeratedValue>
  14522. <name>0</name>
  14523. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  14524. <value>#0</value>
  14525. </enumeratedValue>
  14526. <enumeratedValue>
  14527. <name>1</name>
  14528. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  14529. <value>#1</value>
  14530. </enumeratedValue>
  14531. </enumeratedValues>
  14532. </field>
  14533. <field>
  14534. <name>FLT3POL</name>
  14535. <description>Fault Input 3 Polarity</description>
  14536. <bitOffset>3</bitOffset>
  14537. <bitWidth>1</bitWidth>
  14538. <access>read-write</access>
  14539. <enumeratedValues>
  14540. <enumeratedValue>
  14541. <name>0</name>
  14542. <description>The fault input polarity is active high. A one at the fault input indicates a fault.</description>
  14543. <value>#0</value>
  14544. </enumeratedValue>
  14545. <enumeratedValue>
  14546. <name>1</name>
  14547. <description>The fault input polarity is active low. A zero at the fault input indicates a fault.</description>
  14548. <value>#1</value>
  14549. </enumeratedValue>
  14550. </enumeratedValues>
  14551. </field>
  14552. </fields>
  14553. </register>
  14554. <register>
  14555. <name>SYNCONF</name>
  14556. <description>Synchronization Configuration</description>
  14557. <addressOffset>0x8C</addressOffset>
  14558. <size>32</size>
  14559. <access>read-write</access>
  14560. <resetValue>0</resetValue>
  14561. <resetMask>0xFFFFFFFF</resetMask>
  14562. <fields>
  14563. <field>
  14564. <name>HWTRIGMODE</name>
  14565. <description>Hardware Trigger Mode</description>
  14566. <bitOffset>0</bitOffset>
  14567. <bitWidth>1</bitWidth>
  14568. <access>read-write</access>
  14569. <enumeratedValues>
  14570. <enumeratedValue>
  14571. <name>0</name>
  14572. <description>FTM clears the TRIGj bit when the hardware trigger j is detected.</description>
  14573. <value>#0</value>
  14574. </enumeratedValue>
  14575. <enumeratedValue>
  14576. <name>1</name>
  14577. <description>FTM does not clear the TRIGj bit when the hardware trigger j is detected.</description>
  14578. <value>#1</value>
  14579. </enumeratedValue>
  14580. </enumeratedValues>
  14581. </field>
  14582. <field>
  14583. <name>CNTINC</name>
  14584. <description>CNTIN register synchronization</description>
  14585. <bitOffset>2</bitOffset>
  14586. <bitWidth>1</bitWidth>
  14587. <access>read-write</access>
  14588. <enumeratedValues>
  14589. <enumeratedValue>
  14590. <name>0</name>
  14591. <description>CNTIN register is updated with its buffer value at all rising edges of system clock.</description>
  14592. <value>#0</value>
  14593. </enumeratedValue>
  14594. <enumeratedValue>
  14595. <name>1</name>
  14596. <description>CNTIN register is updated with its buffer value by the PWM synchronization.</description>
  14597. <value>#1</value>
  14598. </enumeratedValue>
  14599. </enumeratedValues>
  14600. </field>
  14601. <field>
  14602. <name>INVC</name>
  14603. <description>INVCTRL register synchronization</description>
  14604. <bitOffset>4</bitOffset>
  14605. <bitWidth>1</bitWidth>
  14606. <access>read-write</access>
  14607. <enumeratedValues>
  14608. <enumeratedValue>
  14609. <name>0</name>
  14610. <description>INVCTRL register is updated with its buffer value at all rising edges of system clock.</description>
  14611. <value>#0</value>
  14612. </enumeratedValue>
  14613. <enumeratedValue>
  14614. <name>1</name>
  14615. <description>INVCTRL register is updated with its buffer value by the PWM synchronization.</description>
  14616. <value>#1</value>
  14617. </enumeratedValue>
  14618. </enumeratedValues>
  14619. </field>
  14620. <field>
  14621. <name>SWOC</name>
  14622. <description>SWOCTRL register synchronization</description>
  14623. <bitOffset>5</bitOffset>
  14624. <bitWidth>1</bitWidth>
  14625. <access>read-write</access>
  14626. <enumeratedValues>
  14627. <enumeratedValue>
  14628. <name>0</name>
  14629. <description>SWOCTRL register is updated with its buffer value at all rising edges of system clock.</description>
  14630. <value>#0</value>
  14631. </enumeratedValue>
  14632. <enumeratedValue>
  14633. <name>1</name>
  14634. <description>SWOCTRL register is updated with its buffer value by the PWM synchronization.</description>
  14635. <value>#1</value>
  14636. </enumeratedValue>
  14637. </enumeratedValues>
  14638. </field>
  14639. <field>
  14640. <name>SYNCMODE</name>
  14641. <description>Synchronization Mode</description>
  14642. <bitOffset>7</bitOffset>
  14643. <bitWidth>1</bitWidth>
  14644. <access>read-write</access>
  14645. <enumeratedValues>
  14646. <enumeratedValue>
  14647. <name>0</name>
  14648. <description>Legacy PWM synchronization is selected.</description>
  14649. <value>#0</value>
  14650. </enumeratedValue>
  14651. <enumeratedValue>
  14652. <name>1</name>
  14653. <description>Enhanced PWM synchronization is selected.</description>
  14654. <value>#1</value>
  14655. </enumeratedValue>
  14656. </enumeratedValues>
  14657. </field>
  14658. <field>
  14659. <name>SWRSTCNT</name>
  14660. <description>FTM counter synchronization is activated by the software trigger.</description>
  14661. <bitOffset>8</bitOffset>
  14662. <bitWidth>1</bitWidth>
  14663. <access>read-write</access>
  14664. <enumeratedValues>
  14665. <enumeratedValue>
  14666. <name>0</name>
  14667. <description>The software trigger does not activate the FTM counter synchronization.</description>
  14668. <value>#0</value>
  14669. </enumeratedValue>
  14670. <enumeratedValue>
  14671. <name>1</name>
  14672. <description>The software trigger activates the FTM counter synchronization.</description>
  14673. <value>#1</value>
  14674. </enumeratedValue>
  14675. </enumeratedValues>
  14676. </field>
  14677. <field>
  14678. <name>SWWRBUF</name>
  14679. <description>MOD, CNTIN, and CV registers synchronization is activated by the software trigger.</description>
  14680. <bitOffset>9</bitOffset>
  14681. <bitWidth>1</bitWidth>
  14682. <access>read-write</access>
  14683. <enumeratedValues>
  14684. <enumeratedValue>
  14685. <name>0</name>
  14686. <description>The software trigger does not activate MOD, CNTIN, and CV registers synchronization.</description>
  14687. <value>#0</value>
  14688. </enumeratedValue>
  14689. <enumeratedValue>
  14690. <name>1</name>
  14691. <description>The software trigger activates MOD, CNTIN, and CV registers synchronization.</description>
  14692. <value>#1</value>
  14693. </enumeratedValue>
  14694. </enumeratedValues>
  14695. </field>
  14696. <field>
  14697. <name>SWOM</name>
  14698. <description>Output mask synchronization is activated by the software trigger.</description>
  14699. <bitOffset>10</bitOffset>
  14700. <bitWidth>1</bitWidth>
  14701. <access>read-write</access>
  14702. <enumeratedValues>
  14703. <enumeratedValue>
  14704. <name>0</name>
  14705. <description>The software trigger does not activate the OUTMASK register synchronization.</description>
  14706. <value>#0</value>
  14707. </enumeratedValue>
  14708. <enumeratedValue>
  14709. <name>1</name>
  14710. <description>The software trigger activates the OUTMASK register synchronization.</description>
  14711. <value>#1</value>
  14712. </enumeratedValue>
  14713. </enumeratedValues>
  14714. </field>
  14715. <field>
  14716. <name>SWINVC</name>
  14717. <description>Inverting control synchronization is activated by the software trigger.</description>
  14718. <bitOffset>11</bitOffset>
  14719. <bitWidth>1</bitWidth>
  14720. <access>read-write</access>
  14721. <enumeratedValues>
  14722. <enumeratedValue>
  14723. <name>0</name>
  14724. <description>The software trigger does not activate the INVCTRL register synchronization.</description>
  14725. <value>#0</value>
  14726. </enumeratedValue>
  14727. <enumeratedValue>
  14728. <name>1</name>
  14729. <description>The software trigger activates the INVCTRL register synchronization.</description>
  14730. <value>#1</value>
  14731. </enumeratedValue>
  14732. </enumeratedValues>
  14733. </field>
  14734. <field>
  14735. <name>SWSOC</name>
  14736. <description>Software output control synchronization is activated by the software trigger.</description>
  14737. <bitOffset>12</bitOffset>
  14738. <bitWidth>1</bitWidth>
  14739. <access>read-write</access>
  14740. <enumeratedValues>
  14741. <enumeratedValue>
  14742. <name>0</name>
  14743. <description>The software trigger does not activate the SWOCTRL register synchronization.</description>
  14744. <value>#0</value>
  14745. </enumeratedValue>
  14746. <enumeratedValue>
  14747. <name>1</name>
  14748. <description>The software trigger activates the SWOCTRL register synchronization.</description>
  14749. <value>#1</value>
  14750. </enumeratedValue>
  14751. </enumeratedValues>
  14752. </field>
  14753. <field>
  14754. <name>HWRSTCNT</name>
  14755. <description>FTM counter synchronization is activated by a hardware trigger.</description>
  14756. <bitOffset>16</bitOffset>
  14757. <bitWidth>1</bitWidth>
  14758. <access>read-write</access>
  14759. <enumeratedValues>
  14760. <enumeratedValue>
  14761. <name>0</name>
  14762. <description>A hardware trigger does not activate the FTM counter synchronization.</description>
  14763. <value>#0</value>
  14764. </enumeratedValue>
  14765. <enumeratedValue>
  14766. <name>1</name>
  14767. <description>A hardware trigger activates the FTM counter synchronization.</description>
  14768. <value>#1</value>
  14769. </enumeratedValue>
  14770. </enumeratedValues>
  14771. </field>
  14772. <field>
  14773. <name>HWWRBUF</name>
  14774. <description>MOD, CNTIN, and CV registers synchronization is activated by a hardware trigger.</description>
  14775. <bitOffset>17</bitOffset>
  14776. <bitWidth>1</bitWidth>
  14777. <access>read-write</access>
  14778. <enumeratedValues>
  14779. <enumeratedValue>
  14780. <name>0</name>
  14781. <description>A hardware trigger does not activate MOD, CNTIN, and CV registers synchronization.</description>
  14782. <value>#0</value>
  14783. </enumeratedValue>
  14784. <enumeratedValue>
  14785. <name>1</name>
  14786. <description>A hardware trigger activates MOD, CNTIN, and CV registers synchronization.</description>
  14787. <value>#1</value>
  14788. </enumeratedValue>
  14789. </enumeratedValues>
  14790. </field>
  14791. <field>
  14792. <name>HWOM</name>
  14793. <description>Output mask synchronization is activated by a hardware trigger.</description>
  14794. <bitOffset>18</bitOffset>
  14795. <bitWidth>1</bitWidth>
  14796. <access>read-write</access>
  14797. <enumeratedValues>
  14798. <enumeratedValue>
  14799. <name>0</name>
  14800. <description>A hardware trigger does not activate the OUTMASK register synchronization.</description>
  14801. <value>#0</value>
  14802. </enumeratedValue>
  14803. <enumeratedValue>
  14804. <name>1</name>
  14805. <description>A hardware trigger activates the OUTMASK register synchronization.</description>
  14806. <value>#1</value>
  14807. </enumeratedValue>
  14808. </enumeratedValues>
  14809. </field>
  14810. <field>
  14811. <name>HWINVC</name>
  14812. <description>Inverting control synchronization is activated by a hardware trigger.</description>
  14813. <bitOffset>19</bitOffset>
  14814. <bitWidth>1</bitWidth>
  14815. <access>read-write</access>
  14816. <enumeratedValues>
  14817. <enumeratedValue>
  14818. <name>0</name>
  14819. <description>A hardware trigger does not activate the INVCTRL register synchronization.</description>
  14820. <value>#0</value>
  14821. </enumeratedValue>
  14822. <enumeratedValue>
  14823. <name>1</name>
  14824. <description>A hardware trigger activates the INVCTRL register synchronization.</description>
  14825. <value>#1</value>
  14826. </enumeratedValue>
  14827. </enumeratedValues>
  14828. </field>
  14829. <field>
  14830. <name>HWSOC</name>
  14831. <description>Software output control synchronization is activated by a hardware trigger.</description>
  14832. <bitOffset>20</bitOffset>
  14833. <bitWidth>1</bitWidth>
  14834. <access>read-write</access>
  14835. <enumeratedValues>
  14836. <enumeratedValue>
  14837. <name>0</name>
  14838. <description>A hardware trigger does not activate the SWOCTRL register synchronization.</description>
  14839. <value>#0</value>
  14840. </enumeratedValue>
  14841. <enumeratedValue>
  14842. <name>1</name>
  14843. <description>A hardware trigger activates the SWOCTRL register synchronization.</description>
  14844. <value>#1</value>
  14845. </enumeratedValue>
  14846. </enumeratedValues>
  14847. </field>
  14848. </fields>
  14849. </register>
  14850. <register>
  14851. <name>INVCTRL</name>
  14852. <description>FTM Inverting Control</description>
  14853. <addressOffset>0x90</addressOffset>
  14854. <size>32</size>
  14855. <access>read-write</access>
  14856. <resetValue>0</resetValue>
  14857. <resetMask>0xFFFFFFFF</resetMask>
  14858. <fields>
  14859. <field>
  14860. <name>INV0EN</name>
  14861. <description>Pair Channels 0 Inverting Enable</description>
  14862. <bitOffset>0</bitOffset>
  14863. <bitWidth>1</bitWidth>
  14864. <access>read-write</access>
  14865. <enumeratedValues>
  14866. <enumeratedValue>
  14867. <name>0</name>
  14868. <description>Inverting is disabled.</description>
  14869. <value>#0</value>
  14870. </enumeratedValue>
  14871. <enumeratedValue>
  14872. <name>1</name>
  14873. <description>Inverting is enabled.</description>
  14874. <value>#1</value>
  14875. </enumeratedValue>
  14876. </enumeratedValues>
  14877. </field>
  14878. <field>
  14879. <name>INV1EN</name>
  14880. <description>Pair Channels 1 Inverting Enable</description>
  14881. <bitOffset>1</bitOffset>
  14882. <bitWidth>1</bitWidth>
  14883. <access>read-write</access>
  14884. <enumeratedValues>
  14885. <enumeratedValue>
  14886. <name>0</name>
  14887. <description>Inverting is disabled.</description>
  14888. <value>#0</value>
  14889. </enumeratedValue>
  14890. <enumeratedValue>
  14891. <name>1</name>
  14892. <description>Inverting is enabled.</description>
  14893. <value>#1</value>
  14894. </enumeratedValue>
  14895. </enumeratedValues>
  14896. </field>
  14897. <field>
  14898. <name>INV2EN</name>
  14899. <description>Pair Channels 2 Inverting Enable</description>
  14900. <bitOffset>2</bitOffset>
  14901. <bitWidth>1</bitWidth>
  14902. <access>read-write</access>
  14903. <enumeratedValues>
  14904. <enumeratedValue>
  14905. <name>0</name>
  14906. <description>Inverting is disabled.</description>
  14907. <value>#0</value>
  14908. </enumeratedValue>
  14909. <enumeratedValue>
  14910. <name>1</name>
  14911. <description>Inverting is enabled.</description>
  14912. <value>#1</value>
  14913. </enumeratedValue>
  14914. </enumeratedValues>
  14915. </field>
  14916. <field>
  14917. <name>INV3EN</name>
  14918. <description>Pair Channels 3 Inverting Enable</description>
  14919. <bitOffset>3</bitOffset>
  14920. <bitWidth>1</bitWidth>
  14921. <access>read-write</access>
  14922. <enumeratedValues>
  14923. <enumeratedValue>
  14924. <name>0</name>
  14925. <description>Inverting is disabled.</description>
  14926. <value>#0</value>
  14927. </enumeratedValue>
  14928. <enumeratedValue>
  14929. <name>1</name>
  14930. <description>Inverting is enabled.</description>
  14931. <value>#1</value>
  14932. </enumeratedValue>
  14933. </enumeratedValues>
  14934. </field>
  14935. </fields>
  14936. </register>
  14937. <register>
  14938. <name>SWOCTRL</name>
  14939. <description>FTM Software Output Control</description>
  14940. <addressOffset>0x94</addressOffset>
  14941. <size>32</size>
  14942. <access>read-write</access>
  14943. <resetValue>0</resetValue>
  14944. <resetMask>0xFFFFFFFF</resetMask>
  14945. <fields>
  14946. <field>
  14947. <name>CH0OC</name>
  14948. <description>Channel 0 Software Output Control Enable</description>
  14949. <bitOffset>0</bitOffset>
  14950. <bitWidth>1</bitWidth>
  14951. <access>read-write</access>
  14952. <enumeratedValues>
  14953. <enumeratedValue>
  14954. <name>0</name>
  14955. <description>The channel output is not affected by software output control.</description>
  14956. <value>#0</value>
  14957. </enumeratedValue>
  14958. <enumeratedValue>
  14959. <name>1</name>
  14960. <description>The channel output is affected by software output control.</description>
  14961. <value>#1</value>
  14962. </enumeratedValue>
  14963. </enumeratedValues>
  14964. </field>
  14965. <field>
  14966. <name>CH1OC</name>
  14967. <description>Channel 1 Software Output Control Enable</description>
  14968. <bitOffset>1</bitOffset>
  14969. <bitWidth>1</bitWidth>
  14970. <access>read-write</access>
  14971. <enumeratedValues>
  14972. <enumeratedValue>
  14973. <name>0</name>
  14974. <description>The channel output is not affected by software output control.</description>
  14975. <value>#0</value>
  14976. </enumeratedValue>
  14977. <enumeratedValue>
  14978. <name>1</name>
  14979. <description>The channel output is affected by software output control.</description>
  14980. <value>#1</value>
  14981. </enumeratedValue>
  14982. </enumeratedValues>
  14983. </field>
  14984. <field>
  14985. <name>CH2OC</name>
  14986. <description>Channel 2 Software Output Control Enable</description>
  14987. <bitOffset>2</bitOffset>
  14988. <bitWidth>1</bitWidth>
  14989. <access>read-write</access>
  14990. <enumeratedValues>
  14991. <enumeratedValue>
  14992. <name>0</name>
  14993. <description>The channel output is not affected by software output control.</description>
  14994. <value>#0</value>
  14995. </enumeratedValue>
  14996. <enumeratedValue>
  14997. <name>1</name>
  14998. <description>The channel output is affected by software output control.</description>
  14999. <value>#1</value>
  15000. </enumeratedValue>
  15001. </enumeratedValues>
  15002. </field>
  15003. <field>
  15004. <name>CH3OC</name>
  15005. <description>Channel 3 Software Output Control Enable</description>
  15006. <bitOffset>3</bitOffset>
  15007. <bitWidth>1</bitWidth>
  15008. <access>read-write</access>
  15009. <enumeratedValues>
  15010. <enumeratedValue>
  15011. <name>0</name>
  15012. <description>The channel output is not affected by software output control.</description>
  15013. <value>#0</value>
  15014. </enumeratedValue>
  15015. <enumeratedValue>
  15016. <name>1</name>
  15017. <description>The channel output is affected by software output control.</description>
  15018. <value>#1</value>
  15019. </enumeratedValue>
  15020. </enumeratedValues>
  15021. </field>
  15022. <field>
  15023. <name>CH4OC</name>
  15024. <description>Channel 4 Software Output Control Enable</description>
  15025. <bitOffset>4</bitOffset>
  15026. <bitWidth>1</bitWidth>
  15027. <access>read-write</access>
  15028. <enumeratedValues>
  15029. <enumeratedValue>
  15030. <name>0</name>
  15031. <description>The channel output is not affected by software output control.</description>
  15032. <value>#0</value>
  15033. </enumeratedValue>
  15034. <enumeratedValue>
  15035. <name>1</name>
  15036. <description>The channel output is affected by software output control.</description>
  15037. <value>#1</value>
  15038. </enumeratedValue>
  15039. </enumeratedValues>
  15040. </field>
  15041. <field>
  15042. <name>CH5OC</name>
  15043. <description>Channel 5 Software Output Control Enable</description>
  15044. <bitOffset>5</bitOffset>
  15045. <bitWidth>1</bitWidth>
  15046. <access>read-write</access>
  15047. <enumeratedValues>
  15048. <enumeratedValue>
  15049. <name>0</name>
  15050. <description>The channel output is not affected by software output control.</description>
  15051. <value>#0</value>
  15052. </enumeratedValue>
  15053. <enumeratedValue>
  15054. <name>1</name>
  15055. <description>The channel output is affected by software output control.</description>
  15056. <value>#1</value>
  15057. </enumeratedValue>
  15058. </enumeratedValues>
  15059. </field>
  15060. <field>
  15061. <name>CH6OC</name>
  15062. <description>Channel 6 Software Output Control Enable</description>
  15063. <bitOffset>6</bitOffset>
  15064. <bitWidth>1</bitWidth>
  15065. <access>read-write</access>
  15066. <enumeratedValues>
  15067. <enumeratedValue>
  15068. <name>0</name>
  15069. <description>The channel output is not affected by software output control.</description>
  15070. <value>#0</value>
  15071. </enumeratedValue>
  15072. <enumeratedValue>
  15073. <name>1</name>
  15074. <description>The channel output is affected by software output control.</description>
  15075. <value>#1</value>
  15076. </enumeratedValue>
  15077. </enumeratedValues>
  15078. </field>
  15079. <field>
  15080. <name>CH7OC</name>
  15081. <description>Channel 7 Software Output Control Enable</description>
  15082. <bitOffset>7</bitOffset>
  15083. <bitWidth>1</bitWidth>
  15084. <access>read-write</access>
  15085. <enumeratedValues>
  15086. <enumeratedValue>
  15087. <name>0</name>
  15088. <description>The channel output is not affected by software output control.</description>
  15089. <value>#0</value>
  15090. </enumeratedValue>
  15091. <enumeratedValue>
  15092. <name>1</name>
  15093. <description>The channel output is affected by software output control.</description>
  15094. <value>#1</value>
  15095. </enumeratedValue>
  15096. </enumeratedValues>
  15097. </field>
  15098. <field>
  15099. <name>CH0OCV</name>
  15100. <description>Channel 0 Software Output Control Value</description>
  15101. <bitOffset>8</bitOffset>
  15102. <bitWidth>1</bitWidth>
  15103. <access>read-write</access>
  15104. <enumeratedValues>
  15105. <enumeratedValue>
  15106. <name>0</name>
  15107. <description>The software output control forces 0 to the channel output.</description>
  15108. <value>#0</value>
  15109. </enumeratedValue>
  15110. <enumeratedValue>
  15111. <name>1</name>
  15112. <description>The software output control forces 1 to the channel output.</description>
  15113. <value>#1</value>
  15114. </enumeratedValue>
  15115. </enumeratedValues>
  15116. </field>
  15117. <field>
  15118. <name>CH1OCV</name>
  15119. <description>Channel 1 Software Output Control Value</description>
  15120. <bitOffset>9</bitOffset>
  15121. <bitWidth>1</bitWidth>
  15122. <access>read-write</access>
  15123. <enumeratedValues>
  15124. <enumeratedValue>
  15125. <name>0</name>
  15126. <description>The software output control forces 0 to the channel output.</description>
  15127. <value>#0</value>
  15128. </enumeratedValue>
  15129. <enumeratedValue>
  15130. <name>1</name>
  15131. <description>The software output control forces 1 to the channel output.</description>
  15132. <value>#1</value>
  15133. </enumeratedValue>
  15134. </enumeratedValues>
  15135. </field>
  15136. <field>
  15137. <name>CH2OCV</name>
  15138. <description>Channel 2 Software Output Control Value</description>
  15139. <bitOffset>10</bitOffset>
  15140. <bitWidth>1</bitWidth>
  15141. <access>read-write</access>
  15142. <enumeratedValues>
  15143. <enumeratedValue>
  15144. <name>0</name>
  15145. <description>The software output control forces 0 to the channel output.</description>
  15146. <value>#0</value>
  15147. </enumeratedValue>
  15148. <enumeratedValue>
  15149. <name>1</name>
  15150. <description>The software output control forces 1 to the channel output.</description>
  15151. <value>#1</value>
  15152. </enumeratedValue>
  15153. </enumeratedValues>
  15154. </field>
  15155. <field>
  15156. <name>CH3OCV</name>
  15157. <description>Channel 3 Software Output Control Value</description>
  15158. <bitOffset>11</bitOffset>
  15159. <bitWidth>1</bitWidth>
  15160. <access>read-write</access>
  15161. <enumeratedValues>
  15162. <enumeratedValue>
  15163. <name>0</name>
  15164. <description>The software output control forces 0 to the channel output.</description>
  15165. <value>#0</value>
  15166. </enumeratedValue>
  15167. <enumeratedValue>
  15168. <name>1</name>
  15169. <description>The software output control forces 1 to the channel output.</description>
  15170. <value>#1</value>
  15171. </enumeratedValue>
  15172. </enumeratedValues>
  15173. </field>
  15174. <field>
  15175. <name>CH4OCV</name>
  15176. <description>Channel 4 Software Output Control Value</description>
  15177. <bitOffset>12</bitOffset>
  15178. <bitWidth>1</bitWidth>
  15179. <access>read-write</access>
  15180. <enumeratedValues>
  15181. <enumeratedValue>
  15182. <name>0</name>
  15183. <description>The software output control forces 0 to the channel output.</description>
  15184. <value>#0</value>
  15185. </enumeratedValue>
  15186. <enumeratedValue>
  15187. <name>1</name>
  15188. <description>The software output control forces 1 to the channel output.</description>
  15189. <value>#1</value>
  15190. </enumeratedValue>
  15191. </enumeratedValues>
  15192. </field>
  15193. <field>
  15194. <name>CH5OCV</name>
  15195. <description>Channel 5 Software Output Control Value</description>
  15196. <bitOffset>13</bitOffset>
  15197. <bitWidth>1</bitWidth>
  15198. <access>read-write</access>
  15199. <enumeratedValues>
  15200. <enumeratedValue>
  15201. <name>0</name>
  15202. <description>The software output control forces 0 to the channel output.</description>
  15203. <value>#0</value>
  15204. </enumeratedValue>
  15205. <enumeratedValue>
  15206. <name>1</name>
  15207. <description>The software output control forces 1 to the channel output.</description>
  15208. <value>#1</value>
  15209. </enumeratedValue>
  15210. </enumeratedValues>
  15211. </field>
  15212. <field>
  15213. <name>CH6OCV</name>
  15214. <description>Channel 6 Software Output Control Value</description>
  15215. <bitOffset>14</bitOffset>
  15216. <bitWidth>1</bitWidth>
  15217. <access>read-write</access>
  15218. <enumeratedValues>
  15219. <enumeratedValue>
  15220. <name>0</name>
  15221. <description>The software output control forces 0 to the channel output.</description>
  15222. <value>#0</value>
  15223. </enumeratedValue>
  15224. <enumeratedValue>
  15225. <name>1</name>
  15226. <description>The software output control forces 1 to the channel output.</description>
  15227. <value>#1</value>
  15228. </enumeratedValue>
  15229. </enumeratedValues>
  15230. </field>
  15231. <field>
  15232. <name>CH7OCV</name>
  15233. <description>Channel 7 Software Output Control Value</description>
  15234. <bitOffset>15</bitOffset>
  15235. <bitWidth>1</bitWidth>
  15236. <access>read-write</access>
  15237. <enumeratedValues>
  15238. <enumeratedValue>
  15239. <name>0</name>
  15240. <description>The software output control forces 0 to the channel output.</description>
  15241. <value>#0</value>
  15242. </enumeratedValue>
  15243. <enumeratedValue>
  15244. <name>1</name>
  15245. <description>The software output control forces 1 to the channel output.</description>
  15246. <value>#1</value>
  15247. </enumeratedValue>
  15248. </enumeratedValues>
  15249. </field>
  15250. </fields>
  15251. </register>
  15252. <register>
  15253. <name>PWMLOAD</name>
  15254. <description>FTM PWM Load</description>
  15255. <addressOffset>0x98</addressOffset>
  15256. <size>32</size>
  15257. <access>read-write</access>
  15258. <resetValue>0</resetValue>
  15259. <resetMask>0xFFFFFFFF</resetMask>
  15260. <fields>
  15261. <field>
  15262. <name>CH0SEL</name>
  15263. <description>Channel 0 Select</description>
  15264. <bitOffset>0</bitOffset>
  15265. <bitWidth>1</bitWidth>
  15266. <access>read-write</access>
  15267. <enumeratedValues>
  15268. <enumeratedValue>
  15269. <name>0</name>
  15270. <description>Do not include the channel in the matching process.</description>
  15271. <value>#0</value>
  15272. </enumeratedValue>
  15273. <enumeratedValue>
  15274. <name>1</name>
  15275. <description>Include the channel in the matching process.</description>
  15276. <value>#1</value>
  15277. </enumeratedValue>
  15278. </enumeratedValues>
  15279. </field>
  15280. <field>
  15281. <name>CH1SEL</name>
  15282. <description>Channel 1 Select</description>
  15283. <bitOffset>1</bitOffset>
  15284. <bitWidth>1</bitWidth>
  15285. <access>read-write</access>
  15286. <enumeratedValues>
  15287. <enumeratedValue>
  15288. <name>0</name>
  15289. <description>Do not include the channel in the matching process.</description>
  15290. <value>#0</value>
  15291. </enumeratedValue>
  15292. <enumeratedValue>
  15293. <name>1</name>
  15294. <description>Include the channel in the matching process.</description>
  15295. <value>#1</value>
  15296. </enumeratedValue>
  15297. </enumeratedValues>
  15298. </field>
  15299. <field>
  15300. <name>CH2SEL</name>
  15301. <description>Channel 2 Select</description>
  15302. <bitOffset>2</bitOffset>
  15303. <bitWidth>1</bitWidth>
  15304. <access>read-write</access>
  15305. <enumeratedValues>
  15306. <enumeratedValue>
  15307. <name>0</name>
  15308. <description>Do not include the channel in the matching process.</description>
  15309. <value>#0</value>
  15310. </enumeratedValue>
  15311. <enumeratedValue>
  15312. <name>1</name>
  15313. <description>Include the channel in the matching process.</description>
  15314. <value>#1</value>
  15315. </enumeratedValue>
  15316. </enumeratedValues>
  15317. </field>
  15318. <field>
  15319. <name>CH3SEL</name>
  15320. <description>Channel 3 Select</description>
  15321. <bitOffset>3</bitOffset>
  15322. <bitWidth>1</bitWidth>
  15323. <access>read-write</access>
  15324. <enumeratedValues>
  15325. <enumeratedValue>
  15326. <name>0</name>
  15327. <description>Do not include the channel in the matching process.</description>
  15328. <value>#0</value>
  15329. </enumeratedValue>
  15330. <enumeratedValue>
  15331. <name>1</name>
  15332. <description>Include the channel in the matching process.</description>
  15333. <value>#1</value>
  15334. </enumeratedValue>
  15335. </enumeratedValues>
  15336. </field>
  15337. <field>
  15338. <name>CH4SEL</name>
  15339. <description>Channel 4 Select</description>
  15340. <bitOffset>4</bitOffset>
  15341. <bitWidth>1</bitWidth>
  15342. <access>read-write</access>
  15343. <enumeratedValues>
  15344. <enumeratedValue>
  15345. <name>0</name>
  15346. <description>Do not include the channel in the matching process.</description>
  15347. <value>#0</value>
  15348. </enumeratedValue>
  15349. <enumeratedValue>
  15350. <name>1</name>
  15351. <description>Include the channel in the matching process.</description>
  15352. <value>#1</value>
  15353. </enumeratedValue>
  15354. </enumeratedValues>
  15355. </field>
  15356. <field>
  15357. <name>CH5SEL</name>
  15358. <description>Channel 5 Select</description>
  15359. <bitOffset>5</bitOffset>
  15360. <bitWidth>1</bitWidth>
  15361. <access>read-write</access>
  15362. <enumeratedValues>
  15363. <enumeratedValue>
  15364. <name>0</name>
  15365. <description>Do not include the channel in the matching process.</description>
  15366. <value>#0</value>
  15367. </enumeratedValue>
  15368. <enumeratedValue>
  15369. <name>1</name>
  15370. <description>Include the channel in the matching process.</description>
  15371. <value>#1</value>
  15372. </enumeratedValue>
  15373. </enumeratedValues>
  15374. </field>
  15375. <field>
  15376. <name>CH6SEL</name>
  15377. <description>Channel 6 Select</description>
  15378. <bitOffset>6</bitOffset>
  15379. <bitWidth>1</bitWidth>
  15380. <access>read-write</access>
  15381. <enumeratedValues>
  15382. <enumeratedValue>
  15383. <name>0</name>
  15384. <description>Do not include the channel in the matching process.</description>
  15385. <value>#0</value>
  15386. </enumeratedValue>
  15387. <enumeratedValue>
  15388. <name>1</name>
  15389. <description>Include the channel in the matching process.</description>
  15390. <value>#1</value>
  15391. </enumeratedValue>
  15392. </enumeratedValues>
  15393. </field>
  15394. <field>
  15395. <name>CH7SEL</name>
  15396. <description>Channel 7 Select</description>
  15397. <bitOffset>7</bitOffset>
  15398. <bitWidth>1</bitWidth>
  15399. <access>read-write</access>
  15400. <enumeratedValues>
  15401. <enumeratedValue>
  15402. <name>0</name>
  15403. <description>Do not include the channel in the matching process.</description>
  15404. <value>#0</value>
  15405. </enumeratedValue>
  15406. <enumeratedValue>
  15407. <name>1</name>
  15408. <description>Include the channel in the matching process.</description>
  15409. <value>#1</value>
  15410. </enumeratedValue>
  15411. </enumeratedValues>
  15412. </field>
  15413. <field>
  15414. <name>LDOK</name>
  15415. <description>Load Enable</description>
  15416. <bitOffset>9</bitOffset>
  15417. <bitWidth>1</bitWidth>
  15418. <access>read-write</access>
  15419. <enumeratedValues>
  15420. <enumeratedValue>
  15421. <name>0</name>
  15422. <description>Loading updated values is disabled.</description>
  15423. <value>#0</value>
  15424. </enumeratedValue>
  15425. <enumeratedValue>
  15426. <name>1</name>
  15427. <description>Loading updated values is enabled.</description>
  15428. <value>#1</value>
  15429. </enumeratedValue>
  15430. </enumeratedValues>
  15431. </field>
  15432. </fields>
  15433. </register>
  15434. </registers>
  15435. </peripheral>
  15436. <peripheral>
  15437. <name>ADC0</name>
  15438. <description>Analog-to-Digital Converter</description>
  15439. <prependToName>ADC0_</prependToName>
  15440. <baseAddress>0x4003B000</baseAddress>
  15441. <addressBlock>
  15442. <offset>0</offset>
  15443. <size>0x70</size>
  15444. <usage>registers</usage>
  15445. </addressBlock>
  15446. <interrupt>
  15447. <name>ADC0</name>
  15448. <value>22</value>
  15449. </interrupt>
  15450. <registers>
  15451. <register>
  15452. <dim>2</dim>
  15453. <dimIncrement>0x4</dimIncrement>
  15454. <dimIndex>A,B</dimIndex>
  15455. <name>SC1%s</name>
  15456. <description>ADC status and control registers 1</description>
  15457. <addressOffset>0</addressOffset>
  15458. <size>32</size>
  15459. <access>read-write</access>
  15460. <resetValue>0x1F</resetValue>
  15461. <resetMask>0xFFFFFFFF</resetMask>
  15462. <fields>
  15463. <field>
  15464. <name>ADCH</name>
  15465. <description>Input channel select</description>
  15466. <bitOffset>0</bitOffset>
  15467. <bitWidth>5</bitWidth>
  15468. <access>read-write</access>
  15469. <enumeratedValues>
  15470. <enumeratedValue>
  15471. <name>00000</name>
  15472. <description>When DIFF=0, DADP0 is selected as input; when DIFF=1, DAD0 is selected as input.</description>
  15473. <value>#00000</value>
  15474. </enumeratedValue>
  15475. <enumeratedValue>
  15476. <name>00001</name>
  15477. <description>When DIFF=0, DADP1 is selected as input; when DIFF=1, DAD1 is selected as input.</description>
  15478. <value>#00001</value>
  15479. </enumeratedValue>
  15480. <enumeratedValue>
  15481. <name>00010</name>
  15482. <description>When DIFF=0, DADP2 is selected as input; when DIFF=1, DAD2 is selected as input.</description>
  15483. <value>#00010</value>
  15484. </enumeratedValue>
  15485. <enumeratedValue>
  15486. <name>00011</name>
  15487. <description>When DIFF=0, DADP3 is selected as input; when DIFF=1, DAD3 is selected as input.</description>
  15488. <value>#00011</value>
  15489. </enumeratedValue>
  15490. <enumeratedValue>
  15491. <name>00100</name>
  15492. <description>When DIFF=0, AD4 is selected as input; when DIFF=1, it is reserved.</description>
  15493. <value>#00100</value>
  15494. </enumeratedValue>
  15495. <enumeratedValue>
  15496. <name>00101</name>
  15497. <description>When DIFF=0, AD5 is selected as input; when DIFF=1, it is reserved.</description>
  15498. <value>#00101</value>
  15499. </enumeratedValue>
  15500. <enumeratedValue>
  15501. <name>00110</name>
  15502. <description>When DIFF=0, AD6 is selected as input; when DIFF=1, it is reserved.</description>
  15503. <value>#00110</value>
  15504. </enumeratedValue>
  15505. <enumeratedValue>
  15506. <name>00111</name>
  15507. <description>When DIFF=0, AD7 is selected as input; when DIFF=1, it is reserved.</description>
  15508. <value>#00111</value>
  15509. </enumeratedValue>
  15510. <enumeratedValue>
  15511. <name>01000</name>
  15512. <description>When DIFF=0, AD8 is selected as input; when DIFF=1, it is reserved.</description>
  15513. <value>#01000</value>
  15514. </enumeratedValue>
  15515. <enumeratedValue>
  15516. <name>01001</name>
  15517. <description>When DIFF=0, AD9 is selected as input; when DIFF=1, it is reserved.</description>
  15518. <value>#01001</value>
  15519. </enumeratedValue>
  15520. <enumeratedValue>
  15521. <name>01010</name>
  15522. <description>When DIFF=0, AD10 is selected as input; when DIFF=1, it is reserved.</description>
  15523. <value>#01010</value>
  15524. </enumeratedValue>
  15525. <enumeratedValue>
  15526. <name>01011</name>
  15527. <description>When DIFF=0, AD11 is selected as input; when DIFF=1, it is reserved.</description>
  15528. <value>#01011</value>
  15529. </enumeratedValue>
  15530. <enumeratedValue>
  15531. <name>01100</name>
  15532. <description>When DIFF=0, AD12 is selected as input; when DIFF=1, it is reserved.</description>
  15533. <value>#01100</value>
  15534. </enumeratedValue>
  15535. <enumeratedValue>
  15536. <name>01101</name>
  15537. <description>When DIFF=0, AD13 is selected as input; when DIFF=1, it is reserved.</description>
  15538. <value>#01101</value>
  15539. </enumeratedValue>
  15540. <enumeratedValue>
  15541. <name>01110</name>
  15542. <description>When DIFF=0, AD14 is selected as input; when DIFF=1, it is reserved.</description>
  15543. <value>#01110</value>
  15544. </enumeratedValue>
  15545. <enumeratedValue>
  15546. <name>01111</name>
  15547. <description>When DIFF=0, AD15 is selected as input; when DIFF=1, it is reserved.</description>
  15548. <value>#01111</value>
  15549. </enumeratedValue>
  15550. <enumeratedValue>
  15551. <name>10000</name>
  15552. <description>When DIFF=0, AD16 is selected as input; when DIFF=1, it is reserved.</description>
  15553. <value>#10000</value>
  15554. </enumeratedValue>
  15555. <enumeratedValue>
  15556. <name>10001</name>
  15557. <description>When DIFF=0, AD17 is selected as input; when DIFF=1, it is reserved.</description>
  15558. <value>#10001</value>
  15559. </enumeratedValue>
  15560. <enumeratedValue>
  15561. <name>10010</name>
  15562. <description>When DIFF=0, AD18 is selected as input; when DIFF=1, it is reserved.</description>
  15563. <value>#10010</value>
  15564. </enumeratedValue>
  15565. <enumeratedValue>
  15566. <name>10011</name>
  15567. <description>When DIFF=0, AD19 is selected as input; when DIFF=1, it is reserved.</description>
  15568. <value>#10011</value>
  15569. </enumeratedValue>
  15570. <enumeratedValue>
  15571. <name>10100</name>
  15572. <description>When DIFF=0, AD20 is selected as input; when DIFF=1, it is reserved.</description>
  15573. <value>#10100</value>
  15574. </enumeratedValue>
  15575. <enumeratedValue>
  15576. <name>10101</name>
  15577. <description>When DIFF=0, AD21 is selected as input; when DIFF=1, it is reserved.</description>
  15578. <value>#10101</value>
  15579. </enumeratedValue>
  15580. <enumeratedValue>
  15581. <name>10110</name>
  15582. <description>When DIFF=0, AD22 is selected as input; when DIFF=1, it is reserved.</description>
  15583. <value>#10110</value>
  15584. </enumeratedValue>
  15585. <enumeratedValue>
  15586. <name>10111</name>
  15587. <description>When DIFF=0, AD23 is selected as input; when DIFF=1, it is reserved.</description>
  15588. <value>#10111</value>
  15589. </enumeratedValue>
  15590. <enumeratedValue>
  15591. <name>11010</name>
  15592. <description>When DIFF=0, Temp sensor (single-ended) is selected as input; when DIFF=1, Temp sensor (differential) is selected as input.</description>
  15593. <value>#11010</value>
  15594. </enumeratedValue>
  15595. <enumeratedValue>
  15596. <name>11011</name>
  15597. <description>When DIFF=0, Bandgap (single-ended) is selected as input; when DIFF=1, Bandgap (differential) is selected as input.</description>
  15598. <value>#11011</value>
  15599. </enumeratedValue>
  15600. <enumeratedValue>
  15601. <name>11101</name>
  15602. <description>When DIFF=0, VREFSH is selected as input; when DIFF=1, -VREFSH (differential) is selected as input. Voltage reference selected is determined by the REFSEL bits in the SC2 register.</description>
  15603. <value>#11101</value>
  15604. </enumeratedValue>
  15605. <enumeratedValue>
  15606. <name>11110</name>
  15607. <description>When DIFF=0, VREFSL is selected as input; when DIFF=1, it is reserved. Voltage reference selected is determined by the REFSEL bits in the SC2 register.</description>
  15608. <value>#11110</value>
  15609. </enumeratedValue>
  15610. <enumeratedValue>
  15611. <name>11111</name>
  15612. <description>Module disabled.</description>
  15613. <value>#11111</value>
  15614. </enumeratedValue>
  15615. </enumeratedValues>
  15616. </field>
  15617. <field>
  15618. <name>DIFF</name>
  15619. <description>Differential mode enable</description>
  15620. <bitOffset>5</bitOffset>
  15621. <bitWidth>1</bitWidth>
  15622. <access>read-write</access>
  15623. <enumeratedValues>
  15624. <enumeratedValue>
  15625. <name>0</name>
  15626. <description>Single-ended conversions and input channels are selected.</description>
  15627. <value>#0</value>
  15628. </enumeratedValue>
  15629. <enumeratedValue>
  15630. <name>1</name>
  15631. <description>Differential conversions and input channels are selected.</description>
  15632. <value>#1</value>
  15633. </enumeratedValue>
  15634. </enumeratedValues>
  15635. </field>
  15636. <field>
  15637. <name>AIEN</name>
  15638. <description>Interrupt enable</description>
  15639. <bitOffset>6</bitOffset>
  15640. <bitWidth>1</bitWidth>
  15641. <access>read-write</access>
  15642. <enumeratedValues>
  15643. <enumeratedValue>
  15644. <name>0</name>
  15645. <description>Conversion complete interrupt disabled.</description>
  15646. <value>#0</value>
  15647. </enumeratedValue>
  15648. <enumeratedValue>
  15649. <name>1</name>
  15650. <description>Conversion complete interrupt enabled.</description>
  15651. <value>#1</value>
  15652. </enumeratedValue>
  15653. </enumeratedValues>
  15654. </field>
  15655. <field>
  15656. <name>COCO</name>
  15657. <description>Conversion complete flag</description>
  15658. <bitOffset>7</bitOffset>
  15659. <bitWidth>1</bitWidth>
  15660. <access>read-only</access>
  15661. <enumeratedValues>
  15662. <enumeratedValue>
  15663. <name>0</name>
  15664. <description>Conversion not completed.</description>
  15665. <value>#0</value>
  15666. </enumeratedValue>
  15667. <enumeratedValue>
  15668. <name>1</name>
  15669. <description>Conversion completed.</description>
  15670. <value>#1</value>
  15671. </enumeratedValue>
  15672. </enumeratedValues>
  15673. </field>
  15674. </fields>
  15675. </register>
  15676. <register>
  15677. <name>CFG1</name>
  15678. <description>ADC configuration register 1</description>
  15679. <addressOffset>0x8</addressOffset>
  15680. <size>32</size>
  15681. <access>read-write</access>
  15682. <resetValue>0</resetValue>
  15683. <resetMask>0xFFFFFFFF</resetMask>
  15684. <fields>
  15685. <field>
  15686. <name>ADICLK</name>
  15687. <description>Input clock select</description>
  15688. <bitOffset>0</bitOffset>
  15689. <bitWidth>2</bitWidth>
  15690. <access>read-write</access>
  15691. <enumeratedValues>
  15692. <enumeratedValue>
  15693. <name>00</name>
  15694. <description>Bus clock.</description>
  15695. <value>#00</value>
  15696. </enumeratedValue>
  15697. <enumeratedValue>
  15698. <name>01</name>
  15699. <description>Bus clock divided by 2.</description>
  15700. <value>#01</value>
  15701. </enumeratedValue>
  15702. <enumeratedValue>
  15703. <name>10</name>
  15704. <description>Alternate clock (ALTCLK).</description>
  15705. <value>#10</value>
  15706. </enumeratedValue>
  15707. <enumeratedValue>
  15708. <name>11</name>
  15709. <description>Asynchronous clock (ADACK).</description>
  15710. <value>#11</value>
  15711. </enumeratedValue>
  15712. </enumeratedValues>
  15713. </field>
  15714. <field>
  15715. <name>MODE</name>
  15716. <description>Conversion mode selection</description>
  15717. <bitOffset>2</bitOffset>
  15718. <bitWidth>2</bitWidth>
  15719. <access>read-write</access>
  15720. <enumeratedValues>
  15721. <enumeratedValue>
  15722. <name>00</name>
  15723. <description>When DIFF=0: It is single-ended 8-bit conversion; when DIFF=1, it is differential 9-bit conversion with 2&apos;s complement output.</description>
  15724. <value>#00</value>
  15725. </enumeratedValue>
  15726. <enumeratedValue>
  15727. <name>01</name>
  15728. <description>When DIFF=0: It is single-ended 12-bit conversion; when DIFF=1, it is differential 13-bit conversion with 2&apos;s complement output.</description>
  15729. <value>#01</value>
  15730. </enumeratedValue>
  15731. <enumeratedValue>
  15732. <name>10</name>
  15733. <description>When DIFF=0: It is single-ended 10-bit conversion; when DIFF=1, it is differential 11-bit conversion with 2&apos;s complement output.</description>
  15734. <value>#10</value>
  15735. </enumeratedValue>
  15736. <enumeratedValue>
  15737. <name>11</name>
  15738. <description>When DIFF=0: It is single-ended 16-bit conversion; when DIFF=1, it is differential 16-bit conversion with 2&apos;s complement output .</description>
  15739. <value>#11</value>
  15740. </enumeratedValue>
  15741. </enumeratedValues>
  15742. </field>
  15743. <field>
  15744. <name>ADLSMP</name>
  15745. <description>Sample time configuration</description>
  15746. <bitOffset>4</bitOffset>
  15747. <bitWidth>1</bitWidth>
  15748. <access>read-write</access>
  15749. <enumeratedValues>
  15750. <enumeratedValue>
  15751. <name>0</name>
  15752. <description>Short sample time.</description>
  15753. <value>#0</value>
  15754. </enumeratedValue>
  15755. <enumeratedValue>
  15756. <name>1</name>
  15757. <description>Long sample time.</description>
  15758. <value>#1</value>
  15759. </enumeratedValue>
  15760. </enumeratedValues>
  15761. </field>
  15762. <field>
  15763. <name>ADIV</name>
  15764. <description>Clock divide select</description>
  15765. <bitOffset>5</bitOffset>
  15766. <bitWidth>2</bitWidth>
  15767. <access>read-write</access>
  15768. <enumeratedValues>
  15769. <enumeratedValue>
  15770. <name>00</name>
  15771. <description>The divide ratio is 1 and the clock rate is input clock.</description>
  15772. <value>#00</value>
  15773. </enumeratedValue>
  15774. <enumeratedValue>
  15775. <name>01</name>
  15776. <description>The divide ratio is 2 and the clock rate is (input clock)/2.</description>
  15777. <value>#01</value>
  15778. </enumeratedValue>
  15779. <enumeratedValue>
  15780. <name>10</name>
  15781. <description>The divide ratio is 4 and the clock rate is (input clock)/4.</description>
  15782. <value>#10</value>
  15783. </enumeratedValue>
  15784. <enumeratedValue>
  15785. <name>11</name>
  15786. <description>The divide ratio is 8 and the clock rate is (input clock)/8.</description>
  15787. <value>#11</value>
  15788. </enumeratedValue>
  15789. </enumeratedValues>
  15790. </field>
  15791. <field>
  15792. <name>ADLPC</name>
  15793. <description>Low-power configuration</description>
  15794. <bitOffset>7</bitOffset>
  15795. <bitWidth>1</bitWidth>
  15796. <access>read-write</access>
  15797. <enumeratedValues>
  15798. <enumeratedValue>
  15799. <name>0</name>
  15800. <description>Normal power configuration.</description>
  15801. <value>#0</value>
  15802. </enumeratedValue>
  15803. <enumeratedValue>
  15804. <name>1</name>
  15805. <description>Low power configuration. The power is reduced at the expense of maximum clock speed.</description>
  15806. <value>#1</value>
  15807. </enumeratedValue>
  15808. </enumeratedValues>
  15809. </field>
  15810. </fields>
  15811. </register>
  15812. <register>
  15813. <name>CFG2</name>
  15814. <description>Configuration register 2</description>
  15815. <addressOffset>0xC</addressOffset>
  15816. <size>32</size>
  15817. <access>read-write</access>
  15818. <resetValue>0</resetValue>
  15819. <resetMask>0xFFFFFFFF</resetMask>
  15820. <fields>
  15821. <field>
  15822. <name>ADLSTS</name>
  15823. <description>Long sample time select</description>
  15824. <bitOffset>0</bitOffset>
  15825. <bitWidth>2</bitWidth>
  15826. <access>read-write</access>
  15827. <enumeratedValues>
  15828. <enumeratedValue>
  15829. <name>00</name>
  15830. <description>Default longest sample time (20 extra ADCK cycles; 24 ADCK cycles total).</description>
  15831. <value>#00</value>
  15832. </enumeratedValue>
  15833. <enumeratedValue>
  15834. <name>01</name>
  15835. <description>12 extra ADCK cycles; 16 ADCK cycles total sample time.</description>
  15836. <value>#01</value>
  15837. </enumeratedValue>
  15838. <enumeratedValue>
  15839. <name>10</name>
  15840. <description>6 extra ADCK cycles; 10 ADCK cycles total sample time.</description>
  15841. <value>#10</value>
  15842. </enumeratedValue>
  15843. <enumeratedValue>
  15844. <name>11</name>
  15845. <description>2 extra ADCK cycles; 6 ADCK cycles total sample time.</description>
  15846. <value>#11</value>
  15847. </enumeratedValue>
  15848. </enumeratedValues>
  15849. </field>
  15850. <field>
  15851. <name>ADHSC</name>
  15852. <description>High speed configuration</description>
  15853. <bitOffset>2</bitOffset>
  15854. <bitWidth>1</bitWidth>
  15855. <access>read-write</access>
  15856. <enumeratedValues>
  15857. <enumeratedValue>
  15858. <name>0</name>
  15859. <description>Normal conversion sequence selected.</description>
  15860. <value>#0</value>
  15861. </enumeratedValue>
  15862. <enumeratedValue>
  15863. <name>1</name>
  15864. <description>High speed conversion sequence selected (2 additional ADCK cycles to total conversion time).</description>
  15865. <value>#1</value>
  15866. </enumeratedValue>
  15867. </enumeratedValues>
  15868. </field>
  15869. <field>
  15870. <name>ADACKEN</name>
  15871. <description>Asynchronous clock output enable</description>
  15872. <bitOffset>3</bitOffset>
  15873. <bitWidth>1</bitWidth>
  15874. <access>read-write</access>
  15875. <enumeratedValues>
  15876. <enumeratedValue>
  15877. <name>0</name>
  15878. <description>Asynchronous clock output disabled; Asynchronous clock only enabled if selected by ADICLK and a conversion is active.</description>
  15879. <value>#0</value>
  15880. </enumeratedValue>
  15881. <enumeratedValue>
  15882. <name>1</name>
  15883. <description>Asynchronous clock and clock output enabled regardless of the state of the ADC.</description>
  15884. <value>#1</value>
  15885. </enumeratedValue>
  15886. </enumeratedValues>
  15887. </field>
  15888. <field>
  15889. <name>MUXSEL</name>
  15890. <description>ADC Mux select</description>
  15891. <bitOffset>4</bitOffset>
  15892. <bitWidth>1</bitWidth>
  15893. <access>read-write</access>
  15894. <enumeratedValues>
  15895. <enumeratedValue>
  15896. <name>0</name>
  15897. <description>ADxxa channels are selected.</description>
  15898. <value>#0</value>
  15899. </enumeratedValue>
  15900. <enumeratedValue>
  15901. <name>1</name>
  15902. <description>ADxxb channels are selected.</description>
  15903. <value>#1</value>
  15904. </enumeratedValue>
  15905. </enumeratedValues>
  15906. </field>
  15907. </fields>
  15908. </register>
  15909. <register>
  15910. <dim>2</dim>
  15911. <dimIncrement>0x4</dimIncrement>
  15912. <dimIndex>A,B</dimIndex>
  15913. <name>R%s</name>
  15914. <description>ADC data result register</description>
  15915. <addressOffset>0x10</addressOffset>
  15916. <size>32</size>
  15917. <access>read-only</access>
  15918. <resetValue>0</resetValue>
  15919. <resetMask>0xFFFFFFFF</resetMask>
  15920. <fields>
  15921. <field>
  15922. <name>D</name>
  15923. <description>Data result</description>
  15924. <bitOffset>0</bitOffset>
  15925. <bitWidth>16</bitWidth>
  15926. <access>read-only</access>
  15927. </field>
  15928. </fields>
  15929. </register>
  15930. <register>
  15931. <dim>2</dim>
  15932. <dimIncrement>0x4</dimIncrement>
  15933. <dimIndex>1,2</dimIndex>
  15934. <name>CV%s</name>
  15935. <description>Compare value registers</description>
  15936. <addressOffset>0x18</addressOffset>
  15937. <size>32</size>
  15938. <access>read-write</access>
  15939. <resetValue>0</resetValue>
  15940. <resetMask>0xFFFFFFFF</resetMask>
  15941. <fields>
  15942. <field>
  15943. <name>CV</name>
  15944. <description>Compare value</description>
  15945. <bitOffset>0</bitOffset>
  15946. <bitWidth>16</bitWidth>
  15947. <access>read-write</access>
  15948. </field>
  15949. </fields>
  15950. </register>
  15951. <register>
  15952. <name>SC2</name>
  15953. <description>Status and control register 2</description>
  15954. <addressOffset>0x20</addressOffset>
  15955. <size>32</size>
  15956. <access>read-write</access>
  15957. <resetValue>0</resetValue>
  15958. <resetMask>0xFFFFFFFF</resetMask>
  15959. <fields>
  15960. <field>
  15961. <name>REFSEL</name>
  15962. <description>Voltage reference selection</description>
  15963. <bitOffset>0</bitOffset>
  15964. <bitWidth>2</bitWidth>
  15965. <access>read-write</access>
  15966. <enumeratedValues>
  15967. <enumeratedValue>
  15968. <name>00</name>
  15969. <description>Default voltage reference pin pair (external pins VREFH and VREFL)</description>
  15970. <value>#00</value>
  15971. </enumeratedValue>
  15972. <enumeratedValue>
  15973. <name>01</name>
  15974. <description>Alternate reference pair (VALTH and VALTL). This pair may be additional external pins or internal sources depending on MCU configuration. Consult the Chip Configuration information for details specific to this MCU.</description>
  15975. <value>#01</value>
  15976. </enumeratedValue>
  15977. </enumeratedValues>
  15978. </field>
  15979. <field>
  15980. <name>DMAEN</name>
  15981. <description>DMA enable</description>
  15982. <bitOffset>2</bitOffset>
  15983. <bitWidth>1</bitWidth>
  15984. <access>read-write</access>
  15985. <enumeratedValues>
  15986. <enumeratedValue>
  15987. <name>0</name>
  15988. <description>DMA is disabled.</description>
  15989. <value>#0</value>
  15990. </enumeratedValue>
  15991. <enumeratedValue>
  15992. <name>1</name>
  15993. <description>DMA is enabled and will assert the ADC DMA request during a ADC conversion complete event noted by the assertion of any of the ADC COCO flags.</description>
  15994. <value>#1</value>
  15995. </enumeratedValue>
  15996. </enumeratedValues>
  15997. </field>
  15998. <field>
  15999. <name>ACREN</name>
  16000. <description>Compare function range enable</description>
  16001. <bitOffset>3</bitOffset>
  16002. <bitWidth>1</bitWidth>
  16003. <access>read-write</access>
  16004. <enumeratedValues>
  16005. <enumeratedValue>
  16006. <name>0</name>
  16007. <description>Range function disabled. Only the compare value 1 register (CV1) is compared.</description>
  16008. <value>#0</value>
  16009. </enumeratedValue>
  16010. <enumeratedValue>
  16011. <name>1</name>
  16012. <description>Range function enabled. Both compare value registers (CV1 and CV2) are compared.</description>
  16013. <value>#1</value>
  16014. </enumeratedValue>
  16015. </enumeratedValues>
  16016. </field>
  16017. <field>
  16018. <name>ACFGT</name>
  16019. <description>Compare function greater than enable</description>
  16020. <bitOffset>4</bitOffset>
  16021. <bitWidth>1</bitWidth>
  16022. <access>read-write</access>
  16023. <enumeratedValues>
  16024. <enumeratedValue>
  16025. <name>0</name>
  16026. <description>Configures less than threshold, outside range not inclusive and inside range not inclusive functionality based on the values placed in the CV1 and CV2 registers.</description>
  16027. <value>#0</value>
  16028. </enumeratedValue>
  16029. <enumeratedValue>
  16030. <name>1</name>
  16031. <description>Configures greater than or equal to threshold, outside range inclusive and inside range inclusive functionality based on the values placed in the CV1 and CV2 registers.</description>
  16032. <value>#1</value>
  16033. </enumeratedValue>
  16034. </enumeratedValues>
  16035. </field>
  16036. <field>
  16037. <name>ACFE</name>
  16038. <description>Compare function enable</description>
  16039. <bitOffset>5</bitOffset>
  16040. <bitWidth>1</bitWidth>
  16041. <access>read-write</access>
  16042. <enumeratedValues>
  16043. <enumeratedValue>
  16044. <name>0</name>
  16045. <description>Compare function disabled.</description>
  16046. <value>#0</value>
  16047. </enumeratedValue>
  16048. <enumeratedValue>
  16049. <name>1</name>
  16050. <description>Compare function enabled.</description>
  16051. <value>#1</value>
  16052. </enumeratedValue>
  16053. </enumeratedValues>
  16054. </field>
  16055. <field>
  16056. <name>ADTRG</name>
  16057. <description>Conversion trigger select</description>
  16058. <bitOffset>6</bitOffset>
  16059. <bitWidth>1</bitWidth>
  16060. <access>read-write</access>
  16061. <enumeratedValues>
  16062. <enumeratedValue>
  16063. <name>0</name>
  16064. <description>Software trigger selected.</description>
  16065. <value>#0</value>
  16066. </enumeratedValue>
  16067. <enumeratedValue>
  16068. <name>1</name>
  16069. <description>Hardware trigger selected.</description>
  16070. <value>#1</value>
  16071. </enumeratedValue>
  16072. </enumeratedValues>
  16073. </field>
  16074. <field>
  16075. <name>ADACT</name>
  16076. <description>Conversion active</description>
  16077. <bitOffset>7</bitOffset>
  16078. <bitWidth>1</bitWidth>
  16079. <access>read-only</access>
  16080. <enumeratedValues>
  16081. <enumeratedValue>
  16082. <name>0</name>
  16083. <description>Conversion not in progress.</description>
  16084. <value>#0</value>
  16085. </enumeratedValue>
  16086. <enumeratedValue>
  16087. <name>1</name>
  16088. <description>Conversion in progress.</description>
  16089. <value>#1</value>
  16090. </enumeratedValue>
  16091. </enumeratedValues>
  16092. </field>
  16093. </fields>
  16094. </register>
  16095. <register>
  16096. <name>SC3</name>
  16097. <description>Status and control register 3</description>
  16098. <addressOffset>0x24</addressOffset>
  16099. <size>32</size>
  16100. <access>read-write</access>
  16101. <resetValue>0</resetValue>
  16102. <resetMask>0xFFFFFFFF</resetMask>
  16103. <fields>
  16104. <field>
  16105. <name>AVGS</name>
  16106. <description>Hardware average select</description>
  16107. <bitOffset>0</bitOffset>
  16108. <bitWidth>2</bitWidth>
  16109. <access>read-write</access>
  16110. <enumeratedValues>
  16111. <enumeratedValue>
  16112. <name>00</name>
  16113. <description>4 samples averaged.</description>
  16114. <value>#00</value>
  16115. </enumeratedValue>
  16116. <enumeratedValue>
  16117. <name>01</name>
  16118. <description>8 samples averaged.</description>
  16119. <value>#01</value>
  16120. </enumeratedValue>
  16121. <enumeratedValue>
  16122. <name>10</name>
  16123. <description>16 samples averaged.</description>
  16124. <value>#10</value>
  16125. </enumeratedValue>
  16126. <enumeratedValue>
  16127. <name>11</name>
  16128. <description>32 samples averaged.</description>
  16129. <value>#11</value>
  16130. </enumeratedValue>
  16131. </enumeratedValues>
  16132. </field>
  16133. <field>
  16134. <name>AVGE</name>
  16135. <description>Hardware average enable</description>
  16136. <bitOffset>2</bitOffset>
  16137. <bitWidth>1</bitWidth>
  16138. <access>read-write</access>
  16139. <enumeratedValues>
  16140. <enumeratedValue>
  16141. <name>0</name>
  16142. <description>Hardware average function disabled.</description>
  16143. <value>#0</value>
  16144. </enumeratedValue>
  16145. <enumeratedValue>
  16146. <name>1</name>
  16147. <description>Hardware average function enabled.</description>
  16148. <value>#1</value>
  16149. </enumeratedValue>
  16150. </enumeratedValues>
  16151. </field>
  16152. <field>
  16153. <name>ADCO</name>
  16154. <description>Continuous conversion enable</description>
  16155. <bitOffset>3</bitOffset>
  16156. <bitWidth>1</bitWidth>
  16157. <access>read-write</access>
  16158. <enumeratedValues>
  16159. <enumeratedValue>
  16160. <name>0</name>
  16161. <description>One conversion or one set of conversions if the hardware average function is enabled (AVGE=1) after initiating a conversion.</description>
  16162. <value>#0</value>
  16163. </enumeratedValue>
  16164. <enumeratedValue>
  16165. <name>1</name>
  16166. <description>Continuous conversions or sets of conversions if the hardware average function is enabled (AVGE=1) after initiating a conversion.</description>
  16167. <value>#1</value>
  16168. </enumeratedValue>
  16169. </enumeratedValues>
  16170. </field>
  16171. <field>
  16172. <name>CALF</name>
  16173. <description>Calibration failed flag</description>
  16174. <bitOffset>6</bitOffset>
  16175. <bitWidth>1</bitWidth>
  16176. <access>read-write</access>
  16177. <enumeratedValues>
  16178. <enumeratedValue>
  16179. <name>0</name>
  16180. <description>Calibration completed normally.</description>
  16181. <value>#0</value>
  16182. </enumeratedValue>
  16183. <enumeratedValue>
  16184. <name>1</name>
  16185. <description>Calibration failed. ADC accuracy specifications are not guaranteed.</description>
  16186. <value>#1</value>
  16187. </enumeratedValue>
  16188. </enumeratedValues>
  16189. </field>
  16190. <field>
  16191. <name>CAL</name>
  16192. <description>Calibration</description>
  16193. <bitOffset>7</bitOffset>
  16194. <bitWidth>1</bitWidth>
  16195. <access>read-write</access>
  16196. </field>
  16197. </fields>
  16198. </register>
  16199. <register>
  16200. <name>OFS</name>
  16201. <description>ADC offset correction register</description>
  16202. <addressOffset>0x28</addressOffset>
  16203. <size>32</size>
  16204. <access>read-write</access>
  16205. <resetValue>0x4</resetValue>
  16206. <resetMask>0xFFFFFFFF</resetMask>
  16207. <fields>
  16208. <field>
  16209. <name>OFS</name>
  16210. <description>Offset error correction value</description>
  16211. <bitOffset>0</bitOffset>
  16212. <bitWidth>16</bitWidth>
  16213. <access>read-write</access>
  16214. </field>
  16215. </fields>
  16216. </register>
  16217. <register>
  16218. <name>PG</name>
  16219. <description>ADC plus-side gain register</description>
  16220. <addressOffset>0x2C</addressOffset>
  16221. <size>32</size>
  16222. <access>read-write</access>
  16223. <resetValue>0x8200</resetValue>
  16224. <resetMask>0xFFFFFFFF</resetMask>
  16225. <fields>
  16226. <field>
  16227. <name>PG</name>
  16228. <description>Plus-side gain</description>
  16229. <bitOffset>0</bitOffset>
  16230. <bitWidth>16</bitWidth>
  16231. <access>read-write</access>
  16232. </field>
  16233. </fields>
  16234. </register>
  16235. <register>
  16236. <name>MG</name>
  16237. <description>ADC minus-side gain register</description>
  16238. <addressOffset>0x30</addressOffset>
  16239. <size>32</size>
  16240. <access>read-write</access>
  16241. <resetValue>0x8200</resetValue>
  16242. <resetMask>0xFFFFFFFF</resetMask>
  16243. <fields>
  16244. <field>
  16245. <name>MG</name>
  16246. <description>Minus-side gain</description>
  16247. <bitOffset>0</bitOffset>
  16248. <bitWidth>16</bitWidth>
  16249. <access>read-write</access>
  16250. </field>
  16251. </fields>
  16252. </register>
  16253. <register>
  16254. <name>CLPD</name>
  16255. <description>ADC plus-side general calibration value register</description>
  16256. <addressOffset>0x34</addressOffset>
  16257. <size>32</size>
  16258. <access>read-write</access>
  16259. <resetValue>0xA</resetValue>
  16260. <resetMask>0xFFFFFFFF</resetMask>
  16261. <fields>
  16262. <field>
  16263. <name>CLPD</name>
  16264. <description>Calibration value</description>
  16265. <bitOffset>0</bitOffset>
  16266. <bitWidth>6</bitWidth>
  16267. <access>read-write</access>
  16268. </field>
  16269. </fields>
  16270. </register>
  16271. <register>
  16272. <name>CLPS</name>
  16273. <description>ADC plus-side general calibration value register</description>
  16274. <addressOffset>0x38</addressOffset>
  16275. <size>32</size>
  16276. <access>read-write</access>
  16277. <resetValue>0x20</resetValue>
  16278. <resetMask>0xFFFFFFFF</resetMask>
  16279. <fields>
  16280. <field>
  16281. <name>CLPS</name>
  16282. <description>Calibration value</description>
  16283. <bitOffset>0</bitOffset>
  16284. <bitWidth>6</bitWidth>
  16285. <access>read-write</access>
  16286. </field>
  16287. </fields>
  16288. </register>
  16289. <register>
  16290. <name>CLP4</name>
  16291. <description>ADC plus-side general calibration value register</description>
  16292. <addressOffset>0x3C</addressOffset>
  16293. <size>32</size>
  16294. <access>read-write</access>
  16295. <resetValue>0x200</resetValue>
  16296. <resetMask>0xFFFFFFFF</resetMask>
  16297. <fields>
  16298. <field>
  16299. <name>CLP4</name>
  16300. <description>Calibration value</description>
  16301. <bitOffset>0</bitOffset>
  16302. <bitWidth>10</bitWidth>
  16303. <access>read-write</access>
  16304. </field>
  16305. </fields>
  16306. </register>
  16307. <register>
  16308. <name>CLP3</name>
  16309. <description>ADC plus-side general calibration value register</description>
  16310. <addressOffset>0x40</addressOffset>
  16311. <size>32</size>
  16312. <access>read-write</access>
  16313. <resetValue>0x100</resetValue>
  16314. <resetMask>0xFFFFFFFF</resetMask>
  16315. <fields>
  16316. <field>
  16317. <name>CLP3</name>
  16318. <description>Calibration value</description>
  16319. <bitOffset>0</bitOffset>
  16320. <bitWidth>9</bitWidth>
  16321. <access>read-write</access>
  16322. </field>
  16323. </fields>
  16324. </register>
  16325. <register>
  16326. <name>CLP2</name>
  16327. <description>ADC plus-side general calibration value register</description>
  16328. <addressOffset>0x44</addressOffset>
  16329. <size>32</size>
  16330. <access>read-write</access>
  16331. <resetValue>0x80</resetValue>
  16332. <resetMask>0xFFFFFFFF</resetMask>
  16333. <fields>
  16334. <field>
  16335. <name>CLP2</name>
  16336. <description>Calibration value</description>
  16337. <bitOffset>0</bitOffset>
  16338. <bitWidth>8</bitWidth>
  16339. <access>read-write</access>
  16340. </field>
  16341. </fields>
  16342. </register>
  16343. <register>
  16344. <name>CLP1</name>
  16345. <description>ADC plus-side general calibration value register</description>
  16346. <addressOffset>0x48</addressOffset>
  16347. <size>32</size>
  16348. <access>read-write</access>
  16349. <resetValue>0x40</resetValue>
  16350. <resetMask>0xFFFFFFFF</resetMask>
  16351. <fields>
  16352. <field>
  16353. <name>CLP1</name>
  16354. <description>Calibration value</description>
  16355. <bitOffset>0</bitOffset>
  16356. <bitWidth>7</bitWidth>
  16357. <access>read-write</access>
  16358. </field>
  16359. </fields>
  16360. </register>
  16361. <register>
  16362. <name>CLP0</name>
  16363. <description>ADC plus-side general calibration value register</description>
  16364. <addressOffset>0x4C</addressOffset>
  16365. <size>32</size>
  16366. <access>read-write</access>
  16367. <resetValue>0x20</resetValue>
  16368. <resetMask>0xFFFFFFFF</resetMask>
  16369. <fields>
  16370. <field>
  16371. <name>CLP0</name>
  16372. <description>Calibration value</description>
  16373. <bitOffset>0</bitOffset>
  16374. <bitWidth>6</bitWidth>
  16375. <access>read-write</access>
  16376. </field>
  16377. </fields>
  16378. </register>
  16379. <register>
  16380. <name>CLMD</name>
  16381. <description>ADC minus-side general calibration value register</description>
  16382. <addressOffset>0x54</addressOffset>
  16383. <size>32</size>
  16384. <access>read-write</access>
  16385. <resetValue>0xA</resetValue>
  16386. <resetMask>0xFFFFFFFF</resetMask>
  16387. <fields>
  16388. <field>
  16389. <name>CLMD</name>
  16390. <description>Calibration value</description>
  16391. <bitOffset>0</bitOffset>
  16392. <bitWidth>6</bitWidth>
  16393. <access>read-write</access>
  16394. </field>
  16395. </fields>
  16396. </register>
  16397. <register>
  16398. <name>CLMS</name>
  16399. <description>ADC minus-side general calibration value register</description>
  16400. <addressOffset>0x58</addressOffset>
  16401. <size>32</size>
  16402. <access>read-write</access>
  16403. <resetValue>0x20</resetValue>
  16404. <resetMask>0xFFFFFFFF</resetMask>
  16405. <fields>
  16406. <field>
  16407. <name>CLMS</name>
  16408. <description>Calibration value</description>
  16409. <bitOffset>0</bitOffset>
  16410. <bitWidth>6</bitWidth>
  16411. <access>read-write</access>
  16412. </field>
  16413. </fields>
  16414. </register>
  16415. <register>
  16416. <name>CLM4</name>
  16417. <description>ADC minus-side general calibration value register</description>
  16418. <addressOffset>0x5C</addressOffset>
  16419. <size>32</size>
  16420. <access>read-write</access>
  16421. <resetValue>0x200</resetValue>
  16422. <resetMask>0xFFFFFFFF</resetMask>
  16423. <fields>
  16424. <field>
  16425. <name>CLM4</name>
  16426. <description>Calibration value</description>
  16427. <bitOffset>0</bitOffset>
  16428. <bitWidth>10</bitWidth>
  16429. <access>read-write</access>
  16430. </field>
  16431. </fields>
  16432. </register>
  16433. <register>
  16434. <name>CLM3</name>
  16435. <description>ADC minus-side general calibration value register</description>
  16436. <addressOffset>0x60</addressOffset>
  16437. <size>32</size>
  16438. <access>read-write</access>
  16439. <resetValue>0x100</resetValue>
  16440. <resetMask>0xFFFFFFFF</resetMask>
  16441. <fields>
  16442. <field>
  16443. <name>CLM3</name>
  16444. <description>Calibration value</description>
  16445. <bitOffset>0</bitOffset>
  16446. <bitWidth>9</bitWidth>
  16447. <access>read-write</access>
  16448. </field>
  16449. </fields>
  16450. </register>
  16451. <register>
  16452. <name>CLM2</name>
  16453. <description>ADC minus-side general calibration value register</description>
  16454. <addressOffset>0x64</addressOffset>
  16455. <size>32</size>
  16456. <access>read-write</access>
  16457. <resetValue>0x80</resetValue>
  16458. <resetMask>0xFFFFFFFF</resetMask>
  16459. <fields>
  16460. <field>
  16461. <name>CLM2</name>
  16462. <description>Calibration value</description>
  16463. <bitOffset>0</bitOffset>
  16464. <bitWidth>8</bitWidth>
  16465. <access>read-write</access>
  16466. </field>
  16467. </fields>
  16468. </register>
  16469. <register>
  16470. <name>CLM1</name>
  16471. <description>ADC minus-side general calibration value register</description>
  16472. <addressOffset>0x68</addressOffset>
  16473. <size>32</size>
  16474. <access>read-write</access>
  16475. <resetValue>0x40</resetValue>
  16476. <resetMask>0xFFFFFFFF</resetMask>
  16477. <fields>
  16478. <field>
  16479. <name>CLM1</name>
  16480. <description>Calibration value</description>
  16481. <bitOffset>0</bitOffset>
  16482. <bitWidth>7</bitWidth>
  16483. <access>read-write</access>
  16484. </field>
  16485. </fields>
  16486. </register>
  16487. <register>
  16488. <name>CLM0</name>
  16489. <description>ADC minus-side general calibration value register</description>
  16490. <addressOffset>0x6C</addressOffset>
  16491. <size>32</size>
  16492. <access>read-write</access>
  16493. <resetValue>0x20</resetValue>
  16494. <resetMask>0xFFFFFFFF</resetMask>
  16495. <fields>
  16496. <field>
  16497. <name>CLM0</name>
  16498. <description>Calibration value</description>
  16499. <bitOffset>0</bitOffset>
  16500. <bitWidth>6</bitWidth>
  16501. <access>read-write</access>
  16502. </field>
  16503. </fields>
  16504. </register>
  16505. </registers>
  16506. </peripheral>
  16507. <peripheral>
  16508. <name>RTC</name>
  16509. <description>Secure Real Time Clock</description>
  16510. <prependToName>RTC_</prependToName>
  16511. <baseAddress>0x4003D000</baseAddress>
  16512. <addressBlock>
  16513. <offset>0</offset>
  16514. <size>0x808</size>
  16515. <usage>registers</usage>
  16516. </addressBlock>
  16517. <interrupt>
  16518. <name>RTC</name>
  16519. <value>28</value>
  16520. </interrupt>
  16521. <interrupt>
  16522. <name>RTC_Seconds</name>
  16523. <value>29</value>
  16524. </interrupt>
  16525. <registers>
  16526. <register>
  16527. <name>TSR</name>
  16528. <description>RTC Time Seconds Register</description>
  16529. <addressOffset>0</addressOffset>
  16530. <size>32</size>
  16531. <access>read-write</access>
  16532. <resetValue>0</resetValue>
  16533. <resetMask>0xFFFFFFFF</resetMask>
  16534. <fields>
  16535. <field>
  16536. <name>TSR</name>
  16537. <description>Time Seconds Register</description>
  16538. <bitOffset>0</bitOffset>
  16539. <bitWidth>32</bitWidth>
  16540. <access>read-write</access>
  16541. </field>
  16542. </fields>
  16543. </register>
  16544. <register>
  16545. <name>TPR</name>
  16546. <description>RTC Time Prescaler Register</description>
  16547. <addressOffset>0x4</addressOffset>
  16548. <size>32</size>
  16549. <access>read-write</access>
  16550. <resetValue>0</resetValue>
  16551. <resetMask>0xFFFFFFFF</resetMask>
  16552. <fields>
  16553. <field>
  16554. <name>TPR</name>
  16555. <description>Time Prescaler Register</description>
  16556. <bitOffset>0</bitOffset>
  16557. <bitWidth>16</bitWidth>
  16558. <access>read-write</access>
  16559. </field>
  16560. </fields>
  16561. </register>
  16562. <register>
  16563. <name>TAR</name>
  16564. <description>RTC Time Alarm Register</description>
  16565. <addressOffset>0x8</addressOffset>
  16566. <size>32</size>
  16567. <access>read-write</access>
  16568. <resetValue>0</resetValue>
  16569. <resetMask>0xFFFFFFFF</resetMask>
  16570. <fields>
  16571. <field>
  16572. <name>TAR</name>
  16573. <description>Time Alarm Register</description>
  16574. <bitOffset>0</bitOffset>
  16575. <bitWidth>32</bitWidth>
  16576. <access>read-write</access>
  16577. </field>
  16578. </fields>
  16579. </register>
  16580. <register>
  16581. <name>TCR</name>
  16582. <description>RTC Time Compensation Register</description>
  16583. <addressOffset>0xC</addressOffset>
  16584. <size>32</size>
  16585. <access>read-write</access>
  16586. <resetValue>0</resetValue>
  16587. <resetMask>0xFFFFFFFF</resetMask>
  16588. <fields>
  16589. <field>
  16590. <name>TCR</name>
  16591. <description>Time Compensation Register</description>
  16592. <bitOffset>0</bitOffset>
  16593. <bitWidth>8</bitWidth>
  16594. <access>read-write</access>
  16595. <enumeratedValues>
  16596. <enumeratedValue>
  16597. <name>10000000</name>
  16598. <description>Time prescaler register overflows every 32896 clock cycles.</description>
  16599. <value>#10000000</value>
  16600. </enumeratedValue>
  16601. <enumeratedValue>
  16602. <name>11111111</name>
  16603. <description>Time prescaler register overflows every 32769 clock cycles.</description>
  16604. <value>#11111111</value>
  16605. </enumeratedValue>
  16606. <enumeratedValue>
  16607. <name>0</name>
  16608. <description>Time prescaler register overflows every 32768 clock cycles.</description>
  16609. <value>#0</value>
  16610. </enumeratedValue>
  16611. <enumeratedValue>
  16612. <name>1</name>
  16613. <description>Time prescaler register overflows every 32767 clock cycles.</description>
  16614. <value>#1</value>
  16615. </enumeratedValue>
  16616. <enumeratedValue>
  16617. <name>1111111</name>
  16618. <description>Time prescaler register overflows every 32641 clock cycles.</description>
  16619. <value>#1111111</value>
  16620. </enumeratedValue>
  16621. </enumeratedValues>
  16622. </field>
  16623. <field>
  16624. <name>CIR</name>
  16625. <description>Compensation Interval Register</description>
  16626. <bitOffset>8</bitOffset>
  16627. <bitWidth>8</bitWidth>
  16628. <access>read-write</access>
  16629. </field>
  16630. <field>
  16631. <name>TCV</name>
  16632. <description>Time Compensation Value</description>
  16633. <bitOffset>16</bitOffset>
  16634. <bitWidth>8</bitWidth>
  16635. <access>read-only</access>
  16636. </field>
  16637. <field>
  16638. <name>CIC</name>
  16639. <description>Compensation Interval Counter</description>
  16640. <bitOffset>24</bitOffset>
  16641. <bitWidth>8</bitWidth>
  16642. <access>read-only</access>
  16643. </field>
  16644. </fields>
  16645. </register>
  16646. <register>
  16647. <name>CR</name>
  16648. <description>RTC Control Register</description>
  16649. <addressOffset>0x10</addressOffset>
  16650. <size>32</size>
  16651. <access>read-write</access>
  16652. <resetValue>0</resetValue>
  16653. <resetMask>0xFFFFFFFF</resetMask>
  16654. <fields>
  16655. <field>
  16656. <name>SWR</name>
  16657. <description>Software Reset</description>
  16658. <bitOffset>0</bitOffset>
  16659. <bitWidth>1</bitWidth>
  16660. <access>read-write</access>
  16661. <enumeratedValues>
  16662. <enumeratedValue>
  16663. <name>0</name>
  16664. <description>No effect</description>
  16665. <value>#0</value>
  16666. </enumeratedValue>
  16667. <enumeratedValue>
  16668. <name>1</name>
  16669. <description>Resets all RTC registers except for the SWR bit and the RTC_WAR and RTC_RAR registers. The SWR bit is cleared after VBAT POR and by software explicitly clearing it.</description>
  16670. <value>#1</value>
  16671. </enumeratedValue>
  16672. </enumeratedValues>
  16673. </field>
  16674. <field>
  16675. <name>WPE</name>
  16676. <description>Wakeup Pin Enable</description>
  16677. <bitOffset>1</bitOffset>
  16678. <bitWidth>1</bitWidth>
  16679. <access>read-write</access>
  16680. <enumeratedValues>
  16681. <enumeratedValue>
  16682. <name>0</name>
  16683. <description>Wakeup pin is disabled.</description>
  16684. <value>#0</value>
  16685. </enumeratedValue>
  16686. <enumeratedValue>
  16687. <name>1</name>
  16688. <description>Wakeup pin is enabled and wakeup pin asserts if the RTC interrupt asserts and the chip is powered down.</description>
  16689. <value>#1</value>
  16690. </enumeratedValue>
  16691. </enumeratedValues>
  16692. </field>
  16693. <field>
  16694. <name>SUP</name>
  16695. <description>Supervisor Access</description>
  16696. <bitOffset>2</bitOffset>
  16697. <bitWidth>1</bitWidth>
  16698. <access>read-write</access>
  16699. <enumeratedValues>
  16700. <enumeratedValue>
  16701. <name>0</name>
  16702. <description>Non-supervisor mode write accesses are not supported and generate a bus error.</description>
  16703. <value>#0</value>
  16704. </enumeratedValue>
  16705. <enumeratedValue>
  16706. <name>1</name>
  16707. <description>Non-supervisor mode write accesses are supported.</description>
  16708. <value>#1</value>
  16709. </enumeratedValue>
  16710. </enumeratedValues>
  16711. </field>
  16712. <field>
  16713. <name>UM</name>
  16714. <description>Update Mode</description>
  16715. <bitOffset>3</bitOffset>
  16716. <bitWidth>1</bitWidth>
  16717. <access>read-write</access>
  16718. <enumeratedValues>
  16719. <enumeratedValue>
  16720. <name>0</name>
  16721. <description>Registers cannot be written when locked.</description>
  16722. <value>#0</value>
  16723. </enumeratedValue>
  16724. <enumeratedValue>
  16725. <name>1</name>
  16726. <description>Registers can be written when locked under limited conditions.</description>
  16727. <value>#1</value>
  16728. </enumeratedValue>
  16729. </enumeratedValues>
  16730. </field>
  16731. <field>
  16732. <name>OSCE</name>
  16733. <description>Oscillator Enable</description>
  16734. <bitOffset>8</bitOffset>
  16735. <bitWidth>1</bitWidth>
  16736. <access>read-write</access>
  16737. <enumeratedValues>
  16738. <enumeratedValue>
  16739. <name>0</name>
  16740. <description>32.768 kHz oscillator is disabled.</description>
  16741. <value>#0</value>
  16742. </enumeratedValue>
  16743. <enumeratedValue>
  16744. <name>1</name>
  16745. <description>32.768 kHz oscillator is enabled. After setting this bit, wait the oscillator startup time before enabling the time counter to allow the 32.768 kHz clock time to stabilize.</description>
  16746. <value>#1</value>
  16747. </enumeratedValue>
  16748. </enumeratedValues>
  16749. </field>
  16750. <field>
  16751. <name>CLKO</name>
  16752. <description>Clock Output</description>
  16753. <bitOffset>9</bitOffset>
  16754. <bitWidth>1</bitWidth>
  16755. <access>read-write</access>
  16756. <enumeratedValues>
  16757. <enumeratedValue>
  16758. <name>0</name>
  16759. <description>The 32kHz clock is output to other peripherals</description>
  16760. <value>#0</value>
  16761. </enumeratedValue>
  16762. <enumeratedValue>
  16763. <name>1</name>
  16764. <description>The 32kHz clock is not output to other peripherals</description>
  16765. <value>#1</value>
  16766. </enumeratedValue>
  16767. </enumeratedValues>
  16768. </field>
  16769. <field>
  16770. <name>SC16P</name>
  16771. <description>Oscillator 16pF load configure</description>
  16772. <bitOffset>10</bitOffset>
  16773. <bitWidth>1</bitWidth>
  16774. <access>read-write</access>
  16775. <enumeratedValues>
  16776. <enumeratedValue>
  16777. <name>0</name>
  16778. <description>Disable the load.</description>
  16779. <value>#0</value>
  16780. </enumeratedValue>
  16781. <enumeratedValue>
  16782. <name>1</name>
  16783. <description>Enable the additional load.</description>
  16784. <value>#1</value>
  16785. </enumeratedValue>
  16786. </enumeratedValues>
  16787. </field>
  16788. <field>
  16789. <name>SC8P</name>
  16790. <description>Oscillator 8pF load configure</description>
  16791. <bitOffset>11</bitOffset>
  16792. <bitWidth>1</bitWidth>
  16793. <access>read-write</access>
  16794. <enumeratedValues>
  16795. <enumeratedValue>
  16796. <name>0</name>
  16797. <description>Disable the load.</description>
  16798. <value>#0</value>
  16799. </enumeratedValue>
  16800. <enumeratedValue>
  16801. <name>1</name>
  16802. <description>Enable the additional load.</description>
  16803. <value>#1</value>
  16804. </enumeratedValue>
  16805. </enumeratedValues>
  16806. </field>
  16807. <field>
  16808. <name>SC4P</name>
  16809. <description>Oscillator 4pF load configure</description>
  16810. <bitOffset>12</bitOffset>
  16811. <bitWidth>1</bitWidth>
  16812. <access>read-write</access>
  16813. <enumeratedValues>
  16814. <enumeratedValue>
  16815. <name>0</name>
  16816. <description>Disable the load.</description>
  16817. <value>#0</value>
  16818. </enumeratedValue>
  16819. <enumeratedValue>
  16820. <name>1</name>
  16821. <description>Enable the additional load.</description>
  16822. <value>#1</value>
  16823. </enumeratedValue>
  16824. </enumeratedValues>
  16825. </field>
  16826. <field>
  16827. <name>SC2P</name>
  16828. <description>Oscillator 2pF load configure</description>
  16829. <bitOffset>13</bitOffset>
  16830. <bitWidth>1</bitWidth>
  16831. <access>read-write</access>
  16832. <enumeratedValues>
  16833. <enumeratedValue>
  16834. <name>0</name>
  16835. <description>Disable the load.</description>
  16836. <value>#0</value>
  16837. </enumeratedValue>
  16838. <enumeratedValue>
  16839. <name>1</name>
  16840. <description>Enable the additional load.</description>
  16841. <value>#1</value>
  16842. </enumeratedValue>
  16843. </enumeratedValues>
  16844. </field>
  16845. </fields>
  16846. </register>
  16847. <register>
  16848. <name>SR</name>
  16849. <description>RTC Status Register</description>
  16850. <addressOffset>0x14</addressOffset>
  16851. <size>32</size>
  16852. <access>read-write</access>
  16853. <resetValue>0x1</resetValue>
  16854. <resetMask>0xFFFFFFFF</resetMask>
  16855. <fields>
  16856. <field>
  16857. <name>TIF</name>
  16858. <description>Time Invalid Flag</description>
  16859. <bitOffset>0</bitOffset>
  16860. <bitWidth>1</bitWidth>
  16861. <access>read-only</access>
  16862. <enumeratedValues>
  16863. <enumeratedValue>
  16864. <name>0</name>
  16865. <description>Time is valid.</description>
  16866. <value>#0</value>
  16867. </enumeratedValue>
  16868. <enumeratedValue>
  16869. <name>1</name>
  16870. <description>Time is invalid and time counter is read as zero.</description>
  16871. <value>#1</value>
  16872. </enumeratedValue>
  16873. </enumeratedValues>
  16874. </field>
  16875. <field>
  16876. <name>TOF</name>
  16877. <description>Time Overflow Flag</description>
  16878. <bitOffset>1</bitOffset>
  16879. <bitWidth>1</bitWidth>
  16880. <access>read-only</access>
  16881. <enumeratedValues>
  16882. <enumeratedValue>
  16883. <name>0</name>
  16884. <description>Time overflow has not occurred.</description>
  16885. <value>#0</value>
  16886. </enumeratedValue>
  16887. <enumeratedValue>
  16888. <name>1</name>
  16889. <description>Time overflow has occurred and time counter is read as zero.</description>
  16890. <value>#1</value>
  16891. </enumeratedValue>
  16892. </enumeratedValues>
  16893. </field>
  16894. <field>
  16895. <name>TAF</name>
  16896. <description>Time Alarm Flag</description>
  16897. <bitOffset>2</bitOffset>
  16898. <bitWidth>1</bitWidth>
  16899. <access>read-only</access>
  16900. <enumeratedValues>
  16901. <enumeratedValue>
  16902. <name>0</name>
  16903. <description>Time alarm has not occurred.</description>
  16904. <value>#0</value>
  16905. </enumeratedValue>
  16906. <enumeratedValue>
  16907. <name>1</name>
  16908. <description>Time alarm has occurred.</description>
  16909. <value>#1</value>
  16910. </enumeratedValue>
  16911. </enumeratedValues>
  16912. </field>
  16913. <field>
  16914. <name>TCE</name>
  16915. <description>Time Counter Enable</description>
  16916. <bitOffset>4</bitOffset>
  16917. <bitWidth>1</bitWidth>
  16918. <access>read-write</access>
  16919. <enumeratedValues>
  16920. <enumeratedValue>
  16921. <name>0</name>
  16922. <description>Time counter is disabled.</description>
  16923. <value>#0</value>
  16924. </enumeratedValue>
  16925. <enumeratedValue>
  16926. <name>1</name>
  16927. <description>Time counter is enabled.</description>
  16928. <value>#1</value>
  16929. </enumeratedValue>
  16930. </enumeratedValues>
  16931. </field>
  16932. </fields>
  16933. </register>
  16934. <register>
  16935. <name>LR</name>
  16936. <description>RTC Lock Register</description>
  16937. <addressOffset>0x18</addressOffset>
  16938. <size>32</size>
  16939. <access>read-write</access>
  16940. <resetValue>0xFF</resetValue>
  16941. <resetMask>0xFFFFFFFF</resetMask>
  16942. <fields>
  16943. <field>
  16944. <name>TCL</name>
  16945. <description>Time Compensation Lock</description>
  16946. <bitOffset>3</bitOffset>
  16947. <bitWidth>1</bitWidth>
  16948. <access>read-write</access>
  16949. <enumeratedValues>
  16950. <enumeratedValue>
  16951. <name>0</name>
  16952. <description>Time compensation register is locked and writes are ignored.</description>
  16953. <value>#0</value>
  16954. </enumeratedValue>
  16955. <enumeratedValue>
  16956. <name>1</name>
  16957. <description>Time compensation register is not locked and writes complete as normal.</description>
  16958. <value>#1</value>
  16959. </enumeratedValue>
  16960. </enumeratedValues>
  16961. </field>
  16962. <field>
  16963. <name>CRL</name>
  16964. <description>Control Register Lock</description>
  16965. <bitOffset>4</bitOffset>
  16966. <bitWidth>1</bitWidth>
  16967. <access>read-write</access>
  16968. <enumeratedValues>
  16969. <enumeratedValue>
  16970. <name>0</name>
  16971. <description>Control register is locked and writes are ignored.</description>
  16972. <value>#0</value>
  16973. </enumeratedValue>
  16974. <enumeratedValue>
  16975. <name>1</name>
  16976. <description>Control register is not locked and writes complete as normal.</description>
  16977. <value>#1</value>
  16978. </enumeratedValue>
  16979. </enumeratedValues>
  16980. </field>
  16981. <field>
  16982. <name>SRL</name>
  16983. <description>Status Register Lock</description>
  16984. <bitOffset>5</bitOffset>
  16985. <bitWidth>1</bitWidth>
  16986. <access>read-write</access>
  16987. <enumeratedValues>
  16988. <enumeratedValue>
  16989. <name>0</name>
  16990. <description>Status register is locked and writes are ignored.</description>
  16991. <value>#0</value>
  16992. </enumeratedValue>
  16993. <enumeratedValue>
  16994. <name>1</name>
  16995. <description>Status register is not locked and writes complete as normal.</description>
  16996. <value>#1</value>
  16997. </enumeratedValue>
  16998. </enumeratedValues>
  16999. </field>
  17000. <field>
  17001. <name>LRL</name>
  17002. <description>Lock Register Lock</description>
  17003. <bitOffset>6</bitOffset>
  17004. <bitWidth>1</bitWidth>
  17005. <access>read-write</access>
  17006. <enumeratedValues>
  17007. <enumeratedValue>
  17008. <name>0</name>
  17009. <description>Lock register is locked and writes are ignored.</description>
  17010. <value>#0</value>
  17011. </enumeratedValue>
  17012. <enumeratedValue>
  17013. <name>1</name>
  17014. <description>Lock register is not locked and writes complete as normal.</description>
  17015. <value>#1</value>
  17016. </enumeratedValue>
  17017. </enumeratedValues>
  17018. </field>
  17019. </fields>
  17020. </register>
  17021. <register>
  17022. <name>IER</name>
  17023. <description>RTC Interrupt Enable Register</description>
  17024. <addressOffset>0x1C</addressOffset>
  17025. <size>32</size>
  17026. <access>read-write</access>
  17027. <resetValue>0x7</resetValue>
  17028. <resetMask>0xFFFFFFFF</resetMask>
  17029. <fields>
  17030. <field>
  17031. <name>TIIE</name>
  17032. <description>Time Invalid Interrupt Enable</description>
  17033. <bitOffset>0</bitOffset>
  17034. <bitWidth>1</bitWidth>
  17035. <access>read-write</access>
  17036. <enumeratedValues>
  17037. <enumeratedValue>
  17038. <name>0</name>
  17039. <description>Time invalid flag does not generate an interrupt.</description>
  17040. <value>#0</value>
  17041. </enumeratedValue>
  17042. <enumeratedValue>
  17043. <name>1</name>
  17044. <description>Time invalid flag does generate an interrupt.</description>
  17045. <value>#1</value>
  17046. </enumeratedValue>
  17047. </enumeratedValues>
  17048. </field>
  17049. <field>
  17050. <name>TOIE</name>
  17051. <description>Time Overflow Interrupt Enable</description>
  17052. <bitOffset>1</bitOffset>
  17053. <bitWidth>1</bitWidth>
  17054. <access>read-write</access>
  17055. <enumeratedValues>
  17056. <enumeratedValue>
  17057. <name>0</name>
  17058. <description>Time overflow flag does not generate an interrupt.</description>
  17059. <value>#0</value>
  17060. </enumeratedValue>
  17061. <enumeratedValue>
  17062. <name>1</name>
  17063. <description>Time overflow flag does generate an interrupt.</description>
  17064. <value>#1</value>
  17065. </enumeratedValue>
  17066. </enumeratedValues>
  17067. </field>
  17068. <field>
  17069. <name>TAIE</name>
  17070. <description>Time Alarm Interrupt Enable</description>
  17071. <bitOffset>2</bitOffset>
  17072. <bitWidth>1</bitWidth>
  17073. <access>read-write</access>
  17074. <enumeratedValues>
  17075. <enumeratedValue>
  17076. <name>0</name>
  17077. <description>Time alarm flag does not generate an interrupt.</description>
  17078. <value>#0</value>
  17079. </enumeratedValue>
  17080. <enumeratedValue>
  17081. <name>1</name>
  17082. <description>Time alarm flag does generate an interrupt.</description>
  17083. <value>#1</value>
  17084. </enumeratedValue>
  17085. </enumeratedValues>
  17086. </field>
  17087. <field>
  17088. <name>TSIE</name>
  17089. <description>Time Seconds Interrupt Enable</description>
  17090. <bitOffset>4</bitOffset>
  17091. <bitWidth>1</bitWidth>
  17092. <access>read-write</access>
  17093. <enumeratedValues>
  17094. <enumeratedValue>
  17095. <name>0</name>
  17096. <description>Seconds interrupt is disabled.</description>
  17097. <value>#0</value>
  17098. </enumeratedValue>
  17099. <enumeratedValue>
  17100. <name>1</name>
  17101. <description>Seconds interrupt is enabled.</description>
  17102. <value>#1</value>
  17103. </enumeratedValue>
  17104. </enumeratedValues>
  17105. </field>
  17106. </fields>
  17107. </register>
  17108. <register>
  17109. <name>WAR</name>
  17110. <description>RTC Write Access Register</description>
  17111. <addressOffset>0x800</addressOffset>
  17112. <size>32</size>
  17113. <access>read-write</access>
  17114. <resetValue>0xFF</resetValue>
  17115. <resetMask>0xFFFFFFFF</resetMask>
  17116. <fields>
  17117. <field>
  17118. <name>TSRW</name>
  17119. <description>Time Seconds Register Write</description>
  17120. <bitOffset>0</bitOffset>
  17121. <bitWidth>1</bitWidth>
  17122. <access>read-write</access>
  17123. <enumeratedValues>
  17124. <enumeratedValue>
  17125. <name>0</name>
  17126. <description>Writes to the time seconds register are ignored.</description>
  17127. <value>#0</value>
  17128. </enumeratedValue>
  17129. <enumeratedValue>
  17130. <name>1</name>
  17131. <description>Writes to the time seconds register complete as normal.</description>
  17132. <value>#1</value>
  17133. </enumeratedValue>
  17134. </enumeratedValues>
  17135. </field>
  17136. <field>
  17137. <name>TPRW</name>
  17138. <description>Time Prescaler Register Write</description>
  17139. <bitOffset>1</bitOffset>
  17140. <bitWidth>1</bitWidth>
  17141. <access>read-write</access>
  17142. <enumeratedValues>
  17143. <enumeratedValue>
  17144. <name>0</name>
  17145. <description>Writes to the time prescaler register are ignored.</description>
  17146. <value>#0</value>
  17147. </enumeratedValue>
  17148. <enumeratedValue>
  17149. <name>1</name>
  17150. <description>Writes to the time prescaler register complete as normal.</description>
  17151. <value>#1</value>
  17152. </enumeratedValue>
  17153. </enumeratedValues>
  17154. </field>
  17155. <field>
  17156. <name>TARW</name>
  17157. <description>Time Alarm Register Write</description>
  17158. <bitOffset>2</bitOffset>
  17159. <bitWidth>1</bitWidth>
  17160. <access>read-write</access>
  17161. <enumeratedValues>
  17162. <enumeratedValue>
  17163. <name>0</name>
  17164. <description>Writes to the time alarm register are ignored.</description>
  17165. <value>#0</value>
  17166. </enumeratedValue>
  17167. <enumeratedValue>
  17168. <name>1</name>
  17169. <description>Writes to the time alarm register complete as normal.</description>
  17170. <value>#1</value>
  17171. </enumeratedValue>
  17172. </enumeratedValues>
  17173. </field>
  17174. <field>
  17175. <name>TCRW</name>
  17176. <description>Time Compensation Register Write</description>
  17177. <bitOffset>3</bitOffset>
  17178. <bitWidth>1</bitWidth>
  17179. <access>read-write</access>
  17180. <enumeratedValues>
  17181. <enumeratedValue>
  17182. <name>0</name>
  17183. <description>Writes to the time compensation register are ignored.</description>
  17184. <value>#0</value>
  17185. </enumeratedValue>
  17186. <enumeratedValue>
  17187. <name>1</name>
  17188. <description>Writes to the time compensation register complete as normal.</description>
  17189. <value>#1</value>
  17190. </enumeratedValue>
  17191. </enumeratedValues>
  17192. </field>
  17193. <field>
  17194. <name>CRW</name>
  17195. <description>Control Register Write</description>
  17196. <bitOffset>4</bitOffset>
  17197. <bitWidth>1</bitWidth>
  17198. <access>read-write</access>
  17199. <enumeratedValues>
  17200. <enumeratedValue>
  17201. <name>0</name>
  17202. <description>Writes to the control register are ignored.</description>
  17203. <value>#0</value>
  17204. </enumeratedValue>
  17205. <enumeratedValue>
  17206. <name>1</name>
  17207. <description>Writes to the control register complete as normal.</description>
  17208. <value>#1</value>
  17209. </enumeratedValue>
  17210. </enumeratedValues>
  17211. </field>
  17212. <field>
  17213. <name>SRW</name>
  17214. <description>Status Register Write</description>
  17215. <bitOffset>5</bitOffset>
  17216. <bitWidth>1</bitWidth>
  17217. <access>read-write</access>
  17218. <enumeratedValues>
  17219. <enumeratedValue>
  17220. <name>0</name>
  17221. <description>Writes to the status register are ignored.</description>
  17222. <value>#0</value>
  17223. </enumeratedValue>
  17224. <enumeratedValue>
  17225. <name>1</name>
  17226. <description>Writes to the status register complete as normal.</description>
  17227. <value>#1</value>
  17228. </enumeratedValue>
  17229. </enumeratedValues>
  17230. </field>
  17231. <field>
  17232. <name>LRW</name>
  17233. <description>Lock Register Write</description>
  17234. <bitOffset>6</bitOffset>
  17235. <bitWidth>1</bitWidth>
  17236. <access>read-write</access>
  17237. <enumeratedValues>
  17238. <enumeratedValue>
  17239. <name>0</name>
  17240. <description>Writes to the lock register are ignored.</description>
  17241. <value>#0</value>
  17242. </enumeratedValue>
  17243. <enumeratedValue>
  17244. <name>1</name>
  17245. <description>Writes to the lock register complete as normal.</description>
  17246. <value>#1</value>
  17247. </enumeratedValue>
  17248. </enumeratedValues>
  17249. </field>
  17250. <field>
  17251. <name>IERW</name>
  17252. <description>Interrupt Enable Register Write</description>
  17253. <bitOffset>7</bitOffset>
  17254. <bitWidth>1</bitWidth>
  17255. <access>read-write</access>
  17256. <enumeratedValues>
  17257. <enumeratedValue>
  17258. <name>0</name>
  17259. <description>Writes to the interupt enable register are ignored.</description>
  17260. <value>#0</value>
  17261. </enumeratedValue>
  17262. <enumeratedValue>
  17263. <name>1</name>
  17264. <description>Writes to the interrupt enable register complete as normal.</description>
  17265. <value>#1</value>
  17266. </enumeratedValue>
  17267. </enumeratedValues>
  17268. </field>
  17269. </fields>
  17270. </register>
  17271. <register>
  17272. <name>RAR</name>
  17273. <description>RTC Read Access Register</description>
  17274. <addressOffset>0x804</addressOffset>
  17275. <size>32</size>
  17276. <access>read-write</access>
  17277. <resetValue>0xFF</resetValue>
  17278. <resetMask>0xFFFFFFFF</resetMask>
  17279. <fields>
  17280. <field>
  17281. <name>TSRR</name>
  17282. <description>Time Seconds Register Read</description>
  17283. <bitOffset>0</bitOffset>
  17284. <bitWidth>1</bitWidth>
  17285. <access>read-write</access>
  17286. <enumeratedValues>
  17287. <enumeratedValue>
  17288. <name>0</name>
  17289. <description>Reads to the time seconds register are ignored.</description>
  17290. <value>#0</value>
  17291. </enumeratedValue>
  17292. <enumeratedValue>
  17293. <name>1</name>
  17294. <description>Reads to the time seconds register complete as normal.</description>
  17295. <value>#1</value>
  17296. </enumeratedValue>
  17297. </enumeratedValues>
  17298. </field>
  17299. <field>
  17300. <name>TPRR</name>
  17301. <description>Time Prescaler Register Read</description>
  17302. <bitOffset>1</bitOffset>
  17303. <bitWidth>1</bitWidth>
  17304. <access>read-write</access>
  17305. <enumeratedValues>
  17306. <enumeratedValue>
  17307. <name>0</name>
  17308. <description>Reads to the time prescaler register are ignored.</description>
  17309. <value>#0</value>
  17310. </enumeratedValue>
  17311. <enumeratedValue>
  17312. <name>1</name>
  17313. <description>Reads to the time prescaler register complete as normal.</description>
  17314. <value>#1</value>
  17315. </enumeratedValue>
  17316. </enumeratedValues>
  17317. </field>
  17318. <field>
  17319. <name>TARR</name>
  17320. <description>Time Alarm Register Read</description>
  17321. <bitOffset>2</bitOffset>
  17322. <bitWidth>1</bitWidth>
  17323. <access>read-write</access>
  17324. <enumeratedValues>
  17325. <enumeratedValue>
  17326. <name>0</name>
  17327. <description>Reads to the time alarm register are ignored.</description>
  17328. <value>#0</value>
  17329. </enumeratedValue>
  17330. <enumeratedValue>
  17331. <name>1</name>
  17332. <description>Reads to the time alarm register complete as normal.</description>
  17333. <value>#1</value>
  17334. </enumeratedValue>
  17335. </enumeratedValues>
  17336. </field>
  17337. <field>
  17338. <name>TCRR</name>
  17339. <description>Time Compensation Register Read</description>
  17340. <bitOffset>3</bitOffset>
  17341. <bitWidth>1</bitWidth>
  17342. <access>read-write</access>
  17343. <enumeratedValues>
  17344. <enumeratedValue>
  17345. <name>0</name>
  17346. <description>Reads to the time compensation register are ignored.</description>
  17347. <value>#0</value>
  17348. </enumeratedValue>
  17349. <enumeratedValue>
  17350. <name>1</name>
  17351. <description>Reads to the time compensation register complete as normal.</description>
  17352. <value>#1</value>
  17353. </enumeratedValue>
  17354. </enumeratedValues>
  17355. </field>
  17356. <field>
  17357. <name>CRR</name>
  17358. <description>Control Register Read</description>
  17359. <bitOffset>4</bitOffset>
  17360. <bitWidth>1</bitWidth>
  17361. <access>read-write</access>
  17362. <enumeratedValues>
  17363. <enumeratedValue>
  17364. <name>0</name>
  17365. <description>Reads to the control register are ignored.</description>
  17366. <value>#0</value>
  17367. </enumeratedValue>
  17368. <enumeratedValue>
  17369. <name>1</name>
  17370. <description>Reads to the control register complete as normal.</description>
  17371. <value>#1</value>
  17372. </enumeratedValue>
  17373. </enumeratedValues>
  17374. </field>
  17375. <field>
  17376. <name>SRR</name>
  17377. <description>Status Register Read</description>
  17378. <bitOffset>5</bitOffset>
  17379. <bitWidth>1</bitWidth>
  17380. <access>read-write</access>
  17381. <enumeratedValues>
  17382. <enumeratedValue>
  17383. <name>0</name>
  17384. <description>Reads to the status register are ignored.</description>
  17385. <value>#0</value>
  17386. </enumeratedValue>
  17387. <enumeratedValue>
  17388. <name>1</name>
  17389. <description>Reads to the status register complete as normal.</description>
  17390. <value>#1</value>
  17391. </enumeratedValue>
  17392. </enumeratedValues>
  17393. </field>
  17394. <field>
  17395. <name>LRR</name>
  17396. <description>Lock Register Read</description>
  17397. <bitOffset>6</bitOffset>
  17398. <bitWidth>1</bitWidth>
  17399. <access>read-write</access>
  17400. <enumeratedValues>
  17401. <enumeratedValue>
  17402. <name>0</name>
  17403. <description>Reads to the lock register are ignored.</description>
  17404. <value>#0</value>
  17405. </enumeratedValue>
  17406. <enumeratedValue>
  17407. <name>1</name>
  17408. <description>Reads to the lock register complete as normal.</description>
  17409. <value>#1</value>
  17410. </enumeratedValue>
  17411. </enumeratedValues>
  17412. </field>
  17413. <field>
  17414. <name>IERR</name>
  17415. <description>Interrupt Enable Register Read</description>
  17416. <bitOffset>7</bitOffset>
  17417. <bitWidth>1</bitWidth>
  17418. <access>read-write</access>
  17419. <enumeratedValues>
  17420. <enumeratedValue>
  17421. <name>0</name>
  17422. <description>Reads to the interrupt enable register are ignored.</description>
  17423. <value>#0</value>
  17424. </enumeratedValue>
  17425. <enumeratedValue>
  17426. <name>1</name>
  17427. <description>Reads to the interrupt enable register complete as normal.</description>
  17428. <value>#1</value>
  17429. </enumeratedValue>
  17430. </enumeratedValues>
  17431. </field>
  17432. </fields>
  17433. </register>
  17434. </registers>
  17435. </peripheral>
  17436. <peripheral>
  17437. <name>RFVBAT</name>
  17438. <description>VBAT register file</description>
  17439. <prependToName>RFVBAT_</prependToName>
  17440. <baseAddress>0x4003E000</baseAddress>
  17441. <addressBlock>
  17442. <offset>0</offset>
  17443. <size>0x20</size>
  17444. <usage>registers</usage>
  17445. </addressBlock>
  17446. <registers>
  17447. <register>
  17448. <dim>8</dim>
  17449. <dimIncrement>0x4</dimIncrement>
  17450. <dimIndex>0,1,2,3,4,5,6,7</dimIndex>
  17451. <name>REG%s</name>
  17452. <description>VBAT register file register</description>
  17453. <addressOffset>0</addressOffset>
  17454. <size>32</size>
  17455. <access>read-write</access>
  17456. <resetValue>0</resetValue>
  17457. <resetMask>0xFFFFFFFF</resetMask>
  17458. <fields>
  17459. <field>
  17460. <name>LL</name>
  17461. <description>no description available</description>
  17462. <bitOffset>0</bitOffset>
  17463. <bitWidth>8</bitWidth>
  17464. <access>read-write</access>
  17465. </field>
  17466. <field>
  17467. <name>LH</name>
  17468. <description>no description available</description>
  17469. <bitOffset>8</bitOffset>
  17470. <bitWidth>8</bitWidth>
  17471. <access>read-write</access>
  17472. </field>
  17473. <field>
  17474. <name>HL</name>
  17475. <description>no description available</description>
  17476. <bitOffset>16</bitOffset>
  17477. <bitWidth>8</bitWidth>
  17478. <access>read-write</access>
  17479. </field>
  17480. <field>
  17481. <name>HH</name>
  17482. <description>no description available</description>
  17483. <bitOffset>24</bitOffset>
  17484. <bitWidth>8</bitWidth>
  17485. <access>read-write</access>
  17486. </field>
  17487. </fields>
  17488. </register>
  17489. </registers>
  17490. </peripheral>
  17491. <peripheral>
  17492. <name>LPTMR0</name>
  17493. <description>Low Power Timer</description>
  17494. <prependToName>LPTMR0_</prependToName>
  17495. <baseAddress>0x40040000</baseAddress>
  17496. <addressBlock>
  17497. <offset>0</offset>
  17498. <size>0x10</size>
  17499. <usage>registers</usage>
  17500. </addressBlock>
  17501. <interrupt>
  17502. <name>LPTimer</name>
  17503. <value>39</value>
  17504. </interrupt>
  17505. <registers>
  17506. <register>
  17507. <name>CSR</name>
  17508. <description>Low Power Timer Control Status Register</description>
  17509. <addressOffset>0</addressOffset>
  17510. <size>32</size>
  17511. <access>read-write</access>
  17512. <resetValue>0</resetValue>
  17513. <resetMask>0xFFFFFFFF</resetMask>
  17514. <fields>
  17515. <field>
  17516. <name>TEN</name>
  17517. <description>Timer Enable</description>
  17518. <bitOffset>0</bitOffset>
  17519. <bitWidth>1</bitWidth>
  17520. <access>read-write</access>
  17521. <enumeratedValues>
  17522. <enumeratedValue>
  17523. <name>0</name>
  17524. <description>LPTMR is disabled and internal logic is reset.</description>
  17525. <value>#0</value>
  17526. </enumeratedValue>
  17527. <enumeratedValue>
  17528. <name>1</name>
  17529. <description>LPTMR is enabled.</description>
  17530. <value>#1</value>
  17531. </enumeratedValue>
  17532. </enumeratedValues>
  17533. </field>
  17534. <field>
  17535. <name>TMS</name>
  17536. <description>Timer Mode Select</description>
  17537. <bitOffset>1</bitOffset>
  17538. <bitWidth>1</bitWidth>
  17539. <access>read-write</access>
  17540. <enumeratedValues>
  17541. <enumeratedValue>
  17542. <name>0</name>
  17543. <description>Time Counter mode.</description>
  17544. <value>#0</value>
  17545. </enumeratedValue>
  17546. <enumeratedValue>
  17547. <name>1</name>
  17548. <description>Pulse Counter mode.</description>
  17549. <value>#1</value>
  17550. </enumeratedValue>
  17551. </enumeratedValues>
  17552. </field>
  17553. <field>
  17554. <name>TFC</name>
  17555. <description>Timer Free Running Counter</description>
  17556. <bitOffset>2</bitOffset>
  17557. <bitWidth>1</bitWidth>
  17558. <access>read-write</access>
  17559. <enumeratedValues>
  17560. <enumeratedValue>
  17561. <name>0</name>
  17562. <description>LPTMR Counter Register is reset whenever the Timer Compare Flag is set.</description>
  17563. <value>#0</value>
  17564. </enumeratedValue>
  17565. <enumeratedValue>
  17566. <name>1</name>
  17567. <description>LPTMR Counter Register is reset on overflow.</description>
  17568. <value>#1</value>
  17569. </enumeratedValue>
  17570. </enumeratedValues>
  17571. </field>
  17572. <field>
  17573. <name>TPP</name>
  17574. <description>Timer Pin Polarity</description>
  17575. <bitOffset>3</bitOffset>
  17576. <bitWidth>1</bitWidth>
  17577. <access>read-write</access>
  17578. <enumeratedValues>
  17579. <enumeratedValue>
  17580. <name>0</name>
  17581. <description>Pulse Counter input source is active high, and LPTMR Counter Register will increment on the rising edge.</description>
  17582. <value>#0</value>
  17583. </enumeratedValue>
  17584. <enumeratedValue>
  17585. <name>1</name>
  17586. <description>Pulse Counter input source is active low, and LPTMR Counter Register will increment on the falling edge.</description>
  17587. <value>#1</value>
  17588. </enumeratedValue>
  17589. </enumeratedValues>
  17590. </field>
  17591. <field>
  17592. <name>TPS</name>
  17593. <description>Timer Pin Select</description>
  17594. <bitOffset>4</bitOffset>
  17595. <bitWidth>2</bitWidth>
  17596. <access>read-write</access>
  17597. <enumeratedValues>
  17598. <enumeratedValue>
  17599. <name>00</name>
  17600. <description>Pulse counter input 0 is selected.</description>
  17601. <value>#00</value>
  17602. </enumeratedValue>
  17603. <enumeratedValue>
  17604. <name>01</name>
  17605. <description>Pulse counter input 1 is selected.</description>
  17606. <value>#01</value>
  17607. </enumeratedValue>
  17608. <enumeratedValue>
  17609. <name>10</name>
  17610. <description>Pulse counter input 2 is selected.</description>
  17611. <value>#10</value>
  17612. </enumeratedValue>
  17613. <enumeratedValue>
  17614. <name>11</name>
  17615. <description>Pulse counter input 3 is selected.</description>
  17616. <value>#11</value>
  17617. </enumeratedValue>
  17618. </enumeratedValues>
  17619. </field>
  17620. <field>
  17621. <name>TIE</name>
  17622. <description>Timer Interrupt Enable</description>
  17623. <bitOffset>6</bitOffset>
  17624. <bitWidth>1</bitWidth>
  17625. <access>read-write</access>
  17626. <enumeratedValues>
  17627. <enumeratedValue>
  17628. <name>0</name>
  17629. <description>Timer Interrupt Disabled.</description>
  17630. <value>#0</value>
  17631. </enumeratedValue>
  17632. <enumeratedValue>
  17633. <name>1</name>
  17634. <description>Timer Interrupt Enabled.</description>
  17635. <value>#1</value>
  17636. </enumeratedValue>
  17637. </enumeratedValues>
  17638. </field>
  17639. <field>
  17640. <name>TCF</name>
  17641. <description>Timer Compare Flag</description>
  17642. <bitOffset>7</bitOffset>
  17643. <bitWidth>1</bitWidth>
  17644. <access>read-write</access>
  17645. <enumeratedValues>
  17646. <enumeratedValue>
  17647. <name>0</name>
  17648. <description>LPTMR Counter Register has not equaled the LPTMR Compare Register and incremented</description>
  17649. <value>#0</value>
  17650. </enumeratedValue>
  17651. <enumeratedValue>
  17652. <name>1</name>
  17653. <description>LPTMR Counter Register has equaled the LPTMR Compare Register and incremented</description>
  17654. <value>#1</value>
  17655. </enumeratedValue>
  17656. </enumeratedValues>
  17657. </field>
  17658. </fields>
  17659. </register>
  17660. <register>
  17661. <name>PSR</name>
  17662. <description>Low Power Timer Prescale Register</description>
  17663. <addressOffset>0x4</addressOffset>
  17664. <size>32</size>
  17665. <access>read-write</access>
  17666. <resetValue>0</resetValue>
  17667. <resetMask>0xFFFFFFFF</resetMask>
  17668. <fields>
  17669. <field>
  17670. <name>PCS</name>
  17671. <description>Prescaler Clock Select</description>
  17672. <bitOffset>0</bitOffset>
  17673. <bitWidth>2</bitWidth>
  17674. <access>read-write</access>
  17675. <enumeratedValues>
  17676. <enumeratedValue>
  17677. <name>00</name>
  17678. <description>Prescaler/glitch filter clock 0 selected</description>
  17679. <value>#00</value>
  17680. </enumeratedValue>
  17681. <enumeratedValue>
  17682. <name>01</name>
  17683. <description>Prescaler/glitch filter clock 1 selected</description>
  17684. <value>#01</value>
  17685. </enumeratedValue>
  17686. <enumeratedValue>
  17687. <name>10</name>
  17688. <description>Prescaler/glitch filter clock 2 selected</description>
  17689. <value>#10</value>
  17690. </enumeratedValue>
  17691. <enumeratedValue>
  17692. <name>11</name>
  17693. <description>Prescaler/glitch filter clock 3 selected</description>
  17694. <value>#11</value>
  17695. </enumeratedValue>
  17696. </enumeratedValues>
  17697. </field>
  17698. <field>
  17699. <name>PBYP</name>
  17700. <description>Prescaler Bypass</description>
  17701. <bitOffset>2</bitOffset>
  17702. <bitWidth>1</bitWidth>
  17703. <access>read-write</access>
  17704. <enumeratedValues>
  17705. <enumeratedValue>
  17706. <name>0</name>
  17707. <description>Prescaler/Glitch Filter is enabled.</description>
  17708. <value>#0</value>
  17709. </enumeratedValue>
  17710. <enumeratedValue>
  17711. <name>1</name>
  17712. <description>Prescaler/Glitch Filter is bypassed.</description>
  17713. <value>#1</value>
  17714. </enumeratedValue>
  17715. </enumeratedValues>
  17716. </field>
  17717. <field>
  17718. <name>PRESCALE</name>
  17719. <description>Prescale Value</description>
  17720. <bitOffset>3</bitOffset>
  17721. <bitWidth>4</bitWidth>
  17722. <access>read-write</access>
  17723. <enumeratedValues>
  17724. <enumeratedValue>
  17725. <name>0000</name>
  17726. <description>Prescaler divides the prescaler clock by 2; Glitch Filter does not support this configuration.</description>
  17727. <value>#0000</value>
  17728. </enumeratedValue>
  17729. <enumeratedValue>
  17730. <name>0001</name>
  17731. <description>Prescaler divides the prescaler clock by 4; Glitch Filter recognizes change on input pin after 2 rising clock edges.</description>
  17732. <value>#0001</value>
  17733. </enumeratedValue>
  17734. <enumeratedValue>
  17735. <name>0010</name>
  17736. <description>Prescaler divides the prescaler clock by 8; Glitch Filter recognizes change on input pin after 4 rising clock edges.</description>
  17737. <value>#0010</value>
  17738. </enumeratedValue>
  17739. <enumeratedValue>
  17740. <name>0011</name>
  17741. <description>Prescaler divides the prescaler clock by 16; Glitch Filter recognizes change on input pin after 8 rising clock edges.</description>
  17742. <value>#0011</value>
  17743. </enumeratedValue>
  17744. <enumeratedValue>
  17745. <name>0100</name>
  17746. <description>Prescaler divides the prescaler clock by 32; Glitch Filter recognizes change on input pin after 16 rising clock edges.</description>
  17747. <value>#0100</value>
  17748. </enumeratedValue>
  17749. <enumeratedValue>
  17750. <name>0101</name>
  17751. <description>Prescaler divides the prescaler clock by 64; Glitch Filter recognizes change on input pin after 32 rising clock edges.</description>
  17752. <value>#0101</value>
  17753. </enumeratedValue>
  17754. <enumeratedValue>
  17755. <name>0110</name>
  17756. <description>Prescaler divides the prescaler clock by 128; Glitch Filter recognizes change on input pin after 64 rising clock edges.</description>
  17757. <value>#0110</value>
  17758. </enumeratedValue>
  17759. <enumeratedValue>
  17760. <name>0111</name>
  17761. <description>Prescaler divides the prescaler clock by 256; Glitch Filter recognizes change on input pin after 128 rising clock edges.</description>
  17762. <value>#0111</value>
  17763. </enumeratedValue>
  17764. <enumeratedValue>
  17765. <name>1000</name>
  17766. <description>Prescaler divides the prescaler clock by 512; Glitch Filter recognizes change on input pin after 256 rising clock edges.</description>
  17767. <value>#1000</value>
  17768. </enumeratedValue>
  17769. <enumeratedValue>
  17770. <name>1001</name>
  17771. <description>Prescaler divides the prescaler clock by 1024; Glitch Filter recognizes change on input pin after 512 rising clock edges.</description>
  17772. <value>#1001</value>
  17773. </enumeratedValue>
  17774. <enumeratedValue>
  17775. <name>1010</name>
  17776. <description>Prescaler divides the prescaler clock by 2048; Glitch Filter recognizes change on input pin after 1024 rising clock edges.</description>
  17777. <value>#1010</value>
  17778. </enumeratedValue>
  17779. <enumeratedValue>
  17780. <name>1011</name>
  17781. <description>Prescaler divides the prescaler clock by 4096; Glitch Filter recognizes change on input pin after 2048 rising clock edges.</description>
  17782. <value>#1011</value>
  17783. </enumeratedValue>
  17784. <enumeratedValue>
  17785. <name>1100</name>
  17786. <description>Prescaler divides the prescaler clock by 8192; Glitch Filter recognizes change on input pin after 4096 rising clock edges.</description>
  17787. <value>#1100</value>
  17788. </enumeratedValue>
  17789. <enumeratedValue>
  17790. <name>1101</name>
  17791. <description>Prescaler divides the prescaler clock by 16384; Glitch Filter recognizes change on input pin after 8192 rising clock edges.</description>
  17792. <value>#1101</value>
  17793. </enumeratedValue>
  17794. <enumeratedValue>
  17795. <name>1110</name>
  17796. <description>Prescaler divides the prescaler clock by 32768; Glitch Filter recognizes change on input pin after 16384 rising clock edges.</description>
  17797. <value>#1110</value>
  17798. </enumeratedValue>
  17799. <enumeratedValue>
  17800. <name>1111</name>
  17801. <description>Prescaler divides the prescaler clock by 65536; Glitch Filter recognizes change on input pin after 32768 rising clock edges.</description>
  17802. <value>#1111</value>
  17803. </enumeratedValue>
  17804. </enumeratedValues>
  17805. </field>
  17806. </fields>
  17807. </register>
  17808. <register>
  17809. <name>CMR</name>
  17810. <description>Low Power Timer Compare Register</description>
  17811. <addressOffset>0x8</addressOffset>
  17812. <size>32</size>
  17813. <access>read-write</access>
  17814. <resetValue>0</resetValue>
  17815. <resetMask>0xFFFFFFFF</resetMask>
  17816. <fields>
  17817. <field>
  17818. <name>COMPARE</name>
  17819. <description>Compare Value</description>
  17820. <bitOffset>0</bitOffset>
  17821. <bitWidth>16</bitWidth>
  17822. <access>read-write</access>
  17823. </field>
  17824. </fields>
  17825. </register>
  17826. <register>
  17827. <name>CNR</name>
  17828. <description>Low Power Timer Counter Register</description>
  17829. <addressOffset>0xC</addressOffset>
  17830. <size>32</size>
  17831. <access>read-write</access>
  17832. <resetValue>0</resetValue>
  17833. <resetMask>0xFFFFFFFF</resetMask>
  17834. <fields>
  17835. <field>
  17836. <name>COUNTER</name>
  17837. <description>Counter Value</description>
  17838. <bitOffset>0</bitOffset>
  17839. <bitWidth>16</bitWidth>
  17840. <access>read-write</access>
  17841. </field>
  17842. </fields>
  17843. </register>
  17844. </registers>
  17845. </peripheral>
  17846. <peripheral>
  17847. <name>RFSYS</name>
  17848. <description>System register file</description>
  17849. <prependToName>RFSYS_</prependToName>
  17850. <baseAddress>0x40041000</baseAddress>
  17851. <addressBlock>
  17852. <offset>0</offset>
  17853. <size>0x20</size>
  17854. <usage>registers</usage>
  17855. </addressBlock>
  17856. <registers>
  17857. <register>
  17858. <dim>8</dim>
  17859. <dimIncrement>0x4</dimIncrement>
  17860. <dimIndex>0,1,2,3,4,5,6,7</dimIndex>
  17861. <name>REG%s</name>
  17862. <description>Register file register</description>
  17863. <addressOffset>0</addressOffset>
  17864. <size>32</size>
  17865. <access>read-write</access>
  17866. <resetValue>0</resetValue>
  17867. <resetMask>0xFFFFFFFF</resetMask>
  17868. <fields>
  17869. <field>
  17870. <name>LL</name>
  17871. <description>no description available</description>
  17872. <bitOffset>0</bitOffset>
  17873. <bitWidth>8</bitWidth>
  17874. <access>read-write</access>
  17875. </field>
  17876. <field>
  17877. <name>LH</name>
  17878. <description>no description available</description>
  17879. <bitOffset>8</bitOffset>
  17880. <bitWidth>8</bitWidth>
  17881. <access>read-write</access>
  17882. </field>
  17883. <field>
  17884. <name>HL</name>
  17885. <description>no description available</description>
  17886. <bitOffset>16</bitOffset>
  17887. <bitWidth>8</bitWidth>
  17888. <access>read-write</access>
  17889. </field>
  17890. <field>
  17891. <name>HH</name>
  17892. <description>no description available</description>
  17893. <bitOffset>24</bitOffset>
  17894. <bitWidth>8</bitWidth>
  17895. <access>read-write</access>
  17896. </field>
  17897. </fields>
  17898. </register>
  17899. </registers>
  17900. </peripheral>
  17901. <peripheral>
  17902. <name>TSI0</name>
  17903. <description>Touch Sensing Input</description>
  17904. <prependToName>TSI0_</prependToName>
  17905. <baseAddress>0x40045000</baseAddress>
  17906. <addressBlock>
  17907. <offset>0</offset>
  17908. <size>0x124</size>
  17909. <usage>registers</usage>
  17910. </addressBlock>
  17911. <interrupt>
  17912. <name>TSI0</name>
  17913. <value>37</value>
  17914. </interrupt>
  17915. <registers>
  17916. <register>
  17917. <name>GENCS</name>
  17918. <description>General Control and Status Register</description>
  17919. <addressOffset>0</addressOffset>
  17920. <size>32</size>
  17921. <access>read-write</access>
  17922. <resetValue>0</resetValue>
  17923. <resetMask>0xFFFFFFFF</resetMask>
  17924. <fields>
  17925. <field>
  17926. <name>STPE</name>
  17927. <description>TSI STOP Enable while in Low Power Modes (STOP, VLPS, LLS and VLLS{3,2,1})</description>
  17928. <bitOffset>0</bitOffset>
  17929. <bitWidth>1</bitWidth>
  17930. <access>read-write</access>
  17931. <enumeratedValues>
  17932. <enumeratedValue>
  17933. <name>0</name>
  17934. <description>Disable TSI when MCU goes into low power modes.</description>
  17935. <value>#0</value>
  17936. </enumeratedValue>
  17937. <enumeratedValue>
  17938. <name>1</name>
  17939. <description>Allows TSI to continue running in all low power modes.</description>
  17940. <value>#1</value>
  17941. </enumeratedValue>
  17942. </enumeratedValues>
  17943. </field>
  17944. <field>
  17945. <name>STM</name>
  17946. <description>Scan Trigger Mode. This bit-field can only be changed if the TSI module is disabled (TSIEN bit = 0).</description>
  17947. <bitOffset>1</bitOffset>
  17948. <bitWidth>1</bitWidth>
  17949. <access>read-write</access>
  17950. <enumeratedValues>
  17951. <enumeratedValue>
  17952. <name>0</name>
  17953. <description>Software trigger scan.</description>
  17954. <value>#0</value>
  17955. </enumeratedValue>
  17956. <enumeratedValue>
  17957. <name>1</name>
  17958. <description>Periodical Scan.</description>
  17959. <value>#1</value>
  17960. </enumeratedValue>
  17961. </enumeratedValues>
  17962. </field>
  17963. <field>
  17964. <name>ESOR</name>
  17965. <description>End-of-Scan or Out-of-Range Interrupt select</description>
  17966. <bitOffset>4</bitOffset>
  17967. <bitWidth>1</bitWidth>
  17968. <access>read-write</access>
  17969. <enumeratedValues>
  17970. <enumeratedValue>
  17971. <name>0</name>
  17972. <description>Out-of-Range interrupt is allowed.</description>
  17973. <value>#0</value>
  17974. </enumeratedValue>
  17975. <enumeratedValue>
  17976. <name>1</name>
  17977. <description>End-of-Scan interrupt is allowed.</description>
  17978. <value>#1</value>
  17979. </enumeratedValue>
  17980. </enumeratedValues>
  17981. </field>
  17982. <field>
  17983. <name>ERIE</name>
  17984. <description>Error Interrupt Enable</description>
  17985. <bitOffset>5</bitOffset>
  17986. <bitWidth>1</bitWidth>
  17987. <access>read-write</access>
  17988. <enumeratedValues>
  17989. <enumeratedValue>
  17990. <name>0</name>
  17991. <description>Interrupt disabled for error.</description>
  17992. <value>#0</value>
  17993. </enumeratedValue>
  17994. <enumeratedValue>
  17995. <name>1</name>
  17996. <description>Interrupt enabled for error.</description>
  17997. <value>#1</value>
  17998. </enumeratedValue>
  17999. </enumeratedValues>
  18000. </field>
  18001. <field>
  18002. <name>TSIIE</name>
  18003. <description>Touch Sensing Input Interrupt Module Enable</description>
  18004. <bitOffset>6</bitOffset>
  18005. <bitWidth>1</bitWidth>
  18006. <access>read-write</access>
  18007. <enumeratedValues>
  18008. <enumeratedValue>
  18009. <name>0</name>
  18010. <description>Interrupt from TSI is disabled</description>
  18011. <value>#0</value>
  18012. </enumeratedValue>
  18013. <enumeratedValue>
  18014. <name>1</name>
  18015. <description>Interrupt from TSI is enabled</description>
  18016. <value>#1</value>
  18017. </enumeratedValue>
  18018. </enumeratedValues>
  18019. </field>
  18020. <field>
  18021. <name>TSIEN</name>
  18022. <description>Touch Sensing Input Module Enable</description>
  18023. <bitOffset>7</bitOffset>
  18024. <bitWidth>1</bitWidth>
  18025. <access>read-write</access>
  18026. <enumeratedValues>
  18027. <enumeratedValue>
  18028. <name>0</name>
  18029. <description>TSI module is disabled</description>
  18030. <value>#0</value>
  18031. </enumeratedValue>
  18032. <enumeratedValue>
  18033. <name>1</name>
  18034. <description>TSI module is enabled</description>
  18035. <value>#1</value>
  18036. </enumeratedValue>
  18037. </enumeratedValues>
  18038. </field>
  18039. <field>
  18040. <name>SWTS</name>
  18041. <description>Software Trigger Start</description>
  18042. <bitOffset>8</bitOffset>
  18043. <bitWidth>1</bitWidth>
  18044. <access>write-only</access>
  18045. </field>
  18046. <field>
  18047. <name>SCNIP</name>
  18048. <description>Scan In Progress status</description>
  18049. <bitOffset>9</bitOffset>
  18050. <bitWidth>1</bitWidth>
  18051. <access>read-only</access>
  18052. </field>
  18053. <field>
  18054. <name>OVRF</name>
  18055. <description>Overrun error Flag. This flag is set when a scan trigger occurs while a scan is still in progress. Write &quot;1&quot;, when this flag is set, to clear it..</description>
  18056. <bitOffset>12</bitOffset>
  18057. <bitWidth>1</bitWidth>
  18058. <access>read-write</access>
  18059. <enumeratedValues>
  18060. <enumeratedValue>
  18061. <name>0</name>
  18062. <description>No over run.</description>
  18063. <value>#0</value>
  18064. </enumeratedValue>
  18065. <enumeratedValue>
  18066. <name>1</name>
  18067. <description>Over Run occurred.</description>
  18068. <value>#1</value>
  18069. </enumeratedValue>
  18070. </enumeratedValues>
  18071. </field>
  18072. <field>
  18073. <name>EXTERF</name>
  18074. <description>External Electrode error occurred</description>
  18075. <bitOffset>13</bitOffset>
  18076. <bitWidth>1</bitWidth>
  18077. <access>read-write</access>
  18078. <enumeratedValues>
  18079. <enumeratedValue>
  18080. <name>0</name>
  18081. <description>No fault happend on TSI electrodes</description>
  18082. <value>#0</value>
  18083. </enumeratedValue>
  18084. <enumeratedValue>
  18085. <name>1</name>
  18086. <description>Short to VDD or VSS was detected on one or more electrodes.</description>
  18087. <value>#1</value>
  18088. </enumeratedValue>
  18089. </enumeratedValues>
  18090. </field>
  18091. <field>
  18092. <name>OUTRGF</name>
  18093. <description>Out of Range Flag.</description>
  18094. <bitOffset>14</bitOffset>
  18095. <bitWidth>1</bitWidth>
  18096. <access>read-write</access>
  18097. </field>
  18098. <field>
  18099. <name>EOSF</name>
  18100. <description>End of Scan Flag.</description>
  18101. <bitOffset>15</bitOffset>
  18102. <bitWidth>1</bitWidth>
  18103. <access>read-write</access>
  18104. </field>
  18105. <field>
  18106. <name>PS</name>
  18107. <description>Electrode Oscillator prescaler. .</description>
  18108. <bitOffset>16</bitOffset>
  18109. <bitWidth>3</bitWidth>
  18110. <access>read-write</access>
  18111. <enumeratedValues>
  18112. <enumeratedValue>
  18113. <name>000</name>
  18114. <description>Electrode Oscillator Frequency divided by 1</description>
  18115. <value>#000</value>
  18116. </enumeratedValue>
  18117. <enumeratedValue>
  18118. <name>001</name>
  18119. <description>Electrode Oscillator Frequency divided by 2</description>
  18120. <value>#001</value>
  18121. </enumeratedValue>
  18122. <enumeratedValue>
  18123. <name>010</name>
  18124. <description>Electrode Oscillator Frequency divided by 4</description>
  18125. <value>#010</value>
  18126. </enumeratedValue>
  18127. <enumeratedValue>
  18128. <name>011</name>
  18129. <description>Electrode Oscillator Frequency divided by 8</description>
  18130. <value>#011</value>
  18131. </enumeratedValue>
  18132. <enumeratedValue>
  18133. <name>100</name>
  18134. <description>Electrode Oscillator Frequency divided by 16</description>
  18135. <value>#100</value>
  18136. </enumeratedValue>
  18137. <enumeratedValue>
  18138. <name>101</name>
  18139. <description>Electrode Oscillator Frequency divided by 32</description>
  18140. <value>#101</value>
  18141. </enumeratedValue>
  18142. <enumeratedValue>
  18143. <name>110</name>
  18144. <description>Electrode Oscillator Frequency divided by 64</description>
  18145. <value>#110</value>
  18146. </enumeratedValue>
  18147. <enumeratedValue>
  18148. <name>111</name>
  18149. <description>Electrode Oscillator Frequency divided by 128</description>
  18150. <value>#111</value>
  18151. </enumeratedValue>
  18152. </enumeratedValues>
  18153. </field>
  18154. <field>
  18155. <name>NSCN</name>
  18156. <description>Number of Consecutive Scans per Electrode electrode.</description>
  18157. <bitOffset>19</bitOffset>
  18158. <bitWidth>5</bitWidth>
  18159. <access>read-write</access>
  18160. <enumeratedValues>
  18161. <enumeratedValue>
  18162. <name>00000</name>
  18163. <description>Once per electrode</description>
  18164. <value>#00000</value>
  18165. </enumeratedValue>
  18166. <enumeratedValue>
  18167. <name>00001</name>
  18168. <description>Twice per electrode</description>
  18169. <value>#00001</value>
  18170. </enumeratedValue>
  18171. <enumeratedValue>
  18172. <name>00010</name>
  18173. <description>3 times per electrode</description>
  18174. <value>#00010</value>
  18175. </enumeratedValue>
  18176. <enumeratedValue>
  18177. <name>00011</name>
  18178. <description>4 times per electrode</description>
  18179. <value>#00011</value>
  18180. </enumeratedValue>
  18181. <enumeratedValue>
  18182. <name>00100</name>
  18183. <description>5 times per electrode</description>
  18184. <value>#00100</value>
  18185. </enumeratedValue>
  18186. <enumeratedValue>
  18187. <name>00101</name>
  18188. <description>6 times per electrode</description>
  18189. <value>#00101</value>
  18190. </enumeratedValue>
  18191. <enumeratedValue>
  18192. <name>00110</name>
  18193. <description>7 times per electrode</description>
  18194. <value>#00110</value>
  18195. </enumeratedValue>
  18196. <enumeratedValue>
  18197. <name>00111</name>
  18198. <description>8 times per electrode</description>
  18199. <value>#00111</value>
  18200. </enumeratedValue>
  18201. <enumeratedValue>
  18202. <name>01000</name>
  18203. <description>9 times per electrode</description>
  18204. <value>#01000</value>
  18205. </enumeratedValue>
  18206. <enumeratedValue>
  18207. <name>01001</name>
  18208. <description>10 times per electrode</description>
  18209. <value>#01001</value>
  18210. </enumeratedValue>
  18211. <enumeratedValue>
  18212. <name>01010</name>
  18213. <description>11 times per electrode</description>
  18214. <value>#01010</value>
  18215. </enumeratedValue>
  18216. <enumeratedValue>
  18217. <name>01011</name>
  18218. <description>12 times per electrode</description>
  18219. <value>#01011</value>
  18220. </enumeratedValue>
  18221. <enumeratedValue>
  18222. <name>01100</name>
  18223. <description>13 times per electrode</description>
  18224. <value>#01100</value>
  18225. </enumeratedValue>
  18226. <enumeratedValue>
  18227. <name>01101</name>
  18228. <description>14 times per electrode</description>
  18229. <value>#01101</value>
  18230. </enumeratedValue>
  18231. <enumeratedValue>
  18232. <name>01110</name>
  18233. <description>15 times per electrode</description>
  18234. <value>#01110</value>
  18235. </enumeratedValue>
  18236. <enumeratedValue>
  18237. <name>01111</name>
  18238. <description>16 times per electrode</description>
  18239. <value>#01111</value>
  18240. </enumeratedValue>
  18241. <enumeratedValue>
  18242. <name>10000</name>
  18243. <description>17 times per electrode</description>
  18244. <value>#10000</value>
  18245. </enumeratedValue>
  18246. <enumeratedValue>
  18247. <name>10001</name>
  18248. <description>18 times per electrode</description>
  18249. <value>#10001</value>
  18250. </enumeratedValue>
  18251. <enumeratedValue>
  18252. <name>10010</name>
  18253. <description>19 times per electrode</description>
  18254. <value>#10010</value>
  18255. </enumeratedValue>
  18256. <enumeratedValue>
  18257. <name>10011</name>
  18258. <description>20 times per electrode</description>
  18259. <value>#10011</value>
  18260. </enumeratedValue>
  18261. <enumeratedValue>
  18262. <name>10100</name>
  18263. <description>21 times per electrode</description>
  18264. <value>#10100</value>
  18265. </enumeratedValue>
  18266. <enumeratedValue>
  18267. <name>10101</name>
  18268. <description>22 times per electrode</description>
  18269. <value>#10101</value>
  18270. </enumeratedValue>
  18271. <enumeratedValue>
  18272. <name>10110</name>
  18273. <description>23 times per electrode</description>
  18274. <value>#10110</value>
  18275. </enumeratedValue>
  18276. <enumeratedValue>
  18277. <name>10111</name>
  18278. <description>24 times per electrode</description>
  18279. <value>#10111</value>
  18280. </enumeratedValue>
  18281. <enumeratedValue>
  18282. <name>11000</name>
  18283. <description>25 times per electrode</description>
  18284. <value>#11000</value>
  18285. </enumeratedValue>
  18286. <enumeratedValue>
  18287. <name>11001</name>
  18288. <description>26 times per electrode</description>
  18289. <value>#11001</value>
  18290. </enumeratedValue>
  18291. <enumeratedValue>
  18292. <name>11010</name>
  18293. <description>27 times per electrode</description>
  18294. <value>#11010</value>
  18295. </enumeratedValue>
  18296. <enumeratedValue>
  18297. <name>11011</name>
  18298. <description>28 times per electrode</description>
  18299. <value>#11011</value>
  18300. </enumeratedValue>
  18301. <enumeratedValue>
  18302. <name>11100</name>
  18303. <description>29 times per electrode</description>
  18304. <value>#11100</value>
  18305. </enumeratedValue>
  18306. <enumeratedValue>
  18307. <name>11101</name>
  18308. <description>30 times per electrode</description>
  18309. <value>#11101</value>
  18310. </enumeratedValue>
  18311. <enumeratedValue>
  18312. <name>11110</name>
  18313. <description>31 times per electrode</description>
  18314. <value>#11110</value>
  18315. </enumeratedValue>
  18316. <enumeratedValue>
  18317. <name>11111</name>
  18318. <description>32 times per electrode</description>
  18319. <value>#11111</value>
  18320. </enumeratedValue>
  18321. </enumeratedValues>
  18322. </field>
  18323. <field>
  18324. <name>LPSCNITV</name>
  18325. <description>TSI Low Power Mode Scan Interval.</description>
  18326. <bitOffset>24</bitOffset>
  18327. <bitWidth>4</bitWidth>
  18328. <access>read-write</access>
  18329. <enumeratedValues>
  18330. <enumeratedValue>
  18331. <name>0000</name>
  18332. <description>1 ms scan interval</description>
  18333. <value>#0000</value>
  18334. </enumeratedValue>
  18335. <enumeratedValue>
  18336. <name>0001</name>
  18337. <description>5 ms scan interval</description>
  18338. <value>#0001</value>
  18339. </enumeratedValue>
  18340. <enumeratedValue>
  18341. <name>0010</name>
  18342. <description>10 ms scan interval</description>
  18343. <value>#0010</value>
  18344. </enumeratedValue>
  18345. <enumeratedValue>
  18346. <name>0011</name>
  18347. <description>15 ms scan interval</description>
  18348. <value>#0011</value>
  18349. </enumeratedValue>
  18350. <enumeratedValue>
  18351. <name>0100</name>
  18352. <description>20 ms scan interval</description>
  18353. <value>#0100</value>
  18354. </enumeratedValue>
  18355. <enumeratedValue>
  18356. <name>0101</name>
  18357. <description>30 ms scan interval</description>
  18358. <value>#0101</value>
  18359. </enumeratedValue>
  18360. <enumeratedValue>
  18361. <name>0110</name>
  18362. <description>40 ms scan interval</description>
  18363. <value>#0110</value>
  18364. </enumeratedValue>
  18365. <enumeratedValue>
  18366. <name>0111</name>
  18367. <description>50 ms scan interval</description>
  18368. <value>#0111</value>
  18369. </enumeratedValue>
  18370. <enumeratedValue>
  18371. <name>1000</name>
  18372. <description>75 ms scan interval</description>
  18373. <value>#1000</value>
  18374. </enumeratedValue>
  18375. <enumeratedValue>
  18376. <name>1001</name>
  18377. <description>100 ms scan interval</description>
  18378. <value>#1001</value>
  18379. </enumeratedValue>
  18380. <enumeratedValue>
  18381. <name>1010</name>
  18382. <description>125 ms scan interval</description>
  18383. <value>#1010</value>
  18384. </enumeratedValue>
  18385. <enumeratedValue>
  18386. <name>1011</name>
  18387. <description>150 ms scan interval</description>
  18388. <value>#1011</value>
  18389. </enumeratedValue>
  18390. <enumeratedValue>
  18391. <name>1100</name>
  18392. <description>200 ms scan interval</description>
  18393. <value>#1100</value>
  18394. </enumeratedValue>
  18395. <enumeratedValue>
  18396. <name>1101</name>
  18397. <description>300 ms scan interval</description>
  18398. <value>#1101</value>
  18399. </enumeratedValue>
  18400. <enumeratedValue>
  18401. <name>1110</name>
  18402. <description>400 ms scan interval</description>
  18403. <value>#1110</value>
  18404. </enumeratedValue>
  18405. <enumeratedValue>
  18406. <name>1111</name>
  18407. <description>500 ms scan interval</description>
  18408. <value>#1111</value>
  18409. </enumeratedValue>
  18410. </enumeratedValues>
  18411. </field>
  18412. <field>
  18413. <name>LPCLKS</name>
  18414. <description>Low Power Mode Clock Source Selection.</description>
  18415. <bitOffset>28</bitOffset>
  18416. <bitWidth>1</bitWidth>
  18417. <access>read-write</access>
  18418. <enumeratedValues>
  18419. <enumeratedValue>
  18420. <name>0</name>
  18421. <description>LPOCLK is selected to determine the scan period in low power mode</description>
  18422. <value>#0</value>
  18423. </enumeratedValue>
  18424. <enumeratedValue>
  18425. <name>1</name>
  18426. <description>VLPOSCCLK is selected to determine the scan period in low power mode</description>
  18427. <value>#1</value>
  18428. </enumeratedValue>
  18429. </enumeratedValues>
  18430. </field>
  18431. </fields>
  18432. </register>
  18433. <register>
  18434. <name>SCANC</name>
  18435. <description>SCAN Control Register</description>
  18436. <addressOffset>0x4</addressOffset>
  18437. <size>32</size>
  18438. <access>read-write</access>
  18439. <resetValue>0</resetValue>
  18440. <resetMask>0xFFFFFFFF</resetMask>
  18441. <fields>
  18442. <field>
  18443. <name>AMPSC</name>
  18444. <description>Active Mode Prescaler</description>
  18445. <bitOffset>0</bitOffset>
  18446. <bitWidth>3</bitWidth>
  18447. <access>read-write</access>
  18448. <enumeratedValues>
  18449. <enumeratedValue>
  18450. <name>000</name>
  18451. <description>Input Clock Source divided by 1.</description>
  18452. <value>#000</value>
  18453. </enumeratedValue>
  18454. <enumeratedValue>
  18455. <name>001</name>
  18456. <description>Input Clock Source divided by 2.</description>
  18457. <value>#001</value>
  18458. </enumeratedValue>
  18459. <enumeratedValue>
  18460. <name>010</name>
  18461. <description>Input Clock Source divided by 4.</description>
  18462. <value>#010</value>
  18463. </enumeratedValue>
  18464. <enumeratedValue>
  18465. <name>011</name>
  18466. <description>Input Clock Source divided by 8.</description>
  18467. <value>#011</value>
  18468. </enumeratedValue>
  18469. <enumeratedValue>
  18470. <name>100</name>
  18471. <description>Input Clock Source divided by 16.</description>
  18472. <value>#100</value>
  18473. </enumeratedValue>
  18474. <enumeratedValue>
  18475. <name>101</name>
  18476. <description>Input Clock Source divided by 32.</description>
  18477. <value>#101</value>
  18478. </enumeratedValue>
  18479. <enumeratedValue>
  18480. <name>110</name>
  18481. <description>Input Clock Source divided by 64.</description>
  18482. <value>#110</value>
  18483. </enumeratedValue>
  18484. <enumeratedValue>
  18485. <name>111</name>
  18486. <description>Input Clock Source divided by 128.</description>
  18487. <value>#111</value>
  18488. </enumeratedValue>
  18489. </enumeratedValues>
  18490. </field>
  18491. <field>
  18492. <name>AMCLKS</name>
  18493. <description>Active Mode Clock Source</description>
  18494. <bitOffset>3</bitOffset>
  18495. <bitWidth>2</bitWidth>
  18496. <access>read-write</access>
  18497. <enumeratedValues>
  18498. <enumeratedValue>
  18499. <name>00</name>
  18500. <description>LPOSCCLK</description>
  18501. <value>#00</value>
  18502. </enumeratedValue>
  18503. <enumeratedValue>
  18504. <name>01</name>
  18505. <description>MCGIRCLK.</description>
  18506. <value>#01</value>
  18507. </enumeratedValue>
  18508. <enumeratedValue>
  18509. <name>10</name>
  18510. <description>OSCERCLK.</description>
  18511. <value>#10</value>
  18512. </enumeratedValue>
  18513. <enumeratedValue>
  18514. <name>11</name>
  18515. <description>Not valid.</description>
  18516. <value>#11</value>
  18517. </enumeratedValue>
  18518. </enumeratedValues>
  18519. </field>
  18520. <field>
  18521. <name>SMOD</name>
  18522. <description>Scan Module</description>
  18523. <bitOffset>8</bitOffset>
  18524. <bitWidth>8</bitWidth>
  18525. <access>read-write</access>
  18526. <enumeratedValues>
  18527. <enumeratedValue>
  18528. <name>00000000</name>
  18529. <description>Continue Scan.</description>
  18530. <value>#0</value>
  18531. </enumeratedValue>
  18532. </enumeratedValues>
  18533. </field>
  18534. <field>
  18535. <name>EXTCHRG</name>
  18536. <description>External OSC Charge Current select</description>
  18537. <bitOffset>16</bitOffset>
  18538. <bitWidth>4</bitWidth>
  18539. <access>read-write</access>
  18540. <enumeratedValues>
  18541. <enumeratedValue>
  18542. <name>0000</name>
  18543. <description>2 uA charge current.</description>
  18544. <value>#0000</value>
  18545. </enumeratedValue>
  18546. <enumeratedValue>
  18547. <name>0001</name>
  18548. <description>4 uA charge current.</description>
  18549. <value>#0001</value>
  18550. </enumeratedValue>
  18551. <enumeratedValue>
  18552. <name>0010</name>
  18553. <description>6 uA charge current.</description>
  18554. <value>#0010</value>
  18555. </enumeratedValue>
  18556. <enumeratedValue>
  18557. <name>0011</name>
  18558. <description>8 uA charge current.</description>
  18559. <value>#0011</value>
  18560. </enumeratedValue>
  18561. <enumeratedValue>
  18562. <name>0100</name>
  18563. <description>10 uA charge current.</description>
  18564. <value>#0100</value>
  18565. </enumeratedValue>
  18566. <enumeratedValue>
  18567. <name>0101</name>
  18568. <description>12 uA charge current.</description>
  18569. <value>#0101</value>
  18570. </enumeratedValue>
  18571. <enumeratedValue>
  18572. <name>0110</name>
  18573. <description>14 uA charge current.</description>
  18574. <value>#0110</value>
  18575. </enumeratedValue>
  18576. <enumeratedValue>
  18577. <name>0111</name>
  18578. <description>16 uA charge current.</description>
  18579. <value>#0111</value>
  18580. </enumeratedValue>
  18581. <enumeratedValue>
  18582. <name>1000</name>
  18583. <description>18 uA charge current.</description>
  18584. <value>#1000</value>
  18585. </enumeratedValue>
  18586. <enumeratedValue>
  18587. <name>1001</name>
  18588. <description>20 uA charge current.</description>
  18589. <value>#1001</value>
  18590. </enumeratedValue>
  18591. <enumeratedValue>
  18592. <name>1010</name>
  18593. <description>22 uA charge current.</description>
  18594. <value>#1010</value>
  18595. </enumeratedValue>
  18596. <enumeratedValue>
  18597. <name>1011</name>
  18598. <description>24 uA charge current.</description>
  18599. <value>#1011</value>
  18600. </enumeratedValue>
  18601. <enumeratedValue>
  18602. <name>1100</name>
  18603. <description>26 uA charge current.</description>
  18604. <value>#1100</value>
  18605. </enumeratedValue>
  18606. <enumeratedValue>
  18607. <name>1101</name>
  18608. <description>28 uA charge current.</description>
  18609. <value>#1101</value>
  18610. </enumeratedValue>
  18611. <enumeratedValue>
  18612. <name>1110</name>
  18613. <description>30 uA charge current.</description>
  18614. <value>#1110</value>
  18615. </enumeratedValue>
  18616. <enumeratedValue>
  18617. <name>1111</name>
  18618. <description>32 uA charge current.</description>
  18619. <value>#1111</value>
  18620. </enumeratedValue>
  18621. </enumeratedValues>
  18622. </field>
  18623. <field>
  18624. <name>REFCHRG</name>
  18625. <description>Ref OSC Charge Current select</description>
  18626. <bitOffset>24</bitOffset>
  18627. <bitWidth>4</bitWidth>
  18628. <access>read-write</access>
  18629. <enumeratedValues>
  18630. <enumeratedValue>
  18631. <name>0000</name>
  18632. <description>2 uA charge current.</description>
  18633. <value>#0000</value>
  18634. </enumeratedValue>
  18635. <enumeratedValue>
  18636. <name>0001</name>
  18637. <description>4 uA charge current.</description>
  18638. <value>#0001</value>
  18639. </enumeratedValue>
  18640. <enumeratedValue>
  18641. <name>0010</name>
  18642. <description>6 uA charge current.</description>
  18643. <value>#0010</value>
  18644. </enumeratedValue>
  18645. <enumeratedValue>
  18646. <name>0011</name>
  18647. <description>8 uA charge current.</description>
  18648. <value>#0011</value>
  18649. </enumeratedValue>
  18650. <enumeratedValue>
  18651. <name>0100</name>
  18652. <description>10 uA charge current.</description>
  18653. <value>#0100</value>
  18654. </enumeratedValue>
  18655. <enumeratedValue>
  18656. <name>0101</name>
  18657. <description>12 uA charge current.</description>
  18658. <value>#0101</value>
  18659. </enumeratedValue>
  18660. <enumeratedValue>
  18661. <name>0110</name>
  18662. <description>14 uA charge current.</description>
  18663. <value>#0110</value>
  18664. </enumeratedValue>
  18665. <enumeratedValue>
  18666. <name>0111</name>
  18667. <description>16 uA charge current.</description>
  18668. <value>#0111</value>
  18669. </enumeratedValue>
  18670. <enumeratedValue>
  18671. <name>1000</name>
  18672. <description>18 uA charge current.</description>
  18673. <value>#1000</value>
  18674. </enumeratedValue>
  18675. <enumeratedValue>
  18676. <name>1001</name>
  18677. <description>20 uA charge current.</description>
  18678. <value>#1001</value>
  18679. </enumeratedValue>
  18680. <enumeratedValue>
  18681. <name>1010</name>
  18682. <description>22 uA charge current.</description>
  18683. <value>#1010</value>
  18684. </enumeratedValue>
  18685. <enumeratedValue>
  18686. <name>1011</name>
  18687. <description>24 uA charge current.</description>
  18688. <value>#1011</value>
  18689. </enumeratedValue>
  18690. <enumeratedValue>
  18691. <name>1100</name>
  18692. <description>26 uA charge current.</description>
  18693. <value>#1100</value>
  18694. </enumeratedValue>
  18695. <enumeratedValue>
  18696. <name>1101</name>
  18697. <description>28 uA charge current.</description>
  18698. <value>#1101</value>
  18699. </enumeratedValue>
  18700. <enumeratedValue>
  18701. <name>1110</name>
  18702. <description>30 uA charge current.</description>
  18703. <value>#1110</value>
  18704. </enumeratedValue>
  18705. <enumeratedValue>
  18706. <name>1111</name>
  18707. <description>32 uA charge current.</description>
  18708. <value>#1111</value>
  18709. </enumeratedValue>
  18710. </enumeratedValues>
  18711. </field>
  18712. </fields>
  18713. </register>
  18714. <register>
  18715. <name>PEN</name>
  18716. <description>Pin Enable Register</description>
  18717. <addressOffset>0x8</addressOffset>
  18718. <size>32</size>
  18719. <access>read-write</access>
  18720. <resetValue>0</resetValue>
  18721. <resetMask>0xFFFFFFFF</resetMask>
  18722. <fields>
  18723. <field>
  18724. <name>PEN0</name>
  18725. <description>Touch Sensing Input Pin Enable Register 0</description>
  18726. <bitOffset>0</bitOffset>
  18727. <bitWidth>1</bitWidth>
  18728. <access>read-write</access>
  18729. <enumeratedValues>
  18730. <enumeratedValue>
  18731. <name>0</name>
  18732. <description>The corresponding pin is not used by TSI.</description>
  18733. <value>#0</value>
  18734. </enumeratedValue>
  18735. <enumeratedValue>
  18736. <name>1</name>
  18737. <description>The corresponding pin is used by TSI.</description>
  18738. <value>#1</value>
  18739. </enumeratedValue>
  18740. </enumeratedValues>
  18741. </field>
  18742. <field>
  18743. <name>PEN1</name>
  18744. <description>Touch Sensing Input Pin Enable Register 1</description>
  18745. <bitOffset>1</bitOffset>
  18746. <bitWidth>1</bitWidth>
  18747. <access>read-write</access>
  18748. <enumeratedValues>
  18749. <enumeratedValue>
  18750. <name>0</name>
  18751. <description>The corresponding pin is not used by TSI.</description>
  18752. <value>#0</value>
  18753. </enumeratedValue>
  18754. <enumeratedValue>
  18755. <name>1</name>
  18756. <description>The corresponding pin is used by TSI.</description>
  18757. <value>#1</value>
  18758. </enumeratedValue>
  18759. </enumeratedValues>
  18760. </field>
  18761. <field>
  18762. <name>PEN2</name>
  18763. <description>Touch Sensing Input Pin Enable Register 2</description>
  18764. <bitOffset>2</bitOffset>
  18765. <bitWidth>1</bitWidth>
  18766. <access>read-write</access>
  18767. <enumeratedValues>
  18768. <enumeratedValue>
  18769. <name>0</name>
  18770. <description>The corresponding pin is not used by TSI.</description>
  18771. <value>#0</value>
  18772. </enumeratedValue>
  18773. <enumeratedValue>
  18774. <name>1</name>
  18775. <description>The corresponding pin is used by TSI.</description>
  18776. <value>#1</value>
  18777. </enumeratedValue>
  18778. </enumeratedValues>
  18779. </field>
  18780. <field>
  18781. <name>PEN3</name>
  18782. <description>Touch Sensing Input Pin Enable Register 3</description>
  18783. <bitOffset>3</bitOffset>
  18784. <bitWidth>1</bitWidth>
  18785. <access>read-write</access>
  18786. <enumeratedValues>
  18787. <enumeratedValue>
  18788. <name>0</name>
  18789. <description>The corresponding pin is not used by TSI.</description>
  18790. <value>#0</value>
  18791. </enumeratedValue>
  18792. <enumeratedValue>
  18793. <name>1</name>
  18794. <description>The corresponding pin is used by TSI.</description>
  18795. <value>#1</value>
  18796. </enumeratedValue>
  18797. </enumeratedValues>
  18798. </field>
  18799. <field>
  18800. <name>PEN4</name>
  18801. <description>Touch Sensing Input Pin Enable Register 4</description>
  18802. <bitOffset>4</bitOffset>
  18803. <bitWidth>1</bitWidth>
  18804. <access>read-write</access>
  18805. <enumeratedValues>
  18806. <enumeratedValue>
  18807. <name>0</name>
  18808. <description>The corresponding pin is not used by TSI.</description>
  18809. <value>#0</value>
  18810. </enumeratedValue>
  18811. <enumeratedValue>
  18812. <name>1</name>
  18813. <description>The corresponding pin is used by TSI.</description>
  18814. <value>#1</value>
  18815. </enumeratedValue>
  18816. </enumeratedValues>
  18817. </field>
  18818. <field>
  18819. <name>PEN5</name>
  18820. <description>Touch Sensing Input Pin Enable Register 5</description>
  18821. <bitOffset>5</bitOffset>
  18822. <bitWidth>1</bitWidth>
  18823. <access>read-write</access>
  18824. <enumeratedValues>
  18825. <enumeratedValue>
  18826. <name>0</name>
  18827. <description>The corresponding pin is not used by TSI.</description>
  18828. <value>#0</value>
  18829. </enumeratedValue>
  18830. <enumeratedValue>
  18831. <name>1</name>
  18832. <description>The corresponding pin is used by TSI.</description>
  18833. <value>#1</value>
  18834. </enumeratedValue>
  18835. </enumeratedValues>
  18836. </field>
  18837. <field>
  18838. <name>PEN6</name>
  18839. <description>Touch Sensing Input Pin Enable Register 6</description>
  18840. <bitOffset>6</bitOffset>
  18841. <bitWidth>1</bitWidth>
  18842. <access>read-write</access>
  18843. <enumeratedValues>
  18844. <enumeratedValue>
  18845. <name>0</name>
  18846. <description>The corresponding pin is not used by TSI.</description>
  18847. <value>#0</value>
  18848. </enumeratedValue>
  18849. <enumeratedValue>
  18850. <name>1</name>
  18851. <description>The corresponding pin is used by TSI.</description>
  18852. <value>#1</value>
  18853. </enumeratedValue>
  18854. </enumeratedValues>
  18855. </field>
  18856. <field>
  18857. <name>PEN7</name>
  18858. <description>Touch Sensing Input Pin Enable Register 7</description>
  18859. <bitOffset>7</bitOffset>
  18860. <bitWidth>1</bitWidth>
  18861. <access>read-write</access>
  18862. <enumeratedValues>
  18863. <enumeratedValue>
  18864. <name>0</name>
  18865. <description>The corresponding pin is not used by TSI.</description>
  18866. <value>#0</value>
  18867. </enumeratedValue>
  18868. <enumeratedValue>
  18869. <name>1</name>
  18870. <description>The corresponding pin is used by TSI.</description>
  18871. <value>#1</value>
  18872. </enumeratedValue>
  18873. </enumeratedValues>
  18874. </field>
  18875. <field>
  18876. <name>PEN8</name>
  18877. <description>Touch Sensing Input Pin Enable Register 8</description>
  18878. <bitOffset>8</bitOffset>
  18879. <bitWidth>1</bitWidth>
  18880. <access>read-write</access>
  18881. <enumeratedValues>
  18882. <enumeratedValue>
  18883. <name>0</name>
  18884. <description>The corresponding pin is not used by TSI.</description>
  18885. <value>#0</value>
  18886. </enumeratedValue>
  18887. <enumeratedValue>
  18888. <name>1</name>
  18889. <description>The corresponding pin is used by TSI.</description>
  18890. <value>#1</value>
  18891. </enumeratedValue>
  18892. </enumeratedValues>
  18893. </field>
  18894. <field>
  18895. <name>PEN9</name>
  18896. <description>Touch Sensing Input Pin Enable Register 9</description>
  18897. <bitOffset>9</bitOffset>
  18898. <bitWidth>1</bitWidth>
  18899. <access>read-write</access>
  18900. <enumeratedValues>
  18901. <enumeratedValue>
  18902. <name>0</name>
  18903. <description>The corresponding pin is not used by TSI.</description>
  18904. <value>#0</value>
  18905. </enumeratedValue>
  18906. <enumeratedValue>
  18907. <name>1</name>
  18908. <description>The corresponding pin is used by TSI.</description>
  18909. <value>#1</value>
  18910. </enumeratedValue>
  18911. </enumeratedValues>
  18912. </field>
  18913. <field>
  18914. <name>PEN10</name>
  18915. <description>Touch Sensing Input Pin Enable Register 10</description>
  18916. <bitOffset>10</bitOffset>
  18917. <bitWidth>1</bitWidth>
  18918. <access>read-write</access>
  18919. <enumeratedValues>
  18920. <enumeratedValue>
  18921. <name>0</name>
  18922. <description>The corresponding pin is not used by TSI.</description>
  18923. <value>#0</value>
  18924. </enumeratedValue>
  18925. <enumeratedValue>
  18926. <name>1</name>
  18927. <description>The corresponding pin is used by TSI.</description>
  18928. <value>#1</value>
  18929. </enumeratedValue>
  18930. </enumeratedValues>
  18931. </field>
  18932. <field>
  18933. <name>PEN11</name>
  18934. <description>Touch Sensing Input Pin Enable Register 11</description>
  18935. <bitOffset>11</bitOffset>
  18936. <bitWidth>1</bitWidth>
  18937. <access>read-write</access>
  18938. <enumeratedValues>
  18939. <enumeratedValue>
  18940. <name>0</name>
  18941. <description>The corresponding pin is not used by TSI.</description>
  18942. <value>#0</value>
  18943. </enumeratedValue>
  18944. <enumeratedValue>
  18945. <name>1</name>
  18946. <description>The corresponding pin is used by TSI.</description>
  18947. <value>#1</value>
  18948. </enumeratedValue>
  18949. </enumeratedValues>
  18950. </field>
  18951. <field>
  18952. <name>PEN12</name>
  18953. <description>Touch Sensing Input Pin Enable Register 12</description>
  18954. <bitOffset>12</bitOffset>
  18955. <bitWidth>1</bitWidth>
  18956. <access>read-write</access>
  18957. <enumeratedValues>
  18958. <enumeratedValue>
  18959. <name>0</name>
  18960. <description>The corresponding pin is not used by TSI.</description>
  18961. <value>#0</value>
  18962. </enumeratedValue>
  18963. <enumeratedValue>
  18964. <name>1</name>
  18965. <description>The corresponding pin is used by TSI.</description>
  18966. <value>#1</value>
  18967. </enumeratedValue>
  18968. </enumeratedValues>
  18969. </field>
  18970. <field>
  18971. <name>PEN13</name>
  18972. <description>Touch Sensing Input Pin Enable Register 13</description>
  18973. <bitOffset>13</bitOffset>
  18974. <bitWidth>1</bitWidth>
  18975. <access>read-write</access>
  18976. <enumeratedValues>
  18977. <enumeratedValue>
  18978. <name>0</name>
  18979. <description>The corresponding pin is not used by TSI.</description>
  18980. <value>#0</value>
  18981. </enumeratedValue>
  18982. <enumeratedValue>
  18983. <name>1</name>
  18984. <description>The corresponding pin is used by TSI.</description>
  18985. <value>#1</value>
  18986. </enumeratedValue>
  18987. </enumeratedValues>
  18988. </field>
  18989. <field>
  18990. <name>PEN14</name>
  18991. <description>Touch Sensing Input Pin Enable Register 14</description>
  18992. <bitOffset>14</bitOffset>
  18993. <bitWidth>1</bitWidth>
  18994. <access>read-write</access>
  18995. <enumeratedValues>
  18996. <enumeratedValue>
  18997. <name>0</name>
  18998. <description>The corresponding pin is not used by TSI.</description>
  18999. <value>#0</value>
  19000. </enumeratedValue>
  19001. <enumeratedValue>
  19002. <name>1</name>
  19003. <description>The corresponding pin is used by TSI.</description>
  19004. <value>#1</value>
  19005. </enumeratedValue>
  19006. </enumeratedValues>
  19007. </field>
  19008. <field>
  19009. <name>PEN15</name>
  19010. <description>Touch Sensing Input Pin Enable Register 15</description>
  19011. <bitOffset>15</bitOffset>
  19012. <bitWidth>1</bitWidth>
  19013. <access>read-write</access>
  19014. <enumeratedValues>
  19015. <enumeratedValue>
  19016. <name>0</name>
  19017. <description>The corresponding pin is not used by TSI.</description>
  19018. <value>#0</value>
  19019. </enumeratedValue>
  19020. <enumeratedValue>
  19021. <name>1</name>
  19022. <description>The corresponding pin is used by TSI.</description>
  19023. <value>#1</value>
  19024. </enumeratedValue>
  19025. </enumeratedValues>
  19026. </field>
  19027. <field>
  19028. <name>LPSP</name>
  19029. <description>Low Power Scan Pin</description>
  19030. <bitOffset>16</bitOffset>
  19031. <bitWidth>4</bitWidth>
  19032. <access>read-write</access>
  19033. <enumeratedValues>
  19034. <enumeratedValue>
  19035. <name>0000</name>
  19036. <description>TSI_IN[0] is active in low power mode.</description>
  19037. <value>#0000</value>
  19038. </enumeratedValue>
  19039. <enumeratedValue>
  19040. <name>0001</name>
  19041. <description>TSI_IN[1] is active in low power mode.</description>
  19042. <value>#0001</value>
  19043. </enumeratedValue>
  19044. <enumeratedValue>
  19045. <name>0010</name>
  19046. <description>TSI_IN[2] is active in low power mode.</description>
  19047. <value>#0010</value>
  19048. </enumeratedValue>
  19049. <enumeratedValue>
  19050. <name>0011</name>
  19051. <description>TSI_IN[3] is active in low power mode.</description>
  19052. <value>#0011</value>
  19053. </enumeratedValue>
  19054. <enumeratedValue>
  19055. <name>0100</name>
  19056. <description>TSI_IN[4] is active in low power mode.</description>
  19057. <value>#0100</value>
  19058. </enumeratedValue>
  19059. <enumeratedValue>
  19060. <name>0101</name>
  19061. <description>TSI_IN[5] is active in low power mode.</description>
  19062. <value>#0101</value>
  19063. </enumeratedValue>
  19064. <enumeratedValue>
  19065. <name>0110</name>
  19066. <description>TSI_IN[6] is active in low power mode.</description>
  19067. <value>#0110</value>
  19068. </enumeratedValue>
  19069. <enumeratedValue>
  19070. <name>0111</name>
  19071. <description>TSI_IN[7] is active in low power mode.</description>
  19072. <value>#0111</value>
  19073. </enumeratedValue>
  19074. <enumeratedValue>
  19075. <name>1000</name>
  19076. <description>TSI_IN[8] is active in low power mode.</description>
  19077. <value>#1000</value>
  19078. </enumeratedValue>
  19079. <enumeratedValue>
  19080. <name>1001</name>
  19081. <description>TSI_IN[9] is active in low power mode.</description>
  19082. <value>#1001</value>
  19083. </enumeratedValue>
  19084. <enumeratedValue>
  19085. <name>1010</name>
  19086. <description>TSI_IN[10] is active in low power mode.</description>
  19087. <value>#1010</value>
  19088. </enumeratedValue>
  19089. <enumeratedValue>
  19090. <name>1011</name>
  19091. <description>TSI_IN[11] is active in low power mode.</description>
  19092. <value>#1011</value>
  19093. </enumeratedValue>
  19094. <enumeratedValue>
  19095. <name>1100</name>
  19096. <description>TSI_IN[12] is active in low power mode.</description>
  19097. <value>#1100</value>
  19098. </enumeratedValue>
  19099. <enumeratedValue>
  19100. <name>1101</name>
  19101. <description>TSI_IN[13] is active in low power mode.</description>
  19102. <value>#1101</value>
  19103. </enumeratedValue>
  19104. <enumeratedValue>
  19105. <name>1110</name>
  19106. <description>TSI_IN[14] is active in low power mode.</description>
  19107. <value>#1110</value>
  19108. </enumeratedValue>
  19109. <enumeratedValue>
  19110. <name>1111</name>
  19111. <description>TSI_IN[15] is active in low power mode.</description>
  19112. <value>#1111</value>
  19113. </enumeratedValue>
  19114. </enumeratedValues>
  19115. </field>
  19116. </fields>
  19117. </register>
  19118. <register>
  19119. <name>WUCNTR</name>
  19120. <description>Wake-Up Channel Counter Register</description>
  19121. <addressOffset>0xC</addressOffset>
  19122. <size>32</size>
  19123. <access>read-only</access>
  19124. <resetValue>0</resetValue>
  19125. <resetMask>0xFFFFFFFF</resetMask>
  19126. <fields>
  19127. <field>
  19128. <name>WUCNT</name>
  19129. <description>TouchSensing wake-up Channel 16bit counter value</description>
  19130. <bitOffset>0</bitOffset>
  19131. <bitWidth>16</bitWidth>
  19132. <access>read-only</access>
  19133. </field>
  19134. </fields>
  19135. </register>
  19136. <register>
  19137. <dim>8</dim>
  19138. <dimIncrement>0x4</dimIncrement>
  19139. <dimIndex>1,3,5,7,9,11,13,15</dimIndex>
  19140. <name>CNTR%s</name>
  19141. <description>Counter Register</description>
  19142. <addressOffset>0x100</addressOffset>
  19143. <size>32</size>
  19144. <access>read-only</access>
  19145. <resetValue>0</resetValue>
  19146. <resetMask>0xFFFFFFFF</resetMask>
  19147. <fields>
  19148. <field>
  19149. <name>CTN1</name>
  19150. <description>TouchSensing Channel n-1 16-bit counter value</description>
  19151. <bitOffset>0</bitOffset>
  19152. <bitWidth>16</bitWidth>
  19153. <access>read-only</access>
  19154. </field>
  19155. <field>
  19156. <name>CTN</name>
  19157. <description>TouchSensing Channel n 16-bit counter value</description>
  19158. <bitOffset>16</bitOffset>
  19159. <bitWidth>16</bitWidth>
  19160. <access>read-only</access>
  19161. </field>
  19162. </fields>
  19163. </register>
  19164. <register>
  19165. <name>THRESHOLD</name>
  19166. <description>Low Power Channel Threshold Register</description>
  19167. <addressOffset>0x120</addressOffset>
  19168. <size>32</size>
  19169. <access>read-write</access>
  19170. <resetValue>0</resetValue>
  19171. <resetMask>0xFFFFFFFF</resetMask>
  19172. <fields>
  19173. <field>
  19174. <name>HTHH</name>
  19175. <description>Touch Sensing Channel High Threshold value</description>
  19176. <bitOffset>0</bitOffset>
  19177. <bitWidth>16</bitWidth>
  19178. <access>read-write</access>
  19179. </field>
  19180. <field>
  19181. <name>LTHH</name>
  19182. <description>Touch Sensing Channel Low Threshold value</description>
  19183. <bitOffset>16</bitOffset>
  19184. <bitWidth>16</bitWidth>
  19185. <access>read-write</access>
  19186. </field>
  19187. </fields>
  19188. </register>
  19189. </registers>
  19190. </peripheral>
  19191. <peripheral>
  19192. <name>SIM</name>
  19193. <description>System Integration Module</description>
  19194. <prependToName>SIM_</prependToName>
  19195. <baseAddress>0x40047000</baseAddress>
  19196. <addressBlock>
  19197. <offset>0</offset>
  19198. <size>0x1064</size>
  19199. <usage>registers</usage>
  19200. </addressBlock>
  19201. <registers>
  19202. <register>
  19203. <name>SOPT1</name>
  19204. <description>System Options Register 1</description>
  19205. <addressOffset>0</addressOffset>
  19206. <size>32</size>
  19207. <access>read-write</access>
  19208. <resetValue>0x80000000</resetValue>
  19209. <resetMask>0xFFFFFFFF</resetMask>
  19210. <fields>
  19211. <field>
  19212. <name>RAMSIZE</name>
  19213. <description>RAM size</description>
  19214. <bitOffset>12</bitOffset>
  19215. <bitWidth>4</bitWidth>
  19216. <access>read-only</access>
  19217. <enumeratedValues>
  19218. <enumeratedValue>
  19219. <name>0000</name>
  19220. <description>Undefined</description>
  19221. <value>#0000</value>
  19222. </enumeratedValue>
  19223. <enumeratedValue>
  19224. <name>0001</name>
  19225. <description>8 KBytes</description>
  19226. <value>#0001</value>
  19227. </enumeratedValue>
  19228. <enumeratedValue>
  19229. <name>0010</name>
  19230. <description>Undefined</description>
  19231. <value>#0010</value>
  19232. </enumeratedValue>
  19233. <enumeratedValue>
  19234. <name>0011</name>
  19235. <description>16 KBytes</description>
  19236. <value>#0011</value>
  19237. </enumeratedValue>
  19238. <enumeratedValue>
  19239. <name>0100</name>
  19240. <description>Undefined</description>
  19241. <value>#0100</value>
  19242. </enumeratedValue>
  19243. <enumeratedValue>
  19244. <name>0101</name>
  19245. <description>Undefined</description>
  19246. <value>#0101</value>
  19247. </enumeratedValue>
  19248. <enumeratedValue>
  19249. <name>0110</name>
  19250. <description>Undefined</description>
  19251. <value>#0110</value>
  19252. </enumeratedValue>
  19253. <enumeratedValue>
  19254. <name>0111</name>
  19255. <description>Undefined</description>
  19256. <value>#0111</value>
  19257. </enumeratedValue>
  19258. <enumeratedValue>
  19259. <name>1000</name>
  19260. <description>Undefined</description>
  19261. <value>#1000</value>
  19262. </enumeratedValue>
  19263. <enumeratedValue>
  19264. <name>1001</name>
  19265. <description>Undefined</description>
  19266. <value>#1001</value>
  19267. </enumeratedValue>
  19268. <enumeratedValue>
  19269. <name>1010</name>
  19270. <description>Undefined</description>
  19271. <value>#1010</value>
  19272. </enumeratedValue>
  19273. <enumeratedValue>
  19274. <name>1011</name>
  19275. <description>Undefined</description>
  19276. <value>#1011</value>
  19277. </enumeratedValue>
  19278. <enumeratedValue>
  19279. <name>1100</name>
  19280. <description>Undefined</description>
  19281. <value>#1100</value>
  19282. </enumeratedValue>
  19283. <enumeratedValue>
  19284. <name>1101</name>
  19285. <description>Undefined</description>
  19286. <value>#1101</value>
  19287. </enumeratedValue>
  19288. <enumeratedValue>
  19289. <name>1110</name>
  19290. <description>Undefined</description>
  19291. <value>#1110</value>
  19292. </enumeratedValue>
  19293. <enumeratedValue>
  19294. <name>1111</name>
  19295. <description>Undefined</description>
  19296. <value>#1111</value>
  19297. </enumeratedValue>
  19298. </enumeratedValues>
  19299. </field>
  19300. <field>
  19301. <name>OSC32KSEL</name>
  19302. <description>32K oscillator clock select</description>
  19303. <bitOffset>18</bitOffset>
  19304. <bitWidth>2</bitWidth>
  19305. <access>read-write</access>
  19306. <enumeratedValues>
  19307. <enumeratedValue>
  19308. <name>00</name>
  19309. <description>System oscillator (OSC32KCLK)</description>
  19310. <value>#00</value>
  19311. </enumeratedValue>
  19312. <enumeratedValue>
  19313. <name>10</name>
  19314. <description>RTC 32.768kHz oscillator</description>
  19315. <value>#10</value>
  19316. </enumeratedValue>
  19317. <enumeratedValue>
  19318. <name>11</name>
  19319. <description>LPO 1 kHz</description>
  19320. <value>#11</value>
  19321. </enumeratedValue>
  19322. </enumeratedValues>
  19323. </field>
  19324. <field>
  19325. <name>USBVSTBY</name>
  19326. <description>USB voltage regulator in standby mode during VLPR and VLPW modes</description>
  19327. <bitOffset>29</bitOffset>
  19328. <bitWidth>1</bitWidth>
  19329. <access>read-write</access>
  19330. <enumeratedValues>
  19331. <enumeratedValue>
  19332. <name>0</name>
  19333. <description>USB voltage regulator not in standby during VLPR and VLPW modes.</description>
  19334. <value>#0</value>
  19335. </enumeratedValue>
  19336. <enumeratedValue>
  19337. <name>1</name>
  19338. <description>USB voltage regulator in standby during VLPR and VLPW modes.</description>
  19339. <value>#1</value>
  19340. </enumeratedValue>
  19341. </enumeratedValues>
  19342. </field>
  19343. <field>
  19344. <name>USBSSTBY</name>
  19345. <description>USB voltage regulator in standby mode during Stop, VLPS, LLS and VLLS modes.</description>
  19346. <bitOffset>30</bitOffset>
  19347. <bitWidth>1</bitWidth>
  19348. <access>read-write</access>
  19349. <enumeratedValues>
  19350. <enumeratedValue>
  19351. <name>0</name>
  19352. <description>USB voltage regulator not in standby during Stop, VLPS, LLS and VLLS modes.</description>
  19353. <value>#0</value>
  19354. </enumeratedValue>
  19355. <enumeratedValue>
  19356. <name>1</name>
  19357. <description>USB voltage regulator in standby during Stop, VLPS, LLS and VLLS modes.</description>
  19358. <value>#1</value>
  19359. </enumeratedValue>
  19360. </enumeratedValues>
  19361. </field>
  19362. <field>
  19363. <name>USBREGEN</name>
  19364. <description>USB voltage regulator enable</description>
  19365. <bitOffset>31</bitOffset>
  19366. <bitWidth>1</bitWidth>
  19367. <access>read-write</access>
  19368. <enumeratedValues>
  19369. <enumeratedValue>
  19370. <name>0</name>
  19371. <description>USB voltage regulator is disabled.</description>
  19372. <value>#0</value>
  19373. </enumeratedValue>
  19374. <enumeratedValue>
  19375. <name>1</name>
  19376. <description>USB voltage regulator is enabled.</description>
  19377. <value>#1</value>
  19378. </enumeratedValue>
  19379. </enumeratedValues>
  19380. </field>
  19381. </fields>
  19382. </register>
  19383. <register>
  19384. <name>SOPT1CFG</name>
  19385. <description>SOPT1 Configuration Register</description>
  19386. <addressOffset>0x4</addressOffset>
  19387. <size>32</size>
  19388. <access>read-write</access>
  19389. <resetValue>0</resetValue>
  19390. <resetMask>0xFFFFFFFF</resetMask>
  19391. <fields>
  19392. <field>
  19393. <name>URWE</name>
  19394. <description>USB voltage regulator enable write enable</description>
  19395. <bitOffset>24</bitOffset>
  19396. <bitWidth>1</bitWidth>
  19397. <access>read-write</access>
  19398. <enumeratedValues>
  19399. <enumeratedValue>
  19400. <name>0</name>
  19401. <description>SOPT1 USBREGEN cannot be written.</description>
  19402. <value>#0</value>
  19403. </enumeratedValue>
  19404. <enumeratedValue>
  19405. <name>1</name>
  19406. <description>SOPT1 USBREGEN can be written.</description>
  19407. <value>#1</value>
  19408. </enumeratedValue>
  19409. </enumeratedValues>
  19410. </field>
  19411. <field>
  19412. <name>UVSWE</name>
  19413. <description>USB voltage regulator VLP standby write enable</description>
  19414. <bitOffset>25</bitOffset>
  19415. <bitWidth>1</bitWidth>
  19416. <access>read-write</access>
  19417. <enumeratedValues>
  19418. <enumeratedValue>
  19419. <name>0</name>
  19420. <description>SOPT1 USBVSTB cannot be written.</description>
  19421. <value>#0</value>
  19422. </enumeratedValue>
  19423. <enumeratedValue>
  19424. <name>1</name>
  19425. <description>SOPT1 USBVSTB can be written.</description>
  19426. <value>#1</value>
  19427. </enumeratedValue>
  19428. </enumeratedValues>
  19429. </field>
  19430. <field>
  19431. <name>USSWE</name>
  19432. <description>USB voltage regulator stop standby write enable</description>
  19433. <bitOffset>26</bitOffset>
  19434. <bitWidth>1</bitWidth>
  19435. <access>read-write</access>
  19436. <enumeratedValues>
  19437. <enumeratedValue>
  19438. <name>0</name>
  19439. <description>SOPT1 USBSSTB cannot be written.</description>
  19440. <value>#0</value>
  19441. </enumeratedValue>
  19442. <enumeratedValue>
  19443. <name>1</name>
  19444. <description>SOPT1 USBSSTB can be written.</description>
  19445. <value>#1</value>
  19446. </enumeratedValue>
  19447. </enumeratedValues>
  19448. </field>
  19449. </fields>
  19450. </register>
  19451. <register>
  19452. <name>SOPT2</name>
  19453. <description>System Options Register 2</description>
  19454. <addressOffset>0x1004</addressOffset>
  19455. <size>32</size>
  19456. <access>read-write</access>
  19457. <resetValue>0x1000</resetValue>
  19458. <resetMask>0xFFFFFFFF</resetMask>
  19459. <fields>
  19460. <field>
  19461. <name>RTCCLKOUTSEL</name>
  19462. <description>RTC clock out select</description>
  19463. <bitOffset>4</bitOffset>
  19464. <bitWidth>1</bitWidth>
  19465. <access>read-write</access>
  19466. <enumeratedValues>
  19467. <enumeratedValue>
  19468. <name>0</name>
  19469. <description>RTC 1 Hz clock is output on the RTC_CLKOUT pin.</description>
  19470. <value>#0</value>
  19471. </enumeratedValue>
  19472. <enumeratedValue>
  19473. <name>1</name>
  19474. <description>RTC 32.768kHz clock is output on the RTC_CLKOUT pin.</description>
  19475. <value>#1</value>
  19476. </enumeratedValue>
  19477. </enumeratedValues>
  19478. </field>
  19479. <field>
  19480. <name>CLKOUTSEL</name>
  19481. <description>CLKOUT select</description>
  19482. <bitOffset>5</bitOffset>
  19483. <bitWidth>3</bitWidth>
  19484. <access>read-write</access>
  19485. <enumeratedValues>
  19486. <enumeratedValue>
  19487. <name>010</name>
  19488. <description>Flash clock</description>
  19489. <value>#010</value>
  19490. </enumeratedValue>
  19491. <enumeratedValue>
  19492. <name>011</name>
  19493. <description>LPO clock (1 kHz)</description>
  19494. <value>#011</value>
  19495. </enumeratedValue>
  19496. <enumeratedValue>
  19497. <name>100</name>
  19498. <description>IRCLK</description>
  19499. <value>#100</value>
  19500. </enumeratedValue>
  19501. <enumeratedValue>
  19502. <name>101</name>
  19503. <description>RTC 32.768kHz</description>
  19504. <value>#101</value>
  19505. </enumeratedValue>
  19506. <enumeratedValue>
  19507. <name>110</name>
  19508. <description>ERCLK0</description>
  19509. <value>#110</value>
  19510. </enumeratedValue>
  19511. </enumeratedValues>
  19512. </field>
  19513. <field>
  19514. <name>PTD7PAD</name>
  19515. <description>PTD7 pad drive strength</description>
  19516. <bitOffset>11</bitOffset>
  19517. <bitWidth>1</bitWidth>
  19518. <access>read-write</access>
  19519. <enumeratedValues>
  19520. <enumeratedValue>
  19521. <name>0</name>
  19522. <description>Single-pad drive strength for PTD7.</description>
  19523. <value>#0</value>
  19524. </enumeratedValue>
  19525. <enumeratedValue>
  19526. <name>1</name>
  19527. <description>Double pad drive strength for PTD7.</description>
  19528. <value>#1</value>
  19529. </enumeratedValue>
  19530. </enumeratedValues>
  19531. </field>
  19532. <field>
  19533. <name>TRACECLKSEL</name>
  19534. <description>Debug trace clock select</description>
  19535. <bitOffset>12</bitOffset>
  19536. <bitWidth>1</bitWidth>
  19537. <access>read-write</access>
  19538. <enumeratedValues>
  19539. <enumeratedValue>
  19540. <name>0</name>
  19541. <description>MCGOUTCLK</description>
  19542. <value>#0</value>
  19543. </enumeratedValue>
  19544. <enumeratedValue>
  19545. <name>1</name>
  19546. <description>Core/system clock</description>
  19547. <value>#1</value>
  19548. </enumeratedValue>
  19549. </enumeratedValues>
  19550. </field>
  19551. <field>
  19552. <name>PLLFLLSEL</name>
  19553. <description>PLL/FLL clock select</description>
  19554. <bitOffset>16</bitOffset>
  19555. <bitWidth>1</bitWidth>
  19556. <access>read-write</access>
  19557. <enumeratedValues>
  19558. <enumeratedValue>
  19559. <name>0</name>
  19560. <description>MCGFLLCLK clock</description>
  19561. <value>#0</value>
  19562. </enumeratedValue>
  19563. <enumeratedValue>
  19564. <name>1</name>
  19565. <description>MCGPLLCLK clock</description>
  19566. <value>#1</value>
  19567. </enumeratedValue>
  19568. </enumeratedValues>
  19569. </field>
  19570. <field>
  19571. <name>USBSRC</name>
  19572. <description>USB clock source select</description>
  19573. <bitOffset>18</bitOffset>
  19574. <bitWidth>1</bitWidth>
  19575. <access>read-write</access>
  19576. <enumeratedValues>
  19577. <enumeratedValue>
  19578. <name>0</name>
  19579. <description>External bypass clock (USB_CLKIN).</description>
  19580. <value>#0</value>
  19581. </enumeratedValue>
  19582. <enumeratedValue>
  19583. <name>1</name>
  19584. <description>MCGPLLCLK/MCGFLLCLK clock divided by the USB fractional divider. See the SIM_CLKDIV2[USBFRAC, USBDIV] descriptions.</description>
  19585. <value>#1</value>
  19586. </enumeratedValue>
  19587. </enumeratedValues>
  19588. </field>
  19589. </fields>
  19590. </register>
  19591. <register>
  19592. <name>SOPT4</name>
  19593. <description>System Options Register 4</description>
  19594. <addressOffset>0x100C</addressOffset>
  19595. <size>32</size>
  19596. <access>read-write</access>
  19597. <resetValue>0</resetValue>
  19598. <resetMask>0xFFFFFFFF</resetMask>
  19599. <fields>
  19600. <field>
  19601. <name>FTM0FLT0</name>
  19602. <description>FTM0 Fault 0 Select</description>
  19603. <bitOffset>0</bitOffset>
  19604. <bitWidth>1</bitWidth>
  19605. <access>read-write</access>
  19606. <enumeratedValues>
  19607. <enumeratedValue>
  19608. <name>0</name>
  19609. <description>FTM0_FLT0 pin</description>
  19610. <value>#0</value>
  19611. </enumeratedValue>
  19612. <enumeratedValue>
  19613. <name>1</name>
  19614. <description>CMP0 out</description>
  19615. <value>#1</value>
  19616. </enumeratedValue>
  19617. </enumeratedValues>
  19618. </field>
  19619. <field>
  19620. <name>FTM0FLT1</name>
  19621. <description>FTM0 Fault 1 Select</description>
  19622. <bitOffset>1</bitOffset>
  19623. <bitWidth>1</bitWidth>
  19624. <access>read-write</access>
  19625. <enumeratedValues>
  19626. <enumeratedValue>
  19627. <name>0</name>
  19628. <description>FTM0_FLT1 pin</description>
  19629. <value>#0</value>
  19630. </enumeratedValue>
  19631. <enumeratedValue>
  19632. <name>1</name>
  19633. <description>CMP1 out</description>
  19634. <value>#1</value>
  19635. </enumeratedValue>
  19636. </enumeratedValues>
  19637. </field>
  19638. <field>
  19639. <name>FTM1FLT0</name>
  19640. <description>FTM1 Fault 0 Select</description>
  19641. <bitOffset>4</bitOffset>
  19642. <bitWidth>1</bitWidth>
  19643. <access>read-write</access>
  19644. <enumeratedValues>
  19645. <enumeratedValue>
  19646. <name>0</name>
  19647. <description>FTM1_FLT0 pin</description>
  19648. <value>#0</value>
  19649. </enumeratedValue>
  19650. <enumeratedValue>
  19651. <name>1</name>
  19652. <description>CMP0 out</description>
  19653. <value>#1</value>
  19654. </enumeratedValue>
  19655. </enumeratedValues>
  19656. </field>
  19657. <field>
  19658. <name>FTM1CH0SRC</name>
  19659. <description>FTM1 channel 0 input capture source select</description>
  19660. <bitOffset>18</bitOffset>
  19661. <bitWidth>2</bitWidth>
  19662. <access>read-write</access>
  19663. <enumeratedValues>
  19664. <enumeratedValue>
  19665. <name>00</name>
  19666. <description>FTM1_CH0 signal</description>
  19667. <value>#00</value>
  19668. </enumeratedValue>
  19669. <enumeratedValue>
  19670. <name>01</name>
  19671. <description>CMP0 output</description>
  19672. <value>#01</value>
  19673. </enumeratedValue>
  19674. <enumeratedValue>
  19675. <name>10</name>
  19676. <description>CMP1 output</description>
  19677. <value>#10</value>
  19678. </enumeratedValue>
  19679. <enumeratedValue>
  19680. <name>11</name>
  19681. <description>USB start of frame pulse</description>
  19682. <value>#11</value>
  19683. </enumeratedValue>
  19684. </enumeratedValues>
  19685. </field>
  19686. <field>
  19687. <name>FTM0CLKSEL</name>
  19688. <description>FlexTimer 0 External Clock Pin Select</description>
  19689. <bitOffset>24</bitOffset>
  19690. <bitWidth>1</bitWidth>
  19691. <access>read-write</access>
  19692. <enumeratedValues>
  19693. <enumeratedValue>
  19694. <name>0</name>
  19695. <description>FTM_CLK0 pin</description>
  19696. <value>#0</value>
  19697. </enumeratedValue>
  19698. <enumeratedValue>
  19699. <name>1</name>
  19700. <description>FTM_CLK1 pin</description>
  19701. <value>#1</value>
  19702. </enumeratedValue>
  19703. </enumeratedValues>
  19704. </field>
  19705. <field>
  19706. <name>FTM1CLKSEL</name>
  19707. <description>FTM1 External Clock Pin Select</description>
  19708. <bitOffset>25</bitOffset>
  19709. <bitWidth>1</bitWidth>
  19710. <access>read-write</access>
  19711. <enumeratedValues>
  19712. <enumeratedValue>
  19713. <name>0</name>
  19714. <description>FTM_CLK0 pin</description>
  19715. <value>#0</value>
  19716. </enumeratedValue>
  19717. <enumeratedValue>
  19718. <name>1</name>
  19719. <description>FTM_CLK1 pin</description>
  19720. <value>#1</value>
  19721. </enumeratedValue>
  19722. </enumeratedValues>
  19723. </field>
  19724. <field>
  19725. <name>FTM0TRG0SRC</name>
  19726. <description>FlexTimer 0 Hardware Trigger 0 Source Select</description>
  19727. <bitOffset>28</bitOffset>
  19728. <bitWidth>1</bitWidth>
  19729. <access>read-write</access>
  19730. <enumeratedValues>
  19731. <enumeratedValue>
  19732. <name>0</name>
  19733. <description>HSCMP0 output drives FTM0 hardware trigger 0</description>
  19734. <value>#0</value>
  19735. </enumeratedValue>
  19736. <enumeratedValue>
  19737. <name>1</name>
  19738. <description>FTM1 channel match drives FTM0 hardware trigger 0</description>
  19739. <value>#1</value>
  19740. </enumeratedValue>
  19741. </enumeratedValues>
  19742. </field>
  19743. </fields>
  19744. </register>
  19745. <register>
  19746. <name>SOPT5</name>
  19747. <description>System Options Register 5</description>
  19748. <addressOffset>0x1010</addressOffset>
  19749. <size>32</size>
  19750. <access>read-write</access>
  19751. <resetValue>0</resetValue>
  19752. <resetMask>0xFFFFFFFF</resetMask>
  19753. <fields>
  19754. <field>
  19755. <name>UART0TXSRC</name>
  19756. <description>UART 0 transmit data source select</description>
  19757. <bitOffset>0</bitOffset>
  19758. <bitWidth>1</bitWidth>
  19759. <access>read-write</access>
  19760. <enumeratedValues>
  19761. <enumeratedValue>
  19762. <name>0</name>
  19763. <description>UART0_TX pin</description>
  19764. <value>#0</value>
  19765. </enumeratedValue>
  19766. <enumeratedValue>
  19767. <name>1</name>
  19768. <description>UART0_TX pin modulated with FTM1 channel 0 output</description>
  19769. <value>#1</value>
  19770. </enumeratedValue>
  19771. </enumeratedValues>
  19772. </field>
  19773. <field>
  19774. <name>UART0RXSRC</name>
  19775. <description>UART 0 receive data source select</description>
  19776. <bitOffset>2</bitOffset>
  19777. <bitWidth>2</bitWidth>
  19778. <access>read-write</access>
  19779. <enumeratedValues>
  19780. <enumeratedValue>
  19781. <name>00</name>
  19782. <description>UART0_RX pin</description>
  19783. <value>#00</value>
  19784. </enumeratedValue>
  19785. <enumeratedValue>
  19786. <name>01</name>
  19787. <description>CMP0</description>
  19788. <value>#01</value>
  19789. </enumeratedValue>
  19790. <enumeratedValue>
  19791. <name>10</name>
  19792. <description>CMP1</description>
  19793. <value>#10</value>
  19794. </enumeratedValue>
  19795. </enumeratedValues>
  19796. </field>
  19797. <field>
  19798. <name>UART1TXSRC</name>
  19799. <description>UART 1 transmit data source select</description>
  19800. <bitOffset>4</bitOffset>
  19801. <bitWidth>1</bitWidth>
  19802. <access>read-write</access>
  19803. <enumeratedValues>
  19804. <enumeratedValue>
  19805. <name>0</name>
  19806. <description>UART1_TX pin</description>
  19807. <value>#0</value>
  19808. </enumeratedValue>
  19809. <enumeratedValue>
  19810. <name>1</name>
  19811. <description>UART1_TX pin modulated with FTM1 channel 0 output</description>
  19812. <value>#1</value>
  19813. </enumeratedValue>
  19814. </enumeratedValues>
  19815. </field>
  19816. <field>
  19817. <name>UART1RXSRC</name>
  19818. <description>UART 1 receive data source select</description>
  19819. <bitOffset>6</bitOffset>
  19820. <bitWidth>2</bitWidth>
  19821. <access>read-write</access>
  19822. <enumeratedValues>
  19823. <enumeratedValue>
  19824. <name>00</name>
  19825. <description>UART1_RX pin</description>
  19826. <value>#00</value>
  19827. </enumeratedValue>
  19828. <enumeratedValue>
  19829. <name>01</name>
  19830. <description>CMP0</description>
  19831. <value>#01</value>
  19832. </enumeratedValue>
  19833. <enumeratedValue>
  19834. <name>10</name>
  19835. <description>CMP1</description>
  19836. <value>#10</value>
  19837. </enumeratedValue>
  19838. </enumeratedValues>
  19839. </field>
  19840. </fields>
  19841. </register>
  19842. <register>
  19843. <name>SOPT7</name>
  19844. <description>System Options Register 7</description>
  19845. <addressOffset>0x1018</addressOffset>
  19846. <size>32</size>
  19847. <access>read-write</access>
  19848. <resetValue>0</resetValue>
  19849. <resetMask>0xFFFFFFFF</resetMask>
  19850. <fields>
  19851. <field>
  19852. <name>ADC0TRGSEL</name>
  19853. <description>ADC0 trigger select</description>
  19854. <bitOffset>0</bitOffset>
  19855. <bitWidth>4</bitWidth>
  19856. <access>read-write</access>
  19857. <enumeratedValues>
  19858. <enumeratedValue>
  19859. <name>0000</name>
  19860. <description>PDB external trigger pin input (PDB0_EXTRG)</description>
  19861. <value>#0000</value>
  19862. </enumeratedValue>
  19863. <enumeratedValue>
  19864. <name>0001</name>
  19865. <description>High speed comparator 0 output</description>
  19866. <value>#0001</value>
  19867. </enumeratedValue>
  19868. <enumeratedValue>
  19869. <name>0010</name>
  19870. <description>High speed comparator 1 output</description>
  19871. <value>#0010</value>
  19872. </enumeratedValue>
  19873. <enumeratedValue>
  19874. <name>0100</name>
  19875. <description>PIT trigger 0</description>
  19876. <value>#0100</value>
  19877. </enumeratedValue>
  19878. <enumeratedValue>
  19879. <name>0101</name>
  19880. <description>PIT trigger 1</description>
  19881. <value>#0101</value>
  19882. </enumeratedValue>
  19883. <enumeratedValue>
  19884. <name>0110</name>
  19885. <description>PIT trigger 2</description>
  19886. <value>#0110</value>
  19887. </enumeratedValue>
  19888. <enumeratedValue>
  19889. <name>0111</name>
  19890. <description>PIT trigger 3</description>
  19891. <value>#0111</value>
  19892. </enumeratedValue>
  19893. <enumeratedValue>
  19894. <name>1000</name>
  19895. <description>FTM0 trigger</description>
  19896. <value>#1000</value>
  19897. </enumeratedValue>
  19898. <enumeratedValue>
  19899. <name>1001</name>
  19900. <description>FTM1 trigger</description>
  19901. <value>#1001</value>
  19902. </enumeratedValue>
  19903. <enumeratedValue>
  19904. <name>1010</name>
  19905. <description>Unused</description>
  19906. <value>#1010</value>
  19907. </enumeratedValue>
  19908. <enumeratedValue>
  19909. <name>1011</name>
  19910. <description>Unused</description>
  19911. <value>#1011</value>
  19912. </enumeratedValue>
  19913. <enumeratedValue>
  19914. <name>1100</name>
  19915. <description>RTC alarm</description>
  19916. <value>#1100</value>
  19917. </enumeratedValue>
  19918. <enumeratedValue>
  19919. <name>1101</name>
  19920. <description>RTC seconds</description>
  19921. <value>#1101</value>
  19922. </enumeratedValue>
  19923. <enumeratedValue>
  19924. <name>1110</name>
  19925. <description>Low-power timer trigger</description>
  19926. <value>#1110</value>
  19927. </enumeratedValue>
  19928. <enumeratedValue>
  19929. <name>1111</name>
  19930. <description>Unused</description>
  19931. <value>#1111</value>
  19932. </enumeratedValue>
  19933. </enumeratedValues>
  19934. </field>
  19935. <field>
  19936. <name>ADC0PRETRGSEL</name>
  19937. <description>ADC0 pretrigger select</description>
  19938. <bitOffset>4</bitOffset>
  19939. <bitWidth>1</bitWidth>
  19940. <access>read-write</access>
  19941. <enumeratedValues>
  19942. <enumeratedValue>
  19943. <name>0</name>
  19944. <description>Pre-trigger A</description>
  19945. <value>#0</value>
  19946. </enumeratedValue>
  19947. <enumeratedValue>
  19948. <name>1</name>
  19949. <description>Pre-trigger B</description>
  19950. <value>#1</value>
  19951. </enumeratedValue>
  19952. </enumeratedValues>
  19953. </field>
  19954. <field>
  19955. <name>ADC0ALTTRGEN</name>
  19956. <description>ADC0 alternate trigger enable</description>
  19957. <bitOffset>7</bitOffset>
  19958. <bitWidth>1</bitWidth>
  19959. <access>read-write</access>
  19960. <enumeratedValues>
  19961. <enumeratedValue>
  19962. <name>0</name>
  19963. <description>PDB trigger selected for ADC0.</description>
  19964. <value>#0</value>
  19965. </enumeratedValue>
  19966. <enumeratedValue>
  19967. <name>1</name>
  19968. <description>Alternate trigger selected for ADC0.</description>
  19969. <value>#1</value>
  19970. </enumeratedValue>
  19971. </enumeratedValues>
  19972. </field>
  19973. </fields>
  19974. </register>
  19975. <register>
  19976. <name>SDID</name>
  19977. <description>System Device Identification Register</description>
  19978. <addressOffset>0x1024</addressOffset>
  19979. <size>32</size>
  19980. <access>read-only</access>
  19981. <resetValue>0</resetValue>
  19982. <resetMask>0</resetMask>
  19983. <fields>
  19984. <field>
  19985. <name>PINID</name>
  19986. <description>Pincount identification</description>
  19987. <bitOffset>0</bitOffset>
  19988. <bitWidth>4</bitWidth>
  19989. <access>read-only</access>
  19990. <enumeratedValues>
  19991. <enumeratedValue>
  19992. <name>0010</name>
  19993. <description>32-pin</description>
  19994. <value>#0010</value>
  19995. </enumeratedValue>
  19996. <enumeratedValue>
  19997. <name>0100</name>
  19998. <description>48-pin</description>
  19999. <value>#0100</value>
  20000. </enumeratedValue>
  20001. <enumeratedValue>
  20002. <name>0101</name>
  20003. <description>64-pin</description>
  20004. <value>#0101</value>
  20005. </enumeratedValue>
  20006. </enumeratedValues>
  20007. </field>
  20008. <field>
  20009. <name>FAMID</name>
  20010. <description>Kinetis family identification</description>
  20011. <bitOffset>4</bitOffset>
  20012. <bitWidth>3</bitWidth>
  20013. <access>read-only</access>
  20014. <enumeratedValues>
  20015. <enumeratedValue>
  20016. <name>000</name>
  20017. <description>K10</description>
  20018. <value>#000</value>
  20019. </enumeratedValue>
  20020. <enumeratedValue>
  20021. <name>001</name>
  20022. <description>K20</description>
  20023. <value>#001</value>
  20024. </enumeratedValue>
  20025. </enumeratedValues>
  20026. </field>
  20027. <field>
  20028. <name>REVID</name>
  20029. <description>Device revision number</description>
  20030. <bitOffset>12</bitOffset>
  20031. <bitWidth>4</bitWidth>
  20032. <access>read-only</access>
  20033. </field>
  20034. </fields>
  20035. </register>
  20036. <register>
  20037. <name>SCGC4</name>
  20038. <description>System Clock Gating Control Register 4</description>
  20039. <addressOffset>0x1034</addressOffset>
  20040. <size>32</size>
  20041. <access>read-write</access>
  20042. <resetValue>0xF0100030</resetValue>
  20043. <resetMask>0xFFFFFFFF</resetMask>
  20044. <fields>
  20045. <field>
  20046. <name>EWM</name>
  20047. <description>EWM Clock Gate Control</description>
  20048. <bitOffset>1</bitOffset>
  20049. <bitWidth>1</bitWidth>
  20050. <access>read-write</access>
  20051. <enumeratedValues>
  20052. <enumeratedValue>
  20053. <name>0</name>
  20054. <description>Clock disabled</description>
  20055. <value>#0</value>
  20056. </enumeratedValue>
  20057. <enumeratedValue>
  20058. <name>1</name>
  20059. <description>Clock enabled</description>
  20060. <value>#1</value>
  20061. </enumeratedValue>
  20062. </enumeratedValues>
  20063. </field>
  20064. <field>
  20065. <name>CMT</name>
  20066. <description>CMT Clock Gate Control</description>
  20067. <bitOffset>2</bitOffset>
  20068. <bitWidth>1</bitWidth>
  20069. <access>read-write</access>
  20070. <enumeratedValues>
  20071. <enumeratedValue>
  20072. <name>0</name>
  20073. <description>Clock disabled</description>
  20074. <value>#0</value>
  20075. </enumeratedValue>
  20076. <enumeratedValue>
  20077. <name>1</name>
  20078. <description>Clock enabled</description>
  20079. <value>#1</value>
  20080. </enumeratedValue>
  20081. </enumeratedValues>
  20082. </field>
  20083. <field>
  20084. <name>I2C0</name>
  20085. <description>I2C0 Clock Gate Control</description>
  20086. <bitOffset>6</bitOffset>
  20087. <bitWidth>1</bitWidth>
  20088. <access>read-write</access>
  20089. <enumeratedValues>
  20090. <enumeratedValue>
  20091. <name>0</name>
  20092. <description>Clock disabled</description>
  20093. <value>#0</value>
  20094. </enumeratedValue>
  20095. <enumeratedValue>
  20096. <name>1</name>
  20097. <description>Clock enabled</description>
  20098. <value>#1</value>
  20099. </enumeratedValue>
  20100. </enumeratedValues>
  20101. </field>
  20102. <field>
  20103. <name>UART0</name>
  20104. <description>UART0 Clock Gate Control</description>
  20105. <bitOffset>10</bitOffset>
  20106. <bitWidth>1</bitWidth>
  20107. <access>read-write</access>
  20108. <enumeratedValues>
  20109. <enumeratedValue>
  20110. <name>0</name>
  20111. <description>Clock disabled</description>
  20112. <value>#0</value>
  20113. </enumeratedValue>
  20114. <enumeratedValue>
  20115. <name>1</name>
  20116. <description>Clock enabled</description>
  20117. <value>#1</value>
  20118. </enumeratedValue>
  20119. </enumeratedValues>
  20120. </field>
  20121. <field>
  20122. <name>UART1</name>
  20123. <description>UART1 Clock Gate Control</description>
  20124. <bitOffset>11</bitOffset>
  20125. <bitWidth>1</bitWidth>
  20126. <access>read-write</access>
  20127. <enumeratedValues>
  20128. <enumeratedValue>
  20129. <name>0</name>
  20130. <description>Clock disabled</description>
  20131. <value>#0</value>
  20132. </enumeratedValue>
  20133. <enumeratedValue>
  20134. <name>1</name>
  20135. <description>Clock enabled</description>
  20136. <value>#1</value>
  20137. </enumeratedValue>
  20138. </enumeratedValues>
  20139. </field>
  20140. <field>
  20141. <name>UART2</name>
  20142. <description>UART2 Clock Gate Control</description>
  20143. <bitOffset>12</bitOffset>
  20144. <bitWidth>1</bitWidth>
  20145. <access>read-write</access>
  20146. <enumeratedValues>
  20147. <enumeratedValue>
  20148. <name>0</name>
  20149. <description>Clock disabled</description>
  20150. <value>#0</value>
  20151. </enumeratedValue>
  20152. <enumeratedValue>
  20153. <name>1</name>
  20154. <description>Clock enabled</description>
  20155. <value>#1</value>
  20156. </enumeratedValue>
  20157. </enumeratedValues>
  20158. </field>
  20159. <field>
  20160. <name>USBOTG</name>
  20161. <description>USB Clock Gate Control</description>
  20162. <bitOffset>18</bitOffset>
  20163. <bitWidth>1</bitWidth>
  20164. <access>read-write</access>
  20165. <enumeratedValues>
  20166. <enumeratedValue>
  20167. <name>0</name>
  20168. <description>Clock disabled</description>
  20169. <value>#0</value>
  20170. </enumeratedValue>
  20171. <enumeratedValue>
  20172. <name>1</name>
  20173. <description>Clock enabled</description>
  20174. <value>#1</value>
  20175. </enumeratedValue>
  20176. </enumeratedValues>
  20177. </field>
  20178. <field>
  20179. <name>CMP</name>
  20180. <description>Comparator Clock Gate Control</description>
  20181. <bitOffset>19</bitOffset>
  20182. <bitWidth>1</bitWidth>
  20183. <access>read-write</access>
  20184. <enumeratedValues>
  20185. <enumeratedValue>
  20186. <name>0</name>
  20187. <description>Clock disabled</description>
  20188. <value>#0</value>
  20189. </enumeratedValue>
  20190. <enumeratedValue>
  20191. <name>1</name>
  20192. <description>Clock enabled</description>
  20193. <value>#1</value>
  20194. </enumeratedValue>
  20195. </enumeratedValues>
  20196. </field>
  20197. <field>
  20198. <name>VREF</name>
  20199. <description>VREF Clock Gate Control</description>
  20200. <bitOffset>20</bitOffset>
  20201. <bitWidth>1</bitWidth>
  20202. <access>read-write</access>
  20203. <enumeratedValues>
  20204. <enumeratedValue>
  20205. <name>0</name>
  20206. <description>Clock disabled</description>
  20207. <value>#0</value>
  20208. </enumeratedValue>
  20209. <enumeratedValue>
  20210. <name>1</name>
  20211. <description>Clock enabled</description>
  20212. <value>#1</value>
  20213. </enumeratedValue>
  20214. </enumeratedValues>
  20215. </field>
  20216. </fields>
  20217. </register>
  20218. <register>
  20219. <name>SCGC5</name>
  20220. <description>System Clock Gating Control Register 5</description>
  20221. <addressOffset>0x1038</addressOffset>
  20222. <size>32</size>
  20223. <access>read-write</access>
  20224. <resetValue>0x40182</resetValue>
  20225. <resetMask>0xFFFFFFFF</resetMask>
  20226. <fields>
  20227. <field>
  20228. <name>LPTIMER</name>
  20229. <description>Low Power Timer Access Control</description>
  20230. <bitOffset>0</bitOffset>
  20231. <bitWidth>1</bitWidth>
  20232. <access>read-write</access>
  20233. <enumeratedValues>
  20234. <enumeratedValue>
  20235. <name>0</name>
  20236. <description>Access disabled</description>
  20237. <value>#0</value>
  20238. </enumeratedValue>
  20239. <enumeratedValue>
  20240. <name>1</name>
  20241. <description>Access enabled</description>
  20242. <value>#1</value>
  20243. </enumeratedValue>
  20244. </enumeratedValues>
  20245. </field>
  20246. <field>
  20247. <name>TSI</name>
  20248. <description>TSI Clock Gate Control</description>
  20249. <bitOffset>5</bitOffset>
  20250. <bitWidth>1</bitWidth>
  20251. <access>read-write</access>
  20252. <enumeratedValues>
  20253. <enumeratedValue>
  20254. <name>0</name>
  20255. <description>Clock disabled</description>
  20256. <value>#0</value>
  20257. </enumeratedValue>
  20258. <enumeratedValue>
  20259. <name>1</name>
  20260. <description>Clock enabled</description>
  20261. <value>#1</value>
  20262. </enumeratedValue>
  20263. </enumeratedValues>
  20264. </field>
  20265. <field>
  20266. <name>PORTA</name>
  20267. <description>Port A Clock Gate Control</description>
  20268. <bitOffset>9</bitOffset>
  20269. <bitWidth>1</bitWidth>
  20270. <access>read-write</access>
  20271. <enumeratedValues>
  20272. <enumeratedValue>
  20273. <name>0</name>
  20274. <description>Clock disabled</description>
  20275. <value>#0</value>
  20276. </enumeratedValue>
  20277. <enumeratedValue>
  20278. <name>1</name>
  20279. <description>Clock enabled</description>
  20280. <value>#1</value>
  20281. </enumeratedValue>
  20282. </enumeratedValues>
  20283. </field>
  20284. <field>
  20285. <name>PORTB</name>
  20286. <description>Port B Clock Gate Control</description>
  20287. <bitOffset>10</bitOffset>
  20288. <bitWidth>1</bitWidth>
  20289. <access>read-write</access>
  20290. <enumeratedValues>
  20291. <enumeratedValue>
  20292. <name>0</name>
  20293. <description>Clock disabled</description>
  20294. <value>#0</value>
  20295. </enumeratedValue>
  20296. <enumeratedValue>
  20297. <name>1</name>
  20298. <description>Clock enabled</description>
  20299. <value>#1</value>
  20300. </enumeratedValue>
  20301. </enumeratedValues>
  20302. </field>
  20303. <field>
  20304. <name>PORTC</name>
  20305. <description>Port C Clock Gate Control</description>
  20306. <bitOffset>11</bitOffset>
  20307. <bitWidth>1</bitWidth>
  20308. <access>read-write</access>
  20309. <enumeratedValues>
  20310. <enumeratedValue>
  20311. <name>0</name>
  20312. <description>Clock disabled</description>
  20313. <value>#0</value>
  20314. </enumeratedValue>
  20315. <enumeratedValue>
  20316. <name>1</name>
  20317. <description>Clock enabled</description>
  20318. <value>#1</value>
  20319. </enumeratedValue>
  20320. </enumeratedValues>
  20321. </field>
  20322. <field>
  20323. <name>PORTD</name>
  20324. <description>Port D Clock Gate Control</description>
  20325. <bitOffset>12</bitOffset>
  20326. <bitWidth>1</bitWidth>
  20327. <access>read-write</access>
  20328. <enumeratedValues>
  20329. <enumeratedValue>
  20330. <name>0</name>
  20331. <description>Clock disabled</description>
  20332. <value>#0</value>
  20333. </enumeratedValue>
  20334. <enumeratedValue>
  20335. <name>1</name>
  20336. <description>Clock enabled</description>
  20337. <value>#1</value>
  20338. </enumeratedValue>
  20339. </enumeratedValues>
  20340. </field>
  20341. <field>
  20342. <name>PORTE</name>
  20343. <description>Port E Clock Gate Control</description>
  20344. <bitOffset>13</bitOffset>
  20345. <bitWidth>1</bitWidth>
  20346. <access>read-write</access>
  20347. <enumeratedValues>
  20348. <enumeratedValue>
  20349. <name>0</name>
  20350. <description>Clock disabled</description>
  20351. <value>#0</value>
  20352. </enumeratedValue>
  20353. <enumeratedValue>
  20354. <name>1</name>
  20355. <description>Clock enabled</description>
  20356. <value>#1</value>
  20357. </enumeratedValue>
  20358. </enumeratedValues>
  20359. </field>
  20360. </fields>
  20361. </register>
  20362. <register>
  20363. <name>SCGC6</name>
  20364. <description>System Clock Gating Control Register 6</description>
  20365. <addressOffset>0x103C</addressOffset>
  20366. <size>32</size>
  20367. <access>read-write</access>
  20368. <resetValue>0x40000001</resetValue>
  20369. <resetMask>0xFFFFFFFF</resetMask>
  20370. <fields>
  20371. <field>
  20372. <name>FTFL</name>
  20373. <description>Flash Memory Clock Gate Control</description>
  20374. <bitOffset>0</bitOffset>
  20375. <bitWidth>1</bitWidth>
  20376. <access>read-write</access>
  20377. <enumeratedValues>
  20378. <enumeratedValue>
  20379. <name>0</name>
  20380. <description>Clock disabled</description>
  20381. <value>#0</value>
  20382. </enumeratedValue>
  20383. <enumeratedValue>
  20384. <name>1</name>
  20385. <description>Clock enabled</description>
  20386. <value>#1</value>
  20387. </enumeratedValue>
  20388. </enumeratedValues>
  20389. </field>
  20390. <field>
  20391. <name>DMAMUX</name>
  20392. <description>DMA Mux Clock Gate Control</description>
  20393. <bitOffset>1</bitOffset>
  20394. <bitWidth>1</bitWidth>
  20395. <access>read-write</access>
  20396. <enumeratedValues>
  20397. <enumeratedValue>
  20398. <name>0</name>
  20399. <description>Clock disabled</description>
  20400. <value>#0</value>
  20401. </enumeratedValue>
  20402. <enumeratedValue>
  20403. <name>1</name>
  20404. <description>Clock enabled</description>
  20405. <value>#1</value>
  20406. </enumeratedValue>
  20407. </enumeratedValues>
  20408. </field>
  20409. <field>
  20410. <name>SPI0</name>
  20411. <description>SPI0 Clock Gate Control</description>
  20412. <bitOffset>12</bitOffset>
  20413. <bitWidth>1</bitWidth>
  20414. <access>read-write</access>
  20415. <enumeratedValues>
  20416. <enumeratedValue>
  20417. <name>0</name>
  20418. <description>Clock disabled</description>
  20419. <value>#0</value>
  20420. </enumeratedValue>
  20421. <enumeratedValue>
  20422. <name>1</name>
  20423. <description>Clock enabled</description>
  20424. <value>#1</value>
  20425. </enumeratedValue>
  20426. </enumeratedValues>
  20427. </field>
  20428. <field>
  20429. <name>I2S</name>
  20430. <description>I2S Clock Gate Control</description>
  20431. <bitOffset>15</bitOffset>
  20432. <bitWidth>1</bitWidth>
  20433. <access>read-write</access>
  20434. <enumeratedValues>
  20435. <enumeratedValue>
  20436. <name>0</name>
  20437. <description>Clock disabled</description>
  20438. <value>#0</value>
  20439. </enumeratedValue>
  20440. <enumeratedValue>
  20441. <name>1</name>
  20442. <description>Clock enabled</description>
  20443. <value>#1</value>
  20444. </enumeratedValue>
  20445. </enumeratedValues>
  20446. </field>
  20447. <field>
  20448. <name>CRC</name>
  20449. <description>CRC Clock Gate Control</description>
  20450. <bitOffset>18</bitOffset>
  20451. <bitWidth>1</bitWidth>
  20452. <access>read-write</access>
  20453. <enumeratedValues>
  20454. <enumeratedValue>
  20455. <name>0</name>
  20456. <description>Clock disabled</description>
  20457. <value>#0</value>
  20458. </enumeratedValue>
  20459. <enumeratedValue>
  20460. <name>1</name>
  20461. <description>Clock enabled</description>
  20462. <value>#1</value>
  20463. </enumeratedValue>
  20464. </enumeratedValues>
  20465. </field>
  20466. <field>
  20467. <name>USBDCD</name>
  20468. <description>USB DCD Clock Gate Control</description>
  20469. <bitOffset>21</bitOffset>
  20470. <bitWidth>1</bitWidth>
  20471. <access>read-write</access>
  20472. <enumeratedValues>
  20473. <enumeratedValue>
  20474. <name>0</name>
  20475. <description>Clock disabled</description>
  20476. <value>#0</value>
  20477. </enumeratedValue>
  20478. <enumeratedValue>
  20479. <name>1</name>
  20480. <description>Clock enabled</description>
  20481. <value>#1</value>
  20482. </enumeratedValue>
  20483. </enumeratedValues>
  20484. </field>
  20485. <field>
  20486. <name>PDB</name>
  20487. <description>PDB Clock Gate Control</description>
  20488. <bitOffset>22</bitOffset>
  20489. <bitWidth>1</bitWidth>
  20490. <access>read-write</access>
  20491. <enumeratedValues>
  20492. <enumeratedValue>
  20493. <name>0</name>
  20494. <description>Clock disabled</description>
  20495. <value>#0</value>
  20496. </enumeratedValue>
  20497. <enumeratedValue>
  20498. <name>1</name>
  20499. <description>Clock enabled</description>
  20500. <value>#1</value>
  20501. </enumeratedValue>
  20502. </enumeratedValues>
  20503. </field>
  20504. <field>
  20505. <name>PIT</name>
  20506. <description>PIT Clock Gate Control</description>
  20507. <bitOffset>23</bitOffset>
  20508. <bitWidth>1</bitWidth>
  20509. <access>read-write</access>
  20510. <enumeratedValues>
  20511. <enumeratedValue>
  20512. <name>0</name>
  20513. <description>Clock disabled</description>
  20514. <value>#0</value>
  20515. </enumeratedValue>
  20516. <enumeratedValue>
  20517. <name>1</name>
  20518. <description>Clock enabled</description>
  20519. <value>#1</value>
  20520. </enumeratedValue>
  20521. </enumeratedValues>
  20522. </field>
  20523. <field>
  20524. <name>FTM0</name>
  20525. <description>FTM0 Clock Gate Control</description>
  20526. <bitOffset>24</bitOffset>
  20527. <bitWidth>1</bitWidth>
  20528. <access>read-write</access>
  20529. <enumeratedValues>
  20530. <enumeratedValue>
  20531. <name>0</name>
  20532. <description>Clock disabled</description>
  20533. <value>#0</value>
  20534. </enumeratedValue>
  20535. <enumeratedValue>
  20536. <name>1</name>
  20537. <description>Clock enabled</description>
  20538. <value>#1</value>
  20539. </enumeratedValue>
  20540. </enumeratedValues>
  20541. </field>
  20542. <field>
  20543. <name>FTM1</name>
  20544. <description>FTM1 Clock Gate Control</description>
  20545. <bitOffset>25</bitOffset>
  20546. <bitWidth>1</bitWidth>
  20547. <access>read-write</access>
  20548. <enumeratedValues>
  20549. <enumeratedValue>
  20550. <name>0</name>
  20551. <description>Clock disabled</description>
  20552. <value>#0</value>
  20553. </enumeratedValue>
  20554. <enumeratedValue>
  20555. <name>1</name>
  20556. <description>Clock enabled</description>
  20557. <value>#1</value>
  20558. </enumeratedValue>
  20559. </enumeratedValues>
  20560. </field>
  20561. <field>
  20562. <name>ADC0</name>
  20563. <description>ADC0 Clock Gate Control</description>
  20564. <bitOffset>27</bitOffset>
  20565. <bitWidth>1</bitWidth>
  20566. <access>read-write</access>
  20567. <enumeratedValues>
  20568. <enumeratedValue>
  20569. <name>0</name>
  20570. <description>Clock disabled</description>
  20571. <value>#0</value>
  20572. </enumeratedValue>
  20573. <enumeratedValue>
  20574. <name>1</name>
  20575. <description>Clock enabled</description>
  20576. <value>#1</value>
  20577. </enumeratedValue>
  20578. </enumeratedValues>
  20579. </field>
  20580. <field>
  20581. <name>RTC</name>
  20582. <description>RTC Access Control</description>
  20583. <bitOffset>29</bitOffset>
  20584. <bitWidth>1</bitWidth>
  20585. <access>read-write</access>
  20586. <enumeratedValues>
  20587. <enumeratedValue>
  20588. <name>0</name>
  20589. <description>Access and interrupts disabled</description>
  20590. <value>#0</value>
  20591. </enumeratedValue>
  20592. <enumeratedValue>
  20593. <name>1</name>
  20594. <description>Access and interrupts enabled</description>
  20595. <value>#1</value>
  20596. </enumeratedValue>
  20597. </enumeratedValues>
  20598. </field>
  20599. </fields>
  20600. </register>
  20601. <register>
  20602. <name>SCGC7</name>
  20603. <description>System Clock Gating Control Register 7</description>
  20604. <addressOffset>0x1040</addressOffset>
  20605. <size>32</size>
  20606. <access>read-write</access>
  20607. <resetValue>0x2</resetValue>
  20608. <resetMask>0xFFFFFFFF</resetMask>
  20609. <fields>
  20610. <field>
  20611. <name>DMA</name>
  20612. <description>DMA Clock Gate Control</description>
  20613. <bitOffset>1</bitOffset>
  20614. <bitWidth>1</bitWidth>
  20615. <access>read-write</access>
  20616. <enumeratedValues>
  20617. <enumeratedValue>
  20618. <name>0</name>
  20619. <description>Clock disabled</description>
  20620. <value>#0</value>
  20621. </enumeratedValue>
  20622. <enumeratedValue>
  20623. <name>1</name>
  20624. <description>Clock enabled</description>
  20625. <value>#1</value>
  20626. </enumeratedValue>
  20627. </enumeratedValues>
  20628. </field>
  20629. </fields>
  20630. </register>
  20631. <register>
  20632. <name>CLKDIV1</name>
  20633. <description>System Clock Divider Register 1</description>
  20634. <addressOffset>0x1044</addressOffset>
  20635. <size>32</size>
  20636. <access>read-write</access>
  20637. <resetValue>0</resetValue>
  20638. <resetMask>0</resetMask>
  20639. <fields>
  20640. <field>
  20641. <name>OUTDIV4</name>
  20642. <description>Clock 4 output divider value</description>
  20643. <bitOffset>16</bitOffset>
  20644. <bitWidth>4</bitWidth>
  20645. <access>read-write</access>
  20646. <enumeratedValues>
  20647. <enumeratedValue>
  20648. <name>0000</name>
  20649. <description>Divide-by-1.</description>
  20650. <value>#0000</value>
  20651. </enumeratedValue>
  20652. <enumeratedValue>
  20653. <name>0001</name>
  20654. <description>Divide-by-2.</description>
  20655. <value>#0001</value>
  20656. </enumeratedValue>
  20657. <enumeratedValue>
  20658. <name>0010</name>
  20659. <description>Divide-by-3.</description>
  20660. <value>#0010</value>
  20661. </enumeratedValue>
  20662. <enumeratedValue>
  20663. <name>0011</name>
  20664. <description>Divide-by-4.</description>
  20665. <value>#0011</value>
  20666. </enumeratedValue>
  20667. <enumeratedValue>
  20668. <name>0100</name>
  20669. <description>Divide-by-5.</description>
  20670. <value>#0100</value>
  20671. </enumeratedValue>
  20672. <enumeratedValue>
  20673. <name>0101</name>
  20674. <description>Divide-by-6.</description>
  20675. <value>#0101</value>
  20676. </enumeratedValue>
  20677. <enumeratedValue>
  20678. <name>0110</name>
  20679. <description>Divide-by-7.</description>
  20680. <value>#0110</value>
  20681. </enumeratedValue>
  20682. <enumeratedValue>
  20683. <name>0111</name>
  20684. <description>Divide-by-8.</description>
  20685. <value>#0111</value>
  20686. </enumeratedValue>
  20687. <enumeratedValue>
  20688. <name>1000</name>
  20689. <description>Divide-by-9.</description>
  20690. <value>#1000</value>
  20691. </enumeratedValue>
  20692. <enumeratedValue>
  20693. <name>1001</name>
  20694. <description>Divide-by-10.</description>
  20695. <value>#1001</value>
  20696. </enumeratedValue>
  20697. <enumeratedValue>
  20698. <name>1010</name>
  20699. <description>Divide-by-11.</description>
  20700. <value>#1010</value>
  20701. </enumeratedValue>
  20702. <enumeratedValue>
  20703. <name>1011</name>
  20704. <description>Divide-by-12.</description>
  20705. <value>#1011</value>
  20706. </enumeratedValue>
  20707. <enumeratedValue>
  20708. <name>1100</name>
  20709. <description>Divide-by-13.</description>
  20710. <value>#1100</value>
  20711. </enumeratedValue>
  20712. <enumeratedValue>
  20713. <name>1101</name>
  20714. <description>Divide-by-14.</description>
  20715. <value>#1101</value>
  20716. </enumeratedValue>
  20717. <enumeratedValue>
  20718. <name>1110</name>
  20719. <description>Divide-by-15.</description>
  20720. <value>#1110</value>
  20721. </enumeratedValue>
  20722. <enumeratedValue>
  20723. <name>1111</name>
  20724. <description>Divide-by-16.</description>
  20725. <value>#1111</value>
  20726. </enumeratedValue>
  20727. </enumeratedValues>
  20728. </field>
  20729. <field>
  20730. <name>OUTDIV2</name>
  20731. <description>Clock 2 output divider value</description>
  20732. <bitOffset>24</bitOffset>
  20733. <bitWidth>4</bitWidth>
  20734. <access>read-write</access>
  20735. <enumeratedValues>
  20736. <enumeratedValue>
  20737. <name>0000</name>
  20738. <description>Divide-by-1.</description>
  20739. <value>#0000</value>
  20740. </enumeratedValue>
  20741. <enumeratedValue>
  20742. <name>0001</name>
  20743. <description>Divide-by-2.</description>
  20744. <value>#0001</value>
  20745. </enumeratedValue>
  20746. <enumeratedValue>
  20747. <name>0010</name>
  20748. <description>Divide-by-3.</description>
  20749. <value>#0010</value>
  20750. </enumeratedValue>
  20751. <enumeratedValue>
  20752. <name>0011</name>
  20753. <description>Divide-by-4.</description>
  20754. <value>#0011</value>
  20755. </enumeratedValue>
  20756. <enumeratedValue>
  20757. <name>0100</name>
  20758. <description>Divide-by-5.</description>
  20759. <value>#0100</value>
  20760. </enumeratedValue>
  20761. <enumeratedValue>
  20762. <name>0101</name>
  20763. <description>Divide-by-6.</description>
  20764. <value>#0101</value>
  20765. </enumeratedValue>
  20766. <enumeratedValue>
  20767. <name>0110</name>
  20768. <description>Divide-by-7.</description>
  20769. <value>#0110</value>
  20770. </enumeratedValue>
  20771. <enumeratedValue>
  20772. <name>0111</name>
  20773. <description>Divide-by-8.</description>
  20774. <value>#0111</value>
  20775. </enumeratedValue>
  20776. <enumeratedValue>
  20777. <name>1000</name>
  20778. <description>Divide-by-9.</description>
  20779. <value>#1000</value>
  20780. </enumeratedValue>
  20781. <enumeratedValue>
  20782. <name>1001</name>
  20783. <description>Divide-by-10.</description>
  20784. <value>#1001</value>
  20785. </enumeratedValue>
  20786. <enumeratedValue>
  20787. <name>1010</name>
  20788. <description>Divide-by-11.</description>
  20789. <value>#1010</value>
  20790. </enumeratedValue>
  20791. <enumeratedValue>
  20792. <name>1011</name>
  20793. <description>Divide-by-12.</description>
  20794. <value>#1011</value>
  20795. </enumeratedValue>
  20796. <enumeratedValue>
  20797. <name>1100</name>
  20798. <description>Divide-by-13.</description>
  20799. <value>#1100</value>
  20800. </enumeratedValue>
  20801. <enumeratedValue>
  20802. <name>1101</name>
  20803. <description>Divide-by-14.</description>
  20804. <value>#1101</value>
  20805. </enumeratedValue>
  20806. <enumeratedValue>
  20807. <name>1110</name>
  20808. <description>Divide-by-15.</description>
  20809. <value>#1110</value>
  20810. </enumeratedValue>
  20811. <enumeratedValue>
  20812. <name>1111</name>
  20813. <description>Divide-by-16.</description>
  20814. <value>#1111</value>
  20815. </enumeratedValue>
  20816. </enumeratedValues>
  20817. </field>
  20818. <field>
  20819. <name>OUTDIV1</name>
  20820. <description>Clock 1 output divider value</description>
  20821. <bitOffset>28</bitOffset>
  20822. <bitWidth>4</bitWidth>
  20823. <access>read-write</access>
  20824. <enumeratedValues>
  20825. <enumeratedValue>
  20826. <name>0000</name>
  20827. <description>Divide-by-1.</description>
  20828. <value>#0000</value>
  20829. </enumeratedValue>
  20830. <enumeratedValue>
  20831. <name>0001</name>
  20832. <description>Divide-by-2.</description>
  20833. <value>#0001</value>
  20834. </enumeratedValue>
  20835. <enumeratedValue>
  20836. <name>0010</name>
  20837. <description>Divide-by-3.</description>
  20838. <value>#0010</value>
  20839. </enumeratedValue>
  20840. <enumeratedValue>
  20841. <name>0011</name>
  20842. <description>Divide-by-4.</description>
  20843. <value>#0011</value>
  20844. </enumeratedValue>
  20845. <enumeratedValue>
  20846. <name>0100</name>
  20847. <description>Divide-by-5.</description>
  20848. <value>#0100</value>
  20849. </enumeratedValue>
  20850. <enumeratedValue>
  20851. <name>0101</name>
  20852. <description>Divide-by-6.</description>
  20853. <value>#0101</value>
  20854. </enumeratedValue>
  20855. <enumeratedValue>
  20856. <name>0110</name>
  20857. <description>Divide-by-7.</description>
  20858. <value>#0110</value>
  20859. </enumeratedValue>
  20860. <enumeratedValue>
  20861. <name>0111</name>
  20862. <description>Divide-by-8.</description>
  20863. <value>#0111</value>
  20864. </enumeratedValue>
  20865. <enumeratedValue>
  20866. <name>1000</name>
  20867. <description>Divide-by-9.</description>
  20868. <value>#1000</value>
  20869. </enumeratedValue>
  20870. <enumeratedValue>
  20871. <name>1001</name>
  20872. <description>Divide-by-10.</description>
  20873. <value>#1001</value>
  20874. </enumeratedValue>
  20875. <enumeratedValue>
  20876. <name>1010</name>
  20877. <description>Divide-by-11.</description>
  20878. <value>#1010</value>
  20879. </enumeratedValue>
  20880. <enumeratedValue>
  20881. <name>1011</name>
  20882. <description>Divide-by-12.</description>
  20883. <value>#1011</value>
  20884. </enumeratedValue>
  20885. <enumeratedValue>
  20886. <name>1100</name>
  20887. <description>Divide-by-13.</description>
  20888. <value>#1100</value>
  20889. </enumeratedValue>
  20890. <enumeratedValue>
  20891. <name>1101</name>
  20892. <description>Divide-by-14.</description>
  20893. <value>#1101</value>
  20894. </enumeratedValue>
  20895. <enumeratedValue>
  20896. <name>1110</name>
  20897. <description>Divide-by-15.</description>
  20898. <value>#1110</value>
  20899. </enumeratedValue>
  20900. <enumeratedValue>
  20901. <name>1111</name>
  20902. <description>Divide-by-16.</description>
  20903. <value>#1111</value>
  20904. </enumeratedValue>
  20905. </enumeratedValues>
  20906. </field>
  20907. </fields>
  20908. </register>
  20909. <register>
  20910. <name>CLKDIV2</name>
  20911. <description>System Clock Divider Register 2</description>
  20912. <addressOffset>0x1048</addressOffset>
  20913. <size>32</size>
  20914. <access>read-write</access>
  20915. <resetValue>0</resetValue>
  20916. <resetMask>0xFFFFFFFF</resetMask>
  20917. <fields>
  20918. <field>
  20919. <name>USBFRAC</name>
  20920. <description>USB clock divider fraction</description>
  20921. <bitOffset>0</bitOffset>
  20922. <bitWidth>1</bitWidth>
  20923. <access>read-write</access>
  20924. </field>
  20925. <field>
  20926. <name>USBDIV</name>
  20927. <description>USB clock divider divisor</description>
  20928. <bitOffset>1</bitOffset>
  20929. <bitWidth>3</bitWidth>
  20930. <access>read-write</access>
  20931. </field>
  20932. </fields>
  20933. </register>
  20934. <register>
  20935. <name>FCFG1</name>
  20936. <description>Flash Configuration Register 1</description>
  20937. <addressOffset>0x104C</addressOffset>
  20938. <size>32</size>
  20939. <access>read-write</access>
  20940. <resetValue>0</resetValue>
  20941. <resetMask>0</resetMask>
  20942. <fields>
  20943. <field>
  20944. <name>FLASHDIS</name>
  20945. <description>Flash Disable</description>
  20946. <bitOffset>0</bitOffset>
  20947. <bitWidth>1</bitWidth>
  20948. <access>read-write</access>
  20949. <enumeratedValues>
  20950. <enumeratedValue>
  20951. <name>0</name>
  20952. <description>Flash is enabled</description>
  20953. <value>#0</value>
  20954. </enumeratedValue>
  20955. <enumeratedValue>
  20956. <name>1</name>
  20957. <description>Flash is disabled</description>
  20958. <value>#1</value>
  20959. </enumeratedValue>
  20960. </enumeratedValues>
  20961. </field>
  20962. <field>
  20963. <name>FLASHDOZE</name>
  20964. <description>Flash Doze</description>
  20965. <bitOffset>1</bitOffset>
  20966. <bitWidth>1</bitWidth>
  20967. <access>read-write</access>
  20968. <enumeratedValues>
  20969. <enumeratedValue>
  20970. <name>0</name>
  20971. <description>Flash remains enabled during Wait mode</description>
  20972. <value>#0</value>
  20973. </enumeratedValue>
  20974. <enumeratedValue>
  20975. <name>1</name>
  20976. <description>Flash is disabled for the duration of Wait mode</description>
  20977. <value>#1</value>
  20978. </enumeratedValue>
  20979. </enumeratedValues>
  20980. </field>
  20981. <field>
  20982. <name>DEPART</name>
  20983. <description>FlexNVM partition</description>
  20984. <bitOffset>8</bitOffset>
  20985. <bitWidth>4</bitWidth>
  20986. <access>read-only</access>
  20987. </field>
  20988. <field>
  20989. <name>EESIZE</name>
  20990. <description>EEPROM size</description>
  20991. <bitOffset>16</bitOffset>
  20992. <bitWidth>4</bitWidth>
  20993. <access>read-only</access>
  20994. <enumeratedValues>
  20995. <enumeratedValue>
  20996. <name>0011</name>
  20997. <description>2 KB</description>
  20998. <value>#0011</value>
  20999. </enumeratedValue>
  21000. <enumeratedValue>
  21001. <name>0100</name>
  21002. <description>1 KB</description>
  21003. <value>#0100</value>
  21004. </enumeratedValue>
  21005. <enumeratedValue>
  21006. <name>0101</name>
  21007. <description>512 Bytes</description>
  21008. <value>#0101</value>
  21009. </enumeratedValue>
  21010. <enumeratedValue>
  21011. <name>0110</name>
  21012. <description>256 Bytes</description>
  21013. <value>#0110</value>
  21014. </enumeratedValue>
  21015. <enumeratedValue>
  21016. <name>0111</name>
  21017. <description>128 Bytes</description>
  21018. <value>#0111</value>
  21019. </enumeratedValue>
  21020. <enumeratedValue>
  21021. <name>1000</name>
  21022. <description>64 Bytes</description>
  21023. <value>#1000</value>
  21024. </enumeratedValue>
  21025. <enumeratedValue>
  21026. <name>1001</name>
  21027. <description>32 Bytes</description>
  21028. <value>#1001</value>
  21029. </enumeratedValue>
  21030. <enumeratedValue>
  21031. <name>1111</name>
  21032. <description>0 Bytes</description>
  21033. <value>#1111</value>
  21034. </enumeratedValue>
  21035. </enumeratedValues>
  21036. </field>
  21037. <field>
  21038. <name>PFSIZE</name>
  21039. <description>Program flash size</description>
  21040. <bitOffset>24</bitOffset>
  21041. <bitWidth>4</bitWidth>
  21042. <access>read-only</access>
  21043. <enumeratedValues>
  21044. <enumeratedValue>
  21045. <name>0011</name>
  21046. <description>32 KB of program flash memory, 1 KB protection region</description>
  21047. <value>#0011</value>
  21048. </enumeratedValue>
  21049. <enumeratedValue>
  21050. <name>0101</name>
  21051. <description>64 KB of program flash memory, 2 KB protection region</description>
  21052. <value>#0101</value>
  21053. </enumeratedValue>
  21054. <enumeratedValue>
  21055. <name>0111</name>
  21056. <description>128 KB of program flash, 4 KB protection region</description>
  21057. <value>#0111</value>
  21058. </enumeratedValue>
  21059. </enumeratedValues>
  21060. </field>
  21061. <field>
  21062. <name>NVMSIZE</name>
  21063. <description>FlexNVM size</description>
  21064. <bitOffset>28</bitOffset>
  21065. <bitWidth>4</bitWidth>
  21066. <access>read-only</access>
  21067. <enumeratedValues>
  21068. <enumeratedValue>
  21069. <name>0000</name>
  21070. <description>0 KB of FlexNVM</description>
  21071. <value>#0000</value>
  21072. </enumeratedValue>
  21073. <enumeratedValue>
  21074. <name>0011</name>
  21075. <description>32 KB of FlexNVM, 4 KB protection region</description>
  21076. <value>#0011</value>
  21077. </enumeratedValue>
  21078. </enumeratedValues>
  21079. </field>
  21080. </fields>
  21081. </register>
  21082. <register>
  21083. <name>FCFG2</name>
  21084. <description>Flash Configuration Register 2</description>
  21085. <addressOffset>0x1050</addressOffset>
  21086. <size>32</size>
  21087. <access>read-only</access>
  21088. <resetValue>0</resetValue>
  21089. <resetMask>0</resetMask>
  21090. <fields>
  21091. <field>
  21092. <name>MAXADDR1</name>
  21093. <description>Max address block 1</description>
  21094. <bitOffset>16</bitOffset>
  21095. <bitWidth>7</bitWidth>
  21096. <access>read-only</access>
  21097. </field>
  21098. <field>
  21099. <name>PFLSH</name>
  21100. <description>Program flash</description>
  21101. <bitOffset>23</bitOffset>
  21102. <bitWidth>1</bitWidth>
  21103. <access>read-only</access>
  21104. <enumeratedValues>
  21105. <enumeratedValue>
  21106. <name>0</name>
  21107. <description>Physical flash block 1 is used as FlexNVM</description>
  21108. <value>#0</value>
  21109. </enumeratedValue>
  21110. <enumeratedValue>
  21111. <name>1</name>
  21112. <description>Physical flash block 1 is used as program flash</description>
  21113. <value>#1</value>
  21114. </enumeratedValue>
  21115. </enumeratedValues>
  21116. </field>
  21117. <field>
  21118. <name>MAXADDR0</name>
  21119. <description>Max address block 0</description>
  21120. <bitOffset>24</bitOffset>
  21121. <bitWidth>7</bitWidth>
  21122. <access>read-only</access>
  21123. </field>
  21124. </fields>
  21125. </register>
  21126. <register>
  21127. <name>UIDH</name>
  21128. <description>Unique Identification Register High</description>
  21129. <addressOffset>0x1054</addressOffset>
  21130. <size>32</size>
  21131. <access>read-only</access>
  21132. <resetValue>0</resetValue>
  21133. <resetMask>0</resetMask>
  21134. <fields>
  21135. <field>
  21136. <name>UID</name>
  21137. <description>Unique Identification</description>
  21138. <bitOffset>0</bitOffset>
  21139. <bitWidth>32</bitWidth>
  21140. <access>read-only</access>
  21141. </field>
  21142. </fields>
  21143. </register>
  21144. <register>
  21145. <name>UIDMH</name>
  21146. <description>Unique Identification Register Mid-High</description>
  21147. <addressOffset>0x1058</addressOffset>
  21148. <size>32</size>
  21149. <access>read-only</access>
  21150. <resetValue>0</resetValue>
  21151. <resetMask>0</resetMask>
  21152. <fields>
  21153. <field>
  21154. <name>UID</name>
  21155. <description>Unique Identification</description>
  21156. <bitOffset>0</bitOffset>
  21157. <bitWidth>32</bitWidth>
  21158. <access>read-only</access>
  21159. </field>
  21160. </fields>
  21161. </register>
  21162. <register>
  21163. <name>UIDML</name>
  21164. <description>Unique Identification Register Mid Low</description>
  21165. <addressOffset>0x105C</addressOffset>
  21166. <size>32</size>
  21167. <access>read-only</access>
  21168. <resetValue>0</resetValue>
  21169. <resetMask>0</resetMask>
  21170. <fields>
  21171. <field>
  21172. <name>UID</name>
  21173. <description>Unique Identification</description>
  21174. <bitOffset>0</bitOffset>
  21175. <bitWidth>32</bitWidth>
  21176. <access>read-only</access>
  21177. </field>
  21178. </fields>
  21179. </register>
  21180. <register>
  21181. <name>UIDL</name>
  21182. <description>Unique Identification Register Low</description>
  21183. <addressOffset>0x1060</addressOffset>
  21184. <size>32</size>
  21185. <access>read-only</access>
  21186. <resetValue>0</resetValue>
  21187. <resetMask>0</resetMask>
  21188. <fields>
  21189. <field>
  21190. <name>UID</name>
  21191. <description>Unique Identification</description>
  21192. <bitOffset>0</bitOffset>
  21193. <bitWidth>32</bitWidth>
  21194. <access>read-only</access>
  21195. </field>
  21196. </fields>
  21197. </register>
  21198. </registers>
  21199. </peripheral>
  21200. <peripheral>
  21201. <name>PORTA</name>
  21202. <description>Pin Control and Interrupts</description>
  21203. <groupName>PORT</groupName>
  21204. <prependToName>PORTA_</prependToName>
  21205. <baseAddress>0x40049000</baseAddress>
  21206. <addressBlock>
  21207. <offset>0</offset>
  21208. <size>0xA4</size>
  21209. <usage>registers</usage>
  21210. </addressBlock>
  21211. <interrupt>
  21212. <name>PORTA</name>
  21213. <value>40</value>
  21214. </interrupt>
  21215. <registers>
  21216. <register>
  21217. <dim>32</dim>
  21218. <dimIncrement>0x4</dimIncrement>
  21219. <dimIndex>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31</dimIndex>
  21220. <name>PCR%s</name>
  21221. <description>Pin Control Register n</description>
  21222. <addressOffset>0</addressOffset>
  21223. <size>32</size>
  21224. <access>read-write</access>
  21225. <resetValue>0x742</resetValue>
  21226. <resetMask>0xFFFFFFFF</resetMask>
  21227. <fields>
  21228. <field>
  21229. <name>PS</name>
  21230. <description>Pull Select</description>
  21231. <bitOffset>0</bitOffset>
  21232. <bitWidth>1</bitWidth>
  21233. <access>read-write</access>
  21234. <enumeratedValues>
  21235. <enumeratedValue>
  21236. <name>0</name>
  21237. <description>Internal pull-down resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  21238. <value>#0</value>
  21239. </enumeratedValue>
  21240. <enumeratedValue>
  21241. <name>1</name>
  21242. <description>Internal pull-up resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  21243. <value>#1</value>
  21244. </enumeratedValue>
  21245. </enumeratedValues>
  21246. </field>
  21247. <field>
  21248. <name>PE</name>
  21249. <description>Pull Enable</description>
  21250. <bitOffset>1</bitOffset>
  21251. <bitWidth>1</bitWidth>
  21252. <access>read-write</access>
  21253. <enumeratedValues>
  21254. <enumeratedValue>
  21255. <name>0</name>
  21256. <description>Internal pull-up or pull-down resistor is not enabled on the corresponding pin.</description>
  21257. <value>#0</value>
  21258. </enumeratedValue>
  21259. <enumeratedValue>
  21260. <name>1</name>
  21261. <description>Internal pull-up or pull-down resistor is enabled on the corresponding pin, provided pin is configured as a digital input.</description>
  21262. <value>#1</value>
  21263. </enumeratedValue>
  21264. </enumeratedValues>
  21265. </field>
  21266. <field>
  21267. <name>SRE</name>
  21268. <description>Slew Rate Enable</description>
  21269. <bitOffset>2</bitOffset>
  21270. <bitWidth>1</bitWidth>
  21271. <access>read-write</access>
  21272. <enumeratedValues>
  21273. <enumeratedValue>
  21274. <name>0</name>
  21275. <description>Fast slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21276. <value>#0</value>
  21277. </enumeratedValue>
  21278. <enumeratedValue>
  21279. <name>1</name>
  21280. <description>Slow slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21281. <value>#1</value>
  21282. </enumeratedValue>
  21283. </enumeratedValues>
  21284. </field>
  21285. <field>
  21286. <name>PFE</name>
  21287. <description>Passive Filter Enable</description>
  21288. <bitOffset>4</bitOffset>
  21289. <bitWidth>1</bitWidth>
  21290. <access>read-write</access>
  21291. <enumeratedValues>
  21292. <enumeratedValue>
  21293. <name>0</name>
  21294. <description>Passive Input Filter is disabled on the corresponding pin.</description>
  21295. <value>#0</value>
  21296. </enumeratedValue>
  21297. <enumeratedValue>
  21298. <name>1</name>
  21299. <description>Passive Input Filter is enabled on the corresponding pin, provided pin is configured as a digital input. A low pass filter (10 MHz to 30 MHz bandwidth) is enabled on the digital input path. Disable the Passive Input Filter when supporting high speed interfaces (&gt; 2 MHz) on the pin.</description>
  21300. <value>#1</value>
  21301. </enumeratedValue>
  21302. </enumeratedValues>
  21303. </field>
  21304. <field>
  21305. <name>ODE</name>
  21306. <description>Open Drain Enable</description>
  21307. <bitOffset>5</bitOffset>
  21308. <bitWidth>1</bitWidth>
  21309. <access>read-write</access>
  21310. <enumeratedValues>
  21311. <enumeratedValue>
  21312. <name>0</name>
  21313. <description>Open Drain output is disabled on the corresponding pin.</description>
  21314. <value>#0</value>
  21315. </enumeratedValue>
  21316. <enumeratedValue>
  21317. <name>1</name>
  21318. <description>Open Drain output is enabled on the corresponding pin, provided pin is configured as a digital output.</description>
  21319. <value>#1</value>
  21320. </enumeratedValue>
  21321. </enumeratedValues>
  21322. </field>
  21323. <field>
  21324. <name>DSE</name>
  21325. <description>Drive Strength Enable</description>
  21326. <bitOffset>6</bitOffset>
  21327. <bitWidth>1</bitWidth>
  21328. <access>read-write</access>
  21329. <enumeratedValues>
  21330. <enumeratedValue>
  21331. <name>0</name>
  21332. <description>Low drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21333. <value>#0</value>
  21334. </enumeratedValue>
  21335. <enumeratedValue>
  21336. <name>1</name>
  21337. <description>High drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21338. <value>#1</value>
  21339. </enumeratedValue>
  21340. </enumeratedValues>
  21341. </field>
  21342. <field>
  21343. <name>MUX</name>
  21344. <description>Pin Mux Control</description>
  21345. <bitOffset>8</bitOffset>
  21346. <bitWidth>3</bitWidth>
  21347. <access>read-write</access>
  21348. <enumeratedValues>
  21349. <enumeratedValue>
  21350. <name>000</name>
  21351. <description>Pin Disabled (Analog).</description>
  21352. <value>#000</value>
  21353. </enumeratedValue>
  21354. <enumeratedValue>
  21355. <name>001</name>
  21356. <description>Alternative 1 (GPIO).</description>
  21357. <value>#001</value>
  21358. </enumeratedValue>
  21359. <enumeratedValue>
  21360. <name>010</name>
  21361. <description>Alternative 2 (chip specific).</description>
  21362. <value>#010</value>
  21363. </enumeratedValue>
  21364. <enumeratedValue>
  21365. <name>011</name>
  21366. <description>Alternative 3 (chip specific).</description>
  21367. <value>#011</value>
  21368. </enumeratedValue>
  21369. <enumeratedValue>
  21370. <name>100</name>
  21371. <description>Alternative 4 (chip specific).</description>
  21372. <value>#100</value>
  21373. </enumeratedValue>
  21374. <enumeratedValue>
  21375. <name>101</name>
  21376. <description>Alternative 5 (chip specific).</description>
  21377. <value>#101</value>
  21378. </enumeratedValue>
  21379. <enumeratedValue>
  21380. <name>110</name>
  21381. <description>Alternative 6 (chip specific).</description>
  21382. <value>#110</value>
  21383. </enumeratedValue>
  21384. <enumeratedValue>
  21385. <name>111</name>
  21386. <description>Alternative 7 (chip specific / JTAG / NMI).</description>
  21387. <value>#111</value>
  21388. </enumeratedValue>
  21389. </enumeratedValues>
  21390. </field>
  21391. <field>
  21392. <name>LK</name>
  21393. <description>Lock Register</description>
  21394. <bitOffset>15</bitOffset>
  21395. <bitWidth>1</bitWidth>
  21396. <access>read-write</access>
  21397. <enumeratedValues>
  21398. <enumeratedValue>
  21399. <name>0</name>
  21400. <description>Pin Control Register bits [15:0] are not locked.</description>
  21401. <value>#0</value>
  21402. </enumeratedValue>
  21403. <enumeratedValue>
  21404. <name>1</name>
  21405. <description>Pin Control Register bits [15:0] are locked and cannot be updated until the next System Reset.</description>
  21406. <value>#1</value>
  21407. </enumeratedValue>
  21408. </enumeratedValues>
  21409. </field>
  21410. <field>
  21411. <name>IRQC</name>
  21412. <description>Interrupt Configuration</description>
  21413. <bitOffset>16</bitOffset>
  21414. <bitWidth>4</bitWidth>
  21415. <access>read-write</access>
  21416. <enumeratedValues>
  21417. <enumeratedValue>
  21418. <name>0000</name>
  21419. <description>Interrupt/DMA Request disabled.</description>
  21420. <value>#0000</value>
  21421. </enumeratedValue>
  21422. <enumeratedValue>
  21423. <name>0001</name>
  21424. <description>DMA Request on rising edge.</description>
  21425. <value>#0001</value>
  21426. </enumeratedValue>
  21427. <enumeratedValue>
  21428. <name>0010</name>
  21429. <description>DMA Request on falling edge.</description>
  21430. <value>#0010</value>
  21431. </enumeratedValue>
  21432. <enumeratedValue>
  21433. <name>0011</name>
  21434. <description>DMA Request on either edge.</description>
  21435. <value>#0011</value>
  21436. </enumeratedValue>
  21437. <enumeratedValue>
  21438. <name>1000</name>
  21439. <description>Interrupt when logic zero.</description>
  21440. <value>#1000</value>
  21441. </enumeratedValue>
  21442. <enumeratedValue>
  21443. <name>1001</name>
  21444. <description>Interrupt on rising edge.</description>
  21445. <value>#1001</value>
  21446. </enumeratedValue>
  21447. <enumeratedValue>
  21448. <name>1010</name>
  21449. <description>Interrupt on falling edge.</description>
  21450. <value>#1010</value>
  21451. </enumeratedValue>
  21452. <enumeratedValue>
  21453. <name>1011</name>
  21454. <description>Interrupt on either edge.</description>
  21455. <value>#1011</value>
  21456. </enumeratedValue>
  21457. <enumeratedValue>
  21458. <name>1100</name>
  21459. <description>Interrupt when logic one.</description>
  21460. <value>#1100</value>
  21461. </enumeratedValue>
  21462. </enumeratedValues>
  21463. </field>
  21464. <field>
  21465. <name>ISF</name>
  21466. <description>Interrupt Status Flag</description>
  21467. <bitOffset>24</bitOffset>
  21468. <bitWidth>1</bitWidth>
  21469. <access>read-write</access>
  21470. <enumeratedValues>
  21471. <enumeratedValue>
  21472. <name>0</name>
  21473. <description>Configured interrupt has not been detected.</description>
  21474. <value>#0</value>
  21475. </enumeratedValue>
  21476. <enumeratedValue>
  21477. <name>1</name>
  21478. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to that flag. If configured for a level sensitive interrupt that remains asserted then flag will set again immediately.</description>
  21479. <value>#1</value>
  21480. </enumeratedValue>
  21481. </enumeratedValues>
  21482. </field>
  21483. </fields>
  21484. </register>
  21485. <register>
  21486. <name>GPCLR</name>
  21487. <description>Global Pin Control Low Register</description>
  21488. <addressOffset>0x80</addressOffset>
  21489. <size>32</size>
  21490. <access>write-only</access>
  21491. <resetValue>0</resetValue>
  21492. <resetMask>0xFFFFFFFF</resetMask>
  21493. <fields>
  21494. <field>
  21495. <name>GPWD</name>
  21496. <description>Global Pin Write Data</description>
  21497. <bitOffset>0</bitOffset>
  21498. <bitWidth>16</bitWidth>
  21499. <access>write-only</access>
  21500. </field>
  21501. <field>
  21502. <name>GPWE</name>
  21503. <description>Global Pin Write Enable</description>
  21504. <bitOffset>16</bitOffset>
  21505. <bitWidth>16</bitWidth>
  21506. <access>write-only</access>
  21507. </field>
  21508. </fields>
  21509. </register>
  21510. <register>
  21511. <name>GPCHR</name>
  21512. <description>Global Pin Control High Register</description>
  21513. <addressOffset>0x84</addressOffset>
  21514. <size>32</size>
  21515. <access>write-only</access>
  21516. <resetValue>0</resetValue>
  21517. <resetMask>0xFFFFFFFF</resetMask>
  21518. <fields>
  21519. <field>
  21520. <name>GPWD</name>
  21521. <description>Global Pin Write Data</description>
  21522. <bitOffset>0</bitOffset>
  21523. <bitWidth>16</bitWidth>
  21524. <access>write-only</access>
  21525. </field>
  21526. <field>
  21527. <name>GPWE</name>
  21528. <description>Global Pin Write Enable</description>
  21529. <bitOffset>16</bitOffset>
  21530. <bitWidth>16</bitWidth>
  21531. <access>write-only</access>
  21532. </field>
  21533. </fields>
  21534. </register>
  21535. <register>
  21536. <name>ISFR</name>
  21537. <description>Interrupt Status Flag Register</description>
  21538. <addressOffset>0xA0</addressOffset>
  21539. <size>32</size>
  21540. <access>read-write</access>
  21541. <resetValue>0</resetValue>
  21542. <resetMask>0xFFFFFFFF</resetMask>
  21543. <fields>
  21544. <field>
  21545. <name>ISF</name>
  21546. <description>Interrupt Status Flag</description>
  21547. <bitOffset>0</bitOffset>
  21548. <bitWidth>32</bitWidth>
  21549. <access>read-write</access>
  21550. <enumeratedValues>
  21551. <enumeratedValue>
  21552. <name>0</name>
  21553. <description>Configured interrupt has not been detected.</description>
  21554. <value>#0</value>
  21555. </enumeratedValue>
  21556. <enumeratedValue>
  21557. <name>1</name>
  21558. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to the flag. If configured for a level sensitive interrupt and the pin remains asserted then the flag will set again immediately after it is cleared.</description>
  21559. <value>#1</value>
  21560. </enumeratedValue>
  21561. </enumeratedValues>
  21562. </field>
  21563. </fields>
  21564. </register>
  21565. </registers>
  21566. </peripheral>
  21567. <peripheral>
  21568. <name>PORTB</name>
  21569. <description>Pin Control and Interrupts</description>
  21570. <groupName>PORT</groupName>
  21571. <prependToName>PORTB_</prependToName>
  21572. <baseAddress>0x4004A000</baseAddress>
  21573. <addressBlock>
  21574. <offset>0</offset>
  21575. <size>0xA4</size>
  21576. <usage>registers</usage>
  21577. </addressBlock>
  21578. <interrupt>
  21579. <name>PORTB</name>
  21580. <value>41</value>
  21581. </interrupt>
  21582. <registers>
  21583. <register>
  21584. <dim>32</dim>
  21585. <dimIncrement>0x4</dimIncrement>
  21586. <dimIndex>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31</dimIndex>
  21587. <name>PCR%s</name>
  21588. <description>Pin Control Register n</description>
  21589. <addressOffset>0</addressOffset>
  21590. <size>32</size>
  21591. <access>read-write</access>
  21592. <resetValue>0</resetValue>
  21593. <resetMask>0xFFFFFFFF</resetMask>
  21594. <fields>
  21595. <field>
  21596. <name>PS</name>
  21597. <description>Pull Select</description>
  21598. <bitOffset>0</bitOffset>
  21599. <bitWidth>1</bitWidth>
  21600. <access>read-write</access>
  21601. <enumeratedValues>
  21602. <enumeratedValue>
  21603. <name>0</name>
  21604. <description>Internal pull-down resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  21605. <value>#0</value>
  21606. </enumeratedValue>
  21607. <enumeratedValue>
  21608. <name>1</name>
  21609. <description>Internal pull-up resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  21610. <value>#1</value>
  21611. </enumeratedValue>
  21612. </enumeratedValues>
  21613. </field>
  21614. <field>
  21615. <name>PE</name>
  21616. <description>Pull Enable</description>
  21617. <bitOffset>1</bitOffset>
  21618. <bitWidth>1</bitWidth>
  21619. <access>read-write</access>
  21620. <enumeratedValues>
  21621. <enumeratedValue>
  21622. <name>0</name>
  21623. <description>Internal pull-up or pull-down resistor is not enabled on the corresponding pin.</description>
  21624. <value>#0</value>
  21625. </enumeratedValue>
  21626. <enumeratedValue>
  21627. <name>1</name>
  21628. <description>Internal pull-up or pull-down resistor is enabled on the corresponding pin, provided pin is configured as a digital input.</description>
  21629. <value>#1</value>
  21630. </enumeratedValue>
  21631. </enumeratedValues>
  21632. </field>
  21633. <field>
  21634. <name>SRE</name>
  21635. <description>Slew Rate Enable</description>
  21636. <bitOffset>2</bitOffset>
  21637. <bitWidth>1</bitWidth>
  21638. <access>read-write</access>
  21639. <enumeratedValues>
  21640. <enumeratedValue>
  21641. <name>0</name>
  21642. <description>Fast slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21643. <value>#0</value>
  21644. </enumeratedValue>
  21645. <enumeratedValue>
  21646. <name>1</name>
  21647. <description>Slow slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21648. <value>#1</value>
  21649. </enumeratedValue>
  21650. </enumeratedValues>
  21651. </field>
  21652. <field>
  21653. <name>PFE</name>
  21654. <description>Passive Filter Enable</description>
  21655. <bitOffset>4</bitOffset>
  21656. <bitWidth>1</bitWidth>
  21657. <access>read-write</access>
  21658. <enumeratedValues>
  21659. <enumeratedValue>
  21660. <name>0</name>
  21661. <description>Passive Input Filter is disabled on the corresponding pin.</description>
  21662. <value>#0</value>
  21663. </enumeratedValue>
  21664. <enumeratedValue>
  21665. <name>1</name>
  21666. <description>Passive Input Filter is enabled on the corresponding pin, provided pin is configured as a digital input. A low pass filter (10 MHz to 30 MHz bandwidth) is enabled on the digital input path. Disable the Passive Input Filter when supporting high speed interfaces (&gt; 2 MHz) on the pin.</description>
  21667. <value>#1</value>
  21668. </enumeratedValue>
  21669. </enumeratedValues>
  21670. </field>
  21671. <field>
  21672. <name>ODE</name>
  21673. <description>Open Drain Enable</description>
  21674. <bitOffset>5</bitOffset>
  21675. <bitWidth>1</bitWidth>
  21676. <access>read-write</access>
  21677. <enumeratedValues>
  21678. <enumeratedValue>
  21679. <name>0</name>
  21680. <description>Open Drain output is disabled on the corresponding pin.</description>
  21681. <value>#0</value>
  21682. </enumeratedValue>
  21683. <enumeratedValue>
  21684. <name>1</name>
  21685. <description>Open Drain output is enabled on the corresponding pin, provided pin is configured as a digital output.</description>
  21686. <value>#1</value>
  21687. </enumeratedValue>
  21688. </enumeratedValues>
  21689. </field>
  21690. <field>
  21691. <name>DSE</name>
  21692. <description>Drive Strength Enable</description>
  21693. <bitOffset>6</bitOffset>
  21694. <bitWidth>1</bitWidth>
  21695. <access>read-write</access>
  21696. <enumeratedValues>
  21697. <enumeratedValue>
  21698. <name>0</name>
  21699. <description>Low drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21700. <value>#0</value>
  21701. </enumeratedValue>
  21702. <enumeratedValue>
  21703. <name>1</name>
  21704. <description>High drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  21705. <value>#1</value>
  21706. </enumeratedValue>
  21707. </enumeratedValues>
  21708. </field>
  21709. <field>
  21710. <name>MUX</name>
  21711. <description>Pin Mux Control</description>
  21712. <bitOffset>8</bitOffset>
  21713. <bitWidth>3</bitWidth>
  21714. <access>read-write</access>
  21715. <enumeratedValues>
  21716. <enumeratedValue>
  21717. <name>000</name>
  21718. <description>Pin Disabled (Analog).</description>
  21719. <value>#000</value>
  21720. </enumeratedValue>
  21721. <enumeratedValue>
  21722. <name>001</name>
  21723. <description>Alternative 1 (GPIO).</description>
  21724. <value>#001</value>
  21725. </enumeratedValue>
  21726. <enumeratedValue>
  21727. <name>010</name>
  21728. <description>Alternative 2 (chip specific).</description>
  21729. <value>#010</value>
  21730. </enumeratedValue>
  21731. <enumeratedValue>
  21732. <name>011</name>
  21733. <description>Alternative 3 (chip specific).</description>
  21734. <value>#011</value>
  21735. </enumeratedValue>
  21736. <enumeratedValue>
  21737. <name>100</name>
  21738. <description>Alternative 4 (chip specific).</description>
  21739. <value>#100</value>
  21740. </enumeratedValue>
  21741. <enumeratedValue>
  21742. <name>101</name>
  21743. <description>Alternative 5 (chip specific).</description>
  21744. <value>#101</value>
  21745. </enumeratedValue>
  21746. <enumeratedValue>
  21747. <name>110</name>
  21748. <description>Alternative 6 (chip specific).</description>
  21749. <value>#110</value>
  21750. </enumeratedValue>
  21751. <enumeratedValue>
  21752. <name>111</name>
  21753. <description>Alternative 7 (chip specific / JTAG / NMI).</description>
  21754. <value>#111</value>
  21755. </enumeratedValue>
  21756. </enumeratedValues>
  21757. </field>
  21758. <field>
  21759. <name>LK</name>
  21760. <description>Lock Register</description>
  21761. <bitOffset>15</bitOffset>
  21762. <bitWidth>1</bitWidth>
  21763. <access>read-write</access>
  21764. <enumeratedValues>
  21765. <enumeratedValue>
  21766. <name>0</name>
  21767. <description>Pin Control Register bits [15:0] are not locked.</description>
  21768. <value>#0</value>
  21769. </enumeratedValue>
  21770. <enumeratedValue>
  21771. <name>1</name>
  21772. <description>Pin Control Register bits [15:0] are locked and cannot be updated until the next System Reset.</description>
  21773. <value>#1</value>
  21774. </enumeratedValue>
  21775. </enumeratedValues>
  21776. </field>
  21777. <field>
  21778. <name>IRQC</name>
  21779. <description>Interrupt Configuration</description>
  21780. <bitOffset>16</bitOffset>
  21781. <bitWidth>4</bitWidth>
  21782. <access>read-write</access>
  21783. <enumeratedValues>
  21784. <enumeratedValue>
  21785. <name>0000</name>
  21786. <description>Interrupt/DMA Request disabled.</description>
  21787. <value>#0000</value>
  21788. </enumeratedValue>
  21789. <enumeratedValue>
  21790. <name>0001</name>
  21791. <description>DMA Request on rising edge.</description>
  21792. <value>#0001</value>
  21793. </enumeratedValue>
  21794. <enumeratedValue>
  21795. <name>0010</name>
  21796. <description>DMA Request on falling edge.</description>
  21797. <value>#0010</value>
  21798. </enumeratedValue>
  21799. <enumeratedValue>
  21800. <name>0011</name>
  21801. <description>DMA Request on either edge.</description>
  21802. <value>#0011</value>
  21803. </enumeratedValue>
  21804. <enumeratedValue>
  21805. <name>1000</name>
  21806. <description>Interrupt when logic zero.</description>
  21807. <value>#1000</value>
  21808. </enumeratedValue>
  21809. <enumeratedValue>
  21810. <name>1001</name>
  21811. <description>Interrupt on rising edge.</description>
  21812. <value>#1001</value>
  21813. </enumeratedValue>
  21814. <enumeratedValue>
  21815. <name>1010</name>
  21816. <description>Interrupt on falling edge.</description>
  21817. <value>#1010</value>
  21818. </enumeratedValue>
  21819. <enumeratedValue>
  21820. <name>1011</name>
  21821. <description>Interrupt on either edge.</description>
  21822. <value>#1011</value>
  21823. </enumeratedValue>
  21824. <enumeratedValue>
  21825. <name>1100</name>
  21826. <description>Interrupt when logic one.</description>
  21827. <value>#1100</value>
  21828. </enumeratedValue>
  21829. </enumeratedValues>
  21830. </field>
  21831. <field>
  21832. <name>ISF</name>
  21833. <description>Interrupt Status Flag</description>
  21834. <bitOffset>24</bitOffset>
  21835. <bitWidth>1</bitWidth>
  21836. <access>read-write</access>
  21837. <enumeratedValues>
  21838. <enumeratedValue>
  21839. <name>0</name>
  21840. <description>Configured interrupt has not been detected.</description>
  21841. <value>#0</value>
  21842. </enumeratedValue>
  21843. <enumeratedValue>
  21844. <name>1</name>
  21845. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to that flag. If configured for a level sensitive interrupt that remains asserted then flag will set again immediately.</description>
  21846. <value>#1</value>
  21847. </enumeratedValue>
  21848. </enumeratedValues>
  21849. </field>
  21850. </fields>
  21851. </register>
  21852. <register>
  21853. <name>GPCLR</name>
  21854. <description>Global Pin Control Low Register</description>
  21855. <addressOffset>0x80</addressOffset>
  21856. <size>32</size>
  21857. <access>write-only</access>
  21858. <resetValue>0</resetValue>
  21859. <resetMask>0xFFFFFFFF</resetMask>
  21860. <fields>
  21861. <field>
  21862. <name>GPWD</name>
  21863. <description>Global Pin Write Data</description>
  21864. <bitOffset>0</bitOffset>
  21865. <bitWidth>16</bitWidth>
  21866. <access>write-only</access>
  21867. </field>
  21868. <field>
  21869. <name>GPWE</name>
  21870. <description>Global Pin Write Enable</description>
  21871. <bitOffset>16</bitOffset>
  21872. <bitWidth>16</bitWidth>
  21873. <access>write-only</access>
  21874. </field>
  21875. </fields>
  21876. </register>
  21877. <register>
  21878. <name>GPCHR</name>
  21879. <description>Global Pin Control High Register</description>
  21880. <addressOffset>0x84</addressOffset>
  21881. <size>32</size>
  21882. <access>write-only</access>
  21883. <resetValue>0</resetValue>
  21884. <resetMask>0xFFFFFFFF</resetMask>
  21885. <fields>
  21886. <field>
  21887. <name>GPWD</name>
  21888. <description>Global Pin Write Data</description>
  21889. <bitOffset>0</bitOffset>
  21890. <bitWidth>16</bitWidth>
  21891. <access>write-only</access>
  21892. </field>
  21893. <field>
  21894. <name>GPWE</name>
  21895. <description>Global Pin Write Enable</description>
  21896. <bitOffset>16</bitOffset>
  21897. <bitWidth>16</bitWidth>
  21898. <access>write-only</access>
  21899. </field>
  21900. </fields>
  21901. </register>
  21902. <register>
  21903. <name>ISFR</name>
  21904. <description>Interrupt Status Flag Register</description>
  21905. <addressOffset>0xA0</addressOffset>
  21906. <size>32</size>
  21907. <access>read-write</access>
  21908. <resetValue>0</resetValue>
  21909. <resetMask>0xFFFFFFFF</resetMask>
  21910. <fields>
  21911. <field>
  21912. <name>ISF</name>
  21913. <description>Interrupt Status Flag</description>
  21914. <bitOffset>0</bitOffset>
  21915. <bitWidth>32</bitWidth>
  21916. <access>read-write</access>
  21917. <enumeratedValues>
  21918. <enumeratedValue>
  21919. <name>0</name>
  21920. <description>Configured interrupt has not been detected.</description>
  21921. <value>#0</value>
  21922. </enumeratedValue>
  21923. <enumeratedValue>
  21924. <name>1</name>
  21925. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to the flag. If configured for a level sensitive interrupt and the pin remains asserted then the flag will set again immediately after it is cleared.</description>
  21926. <value>#1</value>
  21927. </enumeratedValue>
  21928. </enumeratedValues>
  21929. </field>
  21930. </fields>
  21931. </register>
  21932. </registers>
  21933. </peripheral>
  21934. <peripheral>
  21935. <name>PORTC</name>
  21936. <description>Pin Control and Interrupts</description>
  21937. <groupName>PORT</groupName>
  21938. <prependToName>PORTC_</prependToName>
  21939. <baseAddress>0x4004B000</baseAddress>
  21940. <addressBlock>
  21941. <offset>0</offset>
  21942. <size>0xA4</size>
  21943. <usage>registers</usage>
  21944. </addressBlock>
  21945. <interrupt>
  21946. <name>PORTC</name>
  21947. <value>42</value>
  21948. </interrupt>
  21949. <registers>
  21950. <register>
  21951. <dim>32</dim>
  21952. <dimIncrement>0x4</dimIncrement>
  21953. <dimIndex>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31</dimIndex>
  21954. <name>PCR%s</name>
  21955. <description>Pin Control Register n</description>
  21956. <addressOffset>0</addressOffset>
  21957. <size>32</size>
  21958. <access>read-write</access>
  21959. <resetValue>0</resetValue>
  21960. <resetMask>0xFFFFFFFF</resetMask>
  21961. <fields>
  21962. <field>
  21963. <name>PS</name>
  21964. <description>Pull Select</description>
  21965. <bitOffset>0</bitOffset>
  21966. <bitWidth>1</bitWidth>
  21967. <access>read-write</access>
  21968. <enumeratedValues>
  21969. <enumeratedValue>
  21970. <name>0</name>
  21971. <description>Internal pull-down resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  21972. <value>#0</value>
  21973. </enumeratedValue>
  21974. <enumeratedValue>
  21975. <name>1</name>
  21976. <description>Internal pull-up resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  21977. <value>#1</value>
  21978. </enumeratedValue>
  21979. </enumeratedValues>
  21980. </field>
  21981. <field>
  21982. <name>PE</name>
  21983. <description>Pull Enable</description>
  21984. <bitOffset>1</bitOffset>
  21985. <bitWidth>1</bitWidth>
  21986. <access>read-write</access>
  21987. <enumeratedValues>
  21988. <enumeratedValue>
  21989. <name>0</name>
  21990. <description>Internal pull-up or pull-down resistor is not enabled on the corresponding pin.</description>
  21991. <value>#0</value>
  21992. </enumeratedValue>
  21993. <enumeratedValue>
  21994. <name>1</name>
  21995. <description>Internal pull-up or pull-down resistor is enabled on the corresponding pin, provided pin is configured as a digital input.</description>
  21996. <value>#1</value>
  21997. </enumeratedValue>
  21998. </enumeratedValues>
  21999. </field>
  22000. <field>
  22001. <name>SRE</name>
  22002. <description>Slew Rate Enable</description>
  22003. <bitOffset>2</bitOffset>
  22004. <bitWidth>1</bitWidth>
  22005. <access>read-write</access>
  22006. <enumeratedValues>
  22007. <enumeratedValue>
  22008. <name>0</name>
  22009. <description>Fast slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22010. <value>#0</value>
  22011. </enumeratedValue>
  22012. <enumeratedValue>
  22013. <name>1</name>
  22014. <description>Slow slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22015. <value>#1</value>
  22016. </enumeratedValue>
  22017. </enumeratedValues>
  22018. </field>
  22019. <field>
  22020. <name>PFE</name>
  22021. <description>Passive Filter Enable</description>
  22022. <bitOffset>4</bitOffset>
  22023. <bitWidth>1</bitWidth>
  22024. <access>read-write</access>
  22025. <enumeratedValues>
  22026. <enumeratedValue>
  22027. <name>0</name>
  22028. <description>Passive Input Filter is disabled on the corresponding pin.</description>
  22029. <value>#0</value>
  22030. </enumeratedValue>
  22031. <enumeratedValue>
  22032. <name>1</name>
  22033. <description>Passive Input Filter is enabled on the corresponding pin, provided pin is configured as a digital input. A low pass filter (10 MHz to 30 MHz bandwidth) is enabled on the digital input path. Disable the Passive Input Filter when supporting high speed interfaces (&gt; 2 MHz) on the pin.</description>
  22034. <value>#1</value>
  22035. </enumeratedValue>
  22036. </enumeratedValues>
  22037. </field>
  22038. <field>
  22039. <name>ODE</name>
  22040. <description>Open Drain Enable</description>
  22041. <bitOffset>5</bitOffset>
  22042. <bitWidth>1</bitWidth>
  22043. <access>read-write</access>
  22044. <enumeratedValues>
  22045. <enumeratedValue>
  22046. <name>0</name>
  22047. <description>Open Drain output is disabled on the corresponding pin.</description>
  22048. <value>#0</value>
  22049. </enumeratedValue>
  22050. <enumeratedValue>
  22051. <name>1</name>
  22052. <description>Open Drain output is enabled on the corresponding pin, provided pin is configured as a digital output.</description>
  22053. <value>#1</value>
  22054. </enumeratedValue>
  22055. </enumeratedValues>
  22056. </field>
  22057. <field>
  22058. <name>DSE</name>
  22059. <description>Drive Strength Enable</description>
  22060. <bitOffset>6</bitOffset>
  22061. <bitWidth>1</bitWidth>
  22062. <access>read-write</access>
  22063. <enumeratedValues>
  22064. <enumeratedValue>
  22065. <name>0</name>
  22066. <description>Low drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22067. <value>#0</value>
  22068. </enumeratedValue>
  22069. <enumeratedValue>
  22070. <name>1</name>
  22071. <description>High drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22072. <value>#1</value>
  22073. </enumeratedValue>
  22074. </enumeratedValues>
  22075. </field>
  22076. <field>
  22077. <name>MUX</name>
  22078. <description>Pin Mux Control</description>
  22079. <bitOffset>8</bitOffset>
  22080. <bitWidth>3</bitWidth>
  22081. <access>read-write</access>
  22082. <enumeratedValues>
  22083. <enumeratedValue>
  22084. <name>000</name>
  22085. <description>Pin Disabled (Analog).</description>
  22086. <value>#000</value>
  22087. </enumeratedValue>
  22088. <enumeratedValue>
  22089. <name>001</name>
  22090. <description>Alternative 1 (GPIO).</description>
  22091. <value>#001</value>
  22092. </enumeratedValue>
  22093. <enumeratedValue>
  22094. <name>010</name>
  22095. <description>Alternative 2 (chip specific).</description>
  22096. <value>#010</value>
  22097. </enumeratedValue>
  22098. <enumeratedValue>
  22099. <name>011</name>
  22100. <description>Alternative 3 (chip specific).</description>
  22101. <value>#011</value>
  22102. </enumeratedValue>
  22103. <enumeratedValue>
  22104. <name>100</name>
  22105. <description>Alternative 4 (chip specific).</description>
  22106. <value>#100</value>
  22107. </enumeratedValue>
  22108. <enumeratedValue>
  22109. <name>101</name>
  22110. <description>Alternative 5 (chip specific).</description>
  22111. <value>#101</value>
  22112. </enumeratedValue>
  22113. <enumeratedValue>
  22114. <name>110</name>
  22115. <description>Alternative 6 (chip specific).</description>
  22116. <value>#110</value>
  22117. </enumeratedValue>
  22118. <enumeratedValue>
  22119. <name>111</name>
  22120. <description>Alternative 7 (chip specific / JTAG / NMI).</description>
  22121. <value>#111</value>
  22122. </enumeratedValue>
  22123. </enumeratedValues>
  22124. </field>
  22125. <field>
  22126. <name>LK</name>
  22127. <description>Lock Register</description>
  22128. <bitOffset>15</bitOffset>
  22129. <bitWidth>1</bitWidth>
  22130. <access>read-write</access>
  22131. <enumeratedValues>
  22132. <enumeratedValue>
  22133. <name>0</name>
  22134. <description>Pin Control Register bits [15:0] are not locked.</description>
  22135. <value>#0</value>
  22136. </enumeratedValue>
  22137. <enumeratedValue>
  22138. <name>1</name>
  22139. <description>Pin Control Register bits [15:0] are locked and cannot be updated until the next System Reset.</description>
  22140. <value>#1</value>
  22141. </enumeratedValue>
  22142. </enumeratedValues>
  22143. </field>
  22144. <field>
  22145. <name>IRQC</name>
  22146. <description>Interrupt Configuration</description>
  22147. <bitOffset>16</bitOffset>
  22148. <bitWidth>4</bitWidth>
  22149. <access>read-write</access>
  22150. <enumeratedValues>
  22151. <enumeratedValue>
  22152. <name>0000</name>
  22153. <description>Interrupt/DMA Request disabled.</description>
  22154. <value>#0000</value>
  22155. </enumeratedValue>
  22156. <enumeratedValue>
  22157. <name>0001</name>
  22158. <description>DMA Request on rising edge.</description>
  22159. <value>#0001</value>
  22160. </enumeratedValue>
  22161. <enumeratedValue>
  22162. <name>0010</name>
  22163. <description>DMA Request on falling edge.</description>
  22164. <value>#0010</value>
  22165. </enumeratedValue>
  22166. <enumeratedValue>
  22167. <name>0011</name>
  22168. <description>DMA Request on either edge.</description>
  22169. <value>#0011</value>
  22170. </enumeratedValue>
  22171. <enumeratedValue>
  22172. <name>1000</name>
  22173. <description>Interrupt when logic zero.</description>
  22174. <value>#1000</value>
  22175. </enumeratedValue>
  22176. <enumeratedValue>
  22177. <name>1001</name>
  22178. <description>Interrupt on rising edge.</description>
  22179. <value>#1001</value>
  22180. </enumeratedValue>
  22181. <enumeratedValue>
  22182. <name>1010</name>
  22183. <description>Interrupt on falling edge.</description>
  22184. <value>#1010</value>
  22185. </enumeratedValue>
  22186. <enumeratedValue>
  22187. <name>1011</name>
  22188. <description>Interrupt on either edge.</description>
  22189. <value>#1011</value>
  22190. </enumeratedValue>
  22191. <enumeratedValue>
  22192. <name>1100</name>
  22193. <description>Interrupt when logic one.</description>
  22194. <value>#1100</value>
  22195. </enumeratedValue>
  22196. </enumeratedValues>
  22197. </field>
  22198. <field>
  22199. <name>ISF</name>
  22200. <description>Interrupt Status Flag</description>
  22201. <bitOffset>24</bitOffset>
  22202. <bitWidth>1</bitWidth>
  22203. <access>read-write</access>
  22204. <enumeratedValues>
  22205. <enumeratedValue>
  22206. <name>0</name>
  22207. <description>Configured interrupt has not been detected.</description>
  22208. <value>#0</value>
  22209. </enumeratedValue>
  22210. <enumeratedValue>
  22211. <name>1</name>
  22212. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to that flag. If configured for a level sensitive interrupt that remains asserted then flag will set again immediately.</description>
  22213. <value>#1</value>
  22214. </enumeratedValue>
  22215. </enumeratedValues>
  22216. </field>
  22217. </fields>
  22218. </register>
  22219. <register>
  22220. <name>GPCLR</name>
  22221. <description>Global Pin Control Low Register</description>
  22222. <addressOffset>0x80</addressOffset>
  22223. <size>32</size>
  22224. <access>write-only</access>
  22225. <resetValue>0</resetValue>
  22226. <resetMask>0xFFFFFFFF</resetMask>
  22227. <fields>
  22228. <field>
  22229. <name>GPWD</name>
  22230. <description>Global Pin Write Data</description>
  22231. <bitOffset>0</bitOffset>
  22232. <bitWidth>16</bitWidth>
  22233. <access>write-only</access>
  22234. </field>
  22235. <field>
  22236. <name>GPWE</name>
  22237. <description>Global Pin Write Enable</description>
  22238. <bitOffset>16</bitOffset>
  22239. <bitWidth>16</bitWidth>
  22240. <access>write-only</access>
  22241. </field>
  22242. </fields>
  22243. </register>
  22244. <register>
  22245. <name>GPCHR</name>
  22246. <description>Global Pin Control High Register</description>
  22247. <addressOffset>0x84</addressOffset>
  22248. <size>32</size>
  22249. <access>write-only</access>
  22250. <resetValue>0</resetValue>
  22251. <resetMask>0xFFFFFFFF</resetMask>
  22252. <fields>
  22253. <field>
  22254. <name>GPWD</name>
  22255. <description>Global Pin Write Data</description>
  22256. <bitOffset>0</bitOffset>
  22257. <bitWidth>16</bitWidth>
  22258. <access>write-only</access>
  22259. </field>
  22260. <field>
  22261. <name>GPWE</name>
  22262. <description>Global Pin Write Enable</description>
  22263. <bitOffset>16</bitOffset>
  22264. <bitWidth>16</bitWidth>
  22265. <access>write-only</access>
  22266. </field>
  22267. </fields>
  22268. </register>
  22269. <register>
  22270. <name>ISFR</name>
  22271. <description>Interrupt Status Flag Register</description>
  22272. <addressOffset>0xA0</addressOffset>
  22273. <size>32</size>
  22274. <access>read-write</access>
  22275. <resetValue>0</resetValue>
  22276. <resetMask>0xFFFFFFFF</resetMask>
  22277. <fields>
  22278. <field>
  22279. <name>ISF</name>
  22280. <description>Interrupt Status Flag</description>
  22281. <bitOffset>0</bitOffset>
  22282. <bitWidth>32</bitWidth>
  22283. <access>read-write</access>
  22284. <enumeratedValues>
  22285. <enumeratedValue>
  22286. <name>0</name>
  22287. <description>Configured interrupt has not been detected.</description>
  22288. <value>#0</value>
  22289. </enumeratedValue>
  22290. <enumeratedValue>
  22291. <name>1</name>
  22292. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to the flag. If configured for a level sensitive interrupt and the pin remains asserted then the flag will set again immediately after it is cleared.</description>
  22293. <value>#1</value>
  22294. </enumeratedValue>
  22295. </enumeratedValues>
  22296. </field>
  22297. </fields>
  22298. </register>
  22299. </registers>
  22300. </peripheral>
  22301. <peripheral>
  22302. <name>PORTD</name>
  22303. <description>Pin Control and Interrupts</description>
  22304. <groupName>PORT</groupName>
  22305. <prependToName>PORTD_</prependToName>
  22306. <baseAddress>0x4004C000</baseAddress>
  22307. <addressBlock>
  22308. <offset>0</offset>
  22309. <size>0xCC</size>
  22310. <usage>registers</usage>
  22311. </addressBlock>
  22312. <interrupt>
  22313. <name>PORTD</name>
  22314. <value>43</value>
  22315. </interrupt>
  22316. <registers>
  22317. <register>
  22318. <dim>32</dim>
  22319. <dimIncrement>0x4</dimIncrement>
  22320. <dimIndex>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31</dimIndex>
  22321. <name>PCR%s</name>
  22322. <description>Pin Control Register n</description>
  22323. <addressOffset>0</addressOffset>
  22324. <size>32</size>
  22325. <access>read-write</access>
  22326. <resetValue>0</resetValue>
  22327. <resetMask>0xFFFFFFFF</resetMask>
  22328. <fields>
  22329. <field>
  22330. <name>PS</name>
  22331. <description>Pull Select</description>
  22332. <bitOffset>0</bitOffset>
  22333. <bitWidth>1</bitWidth>
  22334. <access>read-write</access>
  22335. <enumeratedValues>
  22336. <enumeratedValue>
  22337. <name>0</name>
  22338. <description>Internal pull-down resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  22339. <value>#0</value>
  22340. </enumeratedValue>
  22341. <enumeratedValue>
  22342. <name>1</name>
  22343. <description>Internal pull-up resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  22344. <value>#1</value>
  22345. </enumeratedValue>
  22346. </enumeratedValues>
  22347. </field>
  22348. <field>
  22349. <name>PE</name>
  22350. <description>Pull Enable</description>
  22351. <bitOffset>1</bitOffset>
  22352. <bitWidth>1</bitWidth>
  22353. <access>read-write</access>
  22354. <enumeratedValues>
  22355. <enumeratedValue>
  22356. <name>0</name>
  22357. <description>Internal pull-up or pull-down resistor is not enabled on the corresponding pin.</description>
  22358. <value>#0</value>
  22359. </enumeratedValue>
  22360. <enumeratedValue>
  22361. <name>1</name>
  22362. <description>Internal pull-up or pull-down resistor is enabled on the corresponding pin, provided pin is configured as a digital input.</description>
  22363. <value>#1</value>
  22364. </enumeratedValue>
  22365. </enumeratedValues>
  22366. </field>
  22367. <field>
  22368. <name>SRE</name>
  22369. <description>Slew Rate Enable</description>
  22370. <bitOffset>2</bitOffset>
  22371. <bitWidth>1</bitWidth>
  22372. <access>read-write</access>
  22373. <enumeratedValues>
  22374. <enumeratedValue>
  22375. <name>0</name>
  22376. <description>Fast slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22377. <value>#0</value>
  22378. </enumeratedValue>
  22379. <enumeratedValue>
  22380. <name>1</name>
  22381. <description>Slow slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22382. <value>#1</value>
  22383. </enumeratedValue>
  22384. </enumeratedValues>
  22385. </field>
  22386. <field>
  22387. <name>PFE</name>
  22388. <description>Passive Filter Enable</description>
  22389. <bitOffset>4</bitOffset>
  22390. <bitWidth>1</bitWidth>
  22391. <access>read-write</access>
  22392. <enumeratedValues>
  22393. <enumeratedValue>
  22394. <name>0</name>
  22395. <description>Passive Input Filter is disabled on the corresponding pin.</description>
  22396. <value>#0</value>
  22397. </enumeratedValue>
  22398. <enumeratedValue>
  22399. <name>1</name>
  22400. <description>Passive Input Filter is enabled on the corresponding pin, provided pin is configured as a digital input. A low pass filter (10 MHz to 30 MHz bandwidth) is enabled on the digital input path. Disable the Passive Input Filter when supporting high speed interfaces (&gt; 2 MHz) on the pin.</description>
  22401. <value>#1</value>
  22402. </enumeratedValue>
  22403. </enumeratedValues>
  22404. </field>
  22405. <field>
  22406. <name>ODE</name>
  22407. <description>Open Drain Enable</description>
  22408. <bitOffset>5</bitOffset>
  22409. <bitWidth>1</bitWidth>
  22410. <access>read-write</access>
  22411. <enumeratedValues>
  22412. <enumeratedValue>
  22413. <name>0</name>
  22414. <description>Open Drain output is disabled on the corresponding pin.</description>
  22415. <value>#0</value>
  22416. </enumeratedValue>
  22417. <enumeratedValue>
  22418. <name>1</name>
  22419. <description>Open Drain output is enabled on the corresponding pin, provided pin is configured as a digital output.</description>
  22420. <value>#1</value>
  22421. </enumeratedValue>
  22422. </enumeratedValues>
  22423. </field>
  22424. <field>
  22425. <name>DSE</name>
  22426. <description>Drive Strength Enable</description>
  22427. <bitOffset>6</bitOffset>
  22428. <bitWidth>1</bitWidth>
  22429. <access>read-write</access>
  22430. <enumeratedValues>
  22431. <enumeratedValue>
  22432. <name>0</name>
  22433. <description>Low drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22434. <value>#0</value>
  22435. </enumeratedValue>
  22436. <enumeratedValue>
  22437. <name>1</name>
  22438. <description>High drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22439. <value>#1</value>
  22440. </enumeratedValue>
  22441. </enumeratedValues>
  22442. </field>
  22443. <field>
  22444. <name>MUX</name>
  22445. <description>Pin Mux Control</description>
  22446. <bitOffset>8</bitOffset>
  22447. <bitWidth>3</bitWidth>
  22448. <access>read-write</access>
  22449. <enumeratedValues>
  22450. <enumeratedValue>
  22451. <name>000</name>
  22452. <description>Pin Disabled (Analog).</description>
  22453. <value>#000</value>
  22454. </enumeratedValue>
  22455. <enumeratedValue>
  22456. <name>001</name>
  22457. <description>Alternative 1 (GPIO).</description>
  22458. <value>#001</value>
  22459. </enumeratedValue>
  22460. <enumeratedValue>
  22461. <name>010</name>
  22462. <description>Alternative 2 (chip specific).</description>
  22463. <value>#010</value>
  22464. </enumeratedValue>
  22465. <enumeratedValue>
  22466. <name>011</name>
  22467. <description>Alternative 3 (chip specific).</description>
  22468. <value>#011</value>
  22469. </enumeratedValue>
  22470. <enumeratedValue>
  22471. <name>100</name>
  22472. <description>Alternative 4 (chip specific).</description>
  22473. <value>#100</value>
  22474. </enumeratedValue>
  22475. <enumeratedValue>
  22476. <name>101</name>
  22477. <description>Alternative 5 (chip specific).</description>
  22478. <value>#101</value>
  22479. </enumeratedValue>
  22480. <enumeratedValue>
  22481. <name>110</name>
  22482. <description>Alternative 6 (chip specific).</description>
  22483. <value>#110</value>
  22484. </enumeratedValue>
  22485. <enumeratedValue>
  22486. <name>111</name>
  22487. <description>Alternative 7 (chip specific / JTAG / NMI).</description>
  22488. <value>#111</value>
  22489. </enumeratedValue>
  22490. </enumeratedValues>
  22491. </field>
  22492. <field>
  22493. <name>LK</name>
  22494. <description>Lock Register</description>
  22495. <bitOffset>15</bitOffset>
  22496. <bitWidth>1</bitWidth>
  22497. <access>read-write</access>
  22498. <enumeratedValues>
  22499. <enumeratedValue>
  22500. <name>0</name>
  22501. <description>Pin Control Register bits [15:0] are not locked.</description>
  22502. <value>#0</value>
  22503. </enumeratedValue>
  22504. <enumeratedValue>
  22505. <name>1</name>
  22506. <description>Pin Control Register bits [15:0] are locked and cannot be updated until the next System Reset.</description>
  22507. <value>#1</value>
  22508. </enumeratedValue>
  22509. </enumeratedValues>
  22510. </field>
  22511. <field>
  22512. <name>IRQC</name>
  22513. <description>Interrupt Configuration</description>
  22514. <bitOffset>16</bitOffset>
  22515. <bitWidth>4</bitWidth>
  22516. <access>read-write</access>
  22517. <enumeratedValues>
  22518. <enumeratedValue>
  22519. <name>0000</name>
  22520. <description>Interrupt/DMA Request disabled.</description>
  22521. <value>#0000</value>
  22522. </enumeratedValue>
  22523. <enumeratedValue>
  22524. <name>0001</name>
  22525. <description>DMA Request on rising edge.</description>
  22526. <value>#0001</value>
  22527. </enumeratedValue>
  22528. <enumeratedValue>
  22529. <name>0010</name>
  22530. <description>DMA Request on falling edge.</description>
  22531. <value>#0010</value>
  22532. </enumeratedValue>
  22533. <enumeratedValue>
  22534. <name>0011</name>
  22535. <description>DMA Request on either edge.</description>
  22536. <value>#0011</value>
  22537. </enumeratedValue>
  22538. <enumeratedValue>
  22539. <name>1000</name>
  22540. <description>Interrupt when logic zero.</description>
  22541. <value>#1000</value>
  22542. </enumeratedValue>
  22543. <enumeratedValue>
  22544. <name>1001</name>
  22545. <description>Interrupt on rising edge.</description>
  22546. <value>#1001</value>
  22547. </enumeratedValue>
  22548. <enumeratedValue>
  22549. <name>1010</name>
  22550. <description>Interrupt on falling edge.</description>
  22551. <value>#1010</value>
  22552. </enumeratedValue>
  22553. <enumeratedValue>
  22554. <name>1011</name>
  22555. <description>Interrupt on either edge.</description>
  22556. <value>#1011</value>
  22557. </enumeratedValue>
  22558. <enumeratedValue>
  22559. <name>1100</name>
  22560. <description>Interrupt when logic one.</description>
  22561. <value>#1100</value>
  22562. </enumeratedValue>
  22563. </enumeratedValues>
  22564. </field>
  22565. <field>
  22566. <name>ISF</name>
  22567. <description>Interrupt Status Flag</description>
  22568. <bitOffset>24</bitOffset>
  22569. <bitWidth>1</bitWidth>
  22570. <access>read-write</access>
  22571. <enumeratedValues>
  22572. <enumeratedValue>
  22573. <name>0</name>
  22574. <description>Configured interrupt has not been detected.</description>
  22575. <value>#0</value>
  22576. </enumeratedValue>
  22577. <enumeratedValue>
  22578. <name>1</name>
  22579. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to that flag. If configured for a level sensitive interrupt that remains asserted then flag will set again immediately.</description>
  22580. <value>#1</value>
  22581. </enumeratedValue>
  22582. </enumeratedValues>
  22583. </field>
  22584. </fields>
  22585. </register>
  22586. <register>
  22587. <name>GPCLR</name>
  22588. <description>Global Pin Control Low Register</description>
  22589. <addressOffset>0x80</addressOffset>
  22590. <size>32</size>
  22591. <access>write-only</access>
  22592. <resetValue>0</resetValue>
  22593. <resetMask>0xFFFFFFFF</resetMask>
  22594. <fields>
  22595. <field>
  22596. <name>GPWD</name>
  22597. <description>Global Pin Write Data</description>
  22598. <bitOffset>0</bitOffset>
  22599. <bitWidth>16</bitWidth>
  22600. <access>write-only</access>
  22601. </field>
  22602. <field>
  22603. <name>GPWE</name>
  22604. <description>Global Pin Write Enable</description>
  22605. <bitOffset>16</bitOffset>
  22606. <bitWidth>16</bitWidth>
  22607. <access>write-only</access>
  22608. </field>
  22609. </fields>
  22610. </register>
  22611. <register>
  22612. <name>GPCHR</name>
  22613. <description>Global Pin Control High Register</description>
  22614. <addressOffset>0x84</addressOffset>
  22615. <size>32</size>
  22616. <access>write-only</access>
  22617. <resetValue>0</resetValue>
  22618. <resetMask>0xFFFFFFFF</resetMask>
  22619. <fields>
  22620. <field>
  22621. <name>GPWD</name>
  22622. <description>Global Pin Write Data</description>
  22623. <bitOffset>0</bitOffset>
  22624. <bitWidth>16</bitWidth>
  22625. <access>write-only</access>
  22626. </field>
  22627. <field>
  22628. <name>GPWE</name>
  22629. <description>Global Pin Write Enable</description>
  22630. <bitOffset>16</bitOffset>
  22631. <bitWidth>16</bitWidth>
  22632. <access>write-only</access>
  22633. </field>
  22634. </fields>
  22635. </register>
  22636. <register>
  22637. <name>ISFR</name>
  22638. <description>Interrupt Status Flag Register</description>
  22639. <addressOffset>0xA0</addressOffset>
  22640. <size>32</size>
  22641. <access>read-write</access>
  22642. <resetValue>0</resetValue>
  22643. <resetMask>0xFFFFFFFF</resetMask>
  22644. <fields>
  22645. <field>
  22646. <name>ISF</name>
  22647. <description>Interrupt Status Flag</description>
  22648. <bitOffset>0</bitOffset>
  22649. <bitWidth>32</bitWidth>
  22650. <access>read-write</access>
  22651. <enumeratedValues>
  22652. <enumeratedValue>
  22653. <name>0</name>
  22654. <description>Configured interrupt has not been detected.</description>
  22655. <value>#0</value>
  22656. </enumeratedValue>
  22657. <enumeratedValue>
  22658. <name>1</name>
  22659. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to the flag. If configured for a level sensitive interrupt and the pin remains asserted then the flag will set again immediately after it is cleared.</description>
  22660. <value>#1</value>
  22661. </enumeratedValue>
  22662. </enumeratedValues>
  22663. </field>
  22664. </fields>
  22665. </register>
  22666. <register>
  22667. <name>DFER</name>
  22668. <description>Digital Filter Enable Register</description>
  22669. <addressOffset>0xC0</addressOffset>
  22670. <size>32</size>
  22671. <access>read-write</access>
  22672. <resetValue>0</resetValue>
  22673. <resetMask>0xFFFFFFFF</resetMask>
  22674. <fields>
  22675. <field>
  22676. <name>DFE</name>
  22677. <description>Digital Filter Enable</description>
  22678. <bitOffset>0</bitOffset>
  22679. <bitWidth>32</bitWidth>
  22680. <access>read-write</access>
  22681. <enumeratedValues>
  22682. <enumeratedValue>
  22683. <name>0</name>
  22684. <description>Digital Filter is disabled on the corresponding pin and output of the digital filter is reset to zero.Each bit in the field enables the digital filter of the same number as the bit.</description>
  22685. <value>#0</value>
  22686. </enumeratedValue>
  22687. <enumeratedValue>
  22688. <name>1</name>
  22689. <description>Digital Filter is enabled on the corresponding pin, provided pin is configured as a digital input.</description>
  22690. <value>#1</value>
  22691. </enumeratedValue>
  22692. </enumeratedValues>
  22693. </field>
  22694. </fields>
  22695. </register>
  22696. <register>
  22697. <name>DFCR</name>
  22698. <description>Digital Filter Clock Register</description>
  22699. <addressOffset>0xC4</addressOffset>
  22700. <size>32</size>
  22701. <access>read-write</access>
  22702. <resetValue>0</resetValue>
  22703. <resetMask>0xFFFFFFFF</resetMask>
  22704. <fields>
  22705. <field>
  22706. <name>CS</name>
  22707. <description>Clock Source</description>
  22708. <bitOffset>0</bitOffset>
  22709. <bitWidth>1</bitWidth>
  22710. <access>read-write</access>
  22711. <enumeratedValues>
  22712. <enumeratedValue>
  22713. <name>0</name>
  22714. <description>Digital Filters are clocked by the bus clock.</description>
  22715. <value>#0</value>
  22716. </enumeratedValue>
  22717. <enumeratedValue>
  22718. <name>1</name>
  22719. <description>Digital Filters are clocked by the 1 kHz LPO clock.</description>
  22720. <value>#1</value>
  22721. </enumeratedValue>
  22722. </enumeratedValues>
  22723. </field>
  22724. </fields>
  22725. </register>
  22726. <register>
  22727. <name>DFWR</name>
  22728. <description>Digital Filter Width Register</description>
  22729. <addressOffset>0xC8</addressOffset>
  22730. <size>32</size>
  22731. <access>read-write</access>
  22732. <resetValue>0</resetValue>
  22733. <resetMask>0xFFFFFFFF</resetMask>
  22734. <fields>
  22735. <field>
  22736. <name>FILT</name>
  22737. <description>Filter Length</description>
  22738. <bitOffset>0</bitOffset>
  22739. <bitWidth>5</bitWidth>
  22740. <access>read-write</access>
  22741. </field>
  22742. </fields>
  22743. </register>
  22744. </registers>
  22745. </peripheral>
  22746. <peripheral>
  22747. <name>PORTE</name>
  22748. <description>Pin Control and Interrupts</description>
  22749. <groupName>PORT</groupName>
  22750. <prependToName>PORTE_</prependToName>
  22751. <baseAddress>0x4004D000</baseAddress>
  22752. <addressBlock>
  22753. <offset>0</offset>
  22754. <size>0xA4</size>
  22755. <usage>registers</usage>
  22756. </addressBlock>
  22757. <interrupt>
  22758. <name>PORTE</name>
  22759. <value>44</value>
  22760. </interrupt>
  22761. <registers>
  22762. <register>
  22763. <dim>32</dim>
  22764. <dimIncrement>0x4</dimIncrement>
  22765. <dimIndex>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31</dimIndex>
  22766. <name>PCR%s</name>
  22767. <description>Pin Control Register n</description>
  22768. <addressOffset>0</addressOffset>
  22769. <size>32</size>
  22770. <access>read-write</access>
  22771. <resetValue>0</resetValue>
  22772. <resetMask>0xFFFFFFFF</resetMask>
  22773. <fields>
  22774. <field>
  22775. <name>PS</name>
  22776. <description>Pull Select</description>
  22777. <bitOffset>0</bitOffset>
  22778. <bitWidth>1</bitWidth>
  22779. <access>read-write</access>
  22780. <enumeratedValues>
  22781. <enumeratedValue>
  22782. <name>0</name>
  22783. <description>Internal pull-down resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  22784. <value>#0</value>
  22785. </enumeratedValue>
  22786. <enumeratedValue>
  22787. <name>1</name>
  22788. <description>Internal pull-up resistor is enabled on the corresponding pin, if the corresponding Port Pull Enable Register bit is set.</description>
  22789. <value>#1</value>
  22790. </enumeratedValue>
  22791. </enumeratedValues>
  22792. </field>
  22793. <field>
  22794. <name>PE</name>
  22795. <description>Pull Enable</description>
  22796. <bitOffset>1</bitOffset>
  22797. <bitWidth>1</bitWidth>
  22798. <access>read-write</access>
  22799. <enumeratedValues>
  22800. <enumeratedValue>
  22801. <name>0</name>
  22802. <description>Internal pull-up or pull-down resistor is not enabled on the corresponding pin.</description>
  22803. <value>#0</value>
  22804. </enumeratedValue>
  22805. <enumeratedValue>
  22806. <name>1</name>
  22807. <description>Internal pull-up or pull-down resistor is enabled on the corresponding pin, provided pin is configured as a digital input.</description>
  22808. <value>#1</value>
  22809. </enumeratedValue>
  22810. </enumeratedValues>
  22811. </field>
  22812. <field>
  22813. <name>SRE</name>
  22814. <description>Slew Rate Enable</description>
  22815. <bitOffset>2</bitOffset>
  22816. <bitWidth>1</bitWidth>
  22817. <access>read-write</access>
  22818. <enumeratedValues>
  22819. <enumeratedValue>
  22820. <name>0</name>
  22821. <description>Fast slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22822. <value>#0</value>
  22823. </enumeratedValue>
  22824. <enumeratedValue>
  22825. <name>1</name>
  22826. <description>Slow slew rate is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22827. <value>#1</value>
  22828. </enumeratedValue>
  22829. </enumeratedValues>
  22830. </field>
  22831. <field>
  22832. <name>PFE</name>
  22833. <description>Passive Filter Enable</description>
  22834. <bitOffset>4</bitOffset>
  22835. <bitWidth>1</bitWidth>
  22836. <access>read-write</access>
  22837. <enumeratedValues>
  22838. <enumeratedValue>
  22839. <name>0</name>
  22840. <description>Passive Input Filter is disabled on the corresponding pin.</description>
  22841. <value>#0</value>
  22842. </enumeratedValue>
  22843. <enumeratedValue>
  22844. <name>1</name>
  22845. <description>Passive Input Filter is enabled on the corresponding pin, provided pin is configured as a digital input. A low pass filter (10 MHz to 30 MHz bandwidth) is enabled on the digital input path. Disable the Passive Input Filter when supporting high speed interfaces (&gt; 2 MHz) on the pin.</description>
  22846. <value>#1</value>
  22847. </enumeratedValue>
  22848. </enumeratedValues>
  22849. </field>
  22850. <field>
  22851. <name>ODE</name>
  22852. <description>Open Drain Enable</description>
  22853. <bitOffset>5</bitOffset>
  22854. <bitWidth>1</bitWidth>
  22855. <access>read-write</access>
  22856. <enumeratedValues>
  22857. <enumeratedValue>
  22858. <name>0</name>
  22859. <description>Open Drain output is disabled on the corresponding pin.</description>
  22860. <value>#0</value>
  22861. </enumeratedValue>
  22862. <enumeratedValue>
  22863. <name>1</name>
  22864. <description>Open Drain output is enabled on the corresponding pin, provided pin is configured as a digital output.</description>
  22865. <value>#1</value>
  22866. </enumeratedValue>
  22867. </enumeratedValues>
  22868. </field>
  22869. <field>
  22870. <name>DSE</name>
  22871. <description>Drive Strength Enable</description>
  22872. <bitOffset>6</bitOffset>
  22873. <bitWidth>1</bitWidth>
  22874. <access>read-write</access>
  22875. <enumeratedValues>
  22876. <enumeratedValue>
  22877. <name>0</name>
  22878. <description>Low drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22879. <value>#0</value>
  22880. </enumeratedValue>
  22881. <enumeratedValue>
  22882. <name>1</name>
  22883. <description>High drive strength is configured on the corresponding pin, if pin is configured as a digital output.</description>
  22884. <value>#1</value>
  22885. </enumeratedValue>
  22886. </enumeratedValues>
  22887. </field>
  22888. <field>
  22889. <name>MUX</name>
  22890. <description>Pin Mux Control</description>
  22891. <bitOffset>8</bitOffset>
  22892. <bitWidth>3</bitWidth>
  22893. <access>read-write</access>
  22894. <enumeratedValues>
  22895. <enumeratedValue>
  22896. <name>000</name>
  22897. <description>Pin Disabled (Analog).</description>
  22898. <value>#000</value>
  22899. </enumeratedValue>
  22900. <enumeratedValue>
  22901. <name>001</name>
  22902. <description>Alternative 1 (GPIO).</description>
  22903. <value>#001</value>
  22904. </enumeratedValue>
  22905. <enumeratedValue>
  22906. <name>010</name>
  22907. <description>Alternative 2 (chip specific).</description>
  22908. <value>#010</value>
  22909. </enumeratedValue>
  22910. <enumeratedValue>
  22911. <name>011</name>
  22912. <description>Alternative 3 (chip specific).</description>
  22913. <value>#011</value>
  22914. </enumeratedValue>
  22915. <enumeratedValue>
  22916. <name>100</name>
  22917. <description>Alternative 4 (chip specific).</description>
  22918. <value>#100</value>
  22919. </enumeratedValue>
  22920. <enumeratedValue>
  22921. <name>101</name>
  22922. <description>Alternative 5 (chip specific).</description>
  22923. <value>#101</value>
  22924. </enumeratedValue>
  22925. <enumeratedValue>
  22926. <name>110</name>
  22927. <description>Alternative 6 (chip specific).</description>
  22928. <value>#110</value>
  22929. </enumeratedValue>
  22930. <enumeratedValue>
  22931. <name>111</name>
  22932. <description>Alternative 7 (chip specific / JTAG / NMI).</description>
  22933. <value>#111</value>
  22934. </enumeratedValue>
  22935. </enumeratedValues>
  22936. </field>
  22937. <field>
  22938. <name>LK</name>
  22939. <description>Lock Register</description>
  22940. <bitOffset>15</bitOffset>
  22941. <bitWidth>1</bitWidth>
  22942. <access>read-write</access>
  22943. <enumeratedValues>
  22944. <enumeratedValue>
  22945. <name>0</name>
  22946. <description>Pin Control Register bits [15:0] are not locked.</description>
  22947. <value>#0</value>
  22948. </enumeratedValue>
  22949. <enumeratedValue>
  22950. <name>1</name>
  22951. <description>Pin Control Register bits [15:0] are locked and cannot be updated until the next System Reset.</description>
  22952. <value>#1</value>
  22953. </enumeratedValue>
  22954. </enumeratedValues>
  22955. </field>
  22956. <field>
  22957. <name>IRQC</name>
  22958. <description>Interrupt Configuration</description>
  22959. <bitOffset>16</bitOffset>
  22960. <bitWidth>4</bitWidth>
  22961. <access>read-write</access>
  22962. <enumeratedValues>
  22963. <enumeratedValue>
  22964. <name>0000</name>
  22965. <description>Interrupt/DMA Request disabled.</description>
  22966. <value>#0000</value>
  22967. </enumeratedValue>
  22968. <enumeratedValue>
  22969. <name>0001</name>
  22970. <description>DMA Request on rising edge.</description>
  22971. <value>#0001</value>
  22972. </enumeratedValue>
  22973. <enumeratedValue>
  22974. <name>0010</name>
  22975. <description>DMA Request on falling edge.</description>
  22976. <value>#0010</value>
  22977. </enumeratedValue>
  22978. <enumeratedValue>
  22979. <name>0011</name>
  22980. <description>DMA Request on either edge.</description>
  22981. <value>#0011</value>
  22982. </enumeratedValue>
  22983. <enumeratedValue>
  22984. <name>1000</name>
  22985. <description>Interrupt when logic zero.</description>
  22986. <value>#1000</value>
  22987. </enumeratedValue>
  22988. <enumeratedValue>
  22989. <name>1001</name>
  22990. <description>Interrupt on rising edge.</description>
  22991. <value>#1001</value>
  22992. </enumeratedValue>
  22993. <enumeratedValue>
  22994. <name>1010</name>
  22995. <description>Interrupt on falling edge.</description>
  22996. <value>#1010</value>
  22997. </enumeratedValue>
  22998. <enumeratedValue>
  22999. <name>1011</name>
  23000. <description>Interrupt on either edge.</description>
  23001. <value>#1011</value>
  23002. </enumeratedValue>
  23003. <enumeratedValue>
  23004. <name>1100</name>
  23005. <description>Interrupt when logic one.</description>
  23006. <value>#1100</value>
  23007. </enumeratedValue>
  23008. </enumeratedValues>
  23009. </field>
  23010. <field>
  23011. <name>ISF</name>
  23012. <description>Interrupt Status Flag</description>
  23013. <bitOffset>24</bitOffset>
  23014. <bitWidth>1</bitWidth>
  23015. <access>read-write</access>
  23016. <enumeratedValues>
  23017. <enumeratedValue>
  23018. <name>0</name>
  23019. <description>Configured interrupt has not been detected.</description>
  23020. <value>#0</value>
  23021. </enumeratedValue>
  23022. <enumeratedValue>
  23023. <name>1</name>
  23024. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to that flag. If configured for a level sensitive interrupt that remains asserted then flag will set again immediately.</description>
  23025. <value>#1</value>
  23026. </enumeratedValue>
  23027. </enumeratedValues>
  23028. </field>
  23029. </fields>
  23030. </register>
  23031. <register>
  23032. <name>GPCLR</name>
  23033. <description>Global Pin Control Low Register</description>
  23034. <addressOffset>0x80</addressOffset>
  23035. <size>32</size>
  23036. <access>write-only</access>
  23037. <resetValue>0</resetValue>
  23038. <resetMask>0xFFFFFFFF</resetMask>
  23039. <fields>
  23040. <field>
  23041. <name>GPWD</name>
  23042. <description>Global Pin Write Data</description>
  23043. <bitOffset>0</bitOffset>
  23044. <bitWidth>16</bitWidth>
  23045. <access>write-only</access>
  23046. </field>
  23047. <field>
  23048. <name>GPWE</name>
  23049. <description>Global Pin Write Enable</description>
  23050. <bitOffset>16</bitOffset>
  23051. <bitWidth>16</bitWidth>
  23052. <access>write-only</access>
  23053. </field>
  23054. </fields>
  23055. </register>
  23056. <register>
  23057. <name>GPCHR</name>
  23058. <description>Global Pin Control High Register</description>
  23059. <addressOffset>0x84</addressOffset>
  23060. <size>32</size>
  23061. <access>write-only</access>
  23062. <resetValue>0</resetValue>
  23063. <resetMask>0xFFFFFFFF</resetMask>
  23064. <fields>
  23065. <field>
  23066. <name>GPWD</name>
  23067. <description>Global Pin Write Data</description>
  23068. <bitOffset>0</bitOffset>
  23069. <bitWidth>16</bitWidth>
  23070. <access>write-only</access>
  23071. </field>
  23072. <field>
  23073. <name>GPWE</name>
  23074. <description>Global Pin Write Enable</description>
  23075. <bitOffset>16</bitOffset>
  23076. <bitWidth>16</bitWidth>
  23077. <access>write-only</access>
  23078. </field>
  23079. </fields>
  23080. </register>
  23081. <register>
  23082. <name>ISFR</name>
  23083. <description>Interrupt Status Flag Register</description>
  23084. <addressOffset>0xA0</addressOffset>
  23085. <size>32</size>
  23086. <access>read-write</access>
  23087. <resetValue>0</resetValue>
  23088. <resetMask>0xFFFFFFFF</resetMask>
  23089. <fields>
  23090. <field>
  23091. <name>ISF</name>
  23092. <description>Interrupt Status Flag</description>
  23093. <bitOffset>0</bitOffset>
  23094. <bitWidth>32</bitWidth>
  23095. <access>read-write</access>
  23096. <enumeratedValues>
  23097. <enumeratedValue>
  23098. <name>0</name>
  23099. <description>Configured interrupt has not been detected.</description>
  23100. <value>#0</value>
  23101. </enumeratedValue>
  23102. <enumeratedValue>
  23103. <name>1</name>
  23104. <description>Configured interrupt has been detected. If pin is configured to generate a DMA request then the corresponding flag will be cleared automatically at the completion of the requested DMA transfer, otherwise the flag remains set until a logic one is written to the flag. If configured for a level sensitive interrupt and the pin remains asserted then the flag will set again immediately after it is cleared.</description>
  23105. <value>#1</value>
  23106. </enumeratedValue>
  23107. </enumeratedValues>
  23108. </field>
  23109. </fields>
  23110. </register>
  23111. </registers>
  23112. </peripheral>
  23113. <peripheral>
  23114. <name>WDOG</name>
  23115. <description>Generation 2008 Watchdog Timer</description>
  23116. <prependToName>WDOG_</prependToName>
  23117. <baseAddress>0x40052000</baseAddress>
  23118. <addressBlock>
  23119. <offset>0</offset>
  23120. <size>0x18</size>
  23121. <usage>registers</usage>
  23122. </addressBlock>
  23123. <interrupt>
  23124. <name>Watchdog</name>
  23125. <value>10</value>
  23126. </interrupt>
  23127. <registers>
  23128. <register>
  23129. <name>STCTRLH</name>
  23130. <description>Watchdog Status and Control Register High</description>
  23131. <addressOffset>0</addressOffset>
  23132. <size>16</size>
  23133. <access>read-write</access>
  23134. <resetValue>0x1D3</resetValue>
  23135. <resetMask>0xFFFF</resetMask>
  23136. <fields>
  23137. <field>
  23138. <name>WDOGEN</name>
  23139. <description>Enables or disables the WDOG&apos;s operation</description>
  23140. <bitOffset>0</bitOffset>
  23141. <bitWidth>1</bitWidth>
  23142. <access>read-write</access>
  23143. <enumeratedValues>
  23144. <enumeratedValue>
  23145. <name>0</name>
  23146. <description>WDOG is disabled.</description>
  23147. <value>#0</value>
  23148. </enumeratedValue>
  23149. <enumeratedValue>
  23150. <name>1</name>
  23151. <description>WDOG is enabled.</description>
  23152. <value>#1</value>
  23153. </enumeratedValue>
  23154. </enumeratedValues>
  23155. </field>
  23156. <field>
  23157. <name>CLKSRC</name>
  23158. <description>Selects clock source for the WDOG timer and other internal timing operations.</description>
  23159. <bitOffset>1</bitOffset>
  23160. <bitWidth>1</bitWidth>
  23161. <access>read-write</access>
  23162. <enumeratedValues>
  23163. <enumeratedValue>
  23164. <name>0</name>
  23165. <description>Dedicated clock source selected as WDOG clock (LPO Oscillator).</description>
  23166. <value>#0</value>
  23167. </enumeratedValue>
  23168. <enumeratedValue>
  23169. <name>1</name>
  23170. <description>WDOG clock sourced from alternate clock source.</description>
  23171. <value>#1</value>
  23172. </enumeratedValue>
  23173. </enumeratedValues>
  23174. </field>
  23175. <field>
  23176. <name>IRQRSTEN</name>
  23177. <description>Used to enable the debug breadcrumbs feature</description>
  23178. <bitOffset>2</bitOffset>
  23179. <bitWidth>1</bitWidth>
  23180. <access>read-write</access>
  23181. <enumeratedValues>
  23182. <enumeratedValue>
  23183. <name>0</name>
  23184. <description>WDOG time-out generates reset only.</description>
  23185. <value>#0</value>
  23186. </enumeratedValue>
  23187. <enumeratedValue>
  23188. <name>1</name>
  23189. <description>WDOG time-out initially generates an interrupt. After WCT time, it generates a reset.</description>
  23190. <value>#1</value>
  23191. </enumeratedValue>
  23192. </enumeratedValues>
  23193. </field>
  23194. <field>
  23195. <name>WINEN</name>
  23196. <description>Enable windowing mode.</description>
  23197. <bitOffset>3</bitOffset>
  23198. <bitWidth>1</bitWidth>
  23199. <access>read-write</access>
  23200. <enumeratedValues>
  23201. <enumeratedValue>
  23202. <name>0</name>
  23203. <description>Windowing mode is disabled.</description>
  23204. <value>#0</value>
  23205. </enumeratedValue>
  23206. <enumeratedValue>
  23207. <name>1</name>
  23208. <description>Windowing mode is enabled.</description>
  23209. <value>#1</value>
  23210. </enumeratedValue>
  23211. </enumeratedValues>
  23212. </field>
  23213. <field>
  23214. <name>ALLOWUPDATE</name>
  23215. <description>Enables updates to watchdog write once registers, after initial configuration window (WCT) closes, through unlock sequence</description>
  23216. <bitOffset>4</bitOffset>
  23217. <bitWidth>1</bitWidth>
  23218. <access>read-write</access>
  23219. <enumeratedValues>
  23220. <enumeratedValue>
  23221. <name>0</name>
  23222. <description>No further updates allowed to WDOG write once registers.</description>
  23223. <value>#0</value>
  23224. </enumeratedValue>
  23225. <enumeratedValue>
  23226. <name>1</name>
  23227. <description>WDOG write once registers can be unlocked for updating.</description>
  23228. <value>#1</value>
  23229. </enumeratedValue>
  23230. </enumeratedValues>
  23231. </field>
  23232. <field>
  23233. <name>DBGEN</name>
  23234. <description>Enables or disables WDOG in Debug mode.</description>
  23235. <bitOffset>5</bitOffset>
  23236. <bitWidth>1</bitWidth>
  23237. <access>read-write</access>
  23238. <enumeratedValues>
  23239. <enumeratedValue>
  23240. <name>0</name>
  23241. <description>WDOG is disabled in CPU Debug mode.</description>
  23242. <value>#0</value>
  23243. </enumeratedValue>
  23244. <enumeratedValue>
  23245. <name>1</name>
  23246. <description>WDOG is enabled in CPU Debug mode.</description>
  23247. <value>#1</value>
  23248. </enumeratedValue>
  23249. </enumeratedValues>
  23250. </field>
  23251. <field>
  23252. <name>STOPEN</name>
  23253. <description>Enables or disables WDOG in stop mode.</description>
  23254. <bitOffset>6</bitOffset>
  23255. <bitWidth>1</bitWidth>
  23256. <access>read-write</access>
  23257. <enumeratedValues>
  23258. <enumeratedValue>
  23259. <name>0</name>
  23260. <description>WDOG is disabled in CPU stop mode.</description>
  23261. <value>#0</value>
  23262. </enumeratedValue>
  23263. <enumeratedValue>
  23264. <name>1</name>
  23265. <description>WDOG is enabled in CPU stop mode.</description>
  23266. <value>#1</value>
  23267. </enumeratedValue>
  23268. </enumeratedValues>
  23269. </field>
  23270. <field>
  23271. <name>WAITEN</name>
  23272. <description>Enables or disables WDOG in wait mode.</description>
  23273. <bitOffset>7</bitOffset>
  23274. <bitWidth>1</bitWidth>
  23275. <access>read-write</access>
  23276. <enumeratedValues>
  23277. <enumeratedValue>
  23278. <name>0</name>
  23279. <description>WDOG is disabled in CPU wait mode.</description>
  23280. <value>#0</value>
  23281. </enumeratedValue>
  23282. <enumeratedValue>
  23283. <name>1</name>
  23284. <description>WDOG is enabled in CPU wait mode.</description>
  23285. <value>#1</value>
  23286. </enumeratedValue>
  23287. </enumeratedValues>
  23288. </field>
  23289. <field>
  23290. <name>TESTWDOG</name>
  23291. <description>Puts the watchdog in the functional test mode</description>
  23292. <bitOffset>10</bitOffset>
  23293. <bitWidth>1</bitWidth>
  23294. <access>read-write</access>
  23295. </field>
  23296. <field>
  23297. <name>TESTSEL</name>
  23298. <description>Selects the test to be run on the watchdog timer. Effective only if TESTWDOG is set.</description>
  23299. <bitOffset>11</bitOffset>
  23300. <bitWidth>1</bitWidth>
  23301. <access>read-write</access>
  23302. <enumeratedValues>
  23303. <enumeratedValue>
  23304. <name>0</name>
  23305. <description>Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test.</description>
  23306. <value>#0</value>
  23307. </enumeratedValue>
  23308. <enumeratedValue>
  23309. <name>1</name>
  23310. <description>Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.</description>
  23311. <value>#1</value>
  23312. </enumeratedValue>
  23313. </enumeratedValues>
  23314. </field>
  23315. <field>
  23316. <name>BYTESEL</name>
  23317. <description>This 2-bit field select the byte to be tested when the watchdog is in the byte test mode.</description>
  23318. <bitOffset>12</bitOffset>
  23319. <bitWidth>2</bitWidth>
  23320. <access>read-write</access>
  23321. <enumeratedValues>
  23322. <enumeratedValue>
  23323. <name>00</name>
  23324. <description>Byte 0 selected</description>
  23325. <value>#00</value>
  23326. </enumeratedValue>
  23327. <enumeratedValue>
  23328. <name>01</name>
  23329. <description>Byte 1 selected</description>
  23330. <value>#01</value>
  23331. </enumeratedValue>
  23332. <enumeratedValue>
  23333. <name>10</name>
  23334. <description>Byte 2 selected</description>
  23335. <value>#10</value>
  23336. </enumeratedValue>
  23337. <enumeratedValue>
  23338. <name>11</name>
  23339. <description>Byte 3 selected</description>
  23340. <value>#11</value>
  23341. </enumeratedValue>
  23342. </enumeratedValues>
  23343. </field>
  23344. <field>
  23345. <name>DISTESTWDOG</name>
  23346. <description>Allows the WDOG&apos;s functional test mode to be disabled permanently</description>
  23347. <bitOffset>14</bitOffset>
  23348. <bitWidth>1</bitWidth>
  23349. <access>read-write</access>
  23350. <enumeratedValues>
  23351. <enumeratedValue>
  23352. <name>0</name>
  23353. <description>WDOG functional test mode is not disabled.</description>
  23354. <value>#0</value>
  23355. </enumeratedValue>
  23356. <enumeratedValue>
  23357. <name>1</name>
  23358. <description>WDOG functional test mode is disabled permanently until reset.</description>
  23359. <value>#1</value>
  23360. </enumeratedValue>
  23361. </enumeratedValues>
  23362. </field>
  23363. </fields>
  23364. </register>
  23365. <register>
  23366. <name>STCTRLL</name>
  23367. <description>Watchdog Status and Control Register Low</description>
  23368. <addressOffset>0x2</addressOffset>
  23369. <size>16</size>
  23370. <access>read-write</access>
  23371. <resetValue>0x1</resetValue>
  23372. <resetMask>0xFFFF</resetMask>
  23373. <fields>
  23374. <field>
  23375. <name>INTFLG</name>
  23376. <description>Interrupt flag</description>
  23377. <bitOffset>15</bitOffset>
  23378. <bitWidth>1</bitWidth>
  23379. <access>read-write</access>
  23380. </field>
  23381. </fields>
  23382. </register>
  23383. <register>
  23384. <name>TOVALH</name>
  23385. <description>Watchdog Time-out Value Register High</description>
  23386. <addressOffset>0x4</addressOffset>
  23387. <size>16</size>
  23388. <access>read-write</access>
  23389. <resetValue>0x4C</resetValue>
  23390. <resetMask>0xFFFF</resetMask>
  23391. <fields>
  23392. <field>
  23393. <name>TOVALHIGH</name>
  23394. <description>Defines the upper 16 bits of the 32-bit time-out value for the watchdog timer</description>
  23395. <bitOffset>0</bitOffset>
  23396. <bitWidth>16</bitWidth>
  23397. <access>read-write</access>
  23398. </field>
  23399. </fields>
  23400. </register>
  23401. <register>
  23402. <name>TOVALL</name>
  23403. <description>Watchdog Time-out Value Register Low</description>
  23404. <addressOffset>0x6</addressOffset>
  23405. <size>16</size>
  23406. <access>read-write</access>
  23407. <resetValue>0x4B4C</resetValue>
  23408. <resetMask>0xFFFF</resetMask>
  23409. <fields>
  23410. <field>
  23411. <name>TOVALLOW</name>
  23412. <description>Defines the lower 16 bits of the 32-bit time-out value for the watchdog timer</description>
  23413. <bitOffset>0</bitOffset>
  23414. <bitWidth>16</bitWidth>
  23415. <access>read-write</access>
  23416. </field>
  23417. </fields>
  23418. </register>
  23419. <register>
  23420. <name>WINH</name>
  23421. <description>Watchdog Window Register High</description>
  23422. <addressOffset>0x8</addressOffset>
  23423. <size>16</size>
  23424. <access>read-write</access>
  23425. <resetValue>0</resetValue>
  23426. <resetMask>0xFFFF</resetMask>
  23427. <fields>
  23428. <field>
  23429. <name>WINHIGH</name>
  23430. <description>Defines the upper 16 bits of the 32-bit window for the windowed mode of operation of the watchdog</description>
  23431. <bitOffset>0</bitOffset>
  23432. <bitWidth>16</bitWidth>
  23433. <access>read-write</access>
  23434. </field>
  23435. </fields>
  23436. </register>
  23437. <register>
  23438. <name>WINL</name>
  23439. <description>Watchdog Window Register Low</description>
  23440. <addressOffset>0xA</addressOffset>
  23441. <size>16</size>
  23442. <access>read-write</access>
  23443. <resetValue>0x10</resetValue>
  23444. <resetMask>0xFFFF</resetMask>
  23445. <fields>
  23446. <field>
  23447. <name>WINLOW</name>
  23448. <description>Defines the lower 16 bits of the 32-bit window for the windowed mode of operation of the watchdog</description>
  23449. <bitOffset>0</bitOffset>
  23450. <bitWidth>16</bitWidth>
  23451. <access>read-write</access>
  23452. </field>
  23453. </fields>
  23454. </register>
  23455. <register>
  23456. <name>REFRESH</name>
  23457. <description>Watchdog Refresh Register</description>
  23458. <addressOffset>0xC</addressOffset>
  23459. <size>16</size>
  23460. <access>read-write</access>
  23461. <resetValue>0xB480</resetValue>
  23462. <resetMask>0xFFFF</resetMask>
  23463. <fields>
  23464. <field>
  23465. <name>WDOGREFRESH</name>
  23466. <description>Watchdog refresh register</description>
  23467. <bitOffset>0</bitOffset>
  23468. <bitWidth>16</bitWidth>
  23469. <access>read-write</access>
  23470. </field>
  23471. </fields>
  23472. </register>
  23473. <register>
  23474. <name>UNLOCK</name>
  23475. <description>Watchdog Unlock Register</description>
  23476. <addressOffset>0xE</addressOffset>
  23477. <size>16</size>
  23478. <access>read-write</access>
  23479. <resetValue>0xD928</resetValue>
  23480. <resetMask>0xFFFF</resetMask>
  23481. <fields>
  23482. <field>
  23483. <name>WDOGUNLOCK</name>
  23484. <description>You can write the unlock sequence values to this register to make the watchdog write once registers writable again</description>
  23485. <bitOffset>0</bitOffset>
  23486. <bitWidth>16</bitWidth>
  23487. <access>read-write</access>
  23488. </field>
  23489. </fields>
  23490. </register>
  23491. <register>
  23492. <name>TMROUTH</name>
  23493. <description>Watchdog Timer Output Register High</description>
  23494. <addressOffset>0x10</addressOffset>
  23495. <size>16</size>
  23496. <access>read-write</access>
  23497. <resetValue>0</resetValue>
  23498. <resetMask>0xFFFF</resetMask>
  23499. <fields>
  23500. <field>
  23501. <name>TIMEROUTHIGH</name>
  23502. <description>Shows the value of the upper 16 bits of the watchdog timer.</description>
  23503. <bitOffset>0</bitOffset>
  23504. <bitWidth>16</bitWidth>
  23505. <access>read-write</access>
  23506. </field>
  23507. </fields>
  23508. </register>
  23509. <register>
  23510. <name>TMROUTL</name>
  23511. <description>Watchdog Timer Output Register Low</description>
  23512. <addressOffset>0x12</addressOffset>
  23513. <size>16</size>
  23514. <access>read-write</access>
  23515. <resetValue>0</resetValue>
  23516. <resetMask>0xFFFF</resetMask>
  23517. <fields>
  23518. <field>
  23519. <name>TIMEROUTLOW</name>
  23520. <description>Shows the value of the lower 16 bits of the watchdog timer.</description>
  23521. <bitOffset>0</bitOffset>
  23522. <bitWidth>16</bitWidth>
  23523. <access>read-write</access>
  23524. </field>
  23525. </fields>
  23526. </register>
  23527. <register>
  23528. <name>RSTCNT</name>
  23529. <description>Watchdog Reset Count Register</description>
  23530. <addressOffset>0x14</addressOffset>
  23531. <size>16</size>
  23532. <access>read-write</access>
  23533. <resetValue>0</resetValue>
  23534. <resetMask>0xFFFF</resetMask>
  23535. <fields>
  23536. <field>
  23537. <name>RSTCNT</name>
  23538. <description>Counts the number of times the watchdog resets the system</description>
  23539. <bitOffset>0</bitOffset>
  23540. <bitWidth>16</bitWidth>
  23541. <access>read-write</access>
  23542. </field>
  23543. </fields>
  23544. </register>
  23545. <register>
  23546. <name>PRESC</name>
  23547. <description>Watchdog Prescaler Register</description>
  23548. <addressOffset>0x16</addressOffset>
  23549. <size>16</size>
  23550. <access>read-write</access>
  23551. <resetValue>0x400</resetValue>
  23552. <resetMask>0xFFFF</resetMask>
  23553. <fields>
  23554. <field>
  23555. <name>PRESCVAL</name>
  23556. <description>3-bit prescaler for the watchdog clock source</description>
  23557. <bitOffset>8</bitOffset>
  23558. <bitWidth>3</bitWidth>
  23559. <access>read-write</access>
  23560. </field>
  23561. </fields>
  23562. </register>
  23563. </registers>
  23564. </peripheral>
  23565. <peripheral>
  23566. <name>EWM</name>
  23567. <description>External Watchdog Monitor</description>
  23568. <prependToName>EWM_</prependToName>
  23569. <baseAddress>0x40061000</baseAddress>
  23570. <addressBlock>
  23571. <offset>0</offset>
  23572. <size>0x4</size>
  23573. <usage>registers</usage>
  23574. </addressBlock>
  23575. <interrupt>
  23576. <name>Watchdog</name>
  23577. <value>10</value>
  23578. </interrupt>
  23579. <registers>
  23580. <register>
  23581. <name>CTRL</name>
  23582. <description>Control Register</description>
  23583. <addressOffset>0</addressOffset>
  23584. <size>8</size>
  23585. <access>read-write</access>
  23586. <resetValue>0</resetValue>
  23587. <resetMask>0xFF</resetMask>
  23588. <fields>
  23589. <field>
  23590. <name>EWMEN</name>
  23591. <description>EWM enable.</description>
  23592. <bitOffset>0</bitOffset>
  23593. <bitWidth>1</bitWidth>
  23594. <access>read-write</access>
  23595. </field>
  23596. <field>
  23597. <name>ASSIN</name>
  23598. <description>EWM_in&apos;s Assertion State Select.</description>
  23599. <bitOffset>1</bitOffset>
  23600. <bitWidth>1</bitWidth>
  23601. <access>read-write</access>
  23602. </field>
  23603. <field>
  23604. <name>INEN</name>
  23605. <description>Input Enable.</description>
  23606. <bitOffset>2</bitOffset>
  23607. <bitWidth>1</bitWidth>
  23608. <access>read-write</access>
  23609. </field>
  23610. <field>
  23611. <name>INTEN</name>
  23612. <description>Interrupt Enable.</description>
  23613. <bitOffset>3</bitOffset>
  23614. <bitWidth>1</bitWidth>
  23615. <access>read-write</access>
  23616. </field>
  23617. </fields>
  23618. </register>
  23619. <register>
  23620. <name>SERV</name>
  23621. <description>Service Register</description>
  23622. <addressOffset>0x1</addressOffset>
  23623. <size>8</size>
  23624. <access>write-only</access>
  23625. <resetValue>0</resetValue>
  23626. <resetMask>0xFF</resetMask>
  23627. <fields>
  23628. <field>
  23629. <name>SERVICE</name>
  23630. <description>The EWM service mechanism requires the CPU to write two values to the SERV register: a first data byte of 0xB4, followed by a second data byte of 0x2C</description>
  23631. <bitOffset>0</bitOffset>
  23632. <bitWidth>8</bitWidth>
  23633. <access>write-only</access>
  23634. </field>
  23635. </fields>
  23636. </register>
  23637. <register>
  23638. <name>CMPL</name>
  23639. <description>Compare Low Register</description>
  23640. <addressOffset>0x2</addressOffset>
  23641. <size>8</size>
  23642. <access>read-write</access>
  23643. <resetValue>0</resetValue>
  23644. <resetMask>0xFF</resetMask>
  23645. <fields>
  23646. <field>
  23647. <name>COMPAREL</name>
  23648. <description>To prevent runaway code from changing this field, software should write to this field after a CPU reset even if the (default) minimum service time is required</description>
  23649. <bitOffset>0</bitOffset>
  23650. <bitWidth>8</bitWidth>
  23651. <access>read-write</access>
  23652. </field>
  23653. </fields>
  23654. </register>
  23655. <register>
  23656. <name>CMPH</name>
  23657. <description>Compare High Register</description>
  23658. <addressOffset>0x3</addressOffset>
  23659. <size>8</size>
  23660. <access>read-write</access>
  23661. <resetValue>0xFF</resetValue>
  23662. <resetMask>0xFF</resetMask>
  23663. <fields>
  23664. <field>
  23665. <name>COMPAREH</name>
  23666. <description>To prevent runaway code from changing this field, software should write to this field after a CPU reset even if the (default) maximum service time is required</description>
  23667. <bitOffset>0</bitOffset>
  23668. <bitWidth>8</bitWidth>
  23669. <access>read-write</access>
  23670. </field>
  23671. </fields>
  23672. </register>
  23673. </registers>
  23674. </peripheral>
  23675. <peripheral>
  23676. <name>CMT</name>
  23677. <description>Carrier Modulator Transmitter</description>
  23678. <prependToName>CMT_</prependToName>
  23679. <baseAddress>0x40062000</baseAddress>
  23680. <addressBlock>
  23681. <offset>0</offset>
  23682. <size>0xC</size>
  23683. <usage>registers</usage>
  23684. </addressBlock>
  23685. <interrupt>
  23686. <name>CMT</name>
  23687. <value>27</value>
  23688. </interrupt>
  23689. <registers>
  23690. <register>
  23691. <name>CGH1</name>
  23692. <description>CMT Carrier Generator High Data Register 1</description>
  23693. <addressOffset>0</addressOffset>
  23694. <size>8</size>
  23695. <access>read-write</access>
  23696. <resetValue>0</resetValue>
  23697. <resetMask>0</resetMask>
  23698. <fields>
  23699. <field>
  23700. <name>PH</name>
  23701. <description>Primary Carrier High Time Data Value</description>
  23702. <bitOffset>0</bitOffset>
  23703. <bitWidth>8</bitWidth>
  23704. <access>read-write</access>
  23705. </field>
  23706. </fields>
  23707. </register>
  23708. <register>
  23709. <name>CGL1</name>
  23710. <description>CMT Carrier Generator Low Data Register 1</description>
  23711. <addressOffset>0x1</addressOffset>
  23712. <size>8</size>
  23713. <access>read-write</access>
  23714. <resetValue>0</resetValue>
  23715. <resetMask>0</resetMask>
  23716. <fields>
  23717. <field>
  23718. <name>PL</name>
  23719. <description>Primary Carrier Low Time Data Value</description>
  23720. <bitOffset>0</bitOffset>
  23721. <bitWidth>8</bitWidth>
  23722. <access>read-write</access>
  23723. </field>
  23724. </fields>
  23725. </register>
  23726. <register>
  23727. <name>CGH2</name>
  23728. <description>CMT Carrier Generator High Data Register 2</description>
  23729. <addressOffset>0x2</addressOffset>
  23730. <size>8</size>
  23731. <access>read-write</access>
  23732. <resetValue>0</resetValue>
  23733. <resetMask>0</resetMask>
  23734. <fields>
  23735. <field>
  23736. <name>SH</name>
  23737. <description>Secondary Carrier High Time Data Value</description>
  23738. <bitOffset>0</bitOffset>
  23739. <bitWidth>8</bitWidth>
  23740. <access>read-write</access>
  23741. </field>
  23742. </fields>
  23743. </register>
  23744. <register>
  23745. <name>CGL2</name>
  23746. <description>CMT Carrier Generator Low Data Register 2</description>
  23747. <addressOffset>0x3</addressOffset>
  23748. <size>8</size>
  23749. <access>read-write</access>
  23750. <resetValue>0</resetValue>
  23751. <resetMask>0</resetMask>
  23752. <fields>
  23753. <field>
  23754. <name>SL</name>
  23755. <description>Secondary Carrier Low Time Data Value</description>
  23756. <bitOffset>0</bitOffset>
  23757. <bitWidth>8</bitWidth>
  23758. <access>read-write</access>
  23759. </field>
  23760. </fields>
  23761. </register>
  23762. <register>
  23763. <name>OC</name>
  23764. <description>CMT Output Control Register</description>
  23765. <addressOffset>0x4</addressOffset>
  23766. <size>8</size>
  23767. <access>read-write</access>
  23768. <resetValue>0</resetValue>
  23769. <resetMask>0xFF</resetMask>
  23770. <fields>
  23771. <field>
  23772. <name>IROPEN</name>
  23773. <description>IRO Pin Enable</description>
  23774. <bitOffset>5</bitOffset>
  23775. <bitWidth>1</bitWidth>
  23776. <access>read-write</access>
  23777. <enumeratedValues>
  23778. <enumeratedValue>
  23779. <name>0</name>
  23780. <description>CMT_IRO signal disabled</description>
  23781. <value>#0</value>
  23782. </enumeratedValue>
  23783. <enumeratedValue>
  23784. <name>1</name>
  23785. <description>CMT_IRO signal enabled as output</description>
  23786. <value>#1</value>
  23787. </enumeratedValue>
  23788. </enumeratedValues>
  23789. </field>
  23790. <field>
  23791. <name>CMTPOL</name>
  23792. <description>CMT Output Polarity</description>
  23793. <bitOffset>6</bitOffset>
  23794. <bitWidth>1</bitWidth>
  23795. <access>read-write</access>
  23796. <enumeratedValues>
  23797. <enumeratedValue>
  23798. <name>0</name>
  23799. <description>CMT_IRO signal is active low</description>
  23800. <value>#0</value>
  23801. </enumeratedValue>
  23802. <enumeratedValue>
  23803. <name>1</name>
  23804. <description>CMT_IRO signal is active high</description>
  23805. <value>#1</value>
  23806. </enumeratedValue>
  23807. </enumeratedValues>
  23808. </field>
  23809. <field>
  23810. <name>IROL</name>
  23811. <description>IRO Latch Control</description>
  23812. <bitOffset>7</bitOffset>
  23813. <bitWidth>1</bitWidth>
  23814. <access>read-write</access>
  23815. </field>
  23816. </fields>
  23817. </register>
  23818. <register>
  23819. <name>MSC</name>
  23820. <description>CMT Modulator Status and Control Register</description>
  23821. <addressOffset>0x5</addressOffset>
  23822. <size>8</size>
  23823. <access>read-write</access>
  23824. <resetValue>0</resetValue>
  23825. <resetMask>0xFF</resetMask>
  23826. <fields>
  23827. <field>
  23828. <name>MCGEN</name>
  23829. <description>Modulator and Carrier Generator Enable</description>
  23830. <bitOffset>0</bitOffset>
  23831. <bitWidth>1</bitWidth>
  23832. <access>read-write</access>
  23833. <enumeratedValues>
  23834. <enumeratedValue>
  23835. <name>0</name>
  23836. <description>Modulator and carrier generator disabled</description>
  23837. <value>#0</value>
  23838. </enumeratedValue>
  23839. <enumeratedValue>
  23840. <name>1</name>
  23841. <description>Modulator and carrier generator enabled</description>
  23842. <value>#1</value>
  23843. </enumeratedValue>
  23844. </enumeratedValues>
  23845. </field>
  23846. <field>
  23847. <name>EOCIE</name>
  23848. <description>End of Cycle Interrupt Enable</description>
  23849. <bitOffset>1</bitOffset>
  23850. <bitWidth>1</bitWidth>
  23851. <access>read-write</access>
  23852. <enumeratedValues>
  23853. <enumeratedValue>
  23854. <name>0</name>
  23855. <description>CPU interrupt disabled</description>
  23856. <value>#0</value>
  23857. </enumeratedValue>
  23858. <enumeratedValue>
  23859. <name>1</name>
  23860. <description>CPU interrupt enabled</description>
  23861. <value>#1</value>
  23862. </enumeratedValue>
  23863. </enumeratedValues>
  23864. </field>
  23865. <field>
  23866. <name>FSK</name>
  23867. <description>FSK Mode Select</description>
  23868. <bitOffset>2</bitOffset>
  23869. <bitWidth>1</bitWidth>
  23870. <access>read-write</access>
  23871. <enumeratedValues>
  23872. <enumeratedValue>
  23873. <name>0</name>
  23874. <description>CMT operates in Time or Baseband mode</description>
  23875. <value>#0</value>
  23876. </enumeratedValue>
  23877. <enumeratedValue>
  23878. <name>1</name>
  23879. <description>CMT operates in FSK mode</description>
  23880. <value>#1</value>
  23881. </enumeratedValue>
  23882. </enumeratedValues>
  23883. </field>
  23884. <field>
  23885. <name>BASE</name>
  23886. <description>Baseband Enable</description>
  23887. <bitOffset>3</bitOffset>
  23888. <bitWidth>1</bitWidth>
  23889. <access>read-write</access>
  23890. <enumeratedValues>
  23891. <enumeratedValue>
  23892. <name>0</name>
  23893. <description>Baseband mode disabled</description>
  23894. <value>#0</value>
  23895. </enumeratedValue>
  23896. <enumeratedValue>
  23897. <name>1</name>
  23898. <description>Baseband mode enabled</description>
  23899. <value>#1</value>
  23900. </enumeratedValue>
  23901. </enumeratedValues>
  23902. </field>
  23903. <field>
  23904. <name>EXSPC</name>
  23905. <description>Extended Space Enable</description>
  23906. <bitOffset>4</bitOffset>
  23907. <bitWidth>1</bitWidth>
  23908. <access>read-write</access>
  23909. <enumeratedValues>
  23910. <enumeratedValue>
  23911. <name>0</name>
  23912. <description>Extended space disabled</description>
  23913. <value>#0</value>
  23914. </enumeratedValue>
  23915. <enumeratedValue>
  23916. <name>1</name>
  23917. <description>Extended space enabled</description>
  23918. <value>#1</value>
  23919. </enumeratedValue>
  23920. </enumeratedValues>
  23921. </field>
  23922. <field>
  23923. <name>CMTDIV</name>
  23924. <description>CMT Clock Divide Prescaler</description>
  23925. <bitOffset>5</bitOffset>
  23926. <bitWidth>2</bitWidth>
  23927. <access>read-write</access>
  23928. <enumeratedValues>
  23929. <enumeratedValue>
  23930. <name>00</name>
  23931. <description>IF * 1</description>
  23932. <value>#00</value>
  23933. </enumeratedValue>
  23934. <enumeratedValue>
  23935. <name>01</name>
  23936. <description>IF * 2</description>
  23937. <value>#01</value>
  23938. </enumeratedValue>
  23939. <enumeratedValue>
  23940. <name>10</name>
  23941. <description>IF * 4</description>
  23942. <value>#10</value>
  23943. </enumeratedValue>
  23944. <enumeratedValue>
  23945. <name>11</name>
  23946. <description>IF * 8</description>
  23947. <value>#11</value>
  23948. </enumeratedValue>
  23949. </enumeratedValues>
  23950. </field>
  23951. <field>
  23952. <name>EOCF</name>
  23953. <description>End Of Cycle Status Flag</description>
  23954. <bitOffset>7</bitOffset>
  23955. <bitWidth>1</bitWidth>
  23956. <access>read-only</access>
  23957. <enumeratedValues>
  23958. <enumeratedValue>
  23959. <name>0</name>
  23960. <description>No end of modulation cycle occurrence since flag last cleared</description>
  23961. <value>#0</value>
  23962. </enumeratedValue>
  23963. <enumeratedValue>
  23964. <name>1</name>
  23965. <description>End of modulator cycle has occurred</description>
  23966. <value>#1</value>
  23967. </enumeratedValue>
  23968. </enumeratedValues>
  23969. </field>
  23970. </fields>
  23971. </register>
  23972. <register>
  23973. <name>CMD1</name>
  23974. <description>CMT Modulator Data Register Mark High</description>
  23975. <addressOffset>0x6</addressOffset>
  23976. <size>8</size>
  23977. <access>read-write</access>
  23978. <resetValue>0</resetValue>
  23979. <resetMask>0</resetMask>
  23980. <fields>
  23981. <field>
  23982. <name>MB</name>
  23983. <description>These bits control the upper mark periods of the modulator for all modes.</description>
  23984. <bitOffset>0</bitOffset>
  23985. <bitWidth>8</bitWidth>
  23986. <access>read-write</access>
  23987. </field>
  23988. </fields>
  23989. </register>
  23990. <register>
  23991. <name>CMD2</name>
  23992. <description>CMT Modulator Data Register Mark Low</description>
  23993. <addressOffset>0x7</addressOffset>
  23994. <size>8</size>
  23995. <access>read-write</access>
  23996. <resetValue>0</resetValue>
  23997. <resetMask>0</resetMask>
  23998. <fields>
  23999. <field>
  24000. <name>MB</name>
  24001. <description>These bits control the lower mark periods of the modulator for all modes.</description>
  24002. <bitOffset>0</bitOffset>
  24003. <bitWidth>8</bitWidth>
  24004. <access>read-write</access>
  24005. </field>
  24006. </fields>
  24007. </register>
  24008. <register>
  24009. <name>CMD3</name>
  24010. <description>CMT Modulator Data Register Space High</description>
  24011. <addressOffset>0x8</addressOffset>
  24012. <size>8</size>
  24013. <access>read-write</access>
  24014. <resetValue>0</resetValue>
  24015. <resetMask>0</resetMask>
  24016. <fields>
  24017. <field>
  24018. <name>SB</name>
  24019. <description>These bits control the upper space periods of the modulator for all modes.</description>
  24020. <bitOffset>0</bitOffset>
  24021. <bitWidth>8</bitWidth>
  24022. <access>read-write</access>
  24023. </field>
  24024. </fields>
  24025. </register>
  24026. <register>
  24027. <name>CMD4</name>
  24028. <description>CMT Modulator Data Register Space Low</description>
  24029. <addressOffset>0x9</addressOffset>
  24030. <size>8</size>
  24031. <access>read-write</access>
  24032. <resetValue>0</resetValue>
  24033. <resetMask>0</resetMask>
  24034. <fields>
  24035. <field>
  24036. <name>SB</name>
  24037. <description>These bits control the lower space periods of the modulator for all modes.</description>
  24038. <bitOffset>0</bitOffset>
  24039. <bitWidth>8</bitWidth>
  24040. <access>read-write</access>
  24041. </field>
  24042. </fields>
  24043. </register>
  24044. <register>
  24045. <name>PPS</name>
  24046. <description>CMT Primary Prescaler Register</description>
  24047. <addressOffset>0xA</addressOffset>
  24048. <size>8</size>
  24049. <access>read-write</access>
  24050. <resetValue>0</resetValue>
  24051. <resetMask>0xFF</resetMask>
  24052. <fields>
  24053. <field>
  24054. <name>PPSDIV</name>
  24055. <description>Primary Prescaler Divider</description>
  24056. <bitOffset>0</bitOffset>
  24057. <bitWidth>4</bitWidth>
  24058. <access>read-write</access>
  24059. <enumeratedValues>
  24060. <enumeratedValue>
  24061. <name>0000</name>
  24062. <description>Bus Clock * 1</description>
  24063. <value>#0000</value>
  24064. </enumeratedValue>
  24065. <enumeratedValue>
  24066. <name>0001</name>
  24067. <description>Bus Clock * 2</description>
  24068. <value>#0001</value>
  24069. </enumeratedValue>
  24070. <enumeratedValue>
  24071. <name>0010</name>
  24072. <description>Bus Clock * 3</description>
  24073. <value>#0010</value>
  24074. </enumeratedValue>
  24075. <enumeratedValue>
  24076. <name>0011</name>
  24077. <description>Bus Clock * 4</description>
  24078. <value>#0011</value>
  24079. </enumeratedValue>
  24080. <enumeratedValue>
  24081. <name>0100</name>
  24082. <description>Bus Clock * 5</description>
  24083. <value>#0100</value>
  24084. </enumeratedValue>
  24085. <enumeratedValue>
  24086. <name>0101</name>
  24087. <description>Bus Clock * 6</description>
  24088. <value>#0101</value>
  24089. </enumeratedValue>
  24090. <enumeratedValue>
  24091. <name>0110</name>
  24092. <description>Bus Clock * 7</description>
  24093. <value>#0110</value>
  24094. </enumeratedValue>
  24095. <enumeratedValue>
  24096. <name>0111</name>
  24097. <description>Bus Clock * 8</description>
  24098. <value>#0111</value>
  24099. </enumeratedValue>
  24100. <enumeratedValue>
  24101. <name>1000</name>
  24102. <description>Bus Clock * 9</description>
  24103. <value>#1000</value>
  24104. </enumeratedValue>
  24105. <enumeratedValue>
  24106. <name>1001</name>
  24107. <description>Bus Clock * 10</description>
  24108. <value>#1001</value>
  24109. </enumeratedValue>
  24110. <enumeratedValue>
  24111. <name>1010</name>
  24112. <description>Bus Clock * 11</description>
  24113. <value>#1010</value>
  24114. </enumeratedValue>
  24115. <enumeratedValue>
  24116. <name>1011</name>
  24117. <description>Bus Clock * 12</description>
  24118. <value>#1011</value>
  24119. </enumeratedValue>
  24120. <enumeratedValue>
  24121. <name>1100</name>
  24122. <description>Bus Clock * 13</description>
  24123. <value>#1100</value>
  24124. </enumeratedValue>
  24125. <enumeratedValue>
  24126. <name>1101</name>
  24127. <description>Bus Clock * 14</description>
  24128. <value>#1101</value>
  24129. </enumeratedValue>
  24130. <enumeratedValue>
  24131. <name>1110</name>
  24132. <description>Bus Clock * 15</description>
  24133. <value>#1110</value>
  24134. </enumeratedValue>
  24135. <enumeratedValue>
  24136. <name>1111</name>
  24137. <description>Bus Clock * 16</description>
  24138. <value>#1111</value>
  24139. </enumeratedValue>
  24140. </enumeratedValues>
  24141. </field>
  24142. </fields>
  24143. </register>
  24144. <register>
  24145. <name>DMA</name>
  24146. <description>CMT Direct Memory Access</description>
  24147. <addressOffset>0xB</addressOffset>
  24148. <size>8</size>
  24149. <access>read-write</access>
  24150. <resetValue>0</resetValue>
  24151. <resetMask>0xFF</resetMask>
  24152. <fields>
  24153. <field>
  24154. <name>DMA</name>
  24155. <description>DMA Enable</description>
  24156. <bitOffset>0</bitOffset>
  24157. <bitWidth>1</bitWidth>
  24158. <access>read-write</access>
  24159. <enumeratedValues>
  24160. <enumeratedValue>
  24161. <name>0</name>
  24162. <description>DMA transfer request and done are disabled</description>
  24163. <value>#0</value>
  24164. </enumeratedValue>
  24165. <enumeratedValue>
  24166. <name>1</name>
  24167. <description>DMA transfer request and done are enabled</description>
  24168. <value>#1</value>
  24169. </enumeratedValue>
  24170. </enumeratedValues>
  24171. </field>
  24172. </fields>
  24173. </register>
  24174. </registers>
  24175. </peripheral>
  24176. <peripheral>
  24177. <name>MCG</name>
  24178. <description>Multipurpose Clock Generator module</description>
  24179. <prependToName>MCG_</prependToName>
  24180. <baseAddress>0x40064000</baseAddress>
  24181. <addressBlock>
  24182. <offset>0</offset>
  24183. <size>0xE</size>
  24184. <usage>registers</usage>
  24185. </addressBlock>
  24186. <registers>
  24187. <register>
  24188. <name>C1</name>
  24189. <description>MCG Control 1 Register</description>
  24190. <addressOffset>0</addressOffset>
  24191. <size>8</size>
  24192. <access>read-write</access>
  24193. <resetValue>0x4</resetValue>
  24194. <resetMask>0xFF</resetMask>
  24195. <fields>
  24196. <field>
  24197. <name>IREFSTEN</name>
  24198. <description>Internal Reference Stop Enable</description>
  24199. <bitOffset>0</bitOffset>
  24200. <bitWidth>1</bitWidth>
  24201. <access>read-write</access>
  24202. <enumeratedValues>
  24203. <enumeratedValue>
  24204. <name>0</name>
  24205. <description>Internal reference clock is disabled in Stop mode.</description>
  24206. <value>#0</value>
  24207. </enumeratedValue>
  24208. <enumeratedValue>
  24209. <name>1</name>
  24210. <description>Internal reference clock is enabled in Stop mode if IRCLKEN is set or if MCG is in FEI, FBI, or BLPI modes before entering Stop mode.</description>
  24211. <value>#1</value>
  24212. </enumeratedValue>
  24213. </enumeratedValues>
  24214. </field>
  24215. <field>
  24216. <name>IRCLKEN</name>
  24217. <description>Internal Reference Clock Enable</description>
  24218. <bitOffset>1</bitOffset>
  24219. <bitWidth>1</bitWidth>
  24220. <access>read-write</access>
  24221. <enumeratedValues>
  24222. <enumeratedValue>
  24223. <name>0</name>
  24224. <description>MCGIRCLK inactive.</description>
  24225. <value>#0</value>
  24226. </enumeratedValue>
  24227. <enumeratedValue>
  24228. <name>1</name>
  24229. <description>MCGIRCLK active.</description>
  24230. <value>#1</value>
  24231. </enumeratedValue>
  24232. </enumeratedValues>
  24233. </field>
  24234. <field>
  24235. <name>IREFS</name>
  24236. <description>Internal Reference Select</description>
  24237. <bitOffset>2</bitOffset>
  24238. <bitWidth>1</bitWidth>
  24239. <access>read-write</access>
  24240. <enumeratedValues>
  24241. <enumeratedValue>
  24242. <name>0</name>
  24243. <description>External reference clock is selected.</description>
  24244. <value>#0</value>
  24245. </enumeratedValue>
  24246. <enumeratedValue>
  24247. <name>1</name>
  24248. <description>The slow internal reference clock is selected.</description>
  24249. <value>#1</value>
  24250. </enumeratedValue>
  24251. </enumeratedValues>
  24252. </field>
  24253. <field>
  24254. <name>FRDIV</name>
  24255. <description>FLL External Reference Divider</description>
  24256. <bitOffset>3</bitOffset>
  24257. <bitWidth>3</bitWidth>
  24258. <access>read-write</access>
  24259. <enumeratedValues>
  24260. <enumeratedValue>
  24261. <name>000</name>
  24262. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 1; for all other RANGE 0 values, Divide Factor is 32.</description>
  24263. <value>#000</value>
  24264. </enumeratedValue>
  24265. <enumeratedValue>
  24266. <name>001</name>
  24267. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 2; for all other RANGE 0 values, Divide Factor is 64.</description>
  24268. <value>#001</value>
  24269. </enumeratedValue>
  24270. <enumeratedValue>
  24271. <name>010</name>
  24272. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 4; for all other RANGE 0 values, Divide Factor is 128.</description>
  24273. <value>#010</value>
  24274. </enumeratedValue>
  24275. <enumeratedValue>
  24276. <name>011</name>
  24277. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 8; for all other RANGE 0 values, Divide Factor is 256.</description>
  24278. <value>#011</value>
  24279. </enumeratedValue>
  24280. <enumeratedValue>
  24281. <name>100</name>
  24282. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 16; for all other RANGE 0 values, Divide Factor is 512.</description>
  24283. <value>#100</value>
  24284. </enumeratedValue>
  24285. <enumeratedValue>
  24286. <name>101</name>
  24287. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 32; for all other RANGE 0 values, Divide Factor is 1024.</description>
  24288. <value>#101</value>
  24289. </enumeratedValue>
  24290. <enumeratedValue>
  24291. <name>110</name>
  24292. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 64; for all other RANGE 0 values, Divide Factor is 1280 .</description>
  24293. <value>#110</value>
  24294. </enumeratedValue>
  24295. <enumeratedValue>
  24296. <name>111</name>
  24297. <description>If RANGE 0 = 0 or OSCSEL=1 , Divide Factor is 128; for all other RANGE 0 values, Divide Factor is 1536 .</description>
  24298. <value>#111</value>
  24299. </enumeratedValue>
  24300. </enumeratedValues>
  24301. </field>
  24302. <field>
  24303. <name>CLKS</name>
  24304. <description>Clock Source Select</description>
  24305. <bitOffset>6</bitOffset>
  24306. <bitWidth>2</bitWidth>
  24307. <access>read-write</access>
  24308. <enumeratedValues>
  24309. <enumeratedValue>
  24310. <name>00</name>
  24311. <description>Encoding 0 - Output of FLL or PLL is selected (depends on PLLS control bit).</description>
  24312. <value>#00</value>
  24313. </enumeratedValue>
  24314. <enumeratedValue>
  24315. <name>01</name>
  24316. <description>Encoding 1 - Internal reference clock is selected.</description>
  24317. <value>#01</value>
  24318. </enumeratedValue>
  24319. <enumeratedValue>
  24320. <name>10</name>
  24321. <description>Encoding 2 - External reference clock is selected.</description>
  24322. <value>#10</value>
  24323. </enumeratedValue>
  24324. <enumeratedValue>
  24325. <name>11</name>
  24326. <description>Encoding 3 - Reserved, defaults to 00.</description>
  24327. <value>#11</value>
  24328. </enumeratedValue>
  24329. </enumeratedValues>
  24330. </field>
  24331. </fields>
  24332. </register>
  24333. <register>
  24334. <name>C2</name>
  24335. <description>MCG Control 2 Register</description>
  24336. <addressOffset>0x1</addressOffset>
  24337. <size>8</size>
  24338. <access>read-write</access>
  24339. <resetValue>0x80</resetValue>
  24340. <resetMask>0xFF</resetMask>
  24341. <fields>
  24342. <field>
  24343. <name>IRCS</name>
  24344. <description>Internal Reference Clock Select</description>
  24345. <bitOffset>0</bitOffset>
  24346. <bitWidth>1</bitWidth>
  24347. <access>read-write</access>
  24348. <enumeratedValues>
  24349. <enumeratedValue>
  24350. <name>0</name>
  24351. <description>Slow internal reference clock selected.</description>
  24352. <value>#0</value>
  24353. </enumeratedValue>
  24354. <enumeratedValue>
  24355. <name>1</name>
  24356. <description>Fast internal reference clock selected.</description>
  24357. <value>#1</value>
  24358. </enumeratedValue>
  24359. </enumeratedValues>
  24360. </field>
  24361. <field>
  24362. <name>LP</name>
  24363. <description>Low Power Select</description>
  24364. <bitOffset>1</bitOffset>
  24365. <bitWidth>1</bitWidth>
  24366. <access>read-write</access>
  24367. <enumeratedValues>
  24368. <enumeratedValue>
  24369. <name>0</name>
  24370. <description>FLL (or PLL) is not disabled in bypass modes.</description>
  24371. <value>#0</value>
  24372. </enumeratedValue>
  24373. <enumeratedValue>
  24374. <name>1</name>
  24375. <description>FLL (or PLL) is disabled in bypass modes (lower power)</description>
  24376. <value>#1</value>
  24377. </enumeratedValue>
  24378. </enumeratedValues>
  24379. </field>
  24380. <field>
  24381. <name>EREFS0</name>
  24382. <description>External Reference Select</description>
  24383. <bitOffset>2</bitOffset>
  24384. <bitWidth>1</bitWidth>
  24385. <access>read-write</access>
  24386. <enumeratedValues>
  24387. <enumeratedValue>
  24388. <name>0</name>
  24389. <description>External reference clock requested.</description>
  24390. <value>#0</value>
  24391. </enumeratedValue>
  24392. <enumeratedValue>
  24393. <name>1</name>
  24394. <description>Oscillator requested.</description>
  24395. <value>#1</value>
  24396. </enumeratedValue>
  24397. </enumeratedValues>
  24398. </field>
  24399. <field>
  24400. <name>HGO0</name>
  24401. <description>High Gain Oscillator Select</description>
  24402. <bitOffset>3</bitOffset>
  24403. <bitWidth>1</bitWidth>
  24404. <access>read-write</access>
  24405. <enumeratedValues>
  24406. <enumeratedValue>
  24407. <name>0</name>
  24408. <description>Configure crystal oscillator for low-power operation.</description>
  24409. <value>#0</value>
  24410. </enumeratedValue>
  24411. <enumeratedValue>
  24412. <name>1</name>
  24413. <description>Configure crystal oscillator for high-gain operation.</description>
  24414. <value>#1</value>
  24415. </enumeratedValue>
  24416. </enumeratedValues>
  24417. </field>
  24418. <field>
  24419. <name>RANGE0</name>
  24420. <description>Frequency Range Select</description>
  24421. <bitOffset>4</bitOffset>
  24422. <bitWidth>2</bitWidth>
  24423. <access>read-write</access>
  24424. <enumeratedValues>
  24425. <enumeratedValue>
  24426. <name>00</name>
  24427. <description>Encoding 0 - Low frequency range selected for the crystal oscillator .</description>
  24428. <value>#00</value>
  24429. </enumeratedValue>
  24430. <enumeratedValue>
  24431. <name>01</name>
  24432. <description>Encoding 1 - High frequency range selected for the crystal oscillator .</description>
  24433. <value>#01</value>
  24434. </enumeratedValue>
  24435. </enumeratedValues>
  24436. </field>
  24437. <field>
  24438. <name>LOCRE0</name>
  24439. <description>Loss of Clock Reset Enable</description>
  24440. <bitOffset>7</bitOffset>
  24441. <bitWidth>1</bitWidth>
  24442. <access>read-write</access>
  24443. <enumeratedValues>
  24444. <enumeratedValue>
  24445. <name>0</name>
  24446. <description>Interrupt request is generated on a loss of OSC0 external reference clock.</description>
  24447. <value>#0</value>
  24448. </enumeratedValue>
  24449. <enumeratedValue>
  24450. <name>1</name>
  24451. <description>Generate a reset request on a loss of OSC0 external reference clock</description>
  24452. <value>#1</value>
  24453. </enumeratedValue>
  24454. </enumeratedValues>
  24455. </field>
  24456. </fields>
  24457. </register>
  24458. <register>
  24459. <name>C3</name>
  24460. <description>MCG Control 3 Register</description>
  24461. <addressOffset>0x2</addressOffset>
  24462. <size>8</size>
  24463. <access>read-write</access>
  24464. <resetValue>0</resetValue>
  24465. <resetMask>0</resetMask>
  24466. <fields>
  24467. <field>
  24468. <name>SCTRIM</name>
  24469. <description>Slow Internal Reference Clock Trim Setting</description>
  24470. <bitOffset>0</bitOffset>
  24471. <bitWidth>8</bitWidth>
  24472. <access>read-write</access>
  24473. </field>
  24474. </fields>
  24475. </register>
  24476. <register>
  24477. <name>C4</name>
  24478. <description>MCG Control 4 Register</description>
  24479. <addressOffset>0x3</addressOffset>
  24480. <size>8</size>
  24481. <access>read-write</access>
  24482. <resetValue>0</resetValue>
  24483. <resetMask>0xE0</resetMask>
  24484. <fields>
  24485. <field>
  24486. <name>SCFTRIM</name>
  24487. <description>Slow Internal Reference Clock Fine Trim</description>
  24488. <bitOffset>0</bitOffset>
  24489. <bitWidth>1</bitWidth>
  24490. <access>read-write</access>
  24491. </field>
  24492. <field>
  24493. <name>FCTRIM</name>
  24494. <description>Fast Internal Reference Clock Trim Setting</description>
  24495. <bitOffset>1</bitOffset>
  24496. <bitWidth>4</bitWidth>
  24497. <access>read-write</access>
  24498. </field>
  24499. <field>
  24500. <name>DRST_DRS</name>
  24501. <description>DCO Range Select</description>
  24502. <bitOffset>5</bitOffset>
  24503. <bitWidth>2</bitWidth>
  24504. <access>read-write</access>
  24505. <enumeratedValues>
  24506. <enumeratedValue>
  24507. <name>00</name>
  24508. <description>Encoding 0 - Low range (reset default).</description>
  24509. <value>#00</value>
  24510. </enumeratedValue>
  24511. <enumeratedValue>
  24512. <name>01</name>
  24513. <description>Encoding 1 - Mid range.</description>
  24514. <value>#01</value>
  24515. </enumeratedValue>
  24516. <enumeratedValue>
  24517. <name>10</name>
  24518. <description>Encoding 2 - Mid-high range.</description>
  24519. <value>#10</value>
  24520. </enumeratedValue>
  24521. <enumeratedValue>
  24522. <name>11</name>
  24523. <description>Encoding 3 - High range.</description>
  24524. <value>#11</value>
  24525. </enumeratedValue>
  24526. </enumeratedValues>
  24527. </field>
  24528. <field>
  24529. <name>DMX32</name>
  24530. <description>DCO Maximum Frequency with 32.768 kHz Reference</description>
  24531. <bitOffset>7</bitOffset>
  24532. <bitWidth>1</bitWidth>
  24533. <access>read-write</access>
  24534. <enumeratedValues>
  24535. <enumeratedValue>
  24536. <name>0</name>
  24537. <description>DCO has a default range of 25%.</description>
  24538. <value>#0</value>
  24539. </enumeratedValue>
  24540. <enumeratedValue>
  24541. <name>1</name>
  24542. <description>DCO is fine-tuned for maximum frequency with 32.768 kHz reference.</description>
  24543. <value>#1</value>
  24544. </enumeratedValue>
  24545. </enumeratedValues>
  24546. </field>
  24547. </fields>
  24548. </register>
  24549. <register>
  24550. <name>C5</name>
  24551. <description>MCG Control 5 Register</description>
  24552. <addressOffset>0x4</addressOffset>
  24553. <size>8</size>
  24554. <access>read-write</access>
  24555. <resetValue>0</resetValue>
  24556. <resetMask>0xFF</resetMask>
  24557. <fields>
  24558. <field>
  24559. <name>PRDIV0</name>
  24560. <description>PLL External Reference Divider</description>
  24561. <bitOffset>0</bitOffset>
  24562. <bitWidth>5</bitWidth>
  24563. <access>read-write</access>
  24564. </field>
  24565. <field>
  24566. <name>PLLSTEN0</name>
  24567. <description>PLL Stop Enable</description>
  24568. <bitOffset>5</bitOffset>
  24569. <bitWidth>1</bitWidth>
  24570. <access>read-write</access>
  24571. <enumeratedValues>
  24572. <enumeratedValue>
  24573. <name>0</name>
  24574. <description>MCGPLLCLK is disabled in any of the Stop modes.</description>
  24575. <value>#0</value>
  24576. </enumeratedValue>
  24577. <enumeratedValue>
  24578. <name>1</name>
  24579. <description>MCGPLLCLK is enabled if system is in Normal Stop mode.</description>
  24580. <value>#1</value>
  24581. </enumeratedValue>
  24582. </enumeratedValues>
  24583. </field>
  24584. <field>
  24585. <name>PLLCLKEN0</name>
  24586. <description>PLL Clock Enable</description>
  24587. <bitOffset>6</bitOffset>
  24588. <bitWidth>1</bitWidth>
  24589. <access>read-write</access>
  24590. <enumeratedValues>
  24591. <enumeratedValue>
  24592. <name>0</name>
  24593. <description>MCGPLLCLK is inactive.</description>
  24594. <value>#0</value>
  24595. </enumeratedValue>
  24596. <enumeratedValue>
  24597. <name>1</name>
  24598. <description>MCGPLLCLK is active.</description>
  24599. <value>#1</value>
  24600. </enumeratedValue>
  24601. </enumeratedValues>
  24602. </field>
  24603. </fields>
  24604. </register>
  24605. <register>
  24606. <name>C6</name>
  24607. <description>MCG Control 6 Register</description>
  24608. <addressOffset>0x5</addressOffset>
  24609. <size>8</size>
  24610. <access>read-write</access>
  24611. <resetValue>0</resetValue>
  24612. <resetMask>0xFF</resetMask>
  24613. <fields>
  24614. <field>
  24615. <name>VDIV0</name>
  24616. <description>VCO 0 Divider</description>
  24617. <bitOffset>0</bitOffset>
  24618. <bitWidth>5</bitWidth>
  24619. <access>read-write</access>
  24620. </field>
  24621. <field>
  24622. <name>CME0</name>
  24623. <description>Clock Monitor Enable</description>
  24624. <bitOffset>5</bitOffset>
  24625. <bitWidth>1</bitWidth>
  24626. <access>read-write</access>
  24627. <enumeratedValues>
  24628. <enumeratedValue>
  24629. <name>0</name>
  24630. <description>External clock monitor is disabled for OSC0.</description>
  24631. <value>#0</value>
  24632. </enumeratedValue>
  24633. <enumeratedValue>
  24634. <name>1</name>
  24635. <description>External clock monitor is enabled for OSC0.</description>
  24636. <value>#1</value>
  24637. </enumeratedValue>
  24638. </enumeratedValues>
  24639. </field>
  24640. <field>
  24641. <name>PLLS</name>
  24642. <description>PLL Select</description>
  24643. <bitOffset>6</bitOffset>
  24644. <bitWidth>1</bitWidth>
  24645. <access>read-write</access>
  24646. <enumeratedValues>
  24647. <enumeratedValue>
  24648. <name>0</name>
  24649. <description>FLL is selected.</description>
  24650. <value>#0</value>
  24651. </enumeratedValue>
  24652. <enumeratedValue>
  24653. <name>1</name>
  24654. <description>PLL is selected (PRDIV 0 need to be programmed to the correct divider to generate a PLL reference clock in the range of 2 - 4 MHz prior to setting the PLLS bit).</description>
  24655. <value>#1</value>
  24656. </enumeratedValue>
  24657. </enumeratedValues>
  24658. </field>
  24659. <field>
  24660. <name>LOLIE0</name>
  24661. <description>Loss of Lock Interrrupt Enable</description>
  24662. <bitOffset>7</bitOffset>
  24663. <bitWidth>1</bitWidth>
  24664. <access>read-write</access>
  24665. <enumeratedValues>
  24666. <enumeratedValue>
  24667. <name>0</name>
  24668. <description>No interrupt request is generated on loss of lock.</description>
  24669. <value>#0</value>
  24670. </enumeratedValue>
  24671. <enumeratedValue>
  24672. <name>1</name>
  24673. <description>Generate an interrupt request on loss of lock.</description>
  24674. <value>#1</value>
  24675. </enumeratedValue>
  24676. </enumeratedValues>
  24677. </field>
  24678. </fields>
  24679. </register>
  24680. <register>
  24681. <name>S</name>
  24682. <description>MCG Status Register</description>
  24683. <addressOffset>0x6</addressOffset>
  24684. <size>8</size>
  24685. <access>read-write</access>
  24686. <resetValue>0x10</resetValue>
  24687. <resetMask>0xFF</resetMask>
  24688. <fields>
  24689. <field>
  24690. <name>IRCST</name>
  24691. <description>Internal Reference Clock Status</description>
  24692. <bitOffset>0</bitOffset>
  24693. <bitWidth>1</bitWidth>
  24694. <access>read-only</access>
  24695. <enumeratedValues>
  24696. <enumeratedValue>
  24697. <name>0</name>
  24698. <description>Source of internal reference clock is the slow clock (32 kHz IRC).</description>
  24699. <value>#0</value>
  24700. </enumeratedValue>
  24701. <enumeratedValue>
  24702. <name>1</name>
  24703. <description>Source of internal reference clock is the fast clock (2 MHz IRC).</description>
  24704. <value>#1</value>
  24705. </enumeratedValue>
  24706. </enumeratedValues>
  24707. </field>
  24708. <field>
  24709. <name>OSCINIT0</name>
  24710. <description>OSC Initialization</description>
  24711. <bitOffset>1</bitOffset>
  24712. <bitWidth>1</bitWidth>
  24713. <access>read-only</access>
  24714. </field>
  24715. <field>
  24716. <name>CLKST</name>
  24717. <description>Clock Mode Status</description>
  24718. <bitOffset>2</bitOffset>
  24719. <bitWidth>2</bitWidth>
  24720. <access>read-only</access>
  24721. <enumeratedValues>
  24722. <enumeratedValue>
  24723. <name>00</name>
  24724. <description>Encoding 0 - Output of the FLL is selected (reset default).</description>
  24725. <value>#00</value>
  24726. </enumeratedValue>
  24727. <enumeratedValue>
  24728. <name>01</name>
  24729. <description>Encoding 1 - Internal reference clock is selected.</description>
  24730. <value>#01</value>
  24731. </enumeratedValue>
  24732. <enumeratedValue>
  24733. <name>10</name>
  24734. <description>Encoding 2 - External reference clock is selected.</description>
  24735. <value>#10</value>
  24736. </enumeratedValue>
  24737. <enumeratedValue>
  24738. <name>11</name>
  24739. <description>Encoding 3 - Output of the PLL is selected.</description>
  24740. <value>#11</value>
  24741. </enumeratedValue>
  24742. </enumeratedValues>
  24743. </field>
  24744. <field>
  24745. <name>IREFST</name>
  24746. <description>Internal Reference Status</description>
  24747. <bitOffset>4</bitOffset>
  24748. <bitWidth>1</bitWidth>
  24749. <access>read-only</access>
  24750. <enumeratedValues>
  24751. <enumeratedValue>
  24752. <name>0</name>
  24753. <description>Source of FLL reference clock is the external reference clock.</description>
  24754. <value>#0</value>
  24755. </enumeratedValue>
  24756. <enumeratedValue>
  24757. <name>1</name>
  24758. <description>Source of FLL reference clock is the internal reference clock.</description>
  24759. <value>#1</value>
  24760. </enumeratedValue>
  24761. </enumeratedValues>
  24762. </field>
  24763. <field>
  24764. <name>PLLST</name>
  24765. <description>PLL Select Status</description>
  24766. <bitOffset>5</bitOffset>
  24767. <bitWidth>1</bitWidth>
  24768. <access>read-only</access>
  24769. <enumeratedValues>
  24770. <enumeratedValue>
  24771. <name>0</name>
  24772. <description>Source of PLLS clock is FLL clock.</description>
  24773. <value>#0</value>
  24774. </enumeratedValue>
  24775. <enumeratedValue>
  24776. <name>1</name>
  24777. <description>Source of PLLS clock is PLL clock.</description>
  24778. <value>#1</value>
  24779. </enumeratedValue>
  24780. </enumeratedValues>
  24781. </field>
  24782. <field>
  24783. <name>LOCK0</name>
  24784. <description>Lock Status</description>
  24785. <bitOffset>6</bitOffset>
  24786. <bitWidth>1</bitWidth>
  24787. <access>read-only</access>
  24788. <enumeratedValues>
  24789. <enumeratedValue>
  24790. <name>0</name>
  24791. <description>PLL is currently unlocked.</description>
  24792. <value>#0</value>
  24793. </enumeratedValue>
  24794. <enumeratedValue>
  24795. <name>1</name>
  24796. <description>PLL is currently locked.</description>
  24797. <value>#1</value>
  24798. </enumeratedValue>
  24799. </enumeratedValues>
  24800. </field>
  24801. <field>
  24802. <name>LOLS0</name>
  24803. <description>Loss of Lock Status</description>
  24804. <bitOffset>7</bitOffset>
  24805. <bitWidth>1</bitWidth>
  24806. <access>read-write</access>
  24807. <enumeratedValues>
  24808. <enumeratedValue>
  24809. <name>0</name>
  24810. <description>PLL has not lost lock since LOLS 0 was last cleared.</description>
  24811. <value>#0</value>
  24812. </enumeratedValue>
  24813. <enumeratedValue>
  24814. <name>1</name>
  24815. <description>PLL has lost lock since LOLS 0 was last cleared.</description>
  24816. <value>#1</value>
  24817. </enumeratedValue>
  24818. </enumeratedValues>
  24819. </field>
  24820. </fields>
  24821. </register>
  24822. <register>
  24823. <name>SC</name>
  24824. <description>MCG Status and Control Register</description>
  24825. <addressOffset>0x8</addressOffset>
  24826. <size>8</size>
  24827. <access>read-write</access>
  24828. <resetValue>0x2</resetValue>
  24829. <resetMask>0xFF</resetMask>
  24830. <fields>
  24831. <field>
  24832. <name>LOCS0</name>
  24833. <description>OSC0 Loss of Clock Status</description>
  24834. <bitOffset>0</bitOffset>
  24835. <bitWidth>1</bitWidth>
  24836. <access>read-write</access>
  24837. <enumeratedValues>
  24838. <enumeratedValue>
  24839. <name>0</name>
  24840. <description>Loss of OSC0 has not occurred.</description>
  24841. <value>#0</value>
  24842. </enumeratedValue>
  24843. <enumeratedValue>
  24844. <name>1</name>
  24845. <description>Loss of OSC0 has occurred.</description>
  24846. <value>#1</value>
  24847. </enumeratedValue>
  24848. </enumeratedValues>
  24849. </field>
  24850. <field>
  24851. <name>FCRDIV</name>
  24852. <description>Fast Clock Internal Reference Divider</description>
  24853. <bitOffset>1</bitOffset>
  24854. <bitWidth>3</bitWidth>
  24855. <access>read-write</access>
  24856. <enumeratedValues>
  24857. <enumeratedValue>
  24858. <name>000</name>
  24859. <description>Divide Factor is 1</description>
  24860. <value>#000</value>
  24861. </enumeratedValue>
  24862. <enumeratedValue>
  24863. <name>001</name>
  24864. <description>Divide Factor is 2.</description>
  24865. <value>#001</value>
  24866. </enumeratedValue>
  24867. <enumeratedValue>
  24868. <name>010</name>
  24869. <description>Divide Factor is 4.</description>
  24870. <value>#010</value>
  24871. </enumeratedValue>
  24872. <enumeratedValue>
  24873. <name>011</name>
  24874. <description>Divide Factor is 8.</description>
  24875. <value>#011</value>
  24876. </enumeratedValue>
  24877. <enumeratedValue>
  24878. <name>100</name>
  24879. <description>Divide Factor is 16</description>
  24880. <value>#100</value>
  24881. </enumeratedValue>
  24882. <enumeratedValue>
  24883. <name>101</name>
  24884. <description>Divide Factor is 32</description>
  24885. <value>#101</value>
  24886. </enumeratedValue>
  24887. <enumeratedValue>
  24888. <name>110</name>
  24889. <description>Divide Factor is 64</description>
  24890. <value>#110</value>
  24891. </enumeratedValue>
  24892. <enumeratedValue>
  24893. <name>111</name>
  24894. <description>Divide Factor is 128.</description>
  24895. <value>#111</value>
  24896. </enumeratedValue>
  24897. </enumeratedValues>
  24898. </field>
  24899. <field>
  24900. <name>FLTPRSRV</name>
  24901. <description>FLL Filter Preserve Enable</description>
  24902. <bitOffset>4</bitOffset>
  24903. <bitWidth>1</bitWidth>
  24904. <access>read-write</access>
  24905. <enumeratedValues>
  24906. <enumeratedValue>
  24907. <name>0</name>
  24908. <description>FLL filter and FLL frequency will reset on changes to currect clock mode.</description>
  24909. <value>#0</value>
  24910. </enumeratedValue>
  24911. <enumeratedValue>
  24912. <name>1</name>
  24913. <description>Fll filter and FLL frequency retain their previous values during new clock mode change.</description>
  24914. <value>#1</value>
  24915. </enumeratedValue>
  24916. </enumeratedValues>
  24917. </field>
  24918. <field>
  24919. <name>ATMF</name>
  24920. <description>Automatic Trim machine Fail Flag</description>
  24921. <bitOffset>5</bitOffset>
  24922. <bitWidth>1</bitWidth>
  24923. <access>read-write</access>
  24924. <enumeratedValues>
  24925. <enumeratedValue>
  24926. <name>0</name>
  24927. <description>Automatic Trim Machine completed normally.</description>
  24928. <value>#0</value>
  24929. </enumeratedValue>
  24930. <enumeratedValue>
  24931. <name>1</name>
  24932. <description>Automatic Trim Machine failed.</description>
  24933. <value>#1</value>
  24934. </enumeratedValue>
  24935. </enumeratedValues>
  24936. </field>
  24937. <field>
  24938. <name>ATMS</name>
  24939. <description>Automatic Trim Machine Select</description>
  24940. <bitOffset>6</bitOffset>
  24941. <bitWidth>1</bitWidth>
  24942. <access>read-write</access>
  24943. <enumeratedValues>
  24944. <enumeratedValue>
  24945. <name>0</name>
  24946. <description>32 kHz Internal Reference Clock selected.</description>
  24947. <value>#0</value>
  24948. </enumeratedValue>
  24949. <enumeratedValue>
  24950. <name>1</name>
  24951. <description>4 MHz Internal Reference Clock selected.</description>
  24952. <value>#1</value>
  24953. </enumeratedValue>
  24954. </enumeratedValues>
  24955. </field>
  24956. <field>
  24957. <name>ATME</name>
  24958. <description>Automatic Trim Machine Enable</description>
  24959. <bitOffset>7</bitOffset>
  24960. <bitWidth>1</bitWidth>
  24961. <access>read-write</access>
  24962. <enumeratedValues>
  24963. <enumeratedValue>
  24964. <name>0</name>
  24965. <description>Auto Trim Machine disabled.</description>
  24966. <value>#0</value>
  24967. </enumeratedValue>
  24968. <enumeratedValue>
  24969. <name>1</name>
  24970. <description>Auto Trim Machine enabled.</description>
  24971. <value>#1</value>
  24972. </enumeratedValue>
  24973. </enumeratedValues>
  24974. </field>
  24975. </fields>
  24976. </register>
  24977. <register>
  24978. <name>ATCVH</name>
  24979. <description>MCG Auto Trim Compare Value High Register</description>
  24980. <addressOffset>0xA</addressOffset>
  24981. <size>8</size>
  24982. <access>read-write</access>
  24983. <resetValue>0</resetValue>
  24984. <resetMask>0xFF</resetMask>
  24985. <fields>
  24986. <field>
  24987. <name>ATCVH</name>
  24988. <description>ATM Compare Value High</description>
  24989. <bitOffset>0</bitOffset>
  24990. <bitWidth>8</bitWidth>
  24991. <access>read-write</access>
  24992. </field>
  24993. </fields>
  24994. </register>
  24995. <register>
  24996. <name>ATCVL</name>
  24997. <description>MCG Auto Trim Compare Value Low Register</description>
  24998. <addressOffset>0xB</addressOffset>
  24999. <size>8</size>
  25000. <access>read-write</access>
  25001. <resetValue>0</resetValue>
  25002. <resetMask>0xFF</resetMask>
  25003. <fields>
  25004. <field>
  25005. <name>ATCVL</name>
  25006. <description>ATM Compare Value Low</description>
  25007. <bitOffset>0</bitOffset>
  25008. <bitWidth>8</bitWidth>
  25009. <access>read-write</access>
  25010. </field>
  25011. </fields>
  25012. </register>
  25013. <register>
  25014. <name>C7</name>
  25015. <description>MCG Control 7 Register</description>
  25016. <addressOffset>0xC</addressOffset>
  25017. <size>8</size>
  25018. <access>read-write</access>
  25019. <resetValue>0</resetValue>
  25020. <resetMask>0xFF</resetMask>
  25021. <fields>
  25022. <field>
  25023. <name>OSCSEL</name>
  25024. <description>MCG OSC Clock Select</description>
  25025. <bitOffset>0</bitOffset>
  25026. <bitWidth>1</bitWidth>
  25027. <access>read-write</access>
  25028. <enumeratedValues>
  25029. <enumeratedValue>
  25030. <name>0</name>
  25031. <description>Selects System Oscillator (OSCCLK).</description>
  25032. <value>#0</value>
  25033. </enumeratedValue>
  25034. <enumeratedValue>
  25035. <name>1</name>
  25036. <description>Selects 32 kHz RTC Oscillator.</description>
  25037. <value>#1</value>
  25038. </enumeratedValue>
  25039. </enumeratedValues>
  25040. </field>
  25041. </fields>
  25042. </register>
  25043. <register>
  25044. <name>C8</name>
  25045. <description>MCG Control 8 Register</description>
  25046. <addressOffset>0xD</addressOffset>
  25047. <size>8</size>
  25048. <access>read-write</access>
  25049. <resetValue>0x80</resetValue>
  25050. <resetMask>0xFF</resetMask>
  25051. <fields>
  25052. <field>
  25053. <name>LOCS1</name>
  25054. <description>RTC Loss of Clock Status</description>
  25055. <bitOffset>0</bitOffset>
  25056. <bitWidth>1</bitWidth>
  25057. <access>read-write</access>
  25058. <enumeratedValues>
  25059. <enumeratedValue>
  25060. <name>0</name>
  25061. <description>Loss of RTC has not occur.</description>
  25062. <value>#0</value>
  25063. </enumeratedValue>
  25064. <enumeratedValue>
  25065. <name>1</name>
  25066. <description>Loss of RTC has occur</description>
  25067. <value>#1</value>
  25068. </enumeratedValue>
  25069. </enumeratedValues>
  25070. </field>
  25071. <field>
  25072. <name>CME1</name>
  25073. <description>Clock Monitor Enable1</description>
  25074. <bitOffset>5</bitOffset>
  25075. <bitWidth>1</bitWidth>
  25076. <access>read-write</access>
  25077. <enumeratedValues>
  25078. <enumeratedValue>
  25079. <name>0</name>
  25080. <description>External clock monitor is disabled for RTC clock.</description>
  25081. <value>#0</value>
  25082. </enumeratedValue>
  25083. <enumeratedValue>
  25084. <name>1</name>
  25085. <description>External clock monitor is enabled for RTC clock.</description>
  25086. <value>#1</value>
  25087. </enumeratedValue>
  25088. </enumeratedValues>
  25089. </field>
  25090. <field>
  25091. <name>LOLRE</name>
  25092. <description>no description available</description>
  25093. <bitOffset>6</bitOffset>
  25094. <bitWidth>1</bitWidth>
  25095. <access>read-write</access>
  25096. <enumeratedValues>
  25097. <enumeratedValue>
  25098. <name>0</name>
  25099. <description>Interrupt request is generated on a PLL loss of lock indication. The PLL loss of lock interrupt enable bit must also be set to generate the interrupt request.</description>
  25100. <value>#0</value>
  25101. </enumeratedValue>
  25102. <enumeratedValue>
  25103. <name>1</name>
  25104. <description>Generate a reset request on a PLL loss of lock indication.</description>
  25105. <value>#1</value>
  25106. </enumeratedValue>
  25107. </enumeratedValues>
  25108. </field>
  25109. <field>
  25110. <name>LOCRE1</name>
  25111. <description>Loss of Clock Reset Enable</description>
  25112. <bitOffset>7</bitOffset>
  25113. <bitWidth>1</bitWidth>
  25114. <access>read-write</access>
  25115. <enumeratedValues>
  25116. <enumeratedValue>
  25117. <name>0</name>
  25118. <description>Interrupt request is generated on a loss of RTC external reference clock.</description>
  25119. <value>#0</value>
  25120. </enumeratedValue>
  25121. <enumeratedValue>
  25122. <name>1</name>
  25123. <description>Generate a reset request on a loss of RTC external reference clock</description>
  25124. <value>#1</value>
  25125. </enumeratedValue>
  25126. </enumeratedValues>
  25127. </field>
  25128. </fields>
  25129. </register>
  25130. </registers>
  25131. </peripheral>
  25132. <peripheral>
  25133. <name>OSC0</name>
  25134. <description>Oscillator</description>
  25135. <prependToName>OSC0_</prependToName>
  25136. <baseAddress>0x40065000</baseAddress>
  25137. <addressBlock>
  25138. <offset>0</offset>
  25139. <size>0x1</size>
  25140. <usage>registers</usage>
  25141. </addressBlock>
  25142. <registers>
  25143. <register>
  25144. <name>CR</name>
  25145. <description>OSC Control Register</description>
  25146. <addressOffset>0</addressOffset>
  25147. <size>8</size>
  25148. <access>read-write</access>
  25149. <resetValue>0</resetValue>
  25150. <resetMask>0xFF</resetMask>
  25151. <fields>
  25152. <field>
  25153. <name>SC16P</name>
  25154. <description>Oscillator 16 pF Capacitor Load Configure</description>
  25155. <bitOffset>0</bitOffset>
  25156. <bitWidth>1</bitWidth>
  25157. <access>read-write</access>
  25158. <enumeratedValues>
  25159. <enumeratedValue>
  25160. <name>0</name>
  25161. <description>Disable the selection.</description>
  25162. <value>#0</value>
  25163. </enumeratedValue>
  25164. <enumeratedValue>
  25165. <name>1</name>
  25166. <description>Add 16 pF capacitor to the oscillator load.</description>
  25167. <value>#1</value>
  25168. </enumeratedValue>
  25169. </enumeratedValues>
  25170. </field>
  25171. <field>
  25172. <name>SC8P</name>
  25173. <description>Oscillator 8 pF Capacitor Load Configure</description>
  25174. <bitOffset>1</bitOffset>
  25175. <bitWidth>1</bitWidth>
  25176. <access>read-write</access>
  25177. <enumeratedValues>
  25178. <enumeratedValue>
  25179. <name>0</name>
  25180. <description>Disable the selection.</description>
  25181. <value>#0</value>
  25182. </enumeratedValue>
  25183. <enumeratedValue>
  25184. <name>1</name>
  25185. <description>Add 8 pF capacitor to the oscillator load.</description>
  25186. <value>#1</value>
  25187. </enumeratedValue>
  25188. </enumeratedValues>
  25189. </field>
  25190. <field>
  25191. <name>SC4P</name>
  25192. <description>Oscillator 4 pF Capacitor Load Configure</description>
  25193. <bitOffset>2</bitOffset>
  25194. <bitWidth>1</bitWidth>
  25195. <access>read-write</access>
  25196. <enumeratedValues>
  25197. <enumeratedValue>
  25198. <name>0</name>
  25199. <description>Disable the selection.</description>
  25200. <value>#0</value>
  25201. </enumeratedValue>
  25202. <enumeratedValue>
  25203. <name>1</name>
  25204. <description>Add 4 pF capacitor to the oscillator load.</description>
  25205. <value>#1</value>
  25206. </enumeratedValue>
  25207. </enumeratedValues>
  25208. </field>
  25209. <field>
  25210. <name>SC2P</name>
  25211. <description>Oscillator 2 pF Capacitor Load Configure</description>
  25212. <bitOffset>3</bitOffset>
  25213. <bitWidth>1</bitWidth>
  25214. <access>read-write</access>
  25215. <enumeratedValues>
  25216. <enumeratedValue>
  25217. <name>0</name>
  25218. <description>Disable the selection.</description>
  25219. <value>#0</value>
  25220. </enumeratedValue>
  25221. <enumeratedValue>
  25222. <name>1</name>
  25223. <description>Add 2 pF capacitor to the oscillator load.</description>
  25224. <value>#1</value>
  25225. </enumeratedValue>
  25226. </enumeratedValues>
  25227. </field>
  25228. <field>
  25229. <name>EREFSTEN</name>
  25230. <description>External Reference Stop Enable</description>
  25231. <bitOffset>5</bitOffset>
  25232. <bitWidth>1</bitWidth>
  25233. <access>read-write</access>
  25234. <enumeratedValues>
  25235. <enumeratedValue>
  25236. <name>0</name>
  25237. <description>External reference clock is disabled in Stop mode.</description>
  25238. <value>#0</value>
  25239. </enumeratedValue>
  25240. <enumeratedValue>
  25241. <name>1</name>
  25242. <description>External reference clock stays enabled in Stop mode if ERCLKEN is set before entering Stop mode.</description>
  25243. <value>#1</value>
  25244. </enumeratedValue>
  25245. </enumeratedValues>
  25246. </field>
  25247. <field>
  25248. <name>ERCLKEN</name>
  25249. <description>External Reference Enable</description>
  25250. <bitOffset>7</bitOffset>
  25251. <bitWidth>1</bitWidth>
  25252. <access>read-write</access>
  25253. <enumeratedValues>
  25254. <enumeratedValue>
  25255. <name>0</name>
  25256. <description>External reference clock is inactive.</description>
  25257. <value>#0</value>
  25258. </enumeratedValue>
  25259. <enumeratedValue>
  25260. <name>1</name>
  25261. <description>External reference clock is enabled.</description>
  25262. <value>#1</value>
  25263. </enumeratedValue>
  25264. </enumeratedValues>
  25265. </field>
  25266. </fields>
  25267. </register>
  25268. </registers>
  25269. </peripheral>
  25270. <peripheral>
  25271. <name>I2C0</name>
  25272. <description>Inter-Integrated Circuit</description>
  25273. <prependToName>I2C0_</prependToName>
  25274. <baseAddress>0x40066000</baseAddress>
  25275. <addressBlock>
  25276. <offset>0</offset>
  25277. <size>0xC</size>
  25278. <usage>registers</usage>
  25279. </addressBlock>
  25280. <interrupt>
  25281. <name>I2C0</name>
  25282. <value>11</value>
  25283. </interrupt>
  25284. <registers>
  25285. <register>
  25286. <name>A1</name>
  25287. <description>I2C Address Register 1</description>
  25288. <addressOffset>0</addressOffset>
  25289. <size>8</size>
  25290. <access>read-write</access>
  25291. <resetValue>0</resetValue>
  25292. <resetMask>0xFF</resetMask>
  25293. <fields>
  25294. <field>
  25295. <name>AD</name>
  25296. <description>Address</description>
  25297. <bitOffset>1</bitOffset>
  25298. <bitWidth>7</bitWidth>
  25299. <access>read-write</access>
  25300. </field>
  25301. </fields>
  25302. </register>
  25303. <register>
  25304. <name>F</name>
  25305. <description>I2C Frequency Divider register</description>
  25306. <addressOffset>0x1</addressOffset>
  25307. <size>8</size>
  25308. <access>read-write</access>
  25309. <resetValue>0</resetValue>
  25310. <resetMask>0xFF</resetMask>
  25311. <fields>
  25312. <field>
  25313. <name>ICR</name>
  25314. <description>Clock rate</description>
  25315. <bitOffset>0</bitOffset>
  25316. <bitWidth>6</bitWidth>
  25317. <access>read-write</access>
  25318. </field>
  25319. <field>
  25320. <name>MULT</name>
  25321. <description>The MULT bits define the multiplier factor mul</description>
  25322. <bitOffset>6</bitOffset>
  25323. <bitWidth>2</bitWidth>
  25324. <access>read-write</access>
  25325. <enumeratedValues>
  25326. <enumeratedValue>
  25327. <name>00</name>
  25328. <description>mul = 1</description>
  25329. <value>#00</value>
  25330. </enumeratedValue>
  25331. <enumeratedValue>
  25332. <name>01</name>
  25333. <description>mul = 2</description>
  25334. <value>#01</value>
  25335. </enumeratedValue>
  25336. <enumeratedValue>
  25337. <name>10</name>
  25338. <description>mul = 4</description>
  25339. <value>#10</value>
  25340. </enumeratedValue>
  25341. </enumeratedValues>
  25342. </field>
  25343. </fields>
  25344. </register>
  25345. <register>
  25346. <name>C1</name>
  25347. <description>I2C Control Register 1</description>
  25348. <addressOffset>0x2</addressOffset>
  25349. <size>8</size>
  25350. <access>read-write</access>
  25351. <resetValue>0</resetValue>
  25352. <resetMask>0xFF</resetMask>
  25353. <fields>
  25354. <field>
  25355. <name>DMAEN</name>
  25356. <description>DMA enable</description>
  25357. <bitOffset>0</bitOffset>
  25358. <bitWidth>1</bitWidth>
  25359. <access>read-write</access>
  25360. <enumeratedValues>
  25361. <enumeratedValue>
  25362. <name>0</name>
  25363. <description>All DMA signalling disabled.</description>
  25364. <value>#0</value>
  25365. </enumeratedValue>
  25366. <enumeratedValue>
  25367. <name>1</name>
  25368. <description>DMA transfer is enabled and the following conditions trigger the DMA request: While FACK = 0, a data byte is received, either address or data is transmitted. (ACK/NACK automatic) While FACK = 0, the first byte received matches the A1 register or is general call address. If any address matching occurs, IAAS and TCF are set. If the direction of transfer is known from master to slave, then it is not required to check the SRW. With this assumption, DMA can also be used in this case. In other cases, if the master reads data from the slave, then it is required to rewrite the C1 register operation. With this assumption, DMA cannot be used. When FACK = 1, an address or a data byte is transmitted.</description>
  25369. <value>#1</value>
  25370. </enumeratedValue>
  25371. </enumeratedValues>
  25372. </field>
  25373. <field>
  25374. <name>WUEN</name>
  25375. <description>Wakeup enable</description>
  25376. <bitOffset>1</bitOffset>
  25377. <bitWidth>1</bitWidth>
  25378. <access>read-write</access>
  25379. <enumeratedValues>
  25380. <enumeratedValue>
  25381. <name>0</name>
  25382. <description>Normal operation. No interrupt generated when address matching in low power mode.</description>
  25383. <value>#0</value>
  25384. </enumeratedValue>
  25385. <enumeratedValue>
  25386. <name>1</name>
  25387. <description>Enables the wakeup function in low power mode.</description>
  25388. <value>#1</value>
  25389. </enumeratedValue>
  25390. </enumeratedValues>
  25391. </field>
  25392. <field>
  25393. <name>RSTA</name>
  25394. <description>Repeat START</description>
  25395. <bitOffset>2</bitOffset>
  25396. <bitWidth>1</bitWidth>
  25397. <access>write-only</access>
  25398. </field>
  25399. <field>
  25400. <name>TXAK</name>
  25401. <description>Transmit acknowledge enable</description>
  25402. <bitOffset>3</bitOffset>
  25403. <bitWidth>1</bitWidth>
  25404. <access>read-write</access>
  25405. <enumeratedValues>
  25406. <enumeratedValue>
  25407. <name>0</name>
  25408. <description>An acknowledge signal is sent to the bus on the following (if FACK is cleared) or current (if FACK is set) receiving byte.</description>
  25409. <value>#0</value>
  25410. </enumeratedValue>
  25411. <enumeratedValue>
  25412. <name>1</name>
  25413. <description>No acknowledge signal is sent to the bus on the following (if FACK is cleared) or current (if FACK is set) receiving data byte.SCL is held low until TXAK is written.</description>
  25414. <value>#1</value>
  25415. </enumeratedValue>
  25416. </enumeratedValues>
  25417. </field>
  25418. <field>
  25419. <name>TX</name>
  25420. <description>Transmit mode select</description>
  25421. <bitOffset>4</bitOffset>
  25422. <bitWidth>1</bitWidth>
  25423. <access>read-write</access>
  25424. <enumeratedValues>
  25425. <enumeratedValue>
  25426. <name>0</name>
  25427. <description>Receive</description>
  25428. <value>#0</value>
  25429. </enumeratedValue>
  25430. <enumeratedValue>
  25431. <name>1</name>
  25432. <description>Transmit</description>
  25433. <value>#1</value>
  25434. </enumeratedValue>
  25435. </enumeratedValues>
  25436. </field>
  25437. <field>
  25438. <name>MST</name>
  25439. <description>Master mode select</description>
  25440. <bitOffset>5</bitOffset>
  25441. <bitWidth>1</bitWidth>
  25442. <access>read-write</access>
  25443. <enumeratedValues>
  25444. <enumeratedValue>
  25445. <name>0</name>
  25446. <description>Slave mode</description>
  25447. <value>#0</value>
  25448. </enumeratedValue>
  25449. <enumeratedValue>
  25450. <name>1</name>
  25451. <description>Master mode</description>
  25452. <value>#1</value>
  25453. </enumeratedValue>
  25454. </enumeratedValues>
  25455. </field>
  25456. <field>
  25457. <name>IICIE</name>
  25458. <description>I2C interrupt enable</description>
  25459. <bitOffset>6</bitOffset>
  25460. <bitWidth>1</bitWidth>
  25461. <access>read-write</access>
  25462. <enumeratedValues>
  25463. <enumeratedValue>
  25464. <name>0</name>
  25465. <description>Disabled</description>
  25466. <value>#0</value>
  25467. </enumeratedValue>
  25468. <enumeratedValue>
  25469. <name>1</name>
  25470. <description>Enabled</description>
  25471. <value>#1</value>
  25472. </enumeratedValue>
  25473. </enumeratedValues>
  25474. </field>
  25475. <field>
  25476. <name>IICEN</name>
  25477. <description>I2C enable</description>
  25478. <bitOffset>7</bitOffset>
  25479. <bitWidth>1</bitWidth>
  25480. <access>read-write</access>
  25481. <enumeratedValues>
  25482. <enumeratedValue>
  25483. <name>0</name>
  25484. <description>Disabled</description>
  25485. <value>#0</value>
  25486. </enumeratedValue>
  25487. <enumeratedValue>
  25488. <name>1</name>
  25489. <description>Enabled</description>
  25490. <value>#1</value>
  25491. </enumeratedValue>
  25492. </enumeratedValues>
  25493. </field>
  25494. </fields>
  25495. </register>
  25496. <register>
  25497. <name>S</name>
  25498. <description>I2C Status Register</description>
  25499. <addressOffset>0x3</addressOffset>
  25500. <size>8</size>
  25501. <access>read-write</access>
  25502. <resetValue>0x80</resetValue>
  25503. <resetMask>0xFF</resetMask>
  25504. <fields>
  25505. <field>
  25506. <name>RXAK</name>
  25507. <description>Receive acknowledge</description>
  25508. <bitOffset>0</bitOffset>
  25509. <bitWidth>1</bitWidth>
  25510. <access>read-only</access>
  25511. <enumeratedValues>
  25512. <enumeratedValue>
  25513. <name>0</name>
  25514. <description>Acknowledge signal was received after the completion of one byte of data transmission on the bus</description>
  25515. <value>#0</value>
  25516. </enumeratedValue>
  25517. <enumeratedValue>
  25518. <name>1</name>
  25519. <description>No acknowledge signal detected</description>
  25520. <value>#1</value>
  25521. </enumeratedValue>
  25522. </enumeratedValues>
  25523. </field>
  25524. <field>
  25525. <name>IICIF</name>
  25526. <description>Interrupt flag</description>
  25527. <bitOffset>1</bitOffset>
  25528. <bitWidth>1</bitWidth>
  25529. <access>read-write</access>
  25530. <enumeratedValues>
  25531. <enumeratedValue>
  25532. <name>0</name>
  25533. <description>No interrupt pending</description>
  25534. <value>#0</value>
  25535. </enumeratedValue>
  25536. <enumeratedValue>
  25537. <name>1</name>
  25538. <description>Interrupt pending</description>
  25539. <value>#1</value>
  25540. </enumeratedValue>
  25541. </enumeratedValues>
  25542. </field>
  25543. <field>
  25544. <name>SRW</name>
  25545. <description>Slave read/write</description>
  25546. <bitOffset>2</bitOffset>
  25547. <bitWidth>1</bitWidth>
  25548. <access>read-only</access>
  25549. <enumeratedValues>
  25550. <enumeratedValue>
  25551. <name>0</name>
  25552. <description>Slave receive, master writing to slave</description>
  25553. <value>#0</value>
  25554. </enumeratedValue>
  25555. <enumeratedValue>
  25556. <name>1</name>
  25557. <description>Slave transmit, master reading from slave</description>
  25558. <value>#1</value>
  25559. </enumeratedValue>
  25560. </enumeratedValues>
  25561. </field>
  25562. <field>
  25563. <name>RAM</name>
  25564. <description>Range address match</description>
  25565. <bitOffset>3</bitOffset>
  25566. <bitWidth>1</bitWidth>
  25567. <access>read-write</access>
  25568. <enumeratedValues>
  25569. <enumeratedValue>
  25570. <name>0</name>
  25571. <description>Not addressed</description>
  25572. <value>#0</value>
  25573. </enumeratedValue>
  25574. <enumeratedValue>
  25575. <name>1</name>
  25576. <description>Addressed as a slave</description>
  25577. <value>#1</value>
  25578. </enumeratedValue>
  25579. </enumeratedValues>
  25580. </field>
  25581. <field>
  25582. <name>ARBL</name>
  25583. <description>Arbitration lost</description>
  25584. <bitOffset>4</bitOffset>
  25585. <bitWidth>1</bitWidth>
  25586. <access>read-write</access>
  25587. <enumeratedValues>
  25588. <enumeratedValue>
  25589. <name>0</name>
  25590. <description>Standard bus operation.</description>
  25591. <value>#0</value>
  25592. </enumeratedValue>
  25593. <enumeratedValue>
  25594. <name>1</name>
  25595. <description>Loss of arbitration.</description>
  25596. <value>#1</value>
  25597. </enumeratedValue>
  25598. </enumeratedValues>
  25599. </field>
  25600. <field>
  25601. <name>BUSY</name>
  25602. <description>Bus busy</description>
  25603. <bitOffset>5</bitOffset>
  25604. <bitWidth>1</bitWidth>
  25605. <access>read-only</access>
  25606. <enumeratedValues>
  25607. <enumeratedValue>
  25608. <name>0</name>
  25609. <description>Bus is idle</description>
  25610. <value>#0</value>
  25611. </enumeratedValue>
  25612. <enumeratedValue>
  25613. <name>1</name>
  25614. <description>Bus is busy</description>
  25615. <value>#1</value>
  25616. </enumeratedValue>
  25617. </enumeratedValues>
  25618. </field>
  25619. <field>
  25620. <name>IAAS</name>
  25621. <description>Addressed as a slave</description>
  25622. <bitOffset>6</bitOffset>
  25623. <bitWidth>1</bitWidth>
  25624. <access>read-write</access>
  25625. <enumeratedValues>
  25626. <enumeratedValue>
  25627. <name>0</name>
  25628. <description>Not addressed</description>
  25629. <value>#0</value>
  25630. </enumeratedValue>
  25631. <enumeratedValue>
  25632. <name>1</name>
  25633. <description>Addressed as a slave</description>
  25634. <value>#1</value>
  25635. </enumeratedValue>
  25636. </enumeratedValues>
  25637. </field>
  25638. <field>
  25639. <name>TCF</name>
  25640. <description>Transfer complete flag</description>
  25641. <bitOffset>7</bitOffset>
  25642. <bitWidth>1</bitWidth>
  25643. <access>read-only</access>
  25644. <enumeratedValues>
  25645. <enumeratedValue>
  25646. <name>0</name>
  25647. <description>Transfer in progress</description>
  25648. <value>#0</value>
  25649. </enumeratedValue>
  25650. <enumeratedValue>
  25651. <name>1</name>
  25652. <description>Transfer complete</description>
  25653. <value>#1</value>
  25654. </enumeratedValue>
  25655. </enumeratedValues>
  25656. </field>
  25657. </fields>
  25658. </register>
  25659. <register>
  25660. <name>D</name>
  25661. <description>I2C Data I/O register</description>
  25662. <addressOffset>0x4</addressOffset>
  25663. <size>8</size>
  25664. <access>read-write</access>
  25665. <resetValue>0</resetValue>
  25666. <resetMask>0xFF</resetMask>
  25667. <fields>
  25668. <field>
  25669. <name>DATA</name>
  25670. <description>Data</description>
  25671. <bitOffset>0</bitOffset>
  25672. <bitWidth>8</bitWidth>
  25673. <access>read-write</access>
  25674. </field>
  25675. </fields>
  25676. </register>
  25677. <register>
  25678. <name>C2</name>
  25679. <description>I2C Control Register 2</description>
  25680. <addressOffset>0x5</addressOffset>
  25681. <size>8</size>
  25682. <access>read-write</access>
  25683. <resetValue>0</resetValue>
  25684. <resetMask>0xFF</resetMask>
  25685. <fields>
  25686. <field>
  25687. <name>AD</name>
  25688. <description>Slave address</description>
  25689. <bitOffset>0</bitOffset>
  25690. <bitWidth>3</bitWidth>
  25691. <access>read-write</access>
  25692. </field>
  25693. <field>
  25694. <name>RMEN</name>
  25695. <description>Range address matching enable</description>
  25696. <bitOffset>3</bitOffset>
  25697. <bitWidth>1</bitWidth>
  25698. <access>read-write</access>
  25699. <enumeratedValues>
  25700. <enumeratedValue>
  25701. <name>0</name>
  25702. <description>Range mode disabled. No address match occurs for an address within the range of values of the A1 and RA registers.</description>
  25703. <value>#0</value>
  25704. </enumeratedValue>
  25705. <enumeratedValue>
  25706. <name>1</name>
  25707. <description>Range mode enabled. Address matching occurs when a slave receives an address within the range of values of the A1 and RA registers.</description>
  25708. <value>#1</value>
  25709. </enumeratedValue>
  25710. </enumeratedValues>
  25711. </field>
  25712. <field>
  25713. <name>SBRC</name>
  25714. <description>Slave baud rate control</description>
  25715. <bitOffset>4</bitOffset>
  25716. <bitWidth>1</bitWidth>
  25717. <access>read-write</access>
  25718. <enumeratedValues>
  25719. <enumeratedValue>
  25720. <name>0</name>
  25721. <description>The slave baud rate follows the master baud rate and clock stretching may occur</description>
  25722. <value>#0</value>
  25723. </enumeratedValue>
  25724. <enumeratedValue>
  25725. <name>1</name>
  25726. <description>Slave baud rate is independent of the master baud rate</description>
  25727. <value>#1</value>
  25728. </enumeratedValue>
  25729. </enumeratedValues>
  25730. </field>
  25731. <field>
  25732. <name>HDRS</name>
  25733. <description>High drive select</description>
  25734. <bitOffset>5</bitOffset>
  25735. <bitWidth>1</bitWidth>
  25736. <access>read-write</access>
  25737. <enumeratedValues>
  25738. <enumeratedValue>
  25739. <name>0</name>
  25740. <description>Normal drive mode</description>
  25741. <value>#0</value>
  25742. </enumeratedValue>
  25743. <enumeratedValue>
  25744. <name>1</name>
  25745. <description>High drive mode</description>
  25746. <value>#1</value>
  25747. </enumeratedValue>
  25748. </enumeratedValues>
  25749. </field>
  25750. <field>
  25751. <name>ADEXT</name>
  25752. <description>Address extension</description>
  25753. <bitOffset>6</bitOffset>
  25754. <bitWidth>1</bitWidth>
  25755. <access>read-write</access>
  25756. <enumeratedValues>
  25757. <enumeratedValue>
  25758. <name>0</name>
  25759. <description>7-bit address scheme</description>
  25760. <value>#0</value>
  25761. </enumeratedValue>
  25762. <enumeratedValue>
  25763. <name>1</name>
  25764. <description>10-bit address scheme</description>
  25765. <value>#1</value>
  25766. </enumeratedValue>
  25767. </enumeratedValues>
  25768. </field>
  25769. <field>
  25770. <name>GCAEN</name>
  25771. <description>General call address enable</description>
  25772. <bitOffset>7</bitOffset>
  25773. <bitWidth>1</bitWidth>
  25774. <access>read-write</access>
  25775. <enumeratedValues>
  25776. <enumeratedValue>
  25777. <name>0</name>
  25778. <description>Disabled</description>
  25779. <value>#0</value>
  25780. </enumeratedValue>
  25781. <enumeratedValue>
  25782. <name>1</name>
  25783. <description>Enabled</description>
  25784. <value>#1</value>
  25785. </enumeratedValue>
  25786. </enumeratedValues>
  25787. </field>
  25788. </fields>
  25789. </register>
  25790. <register>
  25791. <name>FLT</name>
  25792. <description>I2C Programmable Input Glitch Filter register</description>
  25793. <addressOffset>0x6</addressOffset>
  25794. <size>8</size>
  25795. <access>read-write</access>
  25796. <resetValue>0</resetValue>
  25797. <resetMask>0xFF</resetMask>
  25798. <fields>
  25799. <field>
  25800. <name>FLT</name>
  25801. <description>I2C programmable filter factor</description>
  25802. <bitOffset>0</bitOffset>
  25803. <bitWidth>5</bitWidth>
  25804. <access>read-write</access>
  25805. <enumeratedValues>
  25806. <enumeratedValue>
  25807. <name>0</name>
  25808. <description>No filter/bypass</description>
  25809. <value>#00000</value>
  25810. </enumeratedValue>
  25811. </enumeratedValues>
  25812. </field>
  25813. </fields>
  25814. </register>
  25815. <register>
  25816. <name>RA</name>
  25817. <description>I2C Range Address register</description>
  25818. <addressOffset>0x7</addressOffset>
  25819. <size>8</size>
  25820. <access>read-write</access>
  25821. <resetValue>0</resetValue>
  25822. <resetMask>0xFF</resetMask>
  25823. <fields>
  25824. <field>
  25825. <name>RAD</name>
  25826. <description>Range slave address</description>
  25827. <bitOffset>1</bitOffset>
  25828. <bitWidth>7</bitWidth>
  25829. <access>read-write</access>
  25830. </field>
  25831. </fields>
  25832. </register>
  25833. <register>
  25834. <name>SMB</name>
  25835. <description>I2C SMBus Control and Status register</description>
  25836. <addressOffset>0x8</addressOffset>
  25837. <size>8</size>
  25838. <access>read-write</access>
  25839. <resetValue>0</resetValue>
  25840. <resetMask>0xFF</resetMask>
  25841. <fields>
  25842. <field>
  25843. <name>SHTF2IE</name>
  25844. <description>SHTF2 interrupt enable</description>
  25845. <bitOffset>0</bitOffset>
  25846. <bitWidth>1</bitWidth>
  25847. <access>read-write</access>
  25848. <enumeratedValues>
  25849. <enumeratedValue>
  25850. <name>0</name>
  25851. <description>SHTF2 interrupt is disabled</description>
  25852. <value>#0</value>
  25853. </enumeratedValue>
  25854. <enumeratedValue>
  25855. <name>1</name>
  25856. <description>SHTF2 interrupt is enabled</description>
  25857. <value>#1</value>
  25858. </enumeratedValue>
  25859. </enumeratedValues>
  25860. </field>
  25861. <field>
  25862. <name>SHTF2</name>
  25863. <description>SCL high timeout flag 2</description>
  25864. <bitOffset>1</bitOffset>
  25865. <bitWidth>1</bitWidth>
  25866. <access>read-write</access>
  25867. <enumeratedValues>
  25868. <enumeratedValue>
  25869. <name>0</name>
  25870. <description>No SCL high and SDA low timeout occurs</description>
  25871. <value>#0</value>
  25872. </enumeratedValue>
  25873. <enumeratedValue>
  25874. <name>1</name>
  25875. <description>SCL high and SDA low timeout occurs</description>
  25876. <value>#1</value>
  25877. </enumeratedValue>
  25878. </enumeratedValues>
  25879. </field>
  25880. <field>
  25881. <name>SHTF1</name>
  25882. <description>SCL high timeout flag 1</description>
  25883. <bitOffset>2</bitOffset>
  25884. <bitWidth>1</bitWidth>
  25885. <access>read-only</access>
  25886. <enumeratedValues>
  25887. <enumeratedValue>
  25888. <name>0</name>
  25889. <description>No SCL high and SDA high timeout occurs</description>
  25890. <value>#0</value>
  25891. </enumeratedValue>
  25892. <enumeratedValue>
  25893. <name>1</name>
  25894. <description>SCL high and SDA high timeout occurs</description>
  25895. <value>#1</value>
  25896. </enumeratedValue>
  25897. </enumeratedValues>
  25898. </field>
  25899. <field>
  25900. <name>SLTF</name>
  25901. <description>SCL low timeout flag</description>
  25902. <bitOffset>3</bitOffset>
  25903. <bitWidth>1</bitWidth>
  25904. <access>read-write</access>
  25905. <enumeratedValues>
  25906. <enumeratedValue>
  25907. <name>0</name>
  25908. <description>No low timeout occurs</description>
  25909. <value>#0</value>
  25910. </enumeratedValue>
  25911. <enumeratedValue>
  25912. <name>1</name>
  25913. <description>Low timeout occurs</description>
  25914. <value>#1</value>
  25915. </enumeratedValue>
  25916. </enumeratedValues>
  25917. </field>
  25918. <field>
  25919. <name>TCKSEL</name>
  25920. <description>Timeout counter clock select</description>
  25921. <bitOffset>4</bitOffset>
  25922. <bitWidth>1</bitWidth>
  25923. <access>read-write</access>
  25924. <enumeratedValues>
  25925. <enumeratedValue>
  25926. <name>0</name>
  25927. <description>Timeout counter counts at the frequency of the bus clock / 64</description>
  25928. <value>#0</value>
  25929. </enumeratedValue>
  25930. <enumeratedValue>
  25931. <name>1</name>
  25932. <description>Timeout counter counts at the frequency of the bus clock</description>
  25933. <value>#1</value>
  25934. </enumeratedValue>
  25935. </enumeratedValues>
  25936. </field>
  25937. <field>
  25938. <name>SIICAEN</name>
  25939. <description>Second I2C address enable</description>
  25940. <bitOffset>5</bitOffset>
  25941. <bitWidth>1</bitWidth>
  25942. <access>read-write</access>
  25943. <enumeratedValues>
  25944. <enumeratedValue>
  25945. <name>0</name>
  25946. <description>I2C address register 2 matching is disabled</description>
  25947. <value>#0</value>
  25948. </enumeratedValue>
  25949. <enumeratedValue>
  25950. <name>1</name>
  25951. <description>I2C address register 2 matching is enabled</description>
  25952. <value>#1</value>
  25953. </enumeratedValue>
  25954. </enumeratedValues>
  25955. </field>
  25956. <field>
  25957. <name>ALERTEN</name>
  25958. <description>SMBus alert response address enable</description>
  25959. <bitOffset>6</bitOffset>
  25960. <bitWidth>1</bitWidth>
  25961. <access>read-write</access>
  25962. <enumeratedValues>
  25963. <enumeratedValue>
  25964. <name>0</name>
  25965. <description>SMBus alert response address matching is disabled</description>
  25966. <value>#0</value>
  25967. </enumeratedValue>
  25968. <enumeratedValue>
  25969. <name>1</name>
  25970. <description>SMBus alert response address matching is enabled</description>
  25971. <value>#1</value>
  25972. </enumeratedValue>
  25973. </enumeratedValues>
  25974. </field>
  25975. <field>
  25976. <name>FACK</name>
  25977. <description>Fast NACK/ACK enable</description>
  25978. <bitOffset>7</bitOffset>
  25979. <bitWidth>1</bitWidth>
  25980. <access>read-write</access>
  25981. <enumeratedValues>
  25982. <enumeratedValue>
  25983. <name>0</name>
  25984. <description>An ACK or NACK is sent on the following receiving data byte</description>
  25985. <value>#0</value>
  25986. </enumeratedValue>
  25987. <enumeratedValue>
  25988. <name>1</name>
  25989. <description>Writing 0 to TXAK after receiving a data byte generates an ACK. Writing 1 to TXAK after receiving a data byte generates a NACK.</description>
  25990. <value>#1</value>
  25991. </enumeratedValue>
  25992. </enumeratedValues>
  25993. </field>
  25994. </fields>
  25995. </register>
  25996. <register>
  25997. <name>A2</name>
  25998. <description>I2C Address Register 2</description>
  25999. <addressOffset>0x9</addressOffset>
  26000. <size>8</size>
  26001. <access>read-write</access>
  26002. <resetValue>0xC2</resetValue>
  26003. <resetMask>0xFF</resetMask>
  26004. <fields>
  26005. <field>
  26006. <name>SAD</name>
  26007. <description>SMBus address</description>
  26008. <bitOffset>1</bitOffset>
  26009. <bitWidth>7</bitWidth>
  26010. <access>read-write</access>
  26011. </field>
  26012. </fields>
  26013. </register>
  26014. <register>
  26015. <name>SLTH</name>
  26016. <description>I2C SCL Low Timeout Register High</description>
  26017. <addressOffset>0xA</addressOffset>
  26018. <size>8</size>
  26019. <access>read-write</access>
  26020. <resetValue>0</resetValue>
  26021. <resetMask>0xFF</resetMask>
  26022. <fields>
  26023. <field>
  26024. <name>SSLT</name>
  26025. <description>Most significant byte of SCL low timeout value that determines the timeout period of SCL low.</description>
  26026. <bitOffset>0</bitOffset>
  26027. <bitWidth>8</bitWidth>
  26028. <access>read-write</access>
  26029. </field>
  26030. </fields>
  26031. </register>
  26032. <register>
  26033. <name>SLTL</name>
  26034. <description>I2C SCL Low Timeout Register Low</description>
  26035. <addressOffset>0xB</addressOffset>
  26036. <size>8</size>
  26037. <access>read-write</access>
  26038. <resetValue>0</resetValue>
  26039. <resetMask>0xFF</resetMask>
  26040. <fields>
  26041. <field>
  26042. <name>SSLT</name>
  26043. <description>Least significant byte of SCL low timeout value that determines the timeout period of SCL low.</description>
  26044. <bitOffset>0</bitOffset>
  26045. <bitWidth>8</bitWidth>
  26046. <access>read-write</access>
  26047. </field>
  26048. </fields>
  26049. </register>
  26050. </registers>
  26051. </peripheral>
  26052. <peripheral>
  26053. <name>UART0</name>
  26054. <description>Serial Communication Interface</description>
  26055. <groupName>UART</groupName>
  26056. <prependToName>UART0_</prependToName>
  26057. <baseAddress>0x4006A000</baseAddress>
  26058. <addressBlock>
  26059. <offset>0</offset>
  26060. <size>0x32</size>
  26061. <usage>registers</usage>
  26062. </addressBlock>
  26063. <interrupt>
  26064. <name>UART0_LON</name>
  26065. <value>15</value>
  26066. </interrupt>
  26067. <interrupt>
  26068. <name>UART0_RX_TX</name>
  26069. <value>16</value>
  26070. </interrupt>
  26071. <interrupt>
  26072. <name>UART0_ERR</name>
  26073. <value>17</value>
  26074. </interrupt>
  26075. <registers>
  26076. <register>
  26077. <name>BDH</name>
  26078. <description>UART Baud Rate Registers:High</description>
  26079. <addressOffset>0</addressOffset>
  26080. <size>8</size>
  26081. <access>read-write</access>
  26082. <resetValue>0</resetValue>
  26083. <resetMask>0xFF</resetMask>
  26084. <fields>
  26085. <field>
  26086. <name>SBR</name>
  26087. <description>UART Baud Rate Bits</description>
  26088. <bitOffset>0</bitOffset>
  26089. <bitWidth>5</bitWidth>
  26090. <access>read-write</access>
  26091. </field>
  26092. <field>
  26093. <name>RXEDGIE</name>
  26094. <description>RxD Input Active Edge Interrupt Enable</description>
  26095. <bitOffset>6</bitOffset>
  26096. <bitWidth>1</bitWidth>
  26097. <access>read-write</access>
  26098. <enumeratedValues>
  26099. <enumeratedValue>
  26100. <name>0</name>
  26101. <description>Hardware interrupts from RXEDGIF disabled (use polling).</description>
  26102. <value>#0</value>
  26103. </enumeratedValue>
  26104. <enumeratedValue>
  26105. <name>1</name>
  26106. <description>RXEDGIF interrupt request enabled.</description>
  26107. <value>#1</value>
  26108. </enumeratedValue>
  26109. </enumeratedValues>
  26110. </field>
  26111. <field>
  26112. <name>LBKDIE</name>
  26113. <description>LIN Break Detect Interrupt Enable</description>
  26114. <bitOffset>7</bitOffset>
  26115. <bitWidth>1</bitWidth>
  26116. <access>read-write</access>
  26117. <enumeratedValues>
  26118. <enumeratedValue>
  26119. <name>0</name>
  26120. <description>LBKDIF interrupt requests disabled.</description>
  26121. <value>#0</value>
  26122. </enumeratedValue>
  26123. <enumeratedValue>
  26124. <name>1</name>
  26125. <description>LBKDIF interrupt requests enabled.</description>
  26126. <value>#1</value>
  26127. </enumeratedValue>
  26128. </enumeratedValues>
  26129. </field>
  26130. </fields>
  26131. </register>
  26132. <register>
  26133. <name>BDL</name>
  26134. <description>UART Baud Rate Registers: Low</description>
  26135. <addressOffset>0x1</addressOffset>
  26136. <size>8</size>
  26137. <access>read-write</access>
  26138. <resetValue>0x4</resetValue>
  26139. <resetMask>0xFF</resetMask>
  26140. <fields>
  26141. <field>
  26142. <name>SBR</name>
  26143. <description>UART Baud Rate Bits</description>
  26144. <bitOffset>0</bitOffset>
  26145. <bitWidth>8</bitWidth>
  26146. <access>read-write</access>
  26147. </field>
  26148. </fields>
  26149. </register>
  26150. <register>
  26151. <name>C1</name>
  26152. <description>UART Control Register 1</description>
  26153. <addressOffset>0x2</addressOffset>
  26154. <size>8</size>
  26155. <access>read-write</access>
  26156. <resetValue>0</resetValue>
  26157. <resetMask>0xFF</resetMask>
  26158. <fields>
  26159. <field>
  26160. <name>PT</name>
  26161. <description>Parity Type</description>
  26162. <bitOffset>0</bitOffset>
  26163. <bitWidth>1</bitWidth>
  26164. <access>read-write</access>
  26165. <enumeratedValues>
  26166. <enumeratedValue>
  26167. <name>0</name>
  26168. <description>Even parity.</description>
  26169. <value>#0</value>
  26170. </enumeratedValue>
  26171. <enumeratedValue>
  26172. <name>1</name>
  26173. <description>Odd parity.</description>
  26174. <value>#1</value>
  26175. </enumeratedValue>
  26176. </enumeratedValues>
  26177. </field>
  26178. <field>
  26179. <name>PE</name>
  26180. <description>Parity Enable</description>
  26181. <bitOffset>1</bitOffset>
  26182. <bitWidth>1</bitWidth>
  26183. <access>read-write</access>
  26184. <enumeratedValues>
  26185. <enumeratedValue>
  26186. <name>0</name>
  26187. <description>Parity function disabled.</description>
  26188. <value>#0</value>
  26189. </enumeratedValue>
  26190. <enumeratedValue>
  26191. <name>1</name>
  26192. <description>Parity function enabled.</description>
  26193. <value>#1</value>
  26194. </enumeratedValue>
  26195. </enumeratedValues>
  26196. </field>
  26197. <field>
  26198. <name>ILT</name>
  26199. <description>Idle Line Type Select</description>
  26200. <bitOffset>2</bitOffset>
  26201. <bitWidth>1</bitWidth>
  26202. <access>read-write</access>
  26203. <enumeratedValues>
  26204. <enumeratedValue>
  26205. <name>0</name>
  26206. <description>Idle character bit count starts after start bit.</description>
  26207. <value>#0</value>
  26208. </enumeratedValue>
  26209. <enumeratedValue>
  26210. <name>1</name>
  26211. <description>Idle character bit count starts after stop bit.</description>
  26212. <value>#1</value>
  26213. </enumeratedValue>
  26214. </enumeratedValues>
  26215. </field>
  26216. <field>
  26217. <name>WAKE</name>
  26218. <description>Receiver Wakeup Method Select</description>
  26219. <bitOffset>3</bitOffset>
  26220. <bitWidth>1</bitWidth>
  26221. <access>read-write</access>
  26222. <enumeratedValues>
  26223. <enumeratedValue>
  26224. <name>0</name>
  26225. <description>Idle-line wakeup.</description>
  26226. <value>#0</value>
  26227. </enumeratedValue>
  26228. <enumeratedValue>
  26229. <name>1</name>
  26230. <description>Address-mark wakeup.</description>
  26231. <value>#1</value>
  26232. </enumeratedValue>
  26233. </enumeratedValues>
  26234. </field>
  26235. <field>
  26236. <name>M</name>
  26237. <description>9-bit or 8-bit Mode Select</description>
  26238. <bitOffset>4</bitOffset>
  26239. <bitWidth>1</bitWidth>
  26240. <access>read-write</access>
  26241. <enumeratedValues>
  26242. <enumeratedValue>
  26243. <name>0</name>
  26244. <description>Normal - start + 8 data bits (MSB/LSB first as determined by MSBF) + stop.</description>
  26245. <value>#0</value>
  26246. </enumeratedValue>
  26247. <enumeratedValue>
  26248. <name>1</name>
  26249. <description>Use - start + 9 data bits (MSB/LSB first as determined by MSBF) + stop.</description>
  26250. <value>#1</value>
  26251. </enumeratedValue>
  26252. </enumeratedValues>
  26253. </field>
  26254. <field>
  26255. <name>RSRC</name>
  26256. <description>Receiver Source Select</description>
  26257. <bitOffset>5</bitOffset>
  26258. <bitWidth>1</bitWidth>
  26259. <access>read-write</access>
  26260. <enumeratedValues>
  26261. <enumeratedValue>
  26262. <name>0</name>
  26263. <description>Selects internal loop back mode and receiver input is internally connected to transmitter output.</description>
  26264. <value>#0</value>
  26265. </enumeratedValue>
  26266. <enumeratedValue>
  26267. <name>1</name>
  26268. <description>Single-wire UART mode where the receiver input is connected to the transmit pin input signal.</description>
  26269. <value>#1</value>
  26270. </enumeratedValue>
  26271. </enumeratedValues>
  26272. </field>
  26273. <field>
  26274. <name>UARTSWAI</name>
  26275. <description>UART Stops in Wait Mode</description>
  26276. <bitOffset>6</bitOffset>
  26277. <bitWidth>1</bitWidth>
  26278. <access>read-write</access>
  26279. <enumeratedValues>
  26280. <enumeratedValue>
  26281. <name>0</name>
  26282. <description>UART clock continues to run in wait mode.</description>
  26283. <value>#0</value>
  26284. </enumeratedValue>
  26285. <enumeratedValue>
  26286. <name>1</name>
  26287. <description>UART clock freezes while CPU is in wait mode.</description>
  26288. <value>#1</value>
  26289. </enumeratedValue>
  26290. </enumeratedValues>
  26291. </field>
  26292. <field>
  26293. <name>LOOPS</name>
  26294. <description>Loop Mode Select</description>
  26295. <bitOffset>7</bitOffset>
  26296. <bitWidth>1</bitWidth>
  26297. <access>read-write</access>
  26298. <enumeratedValues>
  26299. <enumeratedValue>
  26300. <name>0</name>
  26301. <description>Normal operation.</description>
  26302. <value>#0</value>
  26303. </enumeratedValue>
  26304. <enumeratedValue>
  26305. <name>1</name>
  26306. <description>Loop mode where transmitter output is internally connected to receiver input. The receiver input is determined by the RSRC bit.</description>
  26307. <value>#1</value>
  26308. </enumeratedValue>
  26309. </enumeratedValues>
  26310. </field>
  26311. </fields>
  26312. </register>
  26313. <register>
  26314. <name>C2</name>
  26315. <description>UART Control Register 2</description>
  26316. <addressOffset>0x3</addressOffset>
  26317. <size>8</size>
  26318. <access>read-write</access>
  26319. <resetValue>0</resetValue>
  26320. <resetMask>0xFF</resetMask>
  26321. <fields>
  26322. <field>
  26323. <name>SBK</name>
  26324. <description>Send Break</description>
  26325. <bitOffset>0</bitOffset>
  26326. <bitWidth>1</bitWidth>
  26327. <access>read-write</access>
  26328. <enumeratedValues>
  26329. <enumeratedValue>
  26330. <name>0</name>
  26331. <description>Normal transmitter operation.</description>
  26332. <value>#0</value>
  26333. </enumeratedValue>
  26334. <enumeratedValue>
  26335. <name>1</name>
  26336. <description>Queue break character(s) to be sent.</description>
  26337. <value>#1</value>
  26338. </enumeratedValue>
  26339. </enumeratedValues>
  26340. </field>
  26341. <field>
  26342. <name>RWU</name>
  26343. <description>Receiver Wakeup Control</description>
  26344. <bitOffset>1</bitOffset>
  26345. <bitWidth>1</bitWidth>
  26346. <access>read-write</access>
  26347. <enumeratedValues>
  26348. <enumeratedValue>
  26349. <name>0</name>
  26350. <description>Normal operation.</description>
  26351. <value>#0</value>
  26352. </enumeratedValue>
  26353. <enumeratedValue>
  26354. <name>1</name>
  26355. <description>RWU enables the wakeup function and inhibits further receiver interrupt requests. Normally, hardware wakes the receiver by automatically clearing RWU.</description>
  26356. <value>#1</value>
  26357. </enumeratedValue>
  26358. </enumeratedValues>
  26359. </field>
  26360. <field>
  26361. <name>RE</name>
  26362. <description>Receiver Enable</description>
  26363. <bitOffset>2</bitOffset>
  26364. <bitWidth>1</bitWidth>
  26365. <access>read-write</access>
  26366. <enumeratedValues>
  26367. <enumeratedValue>
  26368. <name>0</name>
  26369. <description>Receiver off.</description>
  26370. <value>#0</value>
  26371. </enumeratedValue>
  26372. <enumeratedValue>
  26373. <name>1</name>
  26374. <description>Receiver on.</description>
  26375. <value>#1</value>
  26376. </enumeratedValue>
  26377. </enumeratedValues>
  26378. </field>
  26379. <field>
  26380. <name>TE</name>
  26381. <description>Transmitter Enable</description>
  26382. <bitOffset>3</bitOffset>
  26383. <bitWidth>1</bitWidth>
  26384. <access>read-write</access>
  26385. <enumeratedValues>
  26386. <enumeratedValue>
  26387. <name>0</name>
  26388. <description>Transmitter off.</description>
  26389. <value>#0</value>
  26390. </enumeratedValue>
  26391. <enumeratedValue>
  26392. <name>1</name>
  26393. <description>Transmitter on.</description>
  26394. <value>#1</value>
  26395. </enumeratedValue>
  26396. </enumeratedValues>
  26397. </field>
  26398. <field>
  26399. <name>ILIE</name>
  26400. <description>Idle Line Interrupt Enable</description>
  26401. <bitOffset>4</bitOffset>
  26402. <bitWidth>1</bitWidth>
  26403. <access>read-write</access>
  26404. <enumeratedValues>
  26405. <enumeratedValue>
  26406. <name>0</name>
  26407. <description>IDLE interrupt requests disabled.</description>
  26408. <value>#0</value>
  26409. </enumeratedValue>
  26410. <enumeratedValue>
  26411. <name>1</name>
  26412. <description>IDLE interrupt requests enabled.</description>
  26413. <value>#1</value>
  26414. </enumeratedValue>
  26415. </enumeratedValues>
  26416. </field>
  26417. <field>
  26418. <name>RIE</name>
  26419. <description>Receiver Full Interrupt or DMA Transfer Enable</description>
  26420. <bitOffset>5</bitOffset>
  26421. <bitWidth>1</bitWidth>
  26422. <access>read-write</access>
  26423. <enumeratedValues>
  26424. <enumeratedValue>
  26425. <name>0</name>
  26426. <description>RDRF interrupt and DMA transfer requests disabled.</description>
  26427. <value>#0</value>
  26428. </enumeratedValue>
  26429. <enumeratedValue>
  26430. <name>1</name>
  26431. <description>RDRF interrupt or DMA transfer requests enabled</description>
  26432. <value>#1</value>
  26433. </enumeratedValue>
  26434. </enumeratedValues>
  26435. </field>
  26436. <field>
  26437. <name>TCIE</name>
  26438. <description>Transmission Complete Interrupt Enable</description>
  26439. <bitOffset>6</bitOffset>
  26440. <bitWidth>1</bitWidth>
  26441. <access>read-write</access>
  26442. <enumeratedValues>
  26443. <enumeratedValue>
  26444. <name>0</name>
  26445. <description>TC interrupt requests disabled.</description>
  26446. <value>#0</value>
  26447. </enumeratedValue>
  26448. <enumeratedValue>
  26449. <name>1</name>
  26450. <description>TC interrupt requests enabled.</description>
  26451. <value>#1</value>
  26452. </enumeratedValue>
  26453. </enumeratedValues>
  26454. </field>
  26455. <field>
  26456. <name>TIE</name>
  26457. <description>Transmitter Interrupt or DMA Transfer Enable.</description>
  26458. <bitOffset>7</bitOffset>
  26459. <bitWidth>1</bitWidth>
  26460. <access>read-write</access>
  26461. <enumeratedValues>
  26462. <enumeratedValue>
  26463. <name>0</name>
  26464. <description>TDRE interrupt and DMA transfer requests disabled.</description>
  26465. <value>#0</value>
  26466. </enumeratedValue>
  26467. <enumeratedValue>
  26468. <name>1</name>
  26469. <description>TDRE interrupt or DMA transfer requests enabled.</description>
  26470. <value>#1</value>
  26471. </enumeratedValue>
  26472. </enumeratedValues>
  26473. </field>
  26474. </fields>
  26475. </register>
  26476. <register>
  26477. <name>S1</name>
  26478. <description>UART Status Register 1</description>
  26479. <addressOffset>0x4</addressOffset>
  26480. <size>8</size>
  26481. <access>read-only</access>
  26482. <resetValue>0xC0</resetValue>
  26483. <resetMask>0xFF</resetMask>
  26484. <fields>
  26485. <field>
  26486. <name>PF</name>
  26487. <description>Parity Error Flag</description>
  26488. <bitOffset>0</bitOffset>
  26489. <bitWidth>1</bitWidth>
  26490. <access>read-only</access>
  26491. <enumeratedValues>
  26492. <enumeratedValue>
  26493. <name>0</name>
  26494. <description>No parity error has been detected since the last time this flag was cleared. If the receive buffer has a depth greater than 1 then there may be data in the receive buffer what was received with a parity error.</description>
  26495. <value>#0</value>
  26496. </enumeratedValue>
  26497. <enumeratedValue>
  26498. <name>1</name>
  26499. <description>At least one dataword was received with a parity error since the last time this flag was cleared.</description>
  26500. <value>#1</value>
  26501. </enumeratedValue>
  26502. </enumeratedValues>
  26503. </field>
  26504. <field>
  26505. <name>FE</name>
  26506. <description>Framing Error Flag</description>
  26507. <bitOffset>1</bitOffset>
  26508. <bitWidth>1</bitWidth>
  26509. <access>read-only</access>
  26510. <enumeratedValues>
  26511. <enumeratedValue>
  26512. <name>0</name>
  26513. <description>No framing error detected.</description>
  26514. <value>#0</value>
  26515. </enumeratedValue>
  26516. <enumeratedValue>
  26517. <name>1</name>
  26518. <description>Framing error.</description>
  26519. <value>#1</value>
  26520. </enumeratedValue>
  26521. </enumeratedValues>
  26522. </field>
  26523. <field>
  26524. <name>NF</name>
  26525. <description>Noise Flag</description>
  26526. <bitOffset>2</bitOffset>
  26527. <bitWidth>1</bitWidth>
  26528. <access>read-only</access>
  26529. <enumeratedValues>
  26530. <enumeratedValue>
  26531. <name>0</name>
  26532. <description>No noise detected since the last time this flag was cleared. If the receive buffer has a depth greater than 1 then there may be data in the receiver buffer that was received with noise.</description>
  26533. <value>#0</value>
  26534. </enumeratedValue>
  26535. <enumeratedValue>
  26536. <name>1</name>
  26537. <description>At least one dataword was received with noise detected since the last time the flag was cleared.</description>
  26538. <value>#1</value>
  26539. </enumeratedValue>
  26540. </enumeratedValues>
  26541. </field>
  26542. <field>
  26543. <name>OR</name>
  26544. <description>Receiver Overrun Flag</description>
  26545. <bitOffset>3</bitOffset>
  26546. <bitWidth>1</bitWidth>
  26547. <access>read-only</access>
  26548. <enumeratedValues>
  26549. <enumeratedValue>
  26550. <name>0</name>
  26551. <description>No overrun has occurred since the last time the flag was cleared.</description>
  26552. <value>#0</value>
  26553. </enumeratedValue>
  26554. <enumeratedValue>
  26555. <name>1</name>
  26556. <description>Overrun has occurred or the overrun flag has not been cleared since the last overrun occured.</description>
  26557. <value>#1</value>
  26558. </enumeratedValue>
  26559. </enumeratedValues>
  26560. </field>
  26561. <field>
  26562. <name>IDLE</name>
  26563. <description>Idle Line Flag</description>
  26564. <bitOffset>4</bitOffset>
  26565. <bitWidth>1</bitWidth>
  26566. <access>read-only</access>
  26567. <enumeratedValues>
  26568. <enumeratedValue>
  26569. <name>0</name>
  26570. <description>Receiver input is either active now or has never become active since the IDLE flag was last cleared.</description>
  26571. <value>#0</value>
  26572. </enumeratedValue>
  26573. <enumeratedValue>
  26574. <name>1</name>
  26575. <description>Receiver input has become idle or the flag has not been cleared since it last asserted.</description>
  26576. <value>#1</value>
  26577. </enumeratedValue>
  26578. </enumeratedValues>
  26579. </field>
  26580. <field>
  26581. <name>RDRF</name>
  26582. <description>Receive Data Register Full Flag</description>
  26583. <bitOffset>5</bitOffset>
  26584. <bitWidth>1</bitWidth>
  26585. <access>read-only</access>
  26586. <enumeratedValues>
  26587. <enumeratedValue>
  26588. <name>0</name>
  26589. <description>The number of datawords in the receive buffer is less than the number indicated by RXWATER.</description>
  26590. <value>#0</value>
  26591. </enumeratedValue>
  26592. <enumeratedValue>
  26593. <name>1</name>
  26594. <description>The number of datawords in the receive buffer is equal to or greater than the number indicated by RXWATER at some point in time since this flag was last cleared.</description>
  26595. <value>#1</value>
  26596. </enumeratedValue>
  26597. </enumeratedValues>
  26598. </field>
  26599. <field>
  26600. <name>TC</name>
  26601. <description>Transmit Complete Flag</description>
  26602. <bitOffset>6</bitOffset>
  26603. <bitWidth>1</bitWidth>
  26604. <access>read-only</access>
  26605. <enumeratedValues>
  26606. <enumeratedValue>
  26607. <name>0</name>
  26608. <description>Transmitter active (sending data, a preamble, or a break).</description>
  26609. <value>#0</value>
  26610. </enumeratedValue>
  26611. <enumeratedValue>
  26612. <name>1</name>
  26613. <description>Transmitter idle (transmission activity complete).</description>
  26614. <value>#1</value>
  26615. </enumeratedValue>
  26616. </enumeratedValues>
  26617. </field>
  26618. <field>
  26619. <name>TDRE</name>
  26620. <description>Transmit Data Register Empty Flag</description>
  26621. <bitOffset>7</bitOffset>
  26622. <bitWidth>1</bitWidth>
  26623. <access>read-only</access>
  26624. <enumeratedValues>
  26625. <enumeratedValue>
  26626. <name>0</name>
  26627. <description>The amount of data in the transmit buffer is greater than the value indicated by TWFIFO[TXWATER].</description>
  26628. <value>#0</value>
  26629. </enumeratedValue>
  26630. <enumeratedValue>
  26631. <name>1</name>
  26632. <description>The amount of data in the transmit buffer is less than or equal to the value indicated by TWFIFO[TXWATER] at some point in time since the flag has been cleared.</description>
  26633. <value>#1</value>
  26634. </enumeratedValue>
  26635. </enumeratedValues>
  26636. </field>
  26637. </fields>
  26638. </register>
  26639. <register>
  26640. <name>S2</name>
  26641. <description>UART Status Register 2</description>
  26642. <addressOffset>0x5</addressOffset>
  26643. <size>8</size>
  26644. <access>read-write</access>
  26645. <resetValue>0</resetValue>
  26646. <resetMask>0xFF</resetMask>
  26647. <fields>
  26648. <field>
  26649. <name>RAF</name>
  26650. <description>Receiver Active Flag</description>
  26651. <bitOffset>0</bitOffset>
  26652. <bitWidth>1</bitWidth>
  26653. <access>read-only</access>
  26654. <enumeratedValues>
  26655. <enumeratedValue>
  26656. <name>0</name>
  26657. <description>UART receiver idle/inactive waiting for a start bit.</description>
  26658. <value>#0</value>
  26659. </enumeratedValue>
  26660. <enumeratedValue>
  26661. <name>1</name>
  26662. <description>UART receiver active (RxD input not idle).</description>
  26663. <value>#1</value>
  26664. </enumeratedValue>
  26665. </enumeratedValues>
  26666. </field>
  26667. <field>
  26668. <name>LBKDE</name>
  26669. <description>LIN Break Detection Enable</description>
  26670. <bitOffset>1</bitOffset>
  26671. <bitWidth>1</bitWidth>
  26672. <access>read-write</access>
  26673. <enumeratedValues>
  26674. <enumeratedValue>
  26675. <name>0</name>
  26676. <description>Break character is detected at length of 10 bit times (C1[M] = 0), 11 (C1[M] = 1 and C4[M10] = 0), or 12 (C1[M] = 1, C4[M10] = 1, and S1[PE] = 1).</description>
  26677. <value>#0</value>
  26678. </enumeratedValue>
  26679. <enumeratedValue>
  26680. <name>1</name>
  26681. <description>Break character is detected at length of 11 bits times (if C1[M] = 0 or 12 bits time (if C1[M] = 1).</description>
  26682. <value>#1</value>
  26683. </enumeratedValue>
  26684. </enumeratedValues>
  26685. </field>
  26686. <field>
  26687. <name>BRK13</name>
  26688. <description>Break Transmit Character Length</description>
  26689. <bitOffset>2</bitOffset>
  26690. <bitWidth>1</bitWidth>
  26691. <access>read-write</access>
  26692. <enumeratedValues>
  26693. <enumeratedValue>
  26694. <name>0</name>
  26695. <description>Break character is 10, 11, or 12 bits long.</description>
  26696. <value>#0</value>
  26697. </enumeratedValue>
  26698. <enumeratedValue>
  26699. <name>1</name>
  26700. <description>Break character is 13 or 14 bits long.</description>
  26701. <value>#1</value>
  26702. </enumeratedValue>
  26703. </enumeratedValues>
  26704. </field>
  26705. <field>
  26706. <name>RWUID</name>
  26707. <description>Receive Wakeup Idle Detect</description>
  26708. <bitOffset>3</bitOffset>
  26709. <bitWidth>1</bitWidth>
  26710. <access>read-write</access>
  26711. <enumeratedValues>
  26712. <enumeratedValue>
  26713. <name>0</name>
  26714. <description>The S1[IDLE] bit is not set upon detection of an idle character.</description>
  26715. <value>#0</value>
  26716. </enumeratedValue>
  26717. <enumeratedValue>
  26718. <name>1</name>
  26719. <description>The S1[IDLE] bit is set upon detection of an idle character.</description>
  26720. <value>#1</value>
  26721. </enumeratedValue>
  26722. </enumeratedValues>
  26723. </field>
  26724. <field>
  26725. <name>RXINV</name>
  26726. <description>Receive Data Inversion</description>
  26727. <bitOffset>4</bitOffset>
  26728. <bitWidth>1</bitWidth>
  26729. <access>read-write</access>
  26730. <enumeratedValues>
  26731. <enumeratedValue>
  26732. <name>0</name>
  26733. <description>Receive data is not inverted.</description>
  26734. <value>#0</value>
  26735. </enumeratedValue>
  26736. <enumeratedValue>
  26737. <name>1</name>
  26738. <description>Receive data is inverted.</description>
  26739. <value>#1</value>
  26740. </enumeratedValue>
  26741. </enumeratedValues>
  26742. </field>
  26743. <field>
  26744. <name>MSBF</name>
  26745. <description>Most Significant Bit First</description>
  26746. <bitOffset>5</bitOffset>
  26747. <bitWidth>1</bitWidth>
  26748. <access>read-write</access>
  26749. <enumeratedValues>
  26750. <enumeratedValue>
  26751. <name>0</name>
  26752. <description>LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0.</description>
  26753. <value>#0</value>
  26754. </enumeratedValue>
  26755. <enumeratedValue>
  26756. <name>1</name>
  26757. <description>MSB (bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of C1[M] and C1[PE]. Further, the first bit received after the start bit is identified as bit8, bit7 or bit6 depending on the setting of C1[M] and C1[PE].</description>
  26758. <value>#1</value>
  26759. </enumeratedValue>
  26760. </enumeratedValues>
  26761. </field>
  26762. <field>
  26763. <name>RXEDGIF</name>
  26764. <description>RxD Pin Active Edge Interrupt Flag</description>
  26765. <bitOffset>6</bitOffset>
  26766. <bitWidth>1</bitWidth>
  26767. <access>read-write</access>
  26768. <enumeratedValues>
  26769. <enumeratedValue>
  26770. <name>0</name>
  26771. <description>No active edge on the receive pin has occurred.</description>
  26772. <value>#0</value>
  26773. </enumeratedValue>
  26774. <enumeratedValue>
  26775. <name>1</name>
  26776. <description>An active edge on the receive pin has occurred.</description>
  26777. <value>#1</value>
  26778. </enumeratedValue>
  26779. </enumeratedValues>
  26780. </field>
  26781. <field>
  26782. <name>LBKDIF</name>
  26783. <description>LIN Break Detect Interrupt Flag</description>
  26784. <bitOffset>7</bitOffset>
  26785. <bitWidth>1</bitWidth>
  26786. <access>read-write</access>
  26787. <enumeratedValues>
  26788. <enumeratedValue>
  26789. <name>0</name>
  26790. <description>No LIN break character has been detected.</description>
  26791. <value>#0</value>
  26792. </enumeratedValue>
  26793. <enumeratedValue>
  26794. <name>1</name>
  26795. <description>LIN break character has been detected.</description>
  26796. <value>#1</value>
  26797. </enumeratedValue>
  26798. </enumeratedValues>
  26799. </field>
  26800. </fields>
  26801. </register>
  26802. <register>
  26803. <name>C3</name>
  26804. <description>UART Control Register 3</description>
  26805. <addressOffset>0x6</addressOffset>
  26806. <size>8</size>
  26807. <access>read-write</access>
  26808. <resetValue>0</resetValue>
  26809. <resetMask>0xFF</resetMask>
  26810. <fields>
  26811. <field>
  26812. <name>PEIE</name>
  26813. <description>Parity Error Interrupt Enable</description>
  26814. <bitOffset>0</bitOffset>
  26815. <bitWidth>1</bitWidth>
  26816. <access>read-write</access>
  26817. <enumeratedValues>
  26818. <enumeratedValue>
  26819. <name>0</name>
  26820. <description>PF interrupt requests are disabled.</description>
  26821. <value>#0</value>
  26822. </enumeratedValue>
  26823. <enumeratedValue>
  26824. <name>1</name>
  26825. <description>PF interrupt requests are enabled.</description>
  26826. <value>#1</value>
  26827. </enumeratedValue>
  26828. </enumeratedValues>
  26829. </field>
  26830. <field>
  26831. <name>FEIE</name>
  26832. <description>Framing Error Interrupt Enable</description>
  26833. <bitOffset>1</bitOffset>
  26834. <bitWidth>1</bitWidth>
  26835. <access>read-write</access>
  26836. <enumeratedValues>
  26837. <enumeratedValue>
  26838. <name>0</name>
  26839. <description>FE interrupt requests are disabled.</description>
  26840. <value>#0</value>
  26841. </enumeratedValue>
  26842. <enumeratedValue>
  26843. <name>1</name>
  26844. <description>FE interrupt requests are enabled.</description>
  26845. <value>#1</value>
  26846. </enumeratedValue>
  26847. </enumeratedValues>
  26848. </field>
  26849. <field>
  26850. <name>NEIE</name>
  26851. <description>Noise Error Interrupt Enable</description>
  26852. <bitOffset>2</bitOffset>
  26853. <bitWidth>1</bitWidth>
  26854. <access>read-write</access>
  26855. <enumeratedValues>
  26856. <enumeratedValue>
  26857. <name>0</name>
  26858. <description>NF interrupt requests are disabled.</description>
  26859. <value>#0</value>
  26860. </enumeratedValue>
  26861. <enumeratedValue>
  26862. <name>1</name>
  26863. <description>NF interrupt requests are enabled.</description>
  26864. <value>#1</value>
  26865. </enumeratedValue>
  26866. </enumeratedValues>
  26867. </field>
  26868. <field>
  26869. <name>ORIE</name>
  26870. <description>Overrun Error Interrupt Enable</description>
  26871. <bitOffset>3</bitOffset>
  26872. <bitWidth>1</bitWidth>
  26873. <access>read-write</access>
  26874. <enumeratedValues>
  26875. <enumeratedValue>
  26876. <name>0</name>
  26877. <description>OR interrupts are disabled.</description>
  26878. <value>#0</value>
  26879. </enumeratedValue>
  26880. <enumeratedValue>
  26881. <name>1</name>
  26882. <description>OR interrupt requests are enabled.</description>
  26883. <value>#1</value>
  26884. </enumeratedValue>
  26885. </enumeratedValues>
  26886. </field>
  26887. <field>
  26888. <name>TXINV</name>
  26889. <description>Transmit Data Inversion.</description>
  26890. <bitOffset>4</bitOffset>
  26891. <bitWidth>1</bitWidth>
  26892. <access>read-write</access>
  26893. <enumeratedValues>
  26894. <enumeratedValue>
  26895. <name>0</name>
  26896. <description>Transmit data is not inverted.</description>
  26897. <value>#0</value>
  26898. </enumeratedValue>
  26899. <enumeratedValue>
  26900. <name>1</name>
  26901. <description>Transmit data is inverted.</description>
  26902. <value>#1</value>
  26903. </enumeratedValue>
  26904. </enumeratedValues>
  26905. </field>
  26906. <field>
  26907. <name>TXDIR</name>
  26908. <description>Transmitter Pin Data Direction in Single-Wire mode</description>
  26909. <bitOffset>5</bitOffset>
  26910. <bitWidth>1</bitWidth>
  26911. <access>read-write</access>
  26912. <enumeratedValues>
  26913. <enumeratedValue>
  26914. <name>0</name>
  26915. <description>TXD pin is an input in single-wire mode.</description>
  26916. <value>#0</value>
  26917. </enumeratedValue>
  26918. <enumeratedValue>
  26919. <name>1</name>
  26920. <description>TXD pin is an output in single-wire mode.</description>
  26921. <value>#1</value>
  26922. </enumeratedValue>
  26923. </enumeratedValues>
  26924. </field>
  26925. <field>
  26926. <name>T8</name>
  26927. <description>Transmit Bit 8</description>
  26928. <bitOffset>6</bitOffset>
  26929. <bitWidth>1</bitWidth>
  26930. <access>read-write</access>
  26931. </field>
  26932. <field>
  26933. <name>R8</name>
  26934. <description>Received Bit 8</description>
  26935. <bitOffset>7</bitOffset>
  26936. <bitWidth>1</bitWidth>
  26937. <access>read-only</access>
  26938. </field>
  26939. </fields>
  26940. </register>
  26941. <register>
  26942. <name>D</name>
  26943. <description>UART Data Register</description>
  26944. <addressOffset>0x7</addressOffset>
  26945. <size>8</size>
  26946. <access>read-write</access>
  26947. <resetValue>0</resetValue>
  26948. <resetMask>0xFF</resetMask>
  26949. <fields>
  26950. <field>
  26951. <name>RT</name>
  26952. <description>Reads return the contents of the read-only receive data register and writes go to the write-only transmit data register</description>
  26953. <bitOffset>0</bitOffset>
  26954. <bitWidth>8</bitWidth>
  26955. <access>read-write</access>
  26956. </field>
  26957. </fields>
  26958. </register>
  26959. <register>
  26960. <name>MA1</name>
  26961. <description>UART Match Address Registers 1</description>
  26962. <addressOffset>0x8</addressOffset>
  26963. <size>8</size>
  26964. <access>read-write</access>
  26965. <resetValue>0</resetValue>
  26966. <resetMask>0xFF</resetMask>
  26967. <fields>
  26968. <field>
  26969. <name>MA</name>
  26970. <description>Match Address</description>
  26971. <bitOffset>0</bitOffset>
  26972. <bitWidth>8</bitWidth>
  26973. <access>read-write</access>
  26974. </field>
  26975. </fields>
  26976. </register>
  26977. <register>
  26978. <name>MA2</name>
  26979. <description>UART Match Address Registers 2</description>
  26980. <addressOffset>0x9</addressOffset>
  26981. <size>8</size>
  26982. <access>read-write</access>
  26983. <resetValue>0</resetValue>
  26984. <resetMask>0xFF</resetMask>
  26985. <fields>
  26986. <field>
  26987. <name>MA</name>
  26988. <description>Match Address</description>
  26989. <bitOffset>0</bitOffset>
  26990. <bitWidth>8</bitWidth>
  26991. <access>read-write</access>
  26992. </field>
  26993. </fields>
  26994. </register>
  26995. <register>
  26996. <name>C4</name>
  26997. <description>UART Control Register 4</description>
  26998. <addressOffset>0xA</addressOffset>
  26999. <size>8</size>
  27000. <access>read-write</access>
  27001. <resetValue>0</resetValue>
  27002. <resetMask>0xFF</resetMask>
  27003. <fields>
  27004. <field>
  27005. <name>BRFA</name>
  27006. <description>Baud Rate Fine Adjust</description>
  27007. <bitOffset>0</bitOffset>
  27008. <bitWidth>5</bitWidth>
  27009. <access>read-write</access>
  27010. </field>
  27011. <field>
  27012. <name>M10</name>
  27013. <description>10-bit Mode select</description>
  27014. <bitOffset>5</bitOffset>
  27015. <bitWidth>1</bitWidth>
  27016. <access>read-write</access>
  27017. <enumeratedValues>
  27018. <enumeratedValue>
  27019. <name>0</name>
  27020. <description>The parity bit is the ninth bit in the serial transmission.</description>
  27021. <value>#0</value>
  27022. </enumeratedValue>
  27023. <enumeratedValue>
  27024. <name>1</name>
  27025. <description>The parity bit is the tenth bit in the serial transmission.</description>
  27026. <value>#1</value>
  27027. </enumeratedValue>
  27028. </enumeratedValues>
  27029. </field>
  27030. <field>
  27031. <name>MAEN2</name>
  27032. <description>Match Address Mode Enable 2</description>
  27033. <bitOffset>6</bitOffset>
  27034. <bitWidth>1</bitWidth>
  27035. <access>read-write</access>
  27036. <enumeratedValues>
  27037. <enumeratedValue>
  27038. <name>0</name>
  27039. <description>All data received is transferred to the data buffer if MAEN1 is cleared.</description>
  27040. <value>#0</value>
  27041. </enumeratedValue>
  27042. <enumeratedValue>
  27043. <name>1</name>
  27044. <description>All data received with the most significant bit cleared, is discarded. All data received with the most significant bit set, is compared with contents of MA2 register. If no match occurs, the data is discarded. If match occurs, data is transferred to the data buffer.This bit must be cleared when C7816[ISO7816E] is set/enabled.</description>
  27045. <value>#1</value>
  27046. </enumeratedValue>
  27047. </enumeratedValues>
  27048. </field>
  27049. <field>
  27050. <name>MAEN1</name>
  27051. <description>Match Address Mode Enable 1</description>
  27052. <bitOffset>7</bitOffset>
  27053. <bitWidth>1</bitWidth>
  27054. <access>read-write</access>
  27055. <enumeratedValues>
  27056. <enumeratedValue>
  27057. <name>0</name>
  27058. <description>All data received is transferred to the data buffer if MAEN2 is cleared.</description>
  27059. <value>#0</value>
  27060. </enumeratedValue>
  27061. <enumeratedValue>
  27062. <name>1</name>
  27063. <description>All data received with the most significant bit cleared, is discarded. All data received with the most significant bit set, is compared with contents of MA1 register. If no match occurs, the data is discarded. If match occurs, data is transferred to the data buffer.This bit must be cleared when C7816[ISO7816E] is set/enabled.</description>
  27064. <value>#1</value>
  27065. </enumeratedValue>
  27066. </enumeratedValues>
  27067. </field>
  27068. </fields>
  27069. </register>
  27070. <register>
  27071. <name>C5</name>
  27072. <description>UART Control Register 5</description>
  27073. <addressOffset>0xB</addressOffset>
  27074. <size>8</size>
  27075. <access>read-write</access>
  27076. <resetValue>0</resetValue>
  27077. <resetMask>0xFF</resetMask>
  27078. <fields>
  27079. <field>
  27080. <name>RDMAS</name>
  27081. <description>Receiver Full DMA Select</description>
  27082. <bitOffset>5</bitOffset>
  27083. <bitWidth>1</bitWidth>
  27084. <access>read-write</access>
  27085. <enumeratedValues>
  27086. <enumeratedValue>
  27087. <name>0</name>
  27088. <description>If C2[RIE] is set and the S1[RDRF] flag is set, the RDFR interrupt request signal is asserted to request interrupt service.</description>
  27089. <value>#0</value>
  27090. </enumeratedValue>
  27091. <enumeratedValue>
  27092. <name>1</name>
  27093. <description>If C2[RIE] is set and the S1[RDRF] flag is set, the RDRF DMA request signal is asserted to request a DMA transfer.</description>
  27094. <value>#1</value>
  27095. </enumeratedValue>
  27096. </enumeratedValues>
  27097. </field>
  27098. <field>
  27099. <name>TDMAS</name>
  27100. <description>Transmitter DMA Select</description>
  27101. <bitOffset>7</bitOffset>
  27102. <bitWidth>1</bitWidth>
  27103. <access>read-write</access>
  27104. <enumeratedValues>
  27105. <enumeratedValue>
  27106. <name>0</name>
  27107. <description>If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE interrupt request signal is asserted to request interrupt service.</description>
  27108. <value>#0</value>
  27109. </enumeratedValue>
  27110. <enumeratedValue>
  27111. <name>1</name>
  27112. <description>If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE DMA request signal is asserted to request a DMA transfer.</description>
  27113. <value>#1</value>
  27114. </enumeratedValue>
  27115. </enumeratedValues>
  27116. </field>
  27117. </fields>
  27118. </register>
  27119. <register>
  27120. <name>ED</name>
  27121. <description>UART Extended Data Register</description>
  27122. <addressOffset>0xC</addressOffset>
  27123. <size>8</size>
  27124. <access>read-only</access>
  27125. <resetValue>0</resetValue>
  27126. <resetMask>0xFF</resetMask>
  27127. <fields>
  27128. <field>
  27129. <name>PARITYE</name>
  27130. <description>The current received dataword contained in D and C3[R8] was received with a parity error.</description>
  27131. <bitOffset>6</bitOffset>
  27132. <bitWidth>1</bitWidth>
  27133. <access>read-only</access>
  27134. <enumeratedValues>
  27135. <enumeratedValue>
  27136. <name>0</name>
  27137. <description>The dataword was received without a parity error.</description>
  27138. <value>#0</value>
  27139. </enumeratedValue>
  27140. <enumeratedValue>
  27141. <name>1</name>
  27142. <description>The dataword was received with a parity error.</description>
  27143. <value>#1</value>
  27144. </enumeratedValue>
  27145. </enumeratedValues>
  27146. </field>
  27147. <field>
  27148. <name>NOISY</name>
  27149. <description>The current received dataword contained in D and C3[R8] was received with noise.</description>
  27150. <bitOffset>7</bitOffset>
  27151. <bitWidth>1</bitWidth>
  27152. <access>read-only</access>
  27153. <enumeratedValues>
  27154. <enumeratedValue>
  27155. <name>0</name>
  27156. <description>The dataword was received without noise.</description>
  27157. <value>#0</value>
  27158. </enumeratedValue>
  27159. <enumeratedValue>
  27160. <name>1</name>
  27161. <description>The data was received with noise.</description>
  27162. <value>#1</value>
  27163. </enumeratedValue>
  27164. </enumeratedValues>
  27165. </field>
  27166. </fields>
  27167. </register>
  27168. <register>
  27169. <name>MODEM</name>
  27170. <description>UART Modem Register</description>
  27171. <addressOffset>0xD</addressOffset>
  27172. <size>8</size>
  27173. <access>read-write</access>
  27174. <resetValue>0</resetValue>
  27175. <resetMask>0xFF</resetMask>
  27176. <fields>
  27177. <field>
  27178. <name>TXCTSE</name>
  27179. <description>Transmitter clear-to-send enable</description>
  27180. <bitOffset>0</bitOffset>
  27181. <bitWidth>1</bitWidth>
  27182. <access>read-write</access>
  27183. <enumeratedValues>
  27184. <enumeratedValue>
  27185. <name>0</name>
  27186. <description>CTS has no effect on the transmitter.</description>
  27187. <value>#0</value>
  27188. </enumeratedValue>
  27189. <enumeratedValue>
  27190. <name>1</name>
  27191. <description>Enables clear-to-send operation. The transmitter checks the state of CTS each time it is ready to send a character. If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in the mark state and transmission is delayed until CTS is asserted. Changes in CTS as a character is being sent do not affect its transmission.</description>
  27192. <value>#1</value>
  27193. </enumeratedValue>
  27194. </enumeratedValues>
  27195. </field>
  27196. <field>
  27197. <name>TXRTSE</name>
  27198. <description>Transmitter request-to-send enable</description>
  27199. <bitOffset>1</bitOffset>
  27200. <bitWidth>1</bitWidth>
  27201. <access>read-write</access>
  27202. <enumeratedValues>
  27203. <enumeratedValue>
  27204. <name>0</name>
  27205. <description>The transmitter has no effect on RTS.</description>
  27206. <value>#0</value>
  27207. </enumeratedValue>
  27208. <enumeratedValue>
  27209. <name>1</name>
  27210. <description>When a character is placed into an empty transmitter data buffer(FIFO), RTS asserts one bit time before the start bit is transmitted. RTS deasserts one bit time after all characters in the transmitter data buffer(FIFO) and shift register are completely sent, including the last stop bit.</description>
  27211. <value>#1</value>
  27212. </enumeratedValue>
  27213. </enumeratedValues>
  27214. </field>
  27215. <field>
  27216. <name>TXRTSPOL</name>
  27217. <description>Transmitter request-to-send polarity</description>
  27218. <bitOffset>2</bitOffset>
  27219. <bitWidth>1</bitWidth>
  27220. <access>read-write</access>
  27221. <enumeratedValues>
  27222. <enumeratedValue>
  27223. <name>0</name>
  27224. <description>Transmitter RTS is active low.</description>
  27225. <value>#0</value>
  27226. </enumeratedValue>
  27227. <enumeratedValue>
  27228. <name>1</name>
  27229. <description>Transmitter RTS is active high.</description>
  27230. <value>#1</value>
  27231. </enumeratedValue>
  27232. </enumeratedValues>
  27233. </field>
  27234. <field>
  27235. <name>RXRTSE</name>
  27236. <description>Receiver request-to-send enable</description>
  27237. <bitOffset>3</bitOffset>
  27238. <bitWidth>1</bitWidth>
  27239. <access>read-write</access>
  27240. <enumeratedValues>
  27241. <enumeratedValue>
  27242. <name>0</name>
  27243. <description>The receiver has no effect on RTS.</description>
  27244. <value>#0</value>
  27245. </enumeratedValue>
  27246. <enumeratedValue>
  27247. <name>1</name>
  27248. <description>RTS is deasserted if the number of characters in the receiver data register (FIFO) is equal to or greater than RWFIFO[RXWATER]. RTS is asserted when the number of characters in the receiver data register (FIFO) is less than RWFIFO[RXWATER].</description>
  27249. <value>#1</value>
  27250. </enumeratedValue>
  27251. </enumeratedValues>
  27252. </field>
  27253. </fields>
  27254. </register>
  27255. <register>
  27256. <name>IR</name>
  27257. <description>UART Infrared Register</description>
  27258. <addressOffset>0xE</addressOffset>
  27259. <size>8</size>
  27260. <access>read-write</access>
  27261. <resetValue>0</resetValue>
  27262. <resetMask>0xFF</resetMask>
  27263. <fields>
  27264. <field>
  27265. <name>TNP</name>
  27266. <description>Transmitter narrow pulse</description>
  27267. <bitOffset>0</bitOffset>
  27268. <bitWidth>2</bitWidth>
  27269. <access>read-write</access>
  27270. <enumeratedValues>
  27271. <enumeratedValue>
  27272. <name>00</name>
  27273. <description>3/16.</description>
  27274. <value>#00</value>
  27275. </enumeratedValue>
  27276. <enumeratedValue>
  27277. <name>01</name>
  27278. <description>1/16.</description>
  27279. <value>#01</value>
  27280. </enumeratedValue>
  27281. <enumeratedValue>
  27282. <name>10</name>
  27283. <description>1/32.</description>
  27284. <value>#10</value>
  27285. </enumeratedValue>
  27286. <enumeratedValue>
  27287. <name>11</name>
  27288. <description>1/4.</description>
  27289. <value>#11</value>
  27290. </enumeratedValue>
  27291. </enumeratedValues>
  27292. </field>
  27293. <field>
  27294. <name>IREN</name>
  27295. <description>Infrared enable</description>
  27296. <bitOffset>2</bitOffset>
  27297. <bitWidth>1</bitWidth>
  27298. <access>read-write</access>
  27299. <enumeratedValues>
  27300. <enumeratedValue>
  27301. <name>0</name>
  27302. <description>IR disabled.</description>
  27303. <value>#0</value>
  27304. </enumeratedValue>
  27305. <enumeratedValue>
  27306. <name>1</name>
  27307. <description>IR enabled.</description>
  27308. <value>#1</value>
  27309. </enumeratedValue>
  27310. </enumeratedValues>
  27311. </field>
  27312. </fields>
  27313. </register>
  27314. <register>
  27315. <name>PFIFO</name>
  27316. <description>UART FIFO Parameters</description>
  27317. <addressOffset>0x10</addressOffset>
  27318. <size>8</size>
  27319. <access>read-write</access>
  27320. <resetValue>0</resetValue>
  27321. <resetMask>0xFF</resetMask>
  27322. <fields>
  27323. <field>
  27324. <name>RXFIFOSIZE</name>
  27325. <description>Receive FIFO. Buffer Depth</description>
  27326. <bitOffset>0</bitOffset>
  27327. <bitWidth>3</bitWidth>
  27328. <access>read-only</access>
  27329. <enumeratedValues>
  27330. <enumeratedValue>
  27331. <name>000</name>
  27332. <description>Receive FIFO/Buffer Depth = 1 Dataword.</description>
  27333. <value>#000</value>
  27334. </enumeratedValue>
  27335. <enumeratedValue>
  27336. <name>001</name>
  27337. <description>Receive FIFO/Buffer Depth = 4 Datawords.</description>
  27338. <value>#001</value>
  27339. </enumeratedValue>
  27340. <enumeratedValue>
  27341. <name>010</name>
  27342. <description>Receive FIFO/Buffer Depth = 8 Datawords.</description>
  27343. <value>#010</value>
  27344. </enumeratedValue>
  27345. <enumeratedValue>
  27346. <name>011</name>
  27347. <description>Receive FIFO/Buffer Depth = 16 Datawords.</description>
  27348. <value>#011</value>
  27349. </enumeratedValue>
  27350. <enumeratedValue>
  27351. <name>100</name>
  27352. <description>Receive FIFO/Buffer Depth = 32 Datawords.</description>
  27353. <value>#100</value>
  27354. </enumeratedValue>
  27355. <enumeratedValue>
  27356. <name>101</name>
  27357. <description>Receive FIFO/Buffer Depth = 64 Datawords.</description>
  27358. <value>#101</value>
  27359. </enumeratedValue>
  27360. <enumeratedValue>
  27361. <name>110</name>
  27362. <description>Receive FIFO/Buffer Depth = 128 Datawords.</description>
  27363. <value>#110</value>
  27364. </enumeratedValue>
  27365. </enumeratedValues>
  27366. </field>
  27367. <field>
  27368. <name>RXFE</name>
  27369. <description>Receive FIFO Enable</description>
  27370. <bitOffset>3</bitOffset>
  27371. <bitWidth>1</bitWidth>
  27372. <access>read-write</access>
  27373. <enumeratedValues>
  27374. <enumeratedValue>
  27375. <name>0</name>
  27376. <description>Receive FIFO is not enabled. Buffer is depth 1. (Legacy support)</description>
  27377. <value>#0</value>
  27378. </enumeratedValue>
  27379. <enumeratedValue>
  27380. <name>1</name>
  27381. <description>Receive FIFO is enabled. Buffer is depth indicted by RXFIFOSIZE.</description>
  27382. <value>#1</value>
  27383. </enumeratedValue>
  27384. </enumeratedValues>
  27385. </field>
  27386. <field>
  27387. <name>TXFIFOSIZE</name>
  27388. <description>Transmit FIFO. Buffer Depth</description>
  27389. <bitOffset>4</bitOffset>
  27390. <bitWidth>3</bitWidth>
  27391. <access>read-only</access>
  27392. <enumeratedValues>
  27393. <enumeratedValue>
  27394. <name>000</name>
  27395. <description>Transmit FIFO/Buffer Depth = 1 Dataword.</description>
  27396. <value>#000</value>
  27397. </enumeratedValue>
  27398. <enumeratedValue>
  27399. <name>001</name>
  27400. <description>Transmit FIFO/Buffer Depth = 4 Datawords.</description>
  27401. <value>#001</value>
  27402. </enumeratedValue>
  27403. <enumeratedValue>
  27404. <name>010</name>
  27405. <description>Transmit FIFO/Buffer Depth = 8 Datawords.</description>
  27406. <value>#010</value>
  27407. </enumeratedValue>
  27408. <enumeratedValue>
  27409. <name>011</name>
  27410. <description>Transmit FIFO/Buffer Depth = 16 Datawords.</description>
  27411. <value>#011</value>
  27412. </enumeratedValue>
  27413. <enumeratedValue>
  27414. <name>100</name>
  27415. <description>Transmit FIFO/Buffer Depth = 32 Datawords.</description>
  27416. <value>#100</value>
  27417. </enumeratedValue>
  27418. <enumeratedValue>
  27419. <name>101</name>
  27420. <description>Transmit FIFO/Buffer Depth = 64 Datawords.</description>
  27421. <value>#101</value>
  27422. </enumeratedValue>
  27423. <enumeratedValue>
  27424. <name>110</name>
  27425. <description>Transmit FIFO/Buffer Depth = 128 Datawords.</description>
  27426. <value>#110</value>
  27427. </enumeratedValue>
  27428. </enumeratedValues>
  27429. </field>
  27430. <field>
  27431. <name>TXFE</name>
  27432. <description>Transmit FIFO Enable</description>
  27433. <bitOffset>7</bitOffset>
  27434. <bitWidth>1</bitWidth>
  27435. <access>read-write</access>
  27436. <enumeratedValues>
  27437. <enumeratedValue>
  27438. <name>0</name>
  27439. <description>Transmit FIFO is not enabled. Buffer is depth 1. (Legacy support).</description>
  27440. <value>#0</value>
  27441. </enumeratedValue>
  27442. <enumeratedValue>
  27443. <name>1</name>
  27444. <description>Transmit FIFO is enabled. Buffer is depth indicted by TXFIFOSIZE.</description>
  27445. <value>#1</value>
  27446. </enumeratedValue>
  27447. </enumeratedValues>
  27448. </field>
  27449. </fields>
  27450. </register>
  27451. <register>
  27452. <name>CFIFO</name>
  27453. <description>UART FIFO Control Register</description>
  27454. <addressOffset>0x11</addressOffset>
  27455. <size>8</size>
  27456. <access>read-write</access>
  27457. <resetValue>0</resetValue>
  27458. <resetMask>0xFF</resetMask>
  27459. <fields>
  27460. <field>
  27461. <name>RXUFE</name>
  27462. <description>Receive FIFO Underflow Interrupt Enable</description>
  27463. <bitOffset>0</bitOffset>
  27464. <bitWidth>1</bitWidth>
  27465. <access>read-write</access>
  27466. <enumeratedValues>
  27467. <enumeratedValue>
  27468. <name>0</name>
  27469. <description>RXUF flag does not generate an interrupt to the host.</description>
  27470. <value>#0</value>
  27471. </enumeratedValue>
  27472. <enumeratedValue>
  27473. <name>1</name>
  27474. <description>RXUF flag generates an interrupt to the host.</description>
  27475. <value>#1</value>
  27476. </enumeratedValue>
  27477. </enumeratedValues>
  27478. </field>
  27479. <field>
  27480. <name>TXOFE</name>
  27481. <description>Transmit FIFO Overflow Interrupt Enable</description>
  27482. <bitOffset>1</bitOffset>
  27483. <bitWidth>1</bitWidth>
  27484. <access>read-write</access>
  27485. <enumeratedValues>
  27486. <enumeratedValue>
  27487. <name>0</name>
  27488. <description>TXOF flag does not generate an interrupt to the host.</description>
  27489. <value>#0</value>
  27490. </enumeratedValue>
  27491. <enumeratedValue>
  27492. <name>1</name>
  27493. <description>TXOF flag generates an interrupt to the host.</description>
  27494. <value>#1</value>
  27495. </enumeratedValue>
  27496. </enumeratedValues>
  27497. </field>
  27498. <field>
  27499. <name>RXFLUSH</name>
  27500. <description>Receive FIFO/Buffer Flush</description>
  27501. <bitOffset>6</bitOffset>
  27502. <bitWidth>1</bitWidth>
  27503. <access>write-only</access>
  27504. <enumeratedValues>
  27505. <enumeratedValue>
  27506. <name>0</name>
  27507. <description>No flush operation occurs.</description>
  27508. <value>#0</value>
  27509. </enumeratedValue>
  27510. <enumeratedValue>
  27511. <name>1</name>
  27512. <description>All data in the receive FIFO/buffer is cleared out.</description>
  27513. <value>#1</value>
  27514. </enumeratedValue>
  27515. </enumeratedValues>
  27516. </field>
  27517. <field>
  27518. <name>TXFLUSH</name>
  27519. <description>Transmit FIFO/Buffer Flush</description>
  27520. <bitOffset>7</bitOffset>
  27521. <bitWidth>1</bitWidth>
  27522. <access>write-only</access>
  27523. <enumeratedValues>
  27524. <enumeratedValue>
  27525. <name>0</name>
  27526. <description>No flush operation occurs.</description>
  27527. <value>#0</value>
  27528. </enumeratedValue>
  27529. <enumeratedValue>
  27530. <name>1</name>
  27531. <description>All data in the transmit FIFO/Buffer is cleared out.</description>
  27532. <value>#1</value>
  27533. </enumeratedValue>
  27534. </enumeratedValues>
  27535. </field>
  27536. </fields>
  27537. </register>
  27538. <register>
  27539. <name>SFIFO</name>
  27540. <description>UART FIFO Status Register</description>
  27541. <addressOffset>0x12</addressOffset>
  27542. <size>8</size>
  27543. <access>read-write</access>
  27544. <resetValue>0xC0</resetValue>
  27545. <resetMask>0xFF</resetMask>
  27546. <fields>
  27547. <field>
  27548. <name>RXUF</name>
  27549. <description>Receiver Buffer Underflow Flag</description>
  27550. <bitOffset>0</bitOffset>
  27551. <bitWidth>1</bitWidth>
  27552. <access>read-write</access>
  27553. <enumeratedValues>
  27554. <enumeratedValue>
  27555. <name>0</name>
  27556. <description>No receive buffer underflow has occurred since the last time the flag was cleared.</description>
  27557. <value>#0</value>
  27558. </enumeratedValue>
  27559. <enumeratedValue>
  27560. <name>1</name>
  27561. <description>At least one receive buffer underflow has occurred since the last time the flag was cleared.</description>
  27562. <value>#1</value>
  27563. </enumeratedValue>
  27564. </enumeratedValues>
  27565. </field>
  27566. <field>
  27567. <name>TXOF</name>
  27568. <description>Transmitter Buffer Overflow Flag</description>
  27569. <bitOffset>1</bitOffset>
  27570. <bitWidth>1</bitWidth>
  27571. <access>read-write</access>
  27572. <enumeratedValues>
  27573. <enumeratedValue>
  27574. <name>0</name>
  27575. <description>No transmit buffer overflow has occurred since the last time the flag was cleared.</description>
  27576. <value>#0</value>
  27577. </enumeratedValue>
  27578. <enumeratedValue>
  27579. <name>1</name>
  27580. <description>At least one transmit buffer overflow has occurred since the last time the flag was cleared.</description>
  27581. <value>#1</value>
  27582. </enumeratedValue>
  27583. </enumeratedValues>
  27584. </field>
  27585. <field>
  27586. <name>RXEMPT</name>
  27587. <description>Receive Buffer/FIFO Empty</description>
  27588. <bitOffset>6</bitOffset>
  27589. <bitWidth>1</bitWidth>
  27590. <access>read-only</access>
  27591. <enumeratedValues>
  27592. <enumeratedValue>
  27593. <name>0</name>
  27594. <description>Receive buffer is not empty.</description>
  27595. <value>#0</value>
  27596. </enumeratedValue>
  27597. <enumeratedValue>
  27598. <name>1</name>
  27599. <description>Receive buffer is empty.</description>
  27600. <value>#1</value>
  27601. </enumeratedValue>
  27602. </enumeratedValues>
  27603. </field>
  27604. <field>
  27605. <name>TXEMPT</name>
  27606. <description>Transmit Buffer/FIFO Empty</description>
  27607. <bitOffset>7</bitOffset>
  27608. <bitWidth>1</bitWidth>
  27609. <access>read-only</access>
  27610. <enumeratedValues>
  27611. <enumeratedValue>
  27612. <name>0</name>
  27613. <description>Transmit buffer is not empty.</description>
  27614. <value>#0</value>
  27615. </enumeratedValue>
  27616. <enumeratedValue>
  27617. <name>1</name>
  27618. <description>Transmit buffer is empty.</description>
  27619. <value>#1</value>
  27620. </enumeratedValue>
  27621. </enumeratedValues>
  27622. </field>
  27623. </fields>
  27624. </register>
  27625. <register>
  27626. <name>TWFIFO</name>
  27627. <description>UART FIFO Transmit Watermark</description>
  27628. <addressOffset>0x13</addressOffset>
  27629. <size>8</size>
  27630. <access>read-write</access>
  27631. <resetValue>0</resetValue>
  27632. <resetMask>0xFF</resetMask>
  27633. <fields>
  27634. <field>
  27635. <name>TXWATER</name>
  27636. <description>Transmit Watermark</description>
  27637. <bitOffset>0</bitOffset>
  27638. <bitWidth>8</bitWidth>
  27639. <access>read-write</access>
  27640. </field>
  27641. </fields>
  27642. </register>
  27643. <register>
  27644. <name>TCFIFO</name>
  27645. <description>UART FIFO Transmit Count</description>
  27646. <addressOffset>0x14</addressOffset>
  27647. <size>8</size>
  27648. <access>read-only</access>
  27649. <resetValue>0</resetValue>
  27650. <resetMask>0xFF</resetMask>
  27651. <fields>
  27652. <field>
  27653. <name>TXCOUNT</name>
  27654. <description>Transmit Counter</description>
  27655. <bitOffset>0</bitOffset>
  27656. <bitWidth>8</bitWidth>
  27657. <access>read-only</access>
  27658. </field>
  27659. </fields>
  27660. </register>
  27661. <register>
  27662. <name>RWFIFO</name>
  27663. <description>UART FIFO Receive Watermark</description>
  27664. <addressOffset>0x15</addressOffset>
  27665. <size>8</size>
  27666. <access>read-write</access>
  27667. <resetValue>0x1</resetValue>
  27668. <resetMask>0xFF</resetMask>
  27669. <fields>
  27670. <field>
  27671. <name>RXWATER</name>
  27672. <description>Receive Watermark</description>
  27673. <bitOffset>0</bitOffset>
  27674. <bitWidth>8</bitWidth>
  27675. <access>read-write</access>
  27676. </field>
  27677. </fields>
  27678. </register>
  27679. <register>
  27680. <name>RCFIFO</name>
  27681. <description>UART FIFO Receive Count</description>
  27682. <addressOffset>0x16</addressOffset>
  27683. <size>8</size>
  27684. <access>read-only</access>
  27685. <resetValue>0</resetValue>
  27686. <resetMask>0xFF</resetMask>
  27687. <fields>
  27688. <field>
  27689. <name>RXCOUNT</name>
  27690. <description>Receive Counter</description>
  27691. <bitOffset>0</bitOffset>
  27692. <bitWidth>8</bitWidth>
  27693. <access>read-only</access>
  27694. </field>
  27695. </fields>
  27696. </register>
  27697. <register>
  27698. <name>C7816</name>
  27699. <description>UART 7816 Control Register</description>
  27700. <addressOffset>0x18</addressOffset>
  27701. <size>8</size>
  27702. <access>read-write</access>
  27703. <resetValue>0</resetValue>
  27704. <resetMask>0xFF</resetMask>
  27705. <fields>
  27706. <field>
  27707. <name>ISO_7816E</name>
  27708. <description>ISO-7816 Functionality Enabled</description>
  27709. <bitOffset>0</bitOffset>
  27710. <bitWidth>1</bitWidth>
  27711. <access>read-write</access>
  27712. <enumeratedValues>
  27713. <enumeratedValue>
  27714. <name>0</name>
  27715. <description>ISO-7816 functionality is turned off / not enabled.</description>
  27716. <value>#0</value>
  27717. </enumeratedValue>
  27718. <enumeratedValue>
  27719. <name>1</name>
  27720. <description>ISO-7816 functionality is turned on / enabled.</description>
  27721. <value>#1</value>
  27722. </enumeratedValue>
  27723. </enumeratedValues>
  27724. </field>
  27725. <field>
  27726. <name>TTYPE</name>
  27727. <description>Transfer Type</description>
  27728. <bitOffset>1</bitOffset>
  27729. <bitWidth>1</bitWidth>
  27730. <access>read-write</access>
  27731. <enumeratedValues>
  27732. <enumeratedValue>
  27733. <name>0</name>
  27734. <description>T = 0 Per the ISO-7816 specification.</description>
  27735. <value>#0</value>
  27736. </enumeratedValue>
  27737. <enumeratedValue>
  27738. <name>1</name>
  27739. <description>T = 1 Per the ISO-7816 specification.</description>
  27740. <value>#1</value>
  27741. </enumeratedValue>
  27742. </enumeratedValues>
  27743. </field>
  27744. <field>
  27745. <name>INIT</name>
  27746. <description>Detect Initial Character</description>
  27747. <bitOffset>2</bitOffset>
  27748. <bitWidth>1</bitWidth>
  27749. <access>read-write</access>
  27750. <enumeratedValues>
  27751. <enumeratedValue>
  27752. <name>0</name>
  27753. <description>Normal operating mode. Receiver does not seek to identify initial character.</description>
  27754. <value>#0</value>
  27755. </enumeratedValue>
  27756. <enumeratedValue>
  27757. <name>1</name>
  27758. <description>Receiver searches for initial character.</description>
  27759. <value>#1</value>
  27760. </enumeratedValue>
  27761. </enumeratedValues>
  27762. </field>
  27763. <field>
  27764. <name>ANACK</name>
  27765. <description>Generate NACK on Error</description>
  27766. <bitOffset>3</bitOffset>
  27767. <bitWidth>1</bitWidth>
  27768. <access>read-write</access>
  27769. <enumeratedValues>
  27770. <enumeratedValue>
  27771. <name>0</name>
  27772. <description>No NACK is automatically generated.</description>
  27773. <value>#0</value>
  27774. </enumeratedValue>
  27775. <enumeratedValue>
  27776. <name>1</name>
  27777. <description>A NACK is automatically generated if a parity error is detected or if an invalid initial character is detected.</description>
  27778. <value>#1</value>
  27779. </enumeratedValue>
  27780. </enumeratedValues>
  27781. </field>
  27782. <field>
  27783. <name>ONACK</name>
  27784. <description>Generate NACK on Overflow</description>
  27785. <bitOffset>4</bitOffset>
  27786. <bitWidth>1</bitWidth>
  27787. <access>read-write</access>
  27788. <enumeratedValues>
  27789. <enumeratedValue>
  27790. <name>0</name>
  27791. <description>The received data does not generate a NACK when the receipt of the data results in an overflow event.</description>
  27792. <value>#0</value>
  27793. </enumeratedValue>
  27794. <enumeratedValue>
  27795. <name>1</name>
  27796. <description>If the receiver buffer overflows, a NACK is automatically sent on a received character.</description>
  27797. <value>#1</value>
  27798. </enumeratedValue>
  27799. </enumeratedValues>
  27800. </field>
  27801. </fields>
  27802. </register>
  27803. <register>
  27804. <name>IE7816</name>
  27805. <description>UART 7816 Interrupt Enable Register</description>
  27806. <addressOffset>0x19</addressOffset>
  27807. <size>8</size>
  27808. <access>read-write</access>
  27809. <resetValue>0</resetValue>
  27810. <resetMask>0xFF</resetMask>
  27811. <fields>
  27812. <field>
  27813. <name>RXTE</name>
  27814. <description>Receive Threshold Exceeded Interrupt Enable</description>
  27815. <bitOffset>0</bitOffset>
  27816. <bitWidth>1</bitWidth>
  27817. <access>read-write</access>
  27818. <enumeratedValues>
  27819. <enumeratedValue>
  27820. <name>0</name>
  27821. <description>The assertion of the IS7816[RXT] bit will not result in the generation of an interrupt.</description>
  27822. <value>#0</value>
  27823. </enumeratedValue>
  27824. <enumeratedValue>
  27825. <name>1</name>
  27826. <description>The assertion of the IS7816[RXT] bit will result in the generation of an interrupt.</description>
  27827. <value>#1</value>
  27828. </enumeratedValue>
  27829. </enumeratedValues>
  27830. </field>
  27831. <field>
  27832. <name>TXTE</name>
  27833. <description>Transmit Threshold Exceeded Interrupt Enable</description>
  27834. <bitOffset>1</bitOffset>
  27835. <bitWidth>1</bitWidth>
  27836. <access>read-write</access>
  27837. <enumeratedValues>
  27838. <enumeratedValue>
  27839. <name>0</name>
  27840. <description>The assertion of the IS7816[TXT] bit will not result in the generation of an interrupt.</description>
  27841. <value>#0</value>
  27842. </enumeratedValue>
  27843. <enumeratedValue>
  27844. <name>1</name>
  27845. <description>The assertion of the IS7816[TXT] bit will result in the generation of an interrupt.</description>
  27846. <value>#1</value>
  27847. </enumeratedValue>
  27848. </enumeratedValues>
  27849. </field>
  27850. <field>
  27851. <name>GTVE</name>
  27852. <description>Guard Timer Violated Interrupt Enable</description>
  27853. <bitOffset>2</bitOffset>
  27854. <bitWidth>1</bitWidth>
  27855. <access>read-write</access>
  27856. <enumeratedValues>
  27857. <enumeratedValue>
  27858. <name>0</name>
  27859. <description>The assertion of the IS7816[GTV] bit will not result in the generation of an interrupt.</description>
  27860. <value>#0</value>
  27861. </enumeratedValue>
  27862. <enumeratedValue>
  27863. <name>1</name>
  27864. <description>The assertion of the IS7816[GTV] bit will result in the generation of an interrupt.</description>
  27865. <value>#1</value>
  27866. </enumeratedValue>
  27867. </enumeratedValues>
  27868. </field>
  27869. <field>
  27870. <name>INITDE</name>
  27871. <description>Initial Character Detected Interrupt Enable</description>
  27872. <bitOffset>4</bitOffset>
  27873. <bitWidth>1</bitWidth>
  27874. <access>read-write</access>
  27875. <enumeratedValues>
  27876. <enumeratedValue>
  27877. <name>0</name>
  27878. <description>The assertion of the IS7816[INITD] bit will not result in the generation of an interrupt.</description>
  27879. <value>#0</value>
  27880. </enumeratedValue>
  27881. <enumeratedValue>
  27882. <name>1</name>
  27883. <description>The assertion of the IS7816[INITD] bit will result in the generation of an interrupt.</description>
  27884. <value>#1</value>
  27885. </enumeratedValue>
  27886. </enumeratedValues>
  27887. </field>
  27888. <field>
  27889. <name>BWTE</name>
  27890. <description>Block Wait Timer Interrupt Enable</description>
  27891. <bitOffset>5</bitOffset>
  27892. <bitWidth>1</bitWidth>
  27893. <access>read-write</access>
  27894. <enumeratedValues>
  27895. <enumeratedValue>
  27896. <name>0</name>
  27897. <description>The assertion of the IS7816[BWT] bit will not result in the generation of an interrupt.</description>
  27898. <value>#0</value>
  27899. </enumeratedValue>
  27900. <enumeratedValue>
  27901. <name>1</name>
  27902. <description>The assertion of the IS7816[BWT] bit will result in the generation of an interrupt.</description>
  27903. <value>#1</value>
  27904. </enumeratedValue>
  27905. </enumeratedValues>
  27906. </field>
  27907. <field>
  27908. <name>CWTE</name>
  27909. <description>Character Wait Timer Interrupt Enable</description>
  27910. <bitOffset>6</bitOffset>
  27911. <bitWidth>1</bitWidth>
  27912. <access>read-write</access>
  27913. <enumeratedValues>
  27914. <enumeratedValue>
  27915. <name>0</name>
  27916. <description>The assertion of the IS7816[CWT] bit will not result in the generation of an interrupt.</description>
  27917. <value>#0</value>
  27918. </enumeratedValue>
  27919. <enumeratedValue>
  27920. <name>1</name>
  27921. <description>The assertion of the IS7816[CWT] bit will result in the generation of an interrupt.</description>
  27922. <value>#1</value>
  27923. </enumeratedValue>
  27924. </enumeratedValues>
  27925. </field>
  27926. <field>
  27927. <name>WTE</name>
  27928. <description>Wait Timer Interrupt Enable</description>
  27929. <bitOffset>7</bitOffset>
  27930. <bitWidth>1</bitWidth>
  27931. <access>read-write</access>
  27932. <enumeratedValues>
  27933. <enumeratedValue>
  27934. <name>0</name>
  27935. <description>The assertion of the IS7816[WT] bit will not result in the generation of an interrupt.</description>
  27936. <value>#0</value>
  27937. </enumeratedValue>
  27938. <enumeratedValue>
  27939. <name>1</name>
  27940. <description>The assertion of the IS7816[WT] bit will result in the generation of an interrupt.</description>
  27941. <value>#1</value>
  27942. </enumeratedValue>
  27943. </enumeratedValues>
  27944. </field>
  27945. </fields>
  27946. </register>
  27947. <register>
  27948. <name>IS7816</name>
  27949. <description>UART 7816 Interrupt Status Register</description>
  27950. <addressOffset>0x1A</addressOffset>
  27951. <size>8</size>
  27952. <access>read-write</access>
  27953. <resetValue>0</resetValue>
  27954. <resetMask>0xFF</resetMask>
  27955. <fields>
  27956. <field>
  27957. <name>RXT</name>
  27958. <description>Receive Threshold Exceeded Interrupt</description>
  27959. <bitOffset>0</bitOffset>
  27960. <bitWidth>1</bitWidth>
  27961. <access>read-write</access>
  27962. <enumeratedValues>
  27963. <enumeratedValue>
  27964. <name>0</name>
  27965. <description>The number of consecutive NACKS generated as a result of parity errors and buffer overruns is less than or equal to the value in ET7816[RXTHRESHOLD].</description>
  27966. <value>#0</value>
  27967. </enumeratedValue>
  27968. <enumeratedValue>
  27969. <name>1</name>
  27970. <description>The number of consecutive NACKS generated as a result of parity errors and buffer overruns is greater than the value in ET7816[RXTHRESHOLD].</description>
  27971. <value>#1</value>
  27972. </enumeratedValue>
  27973. </enumeratedValues>
  27974. </field>
  27975. <field>
  27976. <name>TXT</name>
  27977. <description>Transmit Threshold Exceeded Interrupt</description>
  27978. <bitOffset>1</bitOffset>
  27979. <bitWidth>1</bitWidth>
  27980. <access>read-write</access>
  27981. <enumeratedValues>
  27982. <enumeratedValue>
  27983. <name>0</name>
  27984. <description>The number of retries and corresponding NACKS does not exceed the value in the ET7816[TXTHRESHOLD] field.</description>
  27985. <value>#0</value>
  27986. </enumeratedValue>
  27987. <enumeratedValue>
  27988. <name>1</name>
  27989. <description>The number of retries and corresponding NACKS exceeds the value in the ET7816[TXTHRESHOLD] field.</description>
  27990. <value>#1</value>
  27991. </enumeratedValue>
  27992. </enumeratedValues>
  27993. </field>
  27994. <field>
  27995. <name>GTV</name>
  27996. <description>Guard Timer Violated Interrupt</description>
  27997. <bitOffset>2</bitOffset>
  27998. <bitWidth>1</bitWidth>
  27999. <access>read-write</access>
  28000. <enumeratedValues>
  28001. <enumeratedValue>
  28002. <name>0</name>
  28003. <description>A guard time (GT, CGT or BGT) has not been violated.</description>
  28004. <value>#0</value>
  28005. </enumeratedValue>
  28006. <enumeratedValue>
  28007. <name>1</name>
  28008. <description>A guard time (GT, CGT or BGT) has been violated.</description>
  28009. <value>#1</value>
  28010. </enumeratedValue>
  28011. </enumeratedValues>
  28012. </field>
  28013. <field>
  28014. <name>INITD</name>
  28015. <description>Initial Character Detected Interrupt</description>
  28016. <bitOffset>4</bitOffset>
  28017. <bitWidth>1</bitWidth>
  28018. <access>read-write</access>
  28019. <enumeratedValues>
  28020. <enumeratedValue>
  28021. <name>0</name>
  28022. <description>A valid initial character has not been received.</description>
  28023. <value>#0</value>
  28024. </enumeratedValue>
  28025. <enumeratedValue>
  28026. <name>1</name>
  28027. <description>A valid initial character has been received.</description>
  28028. <value>#1</value>
  28029. </enumeratedValue>
  28030. </enumeratedValues>
  28031. </field>
  28032. <field>
  28033. <name>BWT</name>
  28034. <description>Block Wait Timer Interrupt</description>
  28035. <bitOffset>5</bitOffset>
  28036. <bitWidth>1</bitWidth>
  28037. <access>read-write</access>
  28038. <enumeratedValues>
  28039. <enumeratedValue>
  28040. <name>0</name>
  28041. <description>Block wait time (BWT) has not been violated.</description>
  28042. <value>#0</value>
  28043. </enumeratedValue>
  28044. <enumeratedValue>
  28045. <name>1</name>
  28046. <description>Block wait tTime (BWT) has been violated.</description>
  28047. <value>#1</value>
  28048. </enumeratedValue>
  28049. </enumeratedValues>
  28050. </field>
  28051. <field>
  28052. <name>CWT</name>
  28053. <description>Character Wait Timer Interrupt</description>
  28054. <bitOffset>6</bitOffset>
  28055. <bitWidth>1</bitWidth>
  28056. <access>read-write</access>
  28057. <enumeratedValues>
  28058. <enumeratedValue>
  28059. <name>0</name>
  28060. <description>Character wait time (CWT) has not been violated.</description>
  28061. <value>#0</value>
  28062. </enumeratedValue>
  28063. <enumeratedValue>
  28064. <name>1</name>
  28065. <description>Character wait time (CWT) has been violated.</description>
  28066. <value>#1</value>
  28067. </enumeratedValue>
  28068. </enumeratedValues>
  28069. </field>
  28070. <field>
  28071. <name>WT</name>
  28072. <description>Wait Timer Interrupt</description>
  28073. <bitOffset>7</bitOffset>
  28074. <bitWidth>1</bitWidth>
  28075. <access>read-write</access>
  28076. <enumeratedValues>
  28077. <enumeratedValue>
  28078. <name>0</name>
  28079. <description>Wait time (WT) has not been violated.</description>
  28080. <value>#0</value>
  28081. </enumeratedValue>
  28082. <enumeratedValue>
  28083. <name>1</name>
  28084. <description>Wait time (WT) has been violated.</description>
  28085. <value>#1</value>
  28086. </enumeratedValue>
  28087. </enumeratedValues>
  28088. </field>
  28089. </fields>
  28090. </register>
  28091. <register>
  28092. <name>WP7816T0</name>
  28093. <description>UART 7816 Wait Parameter Register</description>
  28094. <alternateGroup>UART0</alternateGroup>
  28095. <addressOffset>0x1B</addressOffset>
  28096. <size>8</size>
  28097. <access>read-write</access>
  28098. <resetValue>0xA</resetValue>
  28099. <resetMask>0xFF</resetMask>
  28100. <fields>
  28101. <field>
  28102. <name>WI</name>
  28103. <description>Wait Timer Interrupt (C7816[TTYPE] = 0)</description>
  28104. <bitOffset>0</bitOffset>
  28105. <bitWidth>8</bitWidth>
  28106. <access>read-write</access>
  28107. </field>
  28108. </fields>
  28109. </register>
  28110. <register>
  28111. <name>WP7816T1</name>
  28112. <description>UART 7816 Wait Parameter Register</description>
  28113. <alternateGroup>UART0</alternateGroup>
  28114. <addressOffset>0x1B</addressOffset>
  28115. <size>8</size>
  28116. <access>read-write</access>
  28117. <resetValue>0xA</resetValue>
  28118. <resetMask>0xFF</resetMask>
  28119. <fields>
  28120. <field>
  28121. <name>BWI</name>
  28122. <description>Block Wait Time Integer(C7816[TTYPE] = 1)</description>
  28123. <bitOffset>0</bitOffset>
  28124. <bitWidth>4</bitWidth>
  28125. <access>read-write</access>
  28126. </field>
  28127. <field>
  28128. <name>CWI</name>
  28129. <description>Character Wait Time Integer (C7816[TTYPE] = 1)</description>
  28130. <bitOffset>4</bitOffset>
  28131. <bitWidth>4</bitWidth>
  28132. <access>read-write</access>
  28133. </field>
  28134. </fields>
  28135. </register>
  28136. <register>
  28137. <name>WN7816</name>
  28138. <description>UART 7816 Wait N Register</description>
  28139. <addressOffset>0x1C</addressOffset>
  28140. <size>8</size>
  28141. <access>read-write</access>
  28142. <resetValue>0</resetValue>
  28143. <resetMask>0xFF</resetMask>
  28144. <fields>
  28145. <field>
  28146. <name>GTN</name>
  28147. <description>Guard Band N</description>
  28148. <bitOffset>0</bitOffset>
  28149. <bitWidth>8</bitWidth>
  28150. <access>read-write</access>
  28151. </field>
  28152. </fields>
  28153. </register>
  28154. <register>
  28155. <name>WF7816</name>
  28156. <description>UART 7816 Wait FD Register</description>
  28157. <addressOffset>0x1D</addressOffset>
  28158. <size>8</size>
  28159. <access>read-write</access>
  28160. <resetValue>0x1</resetValue>
  28161. <resetMask>0xFF</resetMask>
  28162. <fields>
  28163. <field>
  28164. <name>GTFD</name>
  28165. <description>FD Multiplier</description>
  28166. <bitOffset>0</bitOffset>
  28167. <bitWidth>8</bitWidth>
  28168. <access>read-write</access>
  28169. </field>
  28170. </fields>
  28171. </register>
  28172. <register>
  28173. <name>ET7816</name>
  28174. <description>UART 7816 Error Threshold Register</description>
  28175. <addressOffset>0x1E</addressOffset>
  28176. <size>8</size>
  28177. <access>read-write</access>
  28178. <resetValue>0</resetValue>
  28179. <resetMask>0xFF</resetMask>
  28180. <fields>
  28181. <field>
  28182. <name>RXTHRESHOLD</name>
  28183. <description>Receive NACK Threshold</description>
  28184. <bitOffset>0</bitOffset>
  28185. <bitWidth>4</bitWidth>
  28186. <access>read-write</access>
  28187. </field>
  28188. <field>
  28189. <name>TXTHRESHOLD</name>
  28190. <description>Transmit NACK Threshold</description>
  28191. <bitOffset>4</bitOffset>
  28192. <bitWidth>4</bitWidth>
  28193. <access>read-write</access>
  28194. </field>
  28195. </fields>
  28196. </register>
  28197. <register>
  28198. <name>TL7816</name>
  28199. <description>UART 7816 Transmit Length Register</description>
  28200. <addressOffset>0x1F</addressOffset>
  28201. <size>8</size>
  28202. <access>read-write</access>
  28203. <resetValue>0</resetValue>
  28204. <resetMask>0xFF</resetMask>
  28205. <fields>
  28206. <field>
  28207. <name>TLEN</name>
  28208. <description>Transmit Length</description>
  28209. <bitOffset>0</bitOffset>
  28210. <bitWidth>8</bitWidth>
  28211. <access>read-write</access>
  28212. </field>
  28213. </fields>
  28214. </register>
  28215. <register>
  28216. <name>C6</name>
  28217. <description>UART CEA709.1-B Control Register 6</description>
  28218. <addressOffset>0x21</addressOffset>
  28219. <size>8</size>
  28220. <access>read-write</access>
  28221. <resetValue>0</resetValue>
  28222. <resetMask>0xFF</resetMask>
  28223. <fields>
  28224. <field>
  28225. <name>CP</name>
  28226. <description>Collision Signal Polarity</description>
  28227. <bitOffset>4</bitOffset>
  28228. <bitWidth>1</bitWidth>
  28229. <access>read-write</access>
  28230. <enumeratedValues>
  28231. <enumeratedValue>
  28232. <name>0</name>
  28233. <description>Collision signal is active low.</description>
  28234. <value>#0</value>
  28235. </enumeratedValue>
  28236. <enumeratedValue>
  28237. <name>1</name>
  28238. <description>Collision signal is active high.</description>
  28239. <value>#1</value>
  28240. </enumeratedValue>
  28241. </enumeratedValues>
  28242. </field>
  28243. <field>
  28244. <name>CE</name>
  28245. <description>Collision Enable</description>
  28246. <bitOffset>5</bitOffset>
  28247. <bitWidth>1</bitWidth>
  28248. <access>read-write</access>
  28249. <enumeratedValues>
  28250. <enumeratedValue>
  28251. <name>0</name>
  28252. <description>Collision detect feature is disabled.</description>
  28253. <value>#0</value>
  28254. </enumeratedValue>
  28255. <enumeratedValue>
  28256. <name>1</name>
  28257. <description>Collision detect feature is enabled.</description>
  28258. <value>#1</value>
  28259. </enumeratedValue>
  28260. </enumeratedValues>
  28261. </field>
  28262. <field>
  28263. <name>TX709</name>
  28264. <description>CEA709.1-B Transmit Enable</description>
  28265. <bitOffset>6</bitOffset>
  28266. <bitWidth>1</bitWidth>
  28267. <access>read-write</access>
  28268. <enumeratedValues>
  28269. <enumeratedValue>
  28270. <name>0</name>
  28271. <description>CEA709.1-B transmitter is disabled.</description>
  28272. <value>#0</value>
  28273. </enumeratedValue>
  28274. <enumeratedValue>
  28275. <name>1</name>
  28276. <description>CEA709.1-B transmitter is enabled.</description>
  28277. <value>#1</value>
  28278. </enumeratedValue>
  28279. </enumeratedValues>
  28280. </field>
  28281. <field>
  28282. <name>EN709</name>
  28283. <description>EN709</description>
  28284. <bitOffset>7</bitOffset>
  28285. <bitWidth>1</bitWidth>
  28286. <access>read-write</access>
  28287. <enumeratedValues>
  28288. <enumeratedValue>
  28289. <name>0</name>
  28290. <description>CEA709.1-B is disabled.</description>
  28291. <value>#0</value>
  28292. </enumeratedValue>
  28293. <enumeratedValue>
  28294. <name>1</name>
  28295. <description>CEA709.1-B is enabled</description>
  28296. <value>#1</value>
  28297. </enumeratedValue>
  28298. </enumeratedValues>
  28299. </field>
  28300. </fields>
  28301. </register>
  28302. <register>
  28303. <name>PCTH</name>
  28304. <description>UART CEA709.1-B Packet Cycle Time Counter High</description>
  28305. <addressOffset>0x22</addressOffset>
  28306. <size>8</size>
  28307. <access>read-write</access>
  28308. <resetValue>0</resetValue>
  28309. <resetMask>0xFF</resetMask>
  28310. <fields>
  28311. <field>
  28312. <name>PCTH</name>
  28313. <description>Packet Cycle Time Counter High</description>
  28314. <bitOffset>0</bitOffset>
  28315. <bitWidth>8</bitWidth>
  28316. <access>read-write</access>
  28317. </field>
  28318. </fields>
  28319. </register>
  28320. <register>
  28321. <name>PCTL</name>
  28322. <description>UART CEA709.1-B Packet Cycle Time Counter Low</description>
  28323. <addressOffset>0x23</addressOffset>
  28324. <size>8</size>
  28325. <access>read-write</access>
  28326. <resetValue>0</resetValue>
  28327. <resetMask>0xFF</resetMask>
  28328. <fields>
  28329. <field>
  28330. <name>PCTL</name>
  28331. <description>Packet Cycle Time Counter Low</description>
  28332. <bitOffset>0</bitOffset>
  28333. <bitWidth>8</bitWidth>
  28334. <access>read-write</access>
  28335. </field>
  28336. </fields>
  28337. </register>
  28338. <register>
  28339. <name>B1T</name>
  28340. <description>UART CEA709.1-B Beta1 Timer</description>
  28341. <addressOffset>0x24</addressOffset>
  28342. <size>8</size>
  28343. <access>read-write</access>
  28344. <resetValue>0</resetValue>
  28345. <resetMask>0xFF</resetMask>
  28346. <fields>
  28347. <field>
  28348. <name>B1T</name>
  28349. <description>Beta1 Timer</description>
  28350. <bitOffset>0</bitOffset>
  28351. <bitWidth>8</bitWidth>
  28352. <access>read-write</access>
  28353. </field>
  28354. </fields>
  28355. </register>
  28356. <register>
  28357. <name>SDTH</name>
  28358. <description>UART CEA709.1-B Secondary Delay Timer High</description>
  28359. <addressOffset>0x25</addressOffset>
  28360. <size>8</size>
  28361. <access>read-write</access>
  28362. <resetValue>0</resetValue>
  28363. <resetMask>0xFF</resetMask>
  28364. <fields>
  28365. <field>
  28366. <name>SDTH</name>
  28367. <description>Secondary Delay Timer High</description>
  28368. <bitOffset>0</bitOffset>
  28369. <bitWidth>8</bitWidth>
  28370. <access>read-write</access>
  28371. </field>
  28372. </fields>
  28373. </register>
  28374. <register>
  28375. <name>SDTL</name>
  28376. <description>UART CEA709.1-B Secondary Delay Timer Low</description>
  28377. <addressOffset>0x26</addressOffset>
  28378. <size>8</size>
  28379. <access>read-write</access>
  28380. <resetValue>0</resetValue>
  28381. <resetMask>0xFF</resetMask>
  28382. <fields>
  28383. <field>
  28384. <name>SDTL</name>
  28385. <description>Secondary Delay Timer Low</description>
  28386. <bitOffset>0</bitOffset>
  28387. <bitWidth>8</bitWidth>
  28388. <access>read-write</access>
  28389. </field>
  28390. </fields>
  28391. </register>
  28392. <register>
  28393. <name>PRE</name>
  28394. <description>UART CEA709.1-B Preamble</description>
  28395. <addressOffset>0x27</addressOffset>
  28396. <size>8</size>
  28397. <access>read-write</access>
  28398. <resetValue>0</resetValue>
  28399. <resetMask>0xFF</resetMask>
  28400. <fields>
  28401. <field>
  28402. <name>PREAMBLE</name>
  28403. <description>CEA709.1-B Preamble Register</description>
  28404. <bitOffset>0</bitOffset>
  28405. <bitWidth>8</bitWidth>
  28406. <access>read-write</access>
  28407. </field>
  28408. </fields>
  28409. </register>
  28410. <register>
  28411. <name>TPL</name>
  28412. <description>UART CEA709.1-B Transmit Packet Length</description>
  28413. <addressOffset>0x28</addressOffset>
  28414. <size>8</size>
  28415. <access>read-write</access>
  28416. <resetValue>0</resetValue>
  28417. <resetMask>0xFF</resetMask>
  28418. <fields>
  28419. <field>
  28420. <name>TPL</name>
  28421. <description>Transmit Packet Length Register</description>
  28422. <bitOffset>0</bitOffset>
  28423. <bitWidth>8</bitWidth>
  28424. <access>read-write</access>
  28425. </field>
  28426. </fields>
  28427. </register>
  28428. <register>
  28429. <name>IE</name>
  28430. <description>UART CEA709.1-B Interrupt Enable Register</description>
  28431. <addressOffset>0x29</addressOffset>
  28432. <size>8</size>
  28433. <access>read-write</access>
  28434. <resetValue>0</resetValue>
  28435. <resetMask>0xFF</resetMask>
  28436. <fields>
  28437. <field>
  28438. <name>TXFIE</name>
  28439. <description>Transmission Fail Interrupt Enable</description>
  28440. <bitOffset>0</bitOffset>
  28441. <bitWidth>1</bitWidth>
  28442. <access>read-write</access>
  28443. <enumeratedValues>
  28444. <enumeratedValue>
  28445. <name>0</name>
  28446. <description>Interrupt is disabled.</description>
  28447. <value>#0</value>
  28448. </enumeratedValue>
  28449. <enumeratedValue>
  28450. <name>1</name>
  28451. <description>Interrupt is enabled.</description>
  28452. <value>#1</value>
  28453. </enumeratedValue>
  28454. </enumeratedValues>
  28455. </field>
  28456. <field>
  28457. <name>PSIE</name>
  28458. <description>Preamble Start Interrupt Enable</description>
  28459. <bitOffset>1</bitOffset>
  28460. <bitWidth>1</bitWidth>
  28461. <access>read-write</access>
  28462. <enumeratedValues>
  28463. <enumeratedValue>
  28464. <name>0</name>
  28465. <description>Interrupt is disabled.</description>
  28466. <value>#0</value>
  28467. </enumeratedValue>
  28468. <enumeratedValue>
  28469. <name>1</name>
  28470. <description>Interrupt is enabled.</description>
  28471. <value>#1</value>
  28472. </enumeratedValue>
  28473. </enumeratedValues>
  28474. </field>
  28475. <field>
  28476. <name>PCTEIE</name>
  28477. <description>Packet Cycle Timer Interrupt Enable</description>
  28478. <bitOffset>2</bitOffset>
  28479. <bitWidth>1</bitWidth>
  28480. <access>read-write</access>
  28481. <enumeratedValues>
  28482. <enumeratedValue>
  28483. <name>0</name>
  28484. <description>Interrupt is disabled.</description>
  28485. <value>#0</value>
  28486. </enumeratedValue>
  28487. <enumeratedValue>
  28488. <name>1</name>
  28489. <description>Interrupt is enabled.</description>
  28490. <value>#1</value>
  28491. </enumeratedValue>
  28492. </enumeratedValues>
  28493. </field>
  28494. <field>
  28495. <name>PTXIE</name>
  28496. <description>Packet Transmitted Interrupt Enable</description>
  28497. <bitOffset>3</bitOffset>
  28498. <bitWidth>1</bitWidth>
  28499. <access>read-write</access>
  28500. <enumeratedValues>
  28501. <enumeratedValue>
  28502. <name>0</name>
  28503. <description>Interrupt is disabled.</description>
  28504. <value>#0</value>
  28505. </enumeratedValue>
  28506. <enumeratedValue>
  28507. <name>1</name>
  28508. <description>Interrupt is enabled.</description>
  28509. <value>#1</value>
  28510. </enumeratedValue>
  28511. </enumeratedValues>
  28512. </field>
  28513. <field>
  28514. <name>PRXIE</name>
  28515. <description>Packet Received Interrupt Enable</description>
  28516. <bitOffset>4</bitOffset>
  28517. <bitWidth>1</bitWidth>
  28518. <access>read-write</access>
  28519. <enumeratedValues>
  28520. <enumeratedValue>
  28521. <name>0</name>
  28522. <description>Interrupt is disabled.</description>
  28523. <value>#0</value>
  28524. </enumeratedValue>
  28525. <enumeratedValue>
  28526. <name>1</name>
  28527. <description>Interrupt is enabled.</description>
  28528. <value>#1</value>
  28529. </enumeratedValue>
  28530. </enumeratedValues>
  28531. </field>
  28532. <field>
  28533. <name>ISDIE</name>
  28534. <description>Initial Sync Detection Interrupt Enable</description>
  28535. <bitOffset>5</bitOffset>
  28536. <bitWidth>1</bitWidth>
  28537. <access>read-write</access>
  28538. <enumeratedValues>
  28539. <enumeratedValue>
  28540. <name>0</name>
  28541. <description>Interrupt is disabled.</description>
  28542. <value>#0</value>
  28543. </enumeratedValue>
  28544. <enumeratedValue>
  28545. <name>1</name>
  28546. <description>Interrupt is enabled.</description>
  28547. <value>#1</value>
  28548. </enumeratedValue>
  28549. </enumeratedValues>
  28550. </field>
  28551. <field>
  28552. <name>WBEIE</name>
  28553. <description>Wbase Expired Interrupt Enable</description>
  28554. <bitOffset>6</bitOffset>
  28555. <bitWidth>1</bitWidth>
  28556. <access>read-write</access>
  28557. <enumeratedValues>
  28558. <enumeratedValue>
  28559. <name>0</name>
  28560. <description>Interrupt is disabled.</description>
  28561. <value>#0</value>
  28562. </enumeratedValue>
  28563. <enumeratedValue>
  28564. <name>1</name>
  28565. <description>Interrupt is enabled.</description>
  28566. <value>#1</value>
  28567. </enumeratedValue>
  28568. </enumeratedValues>
  28569. </field>
  28570. </fields>
  28571. </register>
  28572. <register>
  28573. <name>WB</name>
  28574. <description>UART CEA709.1-B WBASE</description>
  28575. <addressOffset>0x2A</addressOffset>
  28576. <size>8</size>
  28577. <access>read-write</access>
  28578. <resetValue>0</resetValue>
  28579. <resetMask>0xFF</resetMask>
  28580. <fields>
  28581. <field>
  28582. <name>WBASE</name>
  28583. <description>CEA709.1-B WBASE register</description>
  28584. <bitOffset>0</bitOffset>
  28585. <bitWidth>8</bitWidth>
  28586. <access>read-write</access>
  28587. </field>
  28588. </fields>
  28589. </register>
  28590. <register>
  28591. <name>S3</name>
  28592. <description>UART CEA709.1-B Status Register</description>
  28593. <addressOffset>0x2B</addressOffset>
  28594. <size>8</size>
  28595. <access>read-write</access>
  28596. <resetValue>0</resetValue>
  28597. <resetMask>0xFF</resetMask>
  28598. <fields>
  28599. <field>
  28600. <name>TXFF</name>
  28601. <description>Transmission Fail Flag</description>
  28602. <bitOffset>0</bitOffset>
  28603. <bitWidth>1</bitWidth>
  28604. <access>read-write</access>
  28605. <enumeratedValues>
  28606. <enumeratedValue>
  28607. <name>0</name>
  28608. <description>Transmission continues normally.</description>
  28609. <value>#0</value>
  28610. </enumeratedValue>
  28611. <enumeratedValue>
  28612. <name>1</name>
  28613. <description>Transmission is failed.</description>
  28614. <value>#1</value>
  28615. </enumeratedValue>
  28616. </enumeratedValues>
  28617. </field>
  28618. <field>
  28619. <name>PSF</name>
  28620. <description>Preamble Start Flag</description>
  28621. <bitOffset>1</bitOffset>
  28622. <bitWidth>1</bitWidth>
  28623. <access>read-write</access>
  28624. <enumeratedValues>
  28625. <enumeratedValue>
  28626. <name>0</name>
  28627. <description>Preamble start is not detected.</description>
  28628. <value>#0</value>
  28629. </enumeratedValue>
  28630. <enumeratedValue>
  28631. <name>1</name>
  28632. <description>Preamble start is detected.</description>
  28633. <value>#1</value>
  28634. </enumeratedValue>
  28635. </enumeratedValues>
  28636. </field>
  28637. <field>
  28638. <name>PCTEF</name>
  28639. <description>Packet Cycle Timer Expired Flag</description>
  28640. <bitOffset>2</bitOffset>
  28641. <bitWidth>1</bitWidth>
  28642. <access>read-write</access>
  28643. <enumeratedValues>
  28644. <enumeratedValue>
  28645. <name>0</name>
  28646. <description>Packet Cycle Time is not expired.</description>
  28647. <value>#0</value>
  28648. </enumeratedValue>
  28649. <enumeratedValue>
  28650. <name>1</name>
  28651. <description>Packet cycle time is expired.</description>
  28652. <value>#1</value>
  28653. </enumeratedValue>
  28654. </enumeratedValues>
  28655. </field>
  28656. <field>
  28657. <name>PTXF</name>
  28658. <description>Packet Transmitted Flag</description>
  28659. <bitOffset>3</bitOffset>
  28660. <bitWidth>1</bitWidth>
  28661. <access>read-write</access>
  28662. <enumeratedValues>
  28663. <enumeratedValue>
  28664. <name>0</name>
  28665. <description>Packet transmission is not complete.</description>
  28666. <value>#0</value>
  28667. </enumeratedValue>
  28668. <enumeratedValue>
  28669. <name>1</name>
  28670. <description>Packet transmission is complete.</description>
  28671. <value>#1</value>
  28672. </enumeratedValue>
  28673. </enumeratedValues>
  28674. </field>
  28675. <field>
  28676. <name>PRXF</name>
  28677. <description>Packet Received Flag</description>
  28678. <bitOffset>4</bitOffset>
  28679. <bitWidth>1</bitWidth>
  28680. <access>read-write</access>
  28681. <enumeratedValues>
  28682. <enumeratedValue>
  28683. <name>0</name>
  28684. <description>Packet is not received.</description>
  28685. <value>#0</value>
  28686. </enumeratedValue>
  28687. <enumeratedValue>
  28688. <name>1</name>
  28689. <description>Packet is received.</description>
  28690. <value>#1</value>
  28691. </enumeratedValue>
  28692. </enumeratedValues>
  28693. </field>
  28694. <field>
  28695. <name>ISD</name>
  28696. <description>Initial Sync Detect</description>
  28697. <bitOffset>5</bitOffset>
  28698. <bitWidth>1</bitWidth>
  28699. <access>read-only</access>
  28700. <enumeratedValues>
  28701. <enumeratedValue>
  28702. <name>0</name>
  28703. <description>Initial sync is not detected.</description>
  28704. <value>#0</value>
  28705. </enumeratedValue>
  28706. <enumeratedValue>
  28707. <name>1</name>
  28708. <description>Initial sync is detected.</description>
  28709. <value>#1</value>
  28710. </enumeratedValue>
  28711. </enumeratedValues>
  28712. </field>
  28713. <field>
  28714. <name>WBEF</name>
  28715. <description>Wbase Expired Flag</description>
  28716. <bitOffset>6</bitOffset>
  28717. <bitWidth>1</bitWidth>
  28718. <access>read-write</access>
  28719. <enumeratedValues>
  28720. <enumeratedValue>
  28721. <name>0</name>
  28722. <description>Wbase time period is not expired.</description>
  28723. <value>#0</value>
  28724. </enumeratedValue>
  28725. <enumeratedValue>
  28726. <name>1</name>
  28727. <description>Wbase time period has been expired after beta1 time slots.</description>
  28728. <value>#1</value>
  28729. </enumeratedValue>
  28730. </enumeratedValues>
  28731. </field>
  28732. <field>
  28733. <name>PEF</name>
  28734. <description>Preamble Error Flag</description>
  28735. <bitOffset>7</bitOffset>
  28736. <bitWidth>1</bitWidth>
  28737. <access>read-write</access>
  28738. <enumeratedValues>
  28739. <enumeratedValue>
  28740. <name>0</name>
  28741. <description>Preamble is correct.</description>
  28742. <value>#0</value>
  28743. </enumeratedValue>
  28744. <enumeratedValue>
  28745. <name>1</name>
  28746. <description>Preamble is in error.</description>
  28747. <value>#1</value>
  28748. </enumeratedValue>
  28749. </enumeratedValues>
  28750. </field>
  28751. </fields>
  28752. </register>
  28753. <register>
  28754. <name>S4</name>
  28755. <description>UART CEA709.1-B Status Register</description>
  28756. <addressOffset>0x2C</addressOffset>
  28757. <size>8</size>
  28758. <access>read-write</access>
  28759. <resetValue>0</resetValue>
  28760. <resetMask>0xFF</resetMask>
  28761. <fields>
  28762. <field>
  28763. <name>FE</name>
  28764. <description>Framing Error</description>
  28765. <bitOffset>0</bitOffset>
  28766. <bitWidth>1</bitWidth>
  28767. <access>read-write</access>
  28768. <enumeratedValues>
  28769. <enumeratedValue>
  28770. <name>0</name>
  28771. <description>Received packet is byte bound.</description>
  28772. <value>#0</value>
  28773. </enumeratedValue>
  28774. <enumeratedValue>
  28775. <name>1</name>
  28776. <description>Received packet is not byte bound.</description>
  28777. <value>#1</value>
  28778. </enumeratedValue>
  28779. </enumeratedValues>
  28780. </field>
  28781. <field>
  28782. <name>ILCV</name>
  28783. <description>Improper Line Code Violation</description>
  28784. <bitOffset>1</bitOffset>
  28785. <bitWidth>1</bitWidth>
  28786. <access>read-write</access>
  28787. <enumeratedValues>
  28788. <enumeratedValue>
  28789. <name>0</name>
  28790. <description>Line code violation received is proper.</description>
  28791. <value>#0</value>
  28792. </enumeratedValue>
  28793. <enumeratedValue>
  28794. <name>1</name>
  28795. <description>Line code violation received is improper i.e less than 3-bit periods.</description>
  28796. <value>#1</value>
  28797. </enumeratedValue>
  28798. </enumeratedValues>
  28799. </field>
  28800. <field>
  28801. <name>CDET</name>
  28802. <description>CDET</description>
  28803. <bitOffset>2</bitOffset>
  28804. <bitWidth>2</bitWidth>
  28805. <access>read-write</access>
  28806. <enumeratedValues>
  28807. <enumeratedValue>
  28808. <name>00</name>
  28809. <description>No collision.</description>
  28810. <value>#00</value>
  28811. </enumeratedValue>
  28812. <enumeratedValue>
  28813. <name>01</name>
  28814. <description>Collision occurred during preamble.</description>
  28815. <value>#01</value>
  28816. </enumeratedValue>
  28817. <enumeratedValue>
  28818. <name>10</name>
  28819. <description>Collision occurred during data.</description>
  28820. <value>#10</value>
  28821. </enumeratedValue>
  28822. <enumeratedValue>
  28823. <name>11</name>
  28824. <description>Collision occurred during line code violation.</description>
  28825. <value>#11</value>
  28826. </enumeratedValue>
  28827. </enumeratedValues>
  28828. </field>
  28829. <field>
  28830. <name>INITF</name>
  28831. <description>Initial Synchronization Fail Flag</description>
  28832. <bitOffset>4</bitOffset>
  28833. <bitWidth>1</bitWidth>
  28834. <access>read-only</access>
  28835. <enumeratedValues>
  28836. <enumeratedValue>
  28837. <name>0</name>
  28838. <description>Initial synchronization is not failed.</description>
  28839. <value>#0</value>
  28840. </enumeratedValue>
  28841. <enumeratedValue>
  28842. <name>1</name>
  28843. <description>Initial synchronization is failed.</description>
  28844. <value>#1</value>
  28845. </enumeratedValue>
  28846. </enumeratedValues>
  28847. </field>
  28848. </fields>
  28849. </register>
  28850. <register>
  28851. <name>RPL</name>
  28852. <description>UART CEA709.1-B Received Packet Length</description>
  28853. <addressOffset>0x2D</addressOffset>
  28854. <size>8</size>
  28855. <access>read-only</access>
  28856. <resetValue>0</resetValue>
  28857. <resetMask>0xFF</resetMask>
  28858. <fields>
  28859. <field>
  28860. <name>RPL</name>
  28861. <description>Received packet length</description>
  28862. <bitOffset>0</bitOffset>
  28863. <bitWidth>8</bitWidth>
  28864. <access>read-only</access>
  28865. </field>
  28866. </fields>
  28867. </register>
  28868. <register>
  28869. <name>RPREL</name>
  28870. <description>UART CEA709.1-B Received Preamble Length</description>
  28871. <addressOffset>0x2E</addressOffset>
  28872. <size>8</size>
  28873. <access>read-only</access>
  28874. <resetValue>0</resetValue>
  28875. <resetMask>0xFF</resetMask>
  28876. <fields>
  28877. <field>
  28878. <name>RPREL</name>
  28879. <description>Received preamble length</description>
  28880. <bitOffset>0</bitOffset>
  28881. <bitWidth>8</bitWidth>
  28882. <access>read-only</access>
  28883. </field>
  28884. </fields>
  28885. </register>
  28886. <register>
  28887. <name>CPW</name>
  28888. <description>UART CEA709.1-B Collision Pulse Width</description>
  28889. <addressOffset>0x2F</addressOffset>
  28890. <size>8</size>
  28891. <access>read-write</access>
  28892. <resetValue>0</resetValue>
  28893. <resetMask>0xFF</resetMask>
  28894. <fields>
  28895. <field>
  28896. <name>CPW</name>
  28897. <description>CEA709.1-B CPW register</description>
  28898. <bitOffset>0</bitOffset>
  28899. <bitWidth>8</bitWidth>
  28900. <access>read-write</access>
  28901. </field>
  28902. </fields>
  28903. </register>
  28904. <register>
  28905. <name>RIDT</name>
  28906. <description>UART CEA709.1-B Receive Indeterminate Time</description>
  28907. <addressOffset>0x30</addressOffset>
  28908. <size>8</size>
  28909. <access>read-write</access>
  28910. <resetValue>0</resetValue>
  28911. <resetMask>0xFF</resetMask>
  28912. <fields>
  28913. <field>
  28914. <name>RIDT</name>
  28915. <description>CEA709.1-B Receive IDT Register</description>
  28916. <bitOffset>0</bitOffset>
  28917. <bitWidth>8</bitWidth>
  28918. <access>read-write</access>
  28919. </field>
  28920. </fields>
  28921. </register>
  28922. <register>
  28923. <name>TIDT</name>
  28924. <description>UART CEA709.1-B Transmit Indeterminate Time</description>
  28925. <addressOffset>0x31</addressOffset>
  28926. <size>8</size>
  28927. <access>read-write</access>
  28928. <resetValue>0</resetValue>
  28929. <resetMask>0xFF</resetMask>
  28930. <fields>
  28931. <field>
  28932. <name>TIDT</name>
  28933. <description>CEA709.1-B Transmit IDT Register</description>
  28934. <bitOffset>0</bitOffset>
  28935. <bitWidth>8</bitWidth>
  28936. <access>read-write</access>
  28937. </field>
  28938. </fields>
  28939. </register>
  28940. </registers>
  28941. </peripheral>
  28942. <peripheral>
  28943. <name>UART1</name>
  28944. <description>Serial Communication Interface</description>
  28945. <groupName>UART</groupName>
  28946. <prependToName>UART1_</prependToName>
  28947. <baseAddress>0x4006B000</baseAddress>
  28948. <addressBlock>
  28949. <offset>0</offset>
  28950. <size>0x17</size>
  28951. <usage>registers</usage>
  28952. </addressBlock>
  28953. <interrupt>
  28954. <name>UART1_RX_TX</name>
  28955. <value>18</value>
  28956. </interrupt>
  28957. <interrupt>
  28958. <name>UART1_ERR</name>
  28959. <value>19</value>
  28960. </interrupt>
  28961. <registers>
  28962. <register>
  28963. <name>BDH</name>
  28964. <description>UART Baud Rate Registers:High</description>
  28965. <addressOffset>0</addressOffset>
  28966. <size>8</size>
  28967. <access>read-write</access>
  28968. <resetValue>0</resetValue>
  28969. <resetMask>0xFF</resetMask>
  28970. <fields>
  28971. <field>
  28972. <name>SBR</name>
  28973. <description>UART Baud Rate Bits</description>
  28974. <bitOffset>0</bitOffset>
  28975. <bitWidth>5</bitWidth>
  28976. <access>read-write</access>
  28977. </field>
  28978. <field>
  28979. <name>RXEDGIE</name>
  28980. <description>RxD Input Active Edge Interrupt Enable</description>
  28981. <bitOffset>6</bitOffset>
  28982. <bitWidth>1</bitWidth>
  28983. <access>read-write</access>
  28984. <enumeratedValues>
  28985. <enumeratedValue>
  28986. <name>0</name>
  28987. <description>Hardware interrupts from RXEDGIF disabled (use polling).</description>
  28988. <value>#0</value>
  28989. </enumeratedValue>
  28990. <enumeratedValue>
  28991. <name>1</name>
  28992. <description>RXEDGIF interrupt request enabled.</description>
  28993. <value>#1</value>
  28994. </enumeratedValue>
  28995. </enumeratedValues>
  28996. </field>
  28997. <field>
  28998. <name>LBKDIE</name>
  28999. <description>LIN Break Detect Interrupt Enable</description>
  29000. <bitOffset>7</bitOffset>
  29001. <bitWidth>1</bitWidth>
  29002. <access>read-write</access>
  29003. <enumeratedValues>
  29004. <enumeratedValue>
  29005. <name>0</name>
  29006. <description>LBKDIF interrupt requests disabled.</description>
  29007. <value>#0</value>
  29008. </enumeratedValue>
  29009. <enumeratedValue>
  29010. <name>1</name>
  29011. <description>LBKDIF interrupt requests enabled.</description>
  29012. <value>#1</value>
  29013. </enumeratedValue>
  29014. </enumeratedValues>
  29015. </field>
  29016. </fields>
  29017. </register>
  29018. <register>
  29019. <name>BDL</name>
  29020. <description>UART Baud Rate Registers: Low</description>
  29021. <addressOffset>0x1</addressOffset>
  29022. <size>8</size>
  29023. <access>read-write</access>
  29024. <resetValue>0x4</resetValue>
  29025. <resetMask>0xFF</resetMask>
  29026. <fields>
  29027. <field>
  29028. <name>SBR</name>
  29029. <description>UART Baud Rate Bits</description>
  29030. <bitOffset>0</bitOffset>
  29031. <bitWidth>8</bitWidth>
  29032. <access>read-write</access>
  29033. </field>
  29034. </fields>
  29035. </register>
  29036. <register>
  29037. <name>C1</name>
  29038. <description>UART Control Register 1</description>
  29039. <addressOffset>0x2</addressOffset>
  29040. <size>8</size>
  29041. <access>read-write</access>
  29042. <resetValue>0</resetValue>
  29043. <resetMask>0xFF</resetMask>
  29044. <fields>
  29045. <field>
  29046. <name>PT</name>
  29047. <description>Parity Type</description>
  29048. <bitOffset>0</bitOffset>
  29049. <bitWidth>1</bitWidth>
  29050. <access>read-write</access>
  29051. <enumeratedValues>
  29052. <enumeratedValue>
  29053. <name>0</name>
  29054. <description>Even parity.</description>
  29055. <value>#0</value>
  29056. </enumeratedValue>
  29057. <enumeratedValue>
  29058. <name>1</name>
  29059. <description>Odd parity.</description>
  29060. <value>#1</value>
  29061. </enumeratedValue>
  29062. </enumeratedValues>
  29063. </field>
  29064. <field>
  29065. <name>PE</name>
  29066. <description>Parity Enable</description>
  29067. <bitOffset>1</bitOffset>
  29068. <bitWidth>1</bitWidth>
  29069. <access>read-write</access>
  29070. <enumeratedValues>
  29071. <enumeratedValue>
  29072. <name>0</name>
  29073. <description>Parity function disabled.</description>
  29074. <value>#0</value>
  29075. </enumeratedValue>
  29076. <enumeratedValue>
  29077. <name>1</name>
  29078. <description>Parity function enabled.</description>
  29079. <value>#1</value>
  29080. </enumeratedValue>
  29081. </enumeratedValues>
  29082. </field>
  29083. <field>
  29084. <name>ILT</name>
  29085. <description>Idle Line Type Select</description>
  29086. <bitOffset>2</bitOffset>
  29087. <bitWidth>1</bitWidth>
  29088. <access>read-write</access>
  29089. <enumeratedValues>
  29090. <enumeratedValue>
  29091. <name>0</name>
  29092. <description>Idle character bit count starts after start bit.</description>
  29093. <value>#0</value>
  29094. </enumeratedValue>
  29095. <enumeratedValue>
  29096. <name>1</name>
  29097. <description>Idle character bit count starts after stop bit.</description>
  29098. <value>#1</value>
  29099. </enumeratedValue>
  29100. </enumeratedValues>
  29101. </field>
  29102. <field>
  29103. <name>WAKE</name>
  29104. <description>Receiver Wakeup Method Select</description>
  29105. <bitOffset>3</bitOffset>
  29106. <bitWidth>1</bitWidth>
  29107. <access>read-write</access>
  29108. <enumeratedValues>
  29109. <enumeratedValue>
  29110. <name>0</name>
  29111. <description>Idle-line wakeup.</description>
  29112. <value>#0</value>
  29113. </enumeratedValue>
  29114. <enumeratedValue>
  29115. <name>1</name>
  29116. <description>Address-mark wakeup.</description>
  29117. <value>#1</value>
  29118. </enumeratedValue>
  29119. </enumeratedValues>
  29120. </field>
  29121. <field>
  29122. <name>M</name>
  29123. <description>9-bit or 8-bit Mode Select</description>
  29124. <bitOffset>4</bitOffset>
  29125. <bitWidth>1</bitWidth>
  29126. <access>read-write</access>
  29127. <enumeratedValues>
  29128. <enumeratedValue>
  29129. <name>0</name>
  29130. <description>Normal - start + 8 data bits (MSB/LSB first as determined by MSBF) + stop.</description>
  29131. <value>#0</value>
  29132. </enumeratedValue>
  29133. <enumeratedValue>
  29134. <name>1</name>
  29135. <description>Use - start + 9 data bits (MSB/LSB first as determined by MSBF) + stop.</description>
  29136. <value>#1</value>
  29137. </enumeratedValue>
  29138. </enumeratedValues>
  29139. </field>
  29140. <field>
  29141. <name>RSRC</name>
  29142. <description>Receiver Source Select</description>
  29143. <bitOffset>5</bitOffset>
  29144. <bitWidth>1</bitWidth>
  29145. <access>read-write</access>
  29146. <enumeratedValues>
  29147. <enumeratedValue>
  29148. <name>0</name>
  29149. <description>Selects internal loop back mode and receiver input is internally connected to transmitter output.</description>
  29150. <value>#0</value>
  29151. </enumeratedValue>
  29152. <enumeratedValue>
  29153. <name>1</name>
  29154. <description>Single-wire UART mode where the receiver input is connected to the transmit pin input signal.</description>
  29155. <value>#1</value>
  29156. </enumeratedValue>
  29157. </enumeratedValues>
  29158. </field>
  29159. <field>
  29160. <name>UARTSWAI</name>
  29161. <description>UART Stops in Wait Mode</description>
  29162. <bitOffset>6</bitOffset>
  29163. <bitWidth>1</bitWidth>
  29164. <access>read-write</access>
  29165. <enumeratedValues>
  29166. <enumeratedValue>
  29167. <name>0</name>
  29168. <description>UART clock continues to run in wait mode.</description>
  29169. <value>#0</value>
  29170. </enumeratedValue>
  29171. <enumeratedValue>
  29172. <name>1</name>
  29173. <description>UART clock freezes while CPU is in wait mode.</description>
  29174. <value>#1</value>
  29175. </enumeratedValue>
  29176. </enumeratedValues>
  29177. </field>
  29178. <field>
  29179. <name>LOOPS</name>
  29180. <description>Loop Mode Select</description>
  29181. <bitOffset>7</bitOffset>
  29182. <bitWidth>1</bitWidth>
  29183. <access>read-write</access>
  29184. <enumeratedValues>
  29185. <enumeratedValue>
  29186. <name>0</name>
  29187. <description>Normal operation.</description>
  29188. <value>#0</value>
  29189. </enumeratedValue>
  29190. <enumeratedValue>
  29191. <name>1</name>
  29192. <description>Loop mode where transmitter output is internally connected to receiver input. The receiver input is determined by the RSRC bit.</description>
  29193. <value>#1</value>
  29194. </enumeratedValue>
  29195. </enumeratedValues>
  29196. </field>
  29197. </fields>
  29198. </register>
  29199. <register>
  29200. <name>C2</name>
  29201. <description>UART Control Register 2</description>
  29202. <addressOffset>0x3</addressOffset>
  29203. <size>8</size>
  29204. <access>read-write</access>
  29205. <resetValue>0</resetValue>
  29206. <resetMask>0xFF</resetMask>
  29207. <fields>
  29208. <field>
  29209. <name>SBK</name>
  29210. <description>Send Break</description>
  29211. <bitOffset>0</bitOffset>
  29212. <bitWidth>1</bitWidth>
  29213. <access>read-write</access>
  29214. <enumeratedValues>
  29215. <enumeratedValue>
  29216. <name>0</name>
  29217. <description>Normal transmitter operation.</description>
  29218. <value>#0</value>
  29219. </enumeratedValue>
  29220. <enumeratedValue>
  29221. <name>1</name>
  29222. <description>Queue break character(s) to be sent.</description>
  29223. <value>#1</value>
  29224. </enumeratedValue>
  29225. </enumeratedValues>
  29226. </field>
  29227. <field>
  29228. <name>RWU</name>
  29229. <description>Receiver Wakeup Control</description>
  29230. <bitOffset>1</bitOffset>
  29231. <bitWidth>1</bitWidth>
  29232. <access>read-write</access>
  29233. <enumeratedValues>
  29234. <enumeratedValue>
  29235. <name>0</name>
  29236. <description>Normal operation.</description>
  29237. <value>#0</value>
  29238. </enumeratedValue>
  29239. <enumeratedValue>
  29240. <name>1</name>
  29241. <description>RWU enables the wakeup function and inhibits further receiver interrupt requests. Normally, hardware wakes the receiver by automatically clearing RWU.</description>
  29242. <value>#1</value>
  29243. </enumeratedValue>
  29244. </enumeratedValues>
  29245. </field>
  29246. <field>
  29247. <name>RE</name>
  29248. <description>Receiver Enable</description>
  29249. <bitOffset>2</bitOffset>
  29250. <bitWidth>1</bitWidth>
  29251. <access>read-write</access>
  29252. <enumeratedValues>
  29253. <enumeratedValue>
  29254. <name>0</name>
  29255. <description>Receiver off.</description>
  29256. <value>#0</value>
  29257. </enumeratedValue>
  29258. <enumeratedValue>
  29259. <name>1</name>
  29260. <description>Receiver on.</description>
  29261. <value>#1</value>
  29262. </enumeratedValue>
  29263. </enumeratedValues>
  29264. </field>
  29265. <field>
  29266. <name>TE</name>
  29267. <description>Transmitter Enable</description>
  29268. <bitOffset>3</bitOffset>
  29269. <bitWidth>1</bitWidth>
  29270. <access>read-write</access>
  29271. <enumeratedValues>
  29272. <enumeratedValue>
  29273. <name>0</name>
  29274. <description>Transmitter off.</description>
  29275. <value>#0</value>
  29276. </enumeratedValue>
  29277. <enumeratedValue>
  29278. <name>1</name>
  29279. <description>Transmitter on.</description>
  29280. <value>#1</value>
  29281. </enumeratedValue>
  29282. </enumeratedValues>
  29283. </field>
  29284. <field>
  29285. <name>ILIE</name>
  29286. <description>Idle Line Interrupt Enable</description>
  29287. <bitOffset>4</bitOffset>
  29288. <bitWidth>1</bitWidth>
  29289. <access>read-write</access>
  29290. <enumeratedValues>
  29291. <enumeratedValue>
  29292. <name>0</name>
  29293. <description>IDLE interrupt requests disabled.</description>
  29294. <value>#0</value>
  29295. </enumeratedValue>
  29296. <enumeratedValue>
  29297. <name>1</name>
  29298. <description>IDLE interrupt requests enabled.</description>
  29299. <value>#1</value>
  29300. </enumeratedValue>
  29301. </enumeratedValues>
  29302. </field>
  29303. <field>
  29304. <name>RIE</name>
  29305. <description>Receiver Full Interrupt or DMA Transfer Enable</description>
  29306. <bitOffset>5</bitOffset>
  29307. <bitWidth>1</bitWidth>
  29308. <access>read-write</access>
  29309. <enumeratedValues>
  29310. <enumeratedValue>
  29311. <name>0</name>
  29312. <description>RDRF interrupt and DMA transfer requests disabled.</description>
  29313. <value>#0</value>
  29314. </enumeratedValue>
  29315. <enumeratedValue>
  29316. <name>1</name>
  29317. <description>RDRF interrupt or DMA transfer requests enabled</description>
  29318. <value>#1</value>
  29319. </enumeratedValue>
  29320. </enumeratedValues>
  29321. </field>
  29322. <field>
  29323. <name>TCIE</name>
  29324. <description>Transmission Complete Interrupt Enable</description>
  29325. <bitOffset>6</bitOffset>
  29326. <bitWidth>1</bitWidth>
  29327. <access>read-write</access>
  29328. <enumeratedValues>
  29329. <enumeratedValue>
  29330. <name>0</name>
  29331. <description>TC interrupt requests disabled.</description>
  29332. <value>#0</value>
  29333. </enumeratedValue>
  29334. <enumeratedValue>
  29335. <name>1</name>
  29336. <description>TC interrupt requests enabled.</description>
  29337. <value>#1</value>
  29338. </enumeratedValue>
  29339. </enumeratedValues>
  29340. </field>
  29341. <field>
  29342. <name>TIE</name>
  29343. <description>Transmitter Interrupt or DMA Transfer Enable.</description>
  29344. <bitOffset>7</bitOffset>
  29345. <bitWidth>1</bitWidth>
  29346. <access>read-write</access>
  29347. <enumeratedValues>
  29348. <enumeratedValue>
  29349. <name>0</name>
  29350. <description>TDRE interrupt and DMA transfer requests disabled.</description>
  29351. <value>#0</value>
  29352. </enumeratedValue>
  29353. <enumeratedValue>
  29354. <name>1</name>
  29355. <description>TDRE interrupt or DMA transfer requests enabled.</description>
  29356. <value>#1</value>
  29357. </enumeratedValue>
  29358. </enumeratedValues>
  29359. </field>
  29360. </fields>
  29361. </register>
  29362. <register>
  29363. <name>S1</name>
  29364. <description>UART Status Register 1</description>
  29365. <addressOffset>0x4</addressOffset>
  29366. <size>8</size>
  29367. <access>read-only</access>
  29368. <resetValue>0xC0</resetValue>
  29369. <resetMask>0xFF</resetMask>
  29370. <fields>
  29371. <field>
  29372. <name>PF</name>
  29373. <description>Parity Error Flag</description>
  29374. <bitOffset>0</bitOffset>
  29375. <bitWidth>1</bitWidth>
  29376. <access>read-only</access>
  29377. <enumeratedValues>
  29378. <enumeratedValue>
  29379. <name>0</name>
  29380. <description>No parity error has been detected since the last time this flag was cleared. If the receive buffer has a depth greater than 1 then there may be data in the receive buffer what was received with a parity error.</description>
  29381. <value>#0</value>
  29382. </enumeratedValue>
  29383. <enumeratedValue>
  29384. <name>1</name>
  29385. <description>At least one dataword was received with a parity error since the last time this flag was cleared.</description>
  29386. <value>#1</value>
  29387. </enumeratedValue>
  29388. </enumeratedValues>
  29389. </field>
  29390. <field>
  29391. <name>FE</name>
  29392. <description>Framing Error Flag</description>
  29393. <bitOffset>1</bitOffset>
  29394. <bitWidth>1</bitWidth>
  29395. <access>read-only</access>
  29396. <enumeratedValues>
  29397. <enumeratedValue>
  29398. <name>0</name>
  29399. <description>No framing error detected.</description>
  29400. <value>#0</value>
  29401. </enumeratedValue>
  29402. <enumeratedValue>
  29403. <name>1</name>
  29404. <description>Framing error.</description>
  29405. <value>#1</value>
  29406. </enumeratedValue>
  29407. </enumeratedValues>
  29408. </field>
  29409. <field>
  29410. <name>NF</name>
  29411. <description>Noise Flag</description>
  29412. <bitOffset>2</bitOffset>
  29413. <bitWidth>1</bitWidth>
  29414. <access>read-only</access>
  29415. <enumeratedValues>
  29416. <enumeratedValue>
  29417. <name>0</name>
  29418. <description>No noise detected since the last time this flag was cleared. If the receive buffer has a depth greater than 1 then there may be data in the receiver buffer that was received with noise.</description>
  29419. <value>#0</value>
  29420. </enumeratedValue>
  29421. <enumeratedValue>
  29422. <name>1</name>
  29423. <description>At least one dataword was received with noise detected since the last time the flag was cleared.</description>
  29424. <value>#1</value>
  29425. </enumeratedValue>
  29426. </enumeratedValues>
  29427. </field>
  29428. <field>
  29429. <name>OR</name>
  29430. <description>Receiver Overrun Flag</description>
  29431. <bitOffset>3</bitOffset>
  29432. <bitWidth>1</bitWidth>
  29433. <access>read-only</access>
  29434. <enumeratedValues>
  29435. <enumeratedValue>
  29436. <name>0</name>
  29437. <description>No overrun has occurred since the last time the flag was cleared.</description>
  29438. <value>#0</value>
  29439. </enumeratedValue>
  29440. <enumeratedValue>
  29441. <name>1</name>
  29442. <description>Overrun has occurred or the overrun flag has not been cleared since the last overrun occured.</description>
  29443. <value>#1</value>
  29444. </enumeratedValue>
  29445. </enumeratedValues>
  29446. </field>
  29447. <field>
  29448. <name>IDLE</name>
  29449. <description>Idle Line Flag</description>
  29450. <bitOffset>4</bitOffset>
  29451. <bitWidth>1</bitWidth>
  29452. <access>read-only</access>
  29453. <enumeratedValues>
  29454. <enumeratedValue>
  29455. <name>0</name>
  29456. <description>Receiver input is either active now or has never become active since the IDLE flag was last cleared.</description>
  29457. <value>#0</value>
  29458. </enumeratedValue>
  29459. <enumeratedValue>
  29460. <name>1</name>
  29461. <description>Receiver input has become idle or the flag has not been cleared since it last asserted.</description>
  29462. <value>#1</value>
  29463. </enumeratedValue>
  29464. </enumeratedValues>
  29465. </field>
  29466. <field>
  29467. <name>RDRF</name>
  29468. <description>Receive Data Register Full Flag</description>
  29469. <bitOffset>5</bitOffset>
  29470. <bitWidth>1</bitWidth>
  29471. <access>read-only</access>
  29472. <enumeratedValues>
  29473. <enumeratedValue>
  29474. <name>0</name>
  29475. <description>The number of datawords in the receive buffer is less than the number indicated by RXWATER.</description>
  29476. <value>#0</value>
  29477. </enumeratedValue>
  29478. <enumeratedValue>
  29479. <name>1</name>
  29480. <description>The number of datawords in the receive buffer is equal to or greater than the number indicated by RXWATER at some point in time since this flag was last cleared.</description>
  29481. <value>#1</value>
  29482. </enumeratedValue>
  29483. </enumeratedValues>
  29484. </field>
  29485. <field>
  29486. <name>TC</name>
  29487. <description>Transmit Complete Flag</description>
  29488. <bitOffset>6</bitOffset>
  29489. <bitWidth>1</bitWidth>
  29490. <access>read-only</access>
  29491. <enumeratedValues>
  29492. <enumeratedValue>
  29493. <name>0</name>
  29494. <description>Transmitter active (sending data, a preamble, or a break).</description>
  29495. <value>#0</value>
  29496. </enumeratedValue>
  29497. <enumeratedValue>
  29498. <name>1</name>
  29499. <description>Transmitter idle (transmission activity complete).</description>
  29500. <value>#1</value>
  29501. </enumeratedValue>
  29502. </enumeratedValues>
  29503. </field>
  29504. <field>
  29505. <name>TDRE</name>
  29506. <description>Transmit Data Register Empty Flag</description>
  29507. <bitOffset>7</bitOffset>
  29508. <bitWidth>1</bitWidth>
  29509. <access>read-only</access>
  29510. <enumeratedValues>
  29511. <enumeratedValue>
  29512. <name>0</name>
  29513. <description>The amount of data in the transmit buffer is greater than the value indicated by TWFIFO[TXWATER].</description>
  29514. <value>#0</value>
  29515. </enumeratedValue>
  29516. <enumeratedValue>
  29517. <name>1</name>
  29518. <description>The amount of data in the transmit buffer is less than or equal to the value indicated by TWFIFO[TXWATER] at some point in time since the flag has been cleared.</description>
  29519. <value>#1</value>
  29520. </enumeratedValue>
  29521. </enumeratedValues>
  29522. </field>
  29523. </fields>
  29524. </register>
  29525. <register>
  29526. <name>S2</name>
  29527. <description>UART Status Register 2</description>
  29528. <addressOffset>0x5</addressOffset>
  29529. <size>8</size>
  29530. <access>read-write</access>
  29531. <resetValue>0</resetValue>
  29532. <resetMask>0xFF</resetMask>
  29533. <fields>
  29534. <field>
  29535. <name>RAF</name>
  29536. <description>Receiver Active Flag</description>
  29537. <bitOffset>0</bitOffset>
  29538. <bitWidth>1</bitWidth>
  29539. <access>read-only</access>
  29540. <enumeratedValues>
  29541. <enumeratedValue>
  29542. <name>0</name>
  29543. <description>UART receiver idle/inactive waiting for a start bit.</description>
  29544. <value>#0</value>
  29545. </enumeratedValue>
  29546. <enumeratedValue>
  29547. <name>1</name>
  29548. <description>UART receiver active (RxD input not idle).</description>
  29549. <value>#1</value>
  29550. </enumeratedValue>
  29551. </enumeratedValues>
  29552. </field>
  29553. <field>
  29554. <name>LBKDE</name>
  29555. <description>LIN Break Detection Enable</description>
  29556. <bitOffset>1</bitOffset>
  29557. <bitWidth>1</bitWidth>
  29558. <access>read-write</access>
  29559. <enumeratedValues>
  29560. <enumeratedValue>
  29561. <name>0</name>
  29562. <description>Break character is detected at length of 10 bit times (C1[M] = 0), 11 (C1[M] = 1 and C4[M10] = 0), or 12 (C1[M] = 1, C4[M10] = 1, and S1[PE] = 1).</description>
  29563. <value>#0</value>
  29564. </enumeratedValue>
  29565. <enumeratedValue>
  29566. <name>1</name>
  29567. <description>Break character is detected at length of 11 bits times (if C1[M] = 0 or 12 bits time (if C1[M] = 1).</description>
  29568. <value>#1</value>
  29569. </enumeratedValue>
  29570. </enumeratedValues>
  29571. </field>
  29572. <field>
  29573. <name>BRK13</name>
  29574. <description>Break Transmit Character Length</description>
  29575. <bitOffset>2</bitOffset>
  29576. <bitWidth>1</bitWidth>
  29577. <access>read-write</access>
  29578. <enumeratedValues>
  29579. <enumeratedValue>
  29580. <name>0</name>
  29581. <description>Break character is 10, 11, or 12 bits long.</description>
  29582. <value>#0</value>
  29583. </enumeratedValue>
  29584. <enumeratedValue>
  29585. <name>1</name>
  29586. <description>Break character is 13 or 14 bits long.</description>
  29587. <value>#1</value>
  29588. </enumeratedValue>
  29589. </enumeratedValues>
  29590. </field>
  29591. <field>
  29592. <name>RWUID</name>
  29593. <description>Receive Wakeup Idle Detect</description>
  29594. <bitOffset>3</bitOffset>
  29595. <bitWidth>1</bitWidth>
  29596. <access>read-write</access>
  29597. <enumeratedValues>
  29598. <enumeratedValue>
  29599. <name>0</name>
  29600. <description>The S1[IDLE] bit is not set upon detection of an idle character.</description>
  29601. <value>#0</value>
  29602. </enumeratedValue>
  29603. <enumeratedValue>
  29604. <name>1</name>
  29605. <description>The S1[IDLE] bit is set upon detection of an idle character.</description>
  29606. <value>#1</value>
  29607. </enumeratedValue>
  29608. </enumeratedValues>
  29609. </field>
  29610. <field>
  29611. <name>RXINV</name>
  29612. <description>Receive Data Inversion</description>
  29613. <bitOffset>4</bitOffset>
  29614. <bitWidth>1</bitWidth>
  29615. <access>read-write</access>
  29616. <enumeratedValues>
  29617. <enumeratedValue>
  29618. <name>0</name>
  29619. <description>Receive data is not inverted.</description>
  29620. <value>#0</value>
  29621. </enumeratedValue>
  29622. <enumeratedValue>
  29623. <name>1</name>
  29624. <description>Receive data is inverted.</description>
  29625. <value>#1</value>
  29626. </enumeratedValue>
  29627. </enumeratedValues>
  29628. </field>
  29629. <field>
  29630. <name>MSBF</name>
  29631. <description>Most Significant Bit First</description>
  29632. <bitOffset>5</bitOffset>
  29633. <bitWidth>1</bitWidth>
  29634. <access>read-write</access>
  29635. <enumeratedValues>
  29636. <enumeratedValue>
  29637. <name>0</name>
  29638. <description>LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0.</description>
  29639. <value>#0</value>
  29640. </enumeratedValue>
  29641. <enumeratedValue>
  29642. <name>1</name>
  29643. <description>MSB (bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of C1[M] and C1[PE]. Further, the first bit received after the start bit is identified as bit8, bit7 or bit6 depending on the setting of C1[M] and C1[PE].</description>
  29644. <value>#1</value>
  29645. </enumeratedValue>
  29646. </enumeratedValues>
  29647. </field>
  29648. <field>
  29649. <name>RXEDGIF</name>
  29650. <description>RxD Pin Active Edge Interrupt Flag</description>
  29651. <bitOffset>6</bitOffset>
  29652. <bitWidth>1</bitWidth>
  29653. <access>read-write</access>
  29654. <enumeratedValues>
  29655. <enumeratedValue>
  29656. <name>0</name>
  29657. <description>No active edge on the receive pin has occurred.</description>
  29658. <value>#0</value>
  29659. </enumeratedValue>
  29660. <enumeratedValue>
  29661. <name>1</name>
  29662. <description>An active edge on the receive pin has occurred.</description>
  29663. <value>#1</value>
  29664. </enumeratedValue>
  29665. </enumeratedValues>
  29666. </field>
  29667. <field>
  29668. <name>LBKDIF</name>
  29669. <description>LIN Break Detect Interrupt Flag</description>
  29670. <bitOffset>7</bitOffset>
  29671. <bitWidth>1</bitWidth>
  29672. <access>read-write</access>
  29673. <enumeratedValues>
  29674. <enumeratedValue>
  29675. <name>0</name>
  29676. <description>No LIN break character has been detected.</description>
  29677. <value>#0</value>
  29678. </enumeratedValue>
  29679. <enumeratedValue>
  29680. <name>1</name>
  29681. <description>LIN break character has been detected.</description>
  29682. <value>#1</value>
  29683. </enumeratedValue>
  29684. </enumeratedValues>
  29685. </field>
  29686. </fields>
  29687. </register>
  29688. <register>
  29689. <name>C3</name>
  29690. <description>UART Control Register 3</description>
  29691. <addressOffset>0x6</addressOffset>
  29692. <size>8</size>
  29693. <access>read-write</access>
  29694. <resetValue>0</resetValue>
  29695. <resetMask>0xFF</resetMask>
  29696. <fields>
  29697. <field>
  29698. <name>PEIE</name>
  29699. <description>Parity Error Interrupt Enable</description>
  29700. <bitOffset>0</bitOffset>
  29701. <bitWidth>1</bitWidth>
  29702. <access>read-write</access>
  29703. <enumeratedValues>
  29704. <enumeratedValue>
  29705. <name>0</name>
  29706. <description>PF interrupt requests are disabled.</description>
  29707. <value>#0</value>
  29708. </enumeratedValue>
  29709. <enumeratedValue>
  29710. <name>1</name>
  29711. <description>PF interrupt requests are enabled.</description>
  29712. <value>#1</value>
  29713. </enumeratedValue>
  29714. </enumeratedValues>
  29715. </field>
  29716. <field>
  29717. <name>FEIE</name>
  29718. <description>Framing Error Interrupt Enable</description>
  29719. <bitOffset>1</bitOffset>
  29720. <bitWidth>1</bitWidth>
  29721. <access>read-write</access>
  29722. <enumeratedValues>
  29723. <enumeratedValue>
  29724. <name>0</name>
  29725. <description>FE interrupt requests are disabled.</description>
  29726. <value>#0</value>
  29727. </enumeratedValue>
  29728. <enumeratedValue>
  29729. <name>1</name>
  29730. <description>FE interrupt requests are enabled.</description>
  29731. <value>#1</value>
  29732. </enumeratedValue>
  29733. </enumeratedValues>
  29734. </field>
  29735. <field>
  29736. <name>NEIE</name>
  29737. <description>Noise Error Interrupt Enable</description>
  29738. <bitOffset>2</bitOffset>
  29739. <bitWidth>1</bitWidth>
  29740. <access>read-write</access>
  29741. <enumeratedValues>
  29742. <enumeratedValue>
  29743. <name>0</name>
  29744. <description>NF interrupt requests are disabled.</description>
  29745. <value>#0</value>
  29746. </enumeratedValue>
  29747. <enumeratedValue>
  29748. <name>1</name>
  29749. <description>NF interrupt requests are enabled.</description>
  29750. <value>#1</value>
  29751. </enumeratedValue>
  29752. </enumeratedValues>
  29753. </field>
  29754. <field>
  29755. <name>ORIE</name>
  29756. <description>Overrun Error Interrupt Enable</description>
  29757. <bitOffset>3</bitOffset>
  29758. <bitWidth>1</bitWidth>
  29759. <access>read-write</access>
  29760. <enumeratedValues>
  29761. <enumeratedValue>
  29762. <name>0</name>
  29763. <description>OR interrupts are disabled.</description>
  29764. <value>#0</value>
  29765. </enumeratedValue>
  29766. <enumeratedValue>
  29767. <name>1</name>
  29768. <description>OR interrupt requests are enabled.</description>
  29769. <value>#1</value>
  29770. </enumeratedValue>
  29771. </enumeratedValues>
  29772. </field>
  29773. <field>
  29774. <name>TXINV</name>
  29775. <description>Transmit Data Inversion.</description>
  29776. <bitOffset>4</bitOffset>
  29777. <bitWidth>1</bitWidth>
  29778. <access>read-write</access>
  29779. <enumeratedValues>
  29780. <enumeratedValue>
  29781. <name>0</name>
  29782. <description>Transmit data is not inverted.</description>
  29783. <value>#0</value>
  29784. </enumeratedValue>
  29785. <enumeratedValue>
  29786. <name>1</name>
  29787. <description>Transmit data is inverted.</description>
  29788. <value>#1</value>
  29789. </enumeratedValue>
  29790. </enumeratedValues>
  29791. </field>
  29792. <field>
  29793. <name>TXDIR</name>
  29794. <description>Transmitter Pin Data Direction in Single-Wire mode</description>
  29795. <bitOffset>5</bitOffset>
  29796. <bitWidth>1</bitWidth>
  29797. <access>read-write</access>
  29798. <enumeratedValues>
  29799. <enumeratedValue>
  29800. <name>0</name>
  29801. <description>TXD pin is an input in single-wire mode.</description>
  29802. <value>#0</value>
  29803. </enumeratedValue>
  29804. <enumeratedValue>
  29805. <name>1</name>
  29806. <description>TXD pin is an output in single-wire mode.</description>
  29807. <value>#1</value>
  29808. </enumeratedValue>
  29809. </enumeratedValues>
  29810. </field>
  29811. <field>
  29812. <name>T8</name>
  29813. <description>Transmit Bit 8</description>
  29814. <bitOffset>6</bitOffset>
  29815. <bitWidth>1</bitWidth>
  29816. <access>read-write</access>
  29817. </field>
  29818. <field>
  29819. <name>R8</name>
  29820. <description>Received Bit 8</description>
  29821. <bitOffset>7</bitOffset>
  29822. <bitWidth>1</bitWidth>
  29823. <access>read-only</access>
  29824. </field>
  29825. </fields>
  29826. </register>
  29827. <register>
  29828. <name>D</name>
  29829. <description>UART Data Register</description>
  29830. <addressOffset>0x7</addressOffset>
  29831. <size>8</size>
  29832. <access>read-write</access>
  29833. <resetValue>0</resetValue>
  29834. <resetMask>0xFF</resetMask>
  29835. <fields>
  29836. <field>
  29837. <name>RT</name>
  29838. <description>Reads return the contents of the read-only receive data register and writes go to the write-only transmit data register</description>
  29839. <bitOffset>0</bitOffset>
  29840. <bitWidth>8</bitWidth>
  29841. <access>read-write</access>
  29842. </field>
  29843. </fields>
  29844. </register>
  29845. <register>
  29846. <name>MA1</name>
  29847. <description>UART Match Address Registers 1</description>
  29848. <addressOffset>0x8</addressOffset>
  29849. <size>8</size>
  29850. <access>read-write</access>
  29851. <resetValue>0</resetValue>
  29852. <resetMask>0xFF</resetMask>
  29853. <fields>
  29854. <field>
  29855. <name>MA</name>
  29856. <description>Match Address</description>
  29857. <bitOffset>0</bitOffset>
  29858. <bitWidth>8</bitWidth>
  29859. <access>read-write</access>
  29860. </field>
  29861. </fields>
  29862. </register>
  29863. <register>
  29864. <name>MA2</name>
  29865. <description>UART Match Address Registers 2</description>
  29866. <addressOffset>0x9</addressOffset>
  29867. <size>8</size>
  29868. <access>read-write</access>
  29869. <resetValue>0</resetValue>
  29870. <resetMask>0xFF</resetMask>
  29871. <fields>
  29872. <field>
  29873. <name>MA</name>
  29874. <description>Match Address</description>
  29875. <bitOffset>0</bitOffset>
  29876. <bitWidth>8</bitWidth>
  29877. <access>read-write</access>
  29878. </field>
  29879. </fields>
  29880. </register>
  29881. <register>
  29882. <name>C4</name>
  29883. <description>UART Control Register 4</description>
  29884. <addressOffset>0xA</addressOffset>
  29885. <size>8</size>
  29886. <access>read-write</access>
  29887. <resetValue>0</resetValue>
  29888. <resetMask>0xFF</resetMask>
  29889. <fields>
  29890. <field>
  29891. <name>BRFA</name>
  29892. <description>Baud Rate Fine Adjust</description>
  29893. <bitOffset>0</bitOffset>
  29894. <bitWidth>5</bitWidth>
  29895. <access>read-write</access>
  29896. </field>
  29897. <field>
  29898. <name>M10</name>
  29899. <description>10-bit Mode select</description>
  29900. <bitOffset>5</bitOffset>
  29901. <bitWidth>1</bitWidth>
  29902. <access>read-write</access>
  29903. <enumeratedValues>
  29904. <enumeratedValue>
  29905. <name>0</name>
  29906. <description>The parity bit is the ninth bit in the serial transmission.</description>
  29907. <value>#0</value>
  29908. </enumeratedValue>
  29909. <enumeratedValue>
  29910. <name>1</name>
  29911. <description>The parity bit is the tenth bit in the serial transmission.</description>
  29912. <value>#1</value>
  29913. </enumeratedValue>
  29914. </enumeratedValues>
  29915. </field>
  29916. <field>
  29917. <name>MAEN2</name>
  29918. <description>Match Address Mode Enable 2</description>
  29919. <bitOffset>6</bitOffset>
  29920. <bitWidth>1</bitWidth>
  29921. <access>read-write</access>
  29922. <enumeratedValues>
  29923. <enumeratedValue>
  29924. <name>0</name>
  29925. <description>All data received is transferred to the data buffer if MAEN1 is cleared.</description>
  29926. <value>#0</value>
  29927. </enumeratedValue>
  29928. <enumeratedValue>
  29929. <name>1</name>
  29930. <description>All data received with the most significant bit cleared, is discarded. All data received with the most significant bit set, is compared with contents of MA2 register. If no match occurs, the data is discarded. If match occurs, data is transferred to the data buffer.This bit must be cleared when C7816[ISO7816E] is set/enabled.</description>
  29931. <value>#1</value>
  29932. </enumeratedValue>
  29933. </enumeratedValues>
  29934. </field>
  29935. <field>
  29936. <name>MAEN1</name>
  29937. <description>Match Address Mode Enable 1</description>
  29938. <bitOffset>7</bitOffset>
  29939. <bitWidth>1</bitWidth>
  29940. <access>read-write</access>
  29941. <enumeratedValues>
  29942. <enumeratedValue>
  29943. <name>0</name>
  29944. <description>All data received is transferred to the data buffer if MAEN2 is cleared.</description>
  29945. <value>#0</value>
  29946. </enumeratedValue>
  29947. <enumeratedValue>
  29948. <name>1</name>
  29949. <description>All data received with the most significant bit cleared, is discarded. All data received with the most significant bit set, is compared with contents of MA1 register. If no match occurs, the data is discarded. If match occurs, data is transferred to the data buffer.This bit must be cleared when C7816[ISO7816E] is set/enabled.</description>
  29950. <value>#1</value>
  29951. </enumeratedValue>
  29952. </enumeratedValues>
  29953. </field>
  29954. </fields>
  29955. </register>
  29956. <register>
  29957. <name>C5</name>
  29958. <description>UART Control Register 5</description>
  29959. <addressOffset>0xB</addressOffset>
  29960. <size>8</size>
  29961. <access>read-write</access>
  29962. <resetValue>0</resetValue>
  29963. <resetMask>0xFF</resetMask>
  29964. <fields>
  29965. <field>
  29966. <name>RDMAS</name>
  29967. <description>Receiver Full DMA Select</description>
  29968. <bitOffset>5</bitOffset>
  29969. <bitWidth>1</bitWidth>
  29970. <access>read-write</access>
  29971. <enumeratedValues>
  29972. <enumeratedValue>
  29973. <name>0</name>
  29974. <description>If C2[RIE] is set and the S1[RDRF] flag is set, the RDFR interrupt request signal is asserted to request interrupt service.</description>
  29975. <value>#0</value>
  29976. </enumeratedValue>
  29977. <enumeratedValue>
  29978. <name>1</name>
  29979. <description>If C2[RIE] is set and the S1[RDRF] flag is set, the RDRF DMA request signal is asserted to request a DMA transfer.</description>
  29980. <value>#1</value>
  29981. </enumeratedValue>
  29982. </enumeratedValues>
  29983. </field>
  29984. <field>
  29985. <name>TDMAS</name>
  29986. <description>Transmitter DMA Select</description>
  29987. <bitOffset>7</bitOffset>
  29988. <bitWidth>1</bitWidth>
  29989. <access>read-write</access>
  29990. <enumeratedValues>
  29991. <enumeratedValue>
  29992. <name>0</name>
  29993. <description>If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE interrupt request signal is asserted to request interrupt service.</description>
  29994. <value>#0</value>
  29995. </enumeratedValue>
  29996. <enumeratedValue>
  29997. <name>1</name>
  29998. <description>If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE DMA request signal is asserted to request a DMA transfer.</description>
  29999. <value>#1</value>
  30000. </enumeratedValue>
  30001. </enumeratedValues>
  30002. </field>
  30003. </fields>
  30004. </register>
  30005. <register>
  30006. <name>ED</name>
  30007. <description>UART Extended Data Register</description>
  30008. <addressOffset>0xC</addressOffset>
  30009. <size>8</size>
  30010. <access>read-only</access>
  30011. <resetValue>0</resetValue>
  30012. <resetMask>0xFF</resetMask>
  30013. <fields>
  30014. <field>
  30015. <name>PARITYE</name>
  30016. <description>The current received dataword contained in D and C3[R8] was received with a parity error.</description>
  30017. <bitOffset>6</bitOffset>
  30018. <bitWidth>1</bitWidth>
  30019. <access>read-only</access>
  30020. <enumeratedValues>
  30021. <enumeratedValue>
  30022. <name>0</name>
  30023. <description>The dataword was received without a parity error.</description>
  30024. <value>#0</value>
  30025. </enumeratedValue>
  30026. <enumeratedValue>
  30027. <name>1</name>
  30028. <description>The dataword was received with a parity error.</description>
  30029. <value>#1</value>
  30030. </enumeratedValue>
  30031. </enumeratedValues>
  30032. </field>
  30033. <field>
  30034. <name>NOISY</name>
  30035. <description>The current received dataword contained in D and C3[R8] was received with noise.</description>
  30036. <bitOffset>7</bitOffset>
  30037. <bitWidth>1</bitWidth>
  30038. <access>read-only</access>
  30039. <enumeratedValues>
  30040. <enumeratedValue>
  30041. <name>0</name>
  30042. <description>The dataword was received without noise.</description>
  30043. <value>#0</value>
  30044. </enumeratedValue>
  30045. <enumeratedValue>
  30046. <name>1</name>
  30047. <description>The data was received with noise.</description>
  30048. <value>#1</value>
  30049. </enumeratedValue>
  30050. </enumeratedValues>
  30051. </field>
  30052. </fields>
  30053. </register>
  30054. <register>
  30055. <name>MODEM</name>
  30056. <description>UART Modem Register</description>
  30057. <addressOffset>0xD</addressOffset>
  30058. <size>8</size>
  30059. <access>read-write</access>
  30060. <resetValue>0</resetValue>
  30061. <resetMask>0xFF</resetMask>
  30062. <fields>
  30063. <field>
  30064. <name>TXCTSE</name>
  30065. <description>Transmitter clear-to-send enable</description>
  30066. <bitOffset>0</bitOffset>
  30067. <bitWidth>1</bitWidth>
  30068. <access>read-write</access>
  30069. <enumeratedValues>
  30070. <enumeratedValue>
  30071. <name>0</name>
  30072. <description>CTS has no effect on the transmitter.</description>
  30073. <value>#0</value>
  30074. </enumeratedValue>
  30075. <enumeratedValue>
  30076. <name>1</name>
  30077. <description>Enables clear-to-send operation. The transmitter checks the state of CTS each time it is ready to send a character. If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in the mark state and transmission is delayed until CTS is asserted. Changes in CTS as a character is being sent do not affect its transmission.</description>
  30078. <value>#1</value>
  30079. </enumeratedValue>
  30080. </enumeratedValues>
  30081. </field>
  30082. <field>
  30083. <name>TXRTSE</name>
  30084. <description>Transmitter request-to-send enable</description>
  30085. <bitOffset>1</bitOffset>
  30086. <bitWidth>1</bitWidth>
  30087. <access>read-write</access>
  30088. <enumeratedValues>
  30089. <enumeratedValue>
  30090. <name>0</name>
  30091. <description>The transmitter has no effect on RTS.</description>
  30092. <value>#0</value>
  30093. </enumeratedValue>
  30094. <enumeratedValue>
  30095. <name>1</name>
  30096. <description>When a character is placed into an empty transmitter data buffer(FIFO), RTS asserts one bit time before the start bit is transmitted. RTS deasserts one bit time after all characters in the transmitter data buffer(FIFO) and shift register are completely sent, including the last stop bit.</description>
  30097. <value>#1</value>
  30098. </enumeratedValue>
  30099. </enumeratedValues>
  30100. </field>
  30101. <field>
  30102. <name>TXRTSPOL</name>
  30103. <description>Transmitter request-to-send polarity</description>
  30104. <bitOffset>2</bitOffset>
  30105. <bitWidth>1</bitWidth>
  30106. <access>read-write</access>
  30107. <enumeratedValues>
  30108. <enumeratedValue>
  30109. <name>0</name>
  30110. <description>Transmitter RTS is active low.</description>
  30111. <value>#0</value>
  30112. </enumeratedValue>
  30113. <enumeratedValue>
  30114. <name>1</name>
  30115. <description>Transmitter RTS is active high.</description>
  30116. <value>#1</value>
  30117. </enumeratedValue>
  30118. </enumeratedValues>
  30119. </field>
  30120. <field>
  30121. <name>RXRTSE</name>
  30122. <description>Receiver request-to-send enable</description>
  30123. <bitOffset>3</bitOffset>
  30124. <bitWidth>1</bitWidth>
  30125. <access>read-write</access>
  30126. <enumeratedValues>
  30127. <enumeratedValue>
  30128. <name>0</name>
  30129. <description>The receiver has no effect on RTS.</description>
  30130. <value>#0</value>
  30131. </enumeratedValue>
  30132. <enumeratedValue>
  30133. <name>1</name>
  30134. <description>RTS is deasserted if the number of characters in the receiver data register (FIFO) is equal to or greater than RWFIFO[RXWATER]. RTS is asserted when the number of characters in the receiver data register (FIFO) is less than RWFIFO[RXWATER].</description>
  30135. <value>#1</value>
  30136. </enumeratedValue>
  30137. </enumeratedValues>
  30138. </field>
  30139. </fields>
  30140. </register>
  30141. <register>
  30142. <name>IR</name>
  30143. <description>UART Infrared Register</description>
  30144. <addressOffset>0xE</addressOffset>
  30145. <size>8</size>
  30146. <access>read-write</access>
  30147. <resetValue>0</resetValue>
  30148. <resetMask>0xFF</resetMask>
  30149. <fields>
  30150. <field>
  30151. <name>TNP</name>
  30152. <description>Transmitter narrow pulse</description>
  30153. <bitOffset>0</bitOffset>
  30154. <bitWidth>2</bitWidth>
  30155. <access>read-write</access>
  30156. <enumeratedValues>
  30157. <enumeratedValue>
  30158. <name>00</name>
  30159. <description>3/16.</description>
  30160. <value>#00</value>
  30161. </enumeratedValue>
  30162. <enumeratedValue>
  30163. <name>01</name>
  30164. <description>1/16.</description>
  30165. <value>#01</value>
  30166. </enumeratedValue>
  30167. <enumeratedValue>
  30168. <name>10</name>
  30169. <description>1/32.</description>
  30170. <value>#10</value>
  30171. </enumeratedValue>
  30172. <enumeratedValue>
  30173. <name>11</name>
  30174. <description>1/4.</description>
  30175. <value>#11</value>
  30176. </enumeratedValue>
  30177. </enumeratedValues>
  30178. </field>
  30179. <field>
  30180. <name>IREN</name>
  30181. <description>Infrared enable</description>
  30182. <bitOffset>2</bitOffset>
  30183. <bitWidth>1</bitWidth>
  30184. <access>read-write</access>
  30185. <enumeratedValues>
  30186. <enumeratedValue>
  30187. <name>0</name>
  30188. <description>IR disabled.</description>
  30189. <value>#0</value>
  30190. </enumeratedValue>
  30191. <enumeratedValue>
  30192. <name>1</name>
  30193. <description>IR enabled.</description>
  30194. <value>#1</value>
  30195. </enumeratedValue>
  30196. </enumeratedValues>
  30197. </field>
  30198. </fields>
  30199. </register>
  30200. <register>
  30201. <name>PFIFO</name>
  30202. <description>UART FIFO Parameters</description>
  30203. <addressOffset>0x10</addressOffset>
  30204. <size>8</size>
  30205. <access>read-write</access>
  30206. <resetValue>0</resetValue>
  30207. <resetMask>0xFF</resetMask>
  30208. <fields>
  30209. <field>
  30210. <name>RXFIFOSIZE</name>
  30211. <description>Receive FIFO. Buffer Depth</description>
  30212. <bitOffset>0</bitOffset>
  30213. <bitWidth>3</bitWidth>
  30214. <access>read-only</access>
  30215. <enumeratedValues>
  30216. <enumeratedValue>
  30217. <name>000</name>
  30218. <description>Receive FIFO/Buffer Depth = 1 Dataword.</description>
  30219. <value>#000</value>
  30220. </enumeratedValue>
  30221. <enumeratedValue>
  30222. <name>001</name>
  30223. <description>Receive FIFO/Buffer Depth = 4 Datawords.</description>
  30224. <value>#001</value>
  30225. </enumeratedValue>
  30226. <enumeratedValue>
  30227. <name>010</name>
  30228. <description>Receive FIFO/Buffer Depth = 8 Datawords.</description>
  30229. <value>#010</value>
  30230. </enumeratedValue>
  30231. <enumeratedValue>
  30232. <name>011</name>
  30233. <description>Receive FIFO/Buffer Depth = 16 Datawords.</description>
  30234. <value>#011</value>
  30235. </enumeratedValue>
  30236. <enumeratedValue>
  30237. <name>100</name>
  30238. <description>Receive FIFO/Buffer Depth = 32 Datawords.</description>
  30239. <value>#100</value>
  30240. </enumeratedValue>
  30241. <enumeratedValue>
  30242. <name>101</name>
  30243. <description>Receive FIFO/Buffer Depth = 64 Datawords.</description>
  30244. <value>#101</value>
  30245. </enumeratedValue>
  30246. <enumeratedValue>
  30247. <name>110</name>
  30248. <description>Receive FIFO/Buffer Depth = 128 Datawords.</description>
  30249. <value>#110</value>
  30250. </enumeratedValue>
  30251. </enumeratedValues>
  30252. </field>
  30253. <field>
  30254. <name>RXFE</name>
  30255. <description>Receive FIFO Enable</description>
  30256. <bitOffset>3</bitOffset>
  30257. <bitWidth>1</bitWidth>
  30258. <access>read-write</access>
  30259. <enumeratedValues>
  30260. <enumeratedValue>
  30261. <name>0</name>
  30262. <description>Receive FIFO is not enabled. Buffer is depth 1. (Legacy support)</description>
  30263. <value>#0</value>
  30264. </enumeratedValue>
  30265. <enumeratedValue>
  30266. <name>1</name>
  30267. <description>Receive FIFO is enabled. Buffer is depth indicted by RXFIFOSIZE.</description>
  30268. <value>#1</value>
  30269. </enumeratedValue>
  30270. </enumeratedValues>
  30271. </field>
  30272. <field>
  30273. <name>TXFIFOSIZE</name>
  30274. <description>Transmit FIFO. Buffer Depth</description>
  30275. <bitOffset>4</bitOffset>
  30276. <bitWidth>3</bitWidth>
  30277. <access>read-only</access>
  30278. <enumeratedValues>
  30279. <enumeratedValue>
  30280. <name>000</name>
  30281. <description>Transmit FIFO/Buffer Depth = 1 Dataword.</description>
  30282. <value>#000</value>
  30283. </enumeratedValue>
  30284. <enumeratedValue>
  30285. <name>001</name>
  30286. <description>Transmit FIFO/Buffer Depth = 4 Datawords.</description>
  30287. <value>#001</value>
  30288. </enumeratedValue>
  30289. <enumeratedValue>
  30290. <name>010</name>
  30291. <description>Transmit FIFO/Buffer Depth = 8 Datawords.</description>
  30292. <value>#010</value>
  30293. </enumeratedValue>
  30294. <enumeratedValue>
  30295. <name>011</name>
  30296. <description>Transmit FIFO/Buffer Depth = 16 Datawords.</description>
  30297. <value>#011</value>
  30298. </enumeratedValue>
  30299. <enumeratedValue>
  30300. <name>100</name>
  30301. <description>Transmit FIFO/Buffer Depth = 32 Datawords.</description>
  30302. <value>#100</value>
  30303. </enumeratedValue>
  30304. <enumeratedValue>
  30305. <name>101</name>
  30306. <description>Transmit FIFO/Buffer Depth = 64 Datawords.</description>
  30307. <value>#101</value>
  30308. </enumeratedValue>
  30309. <enumeratedValue>
  30310. <name>110</name>
  30311. <description>Transmit FIFO/Buffer Depth = 128 Datawords.</description>
  30312. <value>#110</value>
  30313. </enumeratedValue>
  30314. </enumeratedValues>
  30315. </field>
  30316. <field>
  30317. <name>TXFE</name>
  30318. <description>Transmit FIFO Enable</description>
  30319. <bitOffset>7</bitOffset>
  30320. <bitWidth>1</bitWidth>
  30321. <access>read-write</access>
  30322. <enumeratedValues>
  30323. <enumeratedValue>
  30324. <name>0</name>
  30325. <description>Transmit FIFO is not enabled. Buffer is depth 1. (Legacy support).</description>
  30326. <value>#0</value>
  30327. </enumeratedValue>
  30328. <enumeratedValue>
  30329. <name>1</name>
  30330. <description>Transmit FIFO is enabled. Buffer is depth indicted by TXFIFOSIZE.</description>
  30331. <value>#1</value>
  30332. </enumeratedValue>
  30333. </enumeratedValues>
  30334. </field>
  30335. </fields>
  30336. </register>
  30337. <register>
  30338. <name>CFIFO</name>
  30339. <description>UART FIFO Control Register</description>
  30340. <addressOffset>0x11</addressOffset>
  30341. <size>8</size>
  30342. <access>read-write</access>
  30343. <resetValue>0</resetValue>
  30344. <resetMask>0xFF</resetMask>
  30345. <fields>
  30346. <field>
  30347. <name>RXUFE</name>
  30348. <description>Receive FIFO Underflow Interrupt Enable</description>
  30349. <bitOffset>0</bitOffset>
  30350. <bitWidth>1</bitWidth>
  30351. <access>read-write</access>
  30352. <enumeratedValues>
  30353. <enumeratedValue>
  30354. <name>0</name>
  30355. <description>RXUF flag does not generate an interrupt to the host.</description>
  30356. <value>#0</value>
  30357. </enumeratedValue>
  30358. <enumeratedValue>
  30359. <name>1</name>
  30360. <description>RXUF flag generates an interrupt to the host.</description>
  30361. <value>#1</value>
  30362. </enumeratedValue>
  30363. </enumeratedValues>
  30364. </field>
  30365. <field>
  30366. <name>TXOFE</name>
  30367. <description>Transmit FIFO Overflow Interrupt Enable</description>
  30368. <bitOffset>1</bitOffset>
  30369. <bitWidth>1</bitWidth>
  30370. <access>read-write</access>
  30371. <enumeratedValues>
  30372. <enumeratedValue>
  30373. <name>0</name>
  30374. <description>TXOF flag does not generate an interrupt to the host.</description>
  30375. <value>#0</value>
  30376. </enumeratedValue>
  30377. <enumeratedValue>
  30378. <name>1</name>
  30379. <description>TXOF flag generates an interrupt to the host.</description>
  30380. <value>#1</value>
  30381. </enumeratedValue>
  30382. </enumeratedValues>
  30383. </field>
  30384. <field>
  30385. <name>RXFLUSH</name>
  30386. <description>Receive FIFO/Buffer Flush</description>
  30387. <bitOffset>6</bitOffset>
  30388. <bitWidth>1</bitWidth>
  30389. <access>write-only</access>
  30390. <enumeratedValues>
  30391. <enumeratedValue>
  30392. <name>0</name>
  30393. <description>No flush operation occurs.</description>
  30394. <value>#0</value>
  30395. </enumeratedValue>
  30396. <enumeratedValue>
  30397. <name>1</name>
  30398. <description>All data in the receive FIFO/buffer is cleared out.</description>
  30399. <value>#1</value>
  30400. </enumeratedValue>
  30401. </enumeratedValues>
  30402. </field>
  30403. <field>
  30404. <name>TXFLUSH</name>
  30405. <description>Transmit FIFO/Buffer Flush</description>
  30406. <bitOffset>7</bitOffset>
  30407. <bitWidth>1</bitWidth>
  30408. <access>write-only</access>
  30409. <enumeratedValues>
  30410. <enumeratedValue>
  30411. <name>0</name>
  30412. <description>No flush operation occurs.</description>
  30413. <value>#0</value>
  30414. </enumeratedValue>
  30415. <enumeratedValue>
  30416. <name>1</name>
  30417. <description>All data in the transmit FIFO/Buffer is cleared out.</description>
  30418. <value>#1</value>
  30419. </enumeratedValue>
  30420. </enumeratedValues>
  30421. </field>
  30422. </fields>
  30423. </register>
  30424. <register>
  30425. <name>SFIFO</name>
  30426. <description>UART FIFO Status Register</description>
  30427. <addressOffset>0x12</addressOffset>
  30428. <size>8</size>
  30429. <access>read-write</access>
  30430. <resetValue>0xC0</resetValue>
  30431. <resetMask>0xFF</resetMask>
  30432. <fields>
  30433. <field>
  30434. <name>RXUF</name>
  30435. <description>Receiver Buffer Underflow Flag</description>
  30436. <bitOffset>0</bitOffset>
  30437. <bitWidth>1</bitWidth>
  30438. <access>read-write</access>
  30439. <enumeratedValues>
  30440. <enumeratedValue>
  30441. <name>0</name>
  30442. <description>No receive buffer underflow has occurred since the last time the flag was cleared.</description>
  30443. <value>#0</value>
  30444. </enumeratedValue>
  30445. <enumeratedValue>
  30446. <name>1</name>
  30447. <description>At least one receive buffer underflow has occurred since the last time the flag was cleared.</description>
  30448. <value>#1</value>
  30449. </enumeratedValue>
  30450. </enumeratedValues>
  30451. </field>
  30452. <field>
  30453. <name>TXOF</name>
  30454. <description>Transmitter Buffer Overflow Flag</description>
  30455. <bitOffset>1</bitOffset>
  30456. <bitWidth>1</bitWidth>
  30457. <access>read-write</access>
  30458. <enumeratedValues>
  30459. <enumeratedValue>
  30460. <name>0</name>
  30461. <description>No transmit buffer overflow has occurred since the last time the flag was cleared.</description>
  30462. <value>#0</value>
  30463. </enumeratedValue>
  30464. <enumeratedValue>
  30465. <name>1</name>
  30466. <description>At least one transmit buffer overflow has occurred since the last time the flag was cleared.</description>
  30467. <value>#1</value>
  30468. </enumeratedValue>
  30469. </enumeratedValues>
  30470. </field>
  30471. <field>
  30472. <name>RXEMPT</name>
  30473. <description>Receive Buffer/FIFO Empty</description>
  30474. <bitOffset>6</bitOffset>
  30475. <bitWidth>1</bitWidth>
  30476. <access>read-only</access>
  30477. <enumeratedValues>
  30478. <enumeratedValue>
  30479. <name>0</name>
  30480. <description>Receive buffer is not empty.</description>
  30481. <value>#0</value>
  30482. </enumeratedValue>
  30483. <enumeratedValue>
  30484. <name>1</name>
  30485. <description>Receive buffer is empty.</description>
  30486. <value>#1</value>
  30487. </enumeratedValue>
  30488. </enumeratedValues>
  30489. </field>
  30490. <field>
  30491. <name>TXEMPT</name>
  30492. <description>Transmit Buffer/FIFO Empty</description>
  30493. <bitOffset>7</bitOffset>
  30494. <bitWidth>1</bitWidth>
  30495. <access>read-only</access>
  30496. <enumeratedValues>
  30497. <enumeratedValue>
  30498. <name>0</name>
  30499. <description>Transmit buffer is not empty.</description>
  30500. <value>#0</value>
  30501. </enumeratedValue>
  30502. <enumeratedValue>
  30503. <name>1</name>
  30504. <description>Transmit buffer is empty.</description>
  30505. <value>#1</value>
  30506. </enumeratedValue>
  30507. </enumeratedValues>
  30508. </field>
  30509. </fields>
  30510. </register>
  30511. <register>
  30512. <name>TWFIFO</name>
  30513. <description>UART FIFO Transmit Watermark</description>
  30514. <addressOffset>0x13</addressOffset>
  30515. <size>8</size>
  30516. <access>read-write</access>
  30517. <resetValue>0</resetValue>
  30518. <resetMask>0xFF</resetMask>
  30519. <fields>
  30520. <field>
  30521. <name>TXWATER</name>
  30522. <description>Transmit Watermark</description>
  30523. <bitOffset>0</bitOffset>
  30524. <bitWidth>8</bitWidth>
  30525. <access>read-write</access>
  30526. </field>
  30527. </fields>
  30528. </register>
  30529. <register>
  30530. <name>TCFIFO</name>
  30531. <description>UART FIFO Transmit Count</description>
  30532. <addressOffset>0x14</addressOffset>
  30533. <size>8</size>
  30534. <access>read-only</access>
  30535. <resetValue>0</resetValue>
  30536. <resetMask>0xFF</resetMask>
  30537. <fields>
  30538. <field>
  30539. <name>TXCOUNT</name>
  30540. <description>Transmit Counter</description>
  30541. <bitOffset>0</bitOffset>
  30542. <bitWidth>8</bitWidth>
  30543. <access>read-only</access>
  30544. </field>
  30545. </fields>
  30546. </register>
  30547. <register>
  30548. <name>RWFIFO</name>
  30549. <description>UART FIFO Receive Watermark</description>
  30550. <addressOffset>0x15</addressOffset>
  30551. <size>8</size>
  30552. <access>read-write</access>
  30553. <resetValue>0x1</resetValue>
  30554. <resetMask>0xFF</resetMask>
  30555. <fields>
  30556. <field>
  30557. <name>RXWATER</name>
  30558. <description>Receive Watermark</description>
  30559. <bitOffset>0</bitOffset>
  30560. <bitWidth>8</bitWidth>
  30561. <access>read-write</access>
  30562. </field>
  30563. </fields>
  30564. </register>
  30565. <register>
  30566. <name>RCFIFO</name>
  30567. <description>UART FIFO Receive Count</description>
  30568. <addressOffset>0x16</addressOffset>
  30569. <size>8</size>
  30570. <access>read-only</access>
  30571. <resetValue>0</resetValue>
  30572. <resetMask>0xFF</resetMask>
  30573. <fields>
  30574. <field>
  30575. <name>RXCOUNT</name>
  30576. <description>Receive Counter</description>
  30577. <bitOffset>0</bitOffset>
  30578. <bitWidth>8</bitWidth>
  30579. <access>read-only</access>
  30580. </field>
  30581. </fields>
  30582. </register>
  30583. </registers>
  30584. </peripheral>
  30585. <peripheral>
  30586. <name>UART2</name>
  30587. <description>Serial Communication Interface</description>
  30588. <groupName>UART</groupName>
  30589. <prependToName>UART2_</prependToName>
  30590. <baseAddress>0x4006C000</baseAddress>
  30591. <addressBlock>
  30592. <offset>0</offset>
  30593. <size>0x17</size>
  30594. <usage>registers</usage>
  30595. </addressBlock>
  30596. <interrupt>
  30597. <name>UART2_RX_TX</name>
  30598. <value>20</value>
  30599. </interrupt>
  30600. <interrupt>
  30601. <name>UART2_ERR</name>
  30602. <value>21</value>
  30603. </interrupt>
  30604. <registers>
  30605. <register>
  30606. <name>BDH</name>
  30607. <description>UART Baud Rate Registers:High</description>
  30608. <addressOffset>0</addressOffset>
  30609. <size>8</size>
  30610. <access>read-write</access>
  30611. <resetValue>0</resetValue>
  30612. <resetMask>0xFF</resetMask>
  30613. <fields>
  30614. <field>
  30615. <name>SBR</name>
  30616. <description>UART Baud Rate Bits</description>
  30617. <bitOffset>0</bitOffset>
  30618. <bitWidth>5</bitWidth>
  30619. <access>read-write</access>
  30620. </field>
  30621. <field>
  30622. <name>RXEDGIE</name>
  30623. <description>RxD Input Active Edge Interrupt Enable</description>
  30624. <bitOffset>6</bitOffset>
  30625. <bitWidth>1</bitWidth>
  30626. <access>read-write</access>
  30627. <enumeratedValues>
  30628. <enumeratedValue>
  30629. <name>0</name>
  30630. <description>Hardware interrupts from RXEDGIF disabled (use polling).</description>
  30631. <value>#0</value>
  30632. </enumeratedValue>
  30633. <enumeratedValue>
  30634. <name>1</name>
  30635. <description>RXEDGIF interrupt request enabled.</description>
  30636. <value>#1</value>
  30637. </enumeratedValue>
  30638. </enumeratedValues>
  30639. </field>
  30640. <field>
  30641. <name>LBKDIE</name>
  30642. <description>LIN Break Detect Interrupt Enable</description>
  30643. <bitOffset>7</bitOffset>
  30644. <bitWidth>1</bitWidth>
  30645. <access>read-write</access>
  30646. <enumeratedValues>
  30647. <enumeratedValue>
  30648. <name>0</name>
  30649. <description>LBKDIF interrupt requests disabled.</description>
  30650. <value>#0</value>
  30651. </enumeratedValue>
  30652. <enumeratedValue>
  30653. <name>1</name>
  30654. <description>LBKDIF interrupt requests enabled.</description>
  30655. <value>#1</value>
  30656. </enumeratedValue>
  30657. </enumeratedValues>
  30658. </field>
  30659. </fields>
  30660. </register>
  30661. <register>
  30662. <name>BDL</name>
  30663. <description>UART Baud Rate Registers: Low</description>
  30664. <addressOffset>0x1</addressOffset>
  30665. <size>8</size>
  30666. <access>read-write</access>
  30667. <resetValue>0x4</resetValue>
  30668. <resetMask>0xFF</resetMask>
  30669. <fields>
  30670. <field>
  30671. <name>SBR</name>
  30672. <description>UART Baud Rate Bits</description>
  30673. <bitOffset>0</bitOffset>
  30674. <bitWidth>8</bitWidth>
  30675. <access>read-write</access>
  30676. </field>
  30677. </fields>
  30678. </register>
  30679. <register>
  30680. <name>C1</name>
  30681. <description>UART Control Register 1</description>
  30682. <addressOffset>0x2</addressOffset>
  30683. <size>8</size>
  30684. <access>read-write</access>
  30685. <resetValue>0</resetValue>
  30686. <resetMask>0xFF</resetMask>
  30687. <fields>
  30688. <field>
  30689. <name>PT</name>
  30690. <description>Parity Type</description>
  30691. <bitOffset>0</bitOffset>
  30692. <bitWidth>1</bitWidth>
  30693. <access>read-write</access>
  30694. <enumeratedValues>
  30695. <enumeratedValue>
  30696. <name>0</name>
  30697. <description>Even parity.</description>
  30698. <value>#0</value>
  30699. </enumeratedValue>
  30700. <enumeratedValue>
  30701. <name>1</name>
  30702. <description>Odd parity.</description>
  30703. <value>#1</value>
  30704. </enumeratedValue>
  30705. </enumeratedValues>
  30706. </field>
  30707. <field>
  30708. <name>PE</name>
  30709. <description>Parity Enable</description>
  30710. <bitOffset>1</bitOffset>
  30711. <bitWidth>1</bitWidth>
  30712. <access>read-write</access>
  30713. <enumeratedValues>
  30714. <enumeratedValue>
  30715. <name>0</name>
  30716. <description>Parity function disabled.</description>
  30717. <value>#0</value>
  30718. </enumeratedValue>
  30719. <enumeratedValue>
  30720. <name>1</name>
  30721. <description>Parity function enabled.</description>
  30722. <value>#1</value>
  30723. </enumeratedValue>
  30724. </enumeratedValues>
  30725. </field>
  30726. <field>
  30727. <name>ILT</name>
  30728. <description>Idle Line Type Select</description>
  30729. <bitOffset>2</bitOffset>
  30730. <bitWidth>1</bitWidth>
  30731. <access>read-write</access>
  30732. <enumeratedValues>
  30733. <enumeratedValue>
  30734. <name>0</name>
  30735. <description>Idle character bit count starts after start bit.</description>
  30736. <value>#0</value>
  30737. </enumeratedValue>
  30738. <enumeratedValue>
  30739. <name>1</name>
  30740. <description>Idle character bit count starts after stop bit.</description>
  30741. <value>#1</value>
  30742. </enumeratedValue>
  30743. </enumeratedValues>
  30744. </field>
  30745. <field>
  30746. <name>WAKE</name>
  30747. <description>Receiver Wakeup Method Select</description>
  30748. <bitOffset>3</bitOffset>
  30749. <bitWidth>1</bitWidth>
  30750. <access>read-write</access>
  30751. <enumeratedValues>
  30752. <enumeratedValue>
  30753. <name>0</name>
  30754. <description>Idle-line wakeup.</description>
  30755. <value>#0</value>
  30756. </enumeratedValue>
  30757. <enumeratedValue>
  30758. <name>1</name>
  30759. <description>Address-mark wakeup.</description>
  30760. <value>#1</value>
  30761. </enumeratedValue>
  30762. </enumeratedValues>
  30763. </field>
  30764. <field>
  30765. <name>M</name>
  30766. <description>9-bit or 8-bit Mode Select</description>
  30767. <bitOffset>4</bitOffset>
  30768. <bitWidth>1</bitWidth>
  30769. <access>read-write</access>
  30770. <enumeratedValues>
  30771. <enumeratedValue>
  30772. <name>0</name>
  30773. <description>Normal - start + 8 data bits (MSB/LSB first as determined by MSBF) + stop.</description>
  30774. <value>#0</value>
  30775. </enumeratedValue>
  30776. <enumeratedValue>
  30777. <name>1</name>
  30778. <description>Use - start + 9 data bits (MSB/LSB first as determined by MSBF) + stop.</description>
  30779. <value>#1</value>
  30780. </enumeratedValue>
  30781. </enumeratedValues>
  30782. </field>
  30783. <field>
  30784. <name>RSRC</name>
  30785. <description>Receiver Source Select</description>
  30786. <bitOffset>5</bitOffset>
  30787. <bitWidth>1</bitWidth>
  30788. <access>read-write</access>
  30789. <enumeratedValues>
  30790. <enumeratedValue>
  30791. <name>0</name>
  30792. <description>Selects internal loop back mode and receiver input is internally connected to transmitter output.</description>
  30793. <value>#0</value>
  30794. </enumeratedValue>
  30795. <enumeratedValue>
  30796. <name>1</name>
  30797. <description>Single-wire UART mode where the receiver input is connected to the transmit pin input signal.</description>
  30798. <value>#1</value>
  30799. </enumeratedValue>
  30800. </enumeratedValues>
  30801. </field>
  30802. <field>
  30803. <name>UARTSWAI</name>
  30804. <description>UART Stops in Wait Mode</description>
  30805. <bitOffset>6</bitOffset>
  30806. <bitWidth>1</bitWidth>
  30807. <access>read-write</access>
  30808. <enumeratedValues>
  30809. <enumeratedValue>
  30810. <name>0</name>
  30811. <description>UART clock continues to run in wait mode.</description>
  30812. <value>#0</value>
  30813. </enumeratedValue>
  30814. <enumeratedValue>
  30815. <name>1</name>
  30816. <description>UART clock freezes while CPU is in wait mode.</description>
  30817. <value>#1</value>
  30818. </enumeratedValue>
  30819. </enumeratedValues>
  30820. </field>
  30821. <field>
  30822. <name>LOOPS</name>
  30823. <description>Loop Mode Select</description>
  30824. <bitOffset>7</bitOffset>
  30825. <bitWidth>1</bitWidth>
  30826. <access>read-write</access>
  30827. <enumeratedValues>
  30828. <enumeratedValue>
  30829. <name>0</name>
  30830. <description>Normal operation.</description>
  30831. <value>#0</value>
  30832. </enumeratedValue>
  30833. <enumeratedValue>
  30834. <name>1</name>
  30835. <description>Loop mode where transmitter output is internally connected to receiver input. The receiver input is determined by the RSRC bit.</description>
  30836. <value>#1</value>
  30837. </enumeratedValue>
  30838. </enumeratedValues>
  30839. </field>
  30840. </fields>
  30841. </register>
  30842. <register>
  30843. <name>C2</name>
  30844. <description>UART Control Register 2</description>
  30845. <addressOffset>0x3</addressOffset>
  30846. <size>8</size>
  30847. <access>read-write</access>
  30848. <resetValue>0</resetValue>
  30849. <resetMask>0xFF</resetMask>
  30850. <fields>
  30851. <field>
  30852. <name>SBK</name>
  30853. <description>Send Break</description>
  30854. <bitOffset>0</bitOffset>
  30855. <bitWidth>1</bitWidth>
  30856. <access>read-write</access>
  30857. <enumeratedValues>
  30858. <enumeratedValue>
  30859. <name>0</name>
  30860. <description>Normal transmitter operation.</description>
  30861. <value>#0</value>
  30862. </enumeratedValue>
  30863. <enumeratedValue>
  30864. <name>1</name>
  30865. <description>Queue break character(s) to be sent.</description>
  30866. <value>#1</value>
  30867. </enumeratedValue>
  30868. </enumeratedValues>
  30869. </field>
  30870. <field>
  30871. <name>RWU</name>
  30872. <description>Receiver Wakeup Control</description>
  30873. <bitOffset>1</bitOffset>
  30874. <bitWidth>1</bitWidth>
  30875. <access>read-write</access>
  30876. <enumeratedValues>
  30877. <enumeratedValue>
  30878. <name>0</name>
  30879. <description>Normal operation.</description>
  30880. <value>#0</value>
  30881. </enumeratedValue>
  30882. <enumeratedValue>
  30883. <name>1</name>
  30884. <description>RWU enables the wakeup function and inhibits further receiver interrupt requests. Normally, hardware wakes the receiver by automatically clearing RWU.</description>
  30885. <value>#1</value>
  30886. </enumeratedValue>
  30887. </enumeratedValues>
  30888. </field>
  30889. <field>
  30890. <name>RE</name>
  30891. <description>Receiver Enable</description>
  30892. <bitOffset>2</bitOffset>
  30893. <bitWidth>1</bitWidth>
  30894. <access>read-write</access>
  30895. <enumeratedValues>
  30896. <enumeratedValue>
  30897. <name>0</name>
  30898. <description>Receiver off.</description>
  30899. <value>#0</value>
  30900. </enumeratedValue>
  30901. <enumeratedValue>
  30902. <name>1</name>
  30903. <description>Receiver on.</description>
  30904. <value>#1</value>
  30905. </enumeratedValue>
  30906. </enumeratedValues>
  30907. </field>
  30908. <field>
  30909. <name>TE</name>
  30910. <description>Transmitter Enable</description>
  30911. <bitOffset>3</bitOffset>
  30912. <bitWidth>1</bitWidth>
  30913. <access>read-write</access>
  30914. <enumeratedValues>
  30915. <enumeratedValue>
  30916. <name>0</name>
  30917. <description>Transmitter off.</description>
  30918. <value>#0</value>
  30919. </enumeratedValue>
  30920. <enumeratedValue>
  30921. <name>1</name>
  30922. <description>Transmitter on.</description>
  30923. <value>#1</value>
  30924. </enumeratedValue>
  30925. </enumeratedValues>
  30926. </field>
  30927. <field>
  30928. <name>ILIE</name>
  30929. <description>Idle Line Interrupt Enable</description>
  30930. <bitOffset>4</bitOffset>
  30931. <bitWidth>1</bitWidth>
  30932. <access>read-write</access>
  30933. <enumeratedValues>
  30934. <enumeratedValue>
  30935. <name>0</name>
  30936. <description>IDLE interrupt requests disabled.</description>
  30937. <value>#0</value>
  30938. </enumeratedValue>
  30939. <enumeratedValue>
  30940. <name>1</name>
  30941. <description>IDLE interrupt requests enabled.</description>
  30942. <value>#1</value>
  30943. </enumeratedValue>
  30944. </enumeratedValues>
  30945. </field>
  30946. <field>
  30947. <name>RIE</name>
  30948. <description>Receiver Full Interrupt or DMA Transfer Enable</description>
  30949. <bitOffset>5</bitOffset>
  30950. <bitWidth>1</bitWidth>
  30951. <access>read-write</access>
  30952. <enumeratedValues>
  30953. <enumeratedValue>
  30954. <name>0</name>
  30955. <description>RDRF interrupt and DMA transfer requests disabled.</description>
  30956. <value>#0</value>
  30957. </enumeratedValue>
  30958. <enumeratedValue>
  30959. <name>1</name>
  30960. <description>RDRF interrupt or DMA transfer requests enabled</description>
  30961. <value>#1</value>
  30962. </enumeratedValue>
  30963. </enumeratedValues>
  30964. </field>
  30965. <field>
  30966. <name>TCIE</name>
  30967. <description>Transmission Complete Interrupt Enable</description>
  30968. <bitOffset>6</bitOffset>
  30969. <bitWidth>1</bitWidth>
  30970. <access>read-write</access>
  30971. <enumeratedValues>
  30972. <enumeratedValue>
  30973. <name>0</name>
  30974. <description>TC interrupt requests disabled.</description>
  30975. <value>#0</value>
  30976. </enumeratedValue>
  30977. <enumeratedValue>
  30978. <name>1</name>
  30979. <description>TC interrupt requests enabled.</description>
  30980. <value>#1</value>
  30981. </enumeratedValue>
  30982. </enumeratedValues>
  30983. </field>
  30984. <field>
  30985. <name>TIE</name>
  30986. <description>Transmitter Interrupt or DMA Transfer Enable.</description>
  30987. <bitOffset>7</bitOffset>
  30988. <bitWidth>1</bitWidth>
  30989. <access>read-write</access>
  30990. <enumeratedValues>
  30991. <enumeratedValue>
  30992. <name>0</name>
  30993. <description>TDRE interrupt and DMA transfer requests disabled.</description>
  30994. <value>#0</value>
  30995. </enumeratedValue>
  30996. <enumeratedValue>
  30997. <name>1</name>
  30998. <description>TDRE interrupt or DMA transfer requests enabled.</description>
  30999. <value>#1</value>
  31000. </enumeratedValue>
  31001. </enumeratedValues>
  31002. </field>
  31003. </fields>
  31004. </register>
  31005. <register>
  31006. <name>S1</name>
  31007. <description>UART Status Register 1</description>
  31008. <addressOffset>0x4</addressOffset>
  31009. <size>8</size>
  31010. <access>read-only</access>
  31011. <resetValue>0xC0</resetValue>
  31012. <resetMask>0xFF</resetMask>
  31013. <fields>
  31014. <field>
  31015. <name>PF</name>
  31016. <description>Parity Error Flag</description>
  31017. <bitOffset>0</bitOffset>
  31018. <bitWidth>1</bitWidth>
  31019. <access>read-only</access>
  31020. <enumeratedValues>
  31021. <enumeratedValue>
  31022. <name>0</name>
  31023. <description>No parity error has been detected since the last time this flag was cleared. If the receive buffer has a depth greater than 1 then there may be data in the receive buffer what was received with a parity error.</description>
  31024. <value>#0</value>
  31025. </enumeratedValue>
  31026. <enumeratedValue>
  31027. <name>1</name>
  31028. <description>At least one dataword was received with a parity error since the last time this flag was cleared.</description>
  31029. <value>#1</value>
  31030. </enumeratedValue>
  31031. </enumeratedValues>
  31032. </field>
  31033. <field>
  31034. <name>FE</name>
  31035. <description>Framing Error Flag</description>
  31036. <bitOffset>1</bitOffset>
  31037. <bitWidth>1</bitWidth>
  31038. <access>read-only</access>
  31039. <enumeratedValues>
  31040. <enumeratedValue>
  31041. <name>0</name>
  31042. <description>No framing error detected.</description>
  31043. <value>#0</value>
  31044. </enumeratedValue>
  31045. <enumeratedValue>
  31046. <name>1</name>
  31047. <description>Framing error.</description>
  31048. <value>#1</value>
  31049. </enumeratedValue>
  31050. </enumeratedValues>
  31051. </field>
  31052. <field>
  31053. <name>NF</name>
  31054. <description>Noise Flag</description>
  31055. <bitOffset>2</bitOffset>
  31056. <bitWidth>1</bitWidth>
  31057. <access>read-only</access>
  31058. <enumeratedValues>
  31059. <enumeratedValue>
  31060. <name>0</name>
  31061. <description>No noise detected since the last time this flag was cleared. If the receive buffer has a depth greater than 1 then there may be data in the receiver buffer that was received with noise.</description>
  31062. <value>#0</value>
  31063. </enumeratedValue>
  31064. <enumeratedValue>
  31065. <name>1</name>
  31066. <description>At least one dataword was received with noise detected since the last time the flag was cleared.</description>
  31067. <value>#1</value>
  31068. </enumeratedValue>
  31069. </enumeratedValues>
  31070. </field>
  31071. <field>
  31072. <name>OR</name>
  31073. <description>Receiver Overrun Flag</description>
  31074. <bitOffset>3</bitOffset>
  31075. <bitWidth>1</bitWidth>
  31076. <access>read-only</access>
  31077. <enumeratedValues>
  31078. <enumeratedValue>
  31079. <name>0</name>
  31080. <description>No overrun has occurred since the last time the flag was cleared.</description>
  31081. <value>#0</value>
  31082. </enumeratedValue>
  31083. <enumeratedValue>
  31084. <name>1</name>
  31085. <description>Overrun has occurred or the overrun flag has not been cleared since the last overrun occured.</description>
  31086. <value>#1</value>
  31087. </enumeratedValue>
  31088. </enumeratedValues>
  31089. </field>
  31090. <field>
  31091. <name>IDLE</name>
  31092. <description>Idle Line Flag</description>
  31093. <bitOffset>4</bitOffset>
  31094. <bitWidth>1</bitWidth>
  31095. <access>read-only</access>
  31096. <enumeratedValues>
  31097. <enumeratedValue>
  31098. <name>0</name>
  31099. <description>Receiver input is either active now or has never become active since the IDLE flag was last cleared.</description>
  31100. <value>#0</value>
  31101. </enumeratedValue>
  31102. <enumeratedValue>
  31103. <name>1</name>
  31104. <description>Receiver input has become idle or the flag has not been cleared since it last asserted.</description>
  31105. <value>#1</value>
  31106. </enumeratedValue>
  31107. </enumeratedValues>
  31108. </field>
  31109. <field>
  31110. <name>RDRF</name>
  31111. <description>Receive Data Register Full Flag</description>
  31112. <bitOffset>5</bitOffset>
  31113. <bitWidth>1</bitWidth>
  31114. <access>read-only</access>
  31115. <enumeratedValues>
  31116. <enumeratedValue>
  31117. <name>0</name>
  31118. <description>The number of datawords in the receive buffer is less than the number indicated by RXWATER.</description>
  31119. <value>#0</value>
  31120. </enumeratedValue>
  31121. <enumeratedValue>
  31122. <name>1</name>
  31123. <description>The number of datawords in the receive buffer is equal to or greater than the number indicated by RXWATER at some point in time since this flag was last cleared.</description>
  31124. <value>#1</value>
  31125. </enumeratedValue>
  31126. </enumeratedValues>
  31127. </field>
  31128. <field>
  31129. <name>TC</name>
  31130. <description>Transmit Complete Flag</description>
  31131. <bitOffset>6</bitOffset>
  31132. <bitWidth>1</bitWidth>
  31133. <access>read-only</access>
  31134. <enumeratedValues>
  31135. <enumeratedValue>
  31136. <name>0</name>
  31137. <description>Transmitter active (sending data, a preamble, or a break).</description>
  31138. <value>#0</value>
  31139. </enumeratedValue>
  31140. <enumeratedValue>
  31141. <name>1</name>
  31142. <description>Transmitter idle (transmission activity complete).</description>
  31143. <value>#1</value>
  31144. </enumeratedValue>
  31145. </enumeratedValues>
  31146. </field>
  31147. <field>
  31148. <name>TDRE</name>
  31149. <description>Transmit Data Register Empty Flag</description>
  31150. <bitOffset>7</bitOffset>
  31151. <bitWidth>1</bitWidth>
  31152. <access>read-only</access>
  31153. <enumeratedValues>
  31154. <enumeratedValue>
  31155. <name>0</name>
  31156. <description>The amount of data in the transmit buffer is greater than the value indicated by TWFIFO[TXWATER].</description>
  31157. <value>#0</value>
  31158. </enumeratedValue>
  31159. <enumeratedValue>
  31160. <name>1</name>
  31161. <description>The amount of data in the transmit buffer is less than or equal to the value indicated by TWFIFO[TXWATER] at some point in time since the flag has been cleared.</description>
  31162. <value>#1</value>
  31163. </enumeratedValue>
  31164. </enumeratedValues>
  31165. </field>
  31166. </fields>
  31167. </register>
  31168. <register>
  31169. <name>S2</name>
  31170. <description>UART Status Register 2</description>
  31171. <addressOffset>0x5</addressOffset>
  31172. <size>8</size>
  31173. <access>read-write</access>
  31174. <resetValue>0</resetValue>
  31175. <resetMask>0xFF</resetMask>
  31176. <fields>
  31177. <field>
  31178. <name>RAF</name>
  31179. <description>Receiver Active Flag</description>
  31180. <bitOffset>0</bitOffset>
  31181. <bitWidth>1</bitWidth>
  31182. <access>read-only</access>
  31183. <enumeratedValues>
  31184. <enumeratedValue>
  31185. <name>0</name>
  31186. <description>UART receiver idle/inactive waiting for a start bit.</description>
  31187. <value>#0</value>
  31188. </enumeratedValue>
  31189. <enumeratedValue>
  31190. <name>1</name>
  31191. <description>UART receiver active (RxD input not idle).</description>
  31192. <value>#1</value>
  31193. </enumeratedValue>
  31194. </enumeratedValues>
  31195. </field>
  31196. <field>
  31197. <name>LBKDE</name>
  31198. <description>LIN Break Detection Enable</description>
  31199. <bitOffset>1</bitOffset>
  31200. <bitWidth>1</bitWidth>
  31201. <access>read-write</access>
  31202. <enumeratedValues>
  31203. <enumeratedValue>
  31204. <name>0</name>
  31205. <description>Break character is detected at length of 10 bit times (C1[M] = 0), 11 (C1[M] = 1 and C4[M10] = 0), or 12 (C1[M] = 1, C4[M10] = 1, and S1[PE] = 1).</description>
  31206. <value>#0</value>
  31207. </enumeratedValue>
  31208. <enumeratedValue>
  31209. <name>1</name>
  31210. <description>Break character is detected at length of 11 bits times (if C1[M] = 0 or 12 bits time (if C1[M] = 1).</description>
  31211. <value>#1</value>
  31212. </enumeratedValue>
  31213. </enumeratedValues>
  31214. </field>
  31215. <field>
  31216. <name>BRK13</name>
  31217. <description>Break Transmit Character Length</description>
  31218. <bitOffset>2</bitOffset>
  31219. <bitWidth>1</bitWidth>
  31220. <access>read-write</access>
  31221. <enumeratedValues>
  31222. <enumeratedValue>
  31223. <name>0</name>
  31224. <description>Break character is 10, 11, or 12 bits long.</description>
  31225. <value>#0</value>
  31226. </enumeratedValue>
  31227. <enumeratedValue>
  31228. <name>1</name>
  31229. <description>Break character is 13 or 14 bits long.</description>
  31230. <value>#1</value>
  31231. </enumeratedValue>
  31232. </enumeratedValues>
  31233. </field>
  31234. <field>
  31235. <name>RWUID</name>
  31236. <description>Receive Wakeup Idle Detect</description>
  31237. <bitOffset>3</bitOffset>
  31238. <bitWidth>1</bitWidth>
  31239. <access>read-write</access>
  31240. <enumeratedValues>
  31241. <enumeratedValue>
  31242. <name>0</name>
  31243. <description>The S1[IDLE] bit is not set upon detection of an idle character.</description>
  31244. <value>#0</value>
  31245. </enumeratedValue>
  31246. <enumeratedValue>
  31247. <name>1</name>
  31248. <description>The S1[IDLE] bit is set upon detection of an idle character.</description>
  31249. <value>#1</value>
  31250. </enumeratedValue>
  31251. </enumeratedValues>
  31252. </field>
  31253. <field>
  31254. <name>RXINV</name>
  31255. <description>Receive Data Inversion</description>
  31256. <bitOffset>4</bitOffset>
  31257. <bitWidth>1</bitWidth>
  31258. <access>read-write</access>
  31259. <enumeratedValues>
  31260. <enumeratedValue>
  31261. <name>0</name>
  31262. <description>Receive data is not inverted.</description>
  31263. <value>#0</value>
  31264. </enumeratedValue>
  31265. <enumeratedValue>
  31266. <name>1</name>
  31267. <description>Receive data is inverted.</description>
  31268. <value>#1</value>
  31269. </enumeratedValue>
  31270. </enumeratedValues>
  31271. </field>
  31272. <field>
  31273. <name>MSBF</name>
  31274. <description>Most Significant Bit First</description>
  31275. <bitOffset>5</bitOffset>
  31276. <bitWidth>1</bitWidth>
  31277. <access>read-write</access>
  31278. <enumeratedValues>
  31279. <enumeratedValue>
  31280. <name>0</name>
  31281. <description>LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0.</description>
  31282. <value>#0</value>
  31283. </enumeratedValue>
  31284. <enumeratedValue>
  31285. <name>1</name>
  31286. <description>MSB (bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of C1[M] and C1[PE]. Further, the first bit received after the start bit is identified as bit8, bit7 or bit6 depending on the setting of C1[M] and C1[PE].</description>
  31287. <value>#1</value>
  31288. </enumeratedValue>
  31289. </enumeratedValues>
  31290. </field>
  31291. <field>
  31292. <name>RXEDGIF</name>
  31293. <description>RxD Pin Active Edge Interrupt Flag</description>
  31294. <bitOffset>6</bitOffset>
  31295. <bitWidth>1</bitWidth>
  31296. <access>read-write</access>
  31297. <enumeratedValues>
  31298. <enumeratedValue>
  31299. <name>0</name>
  31300. <description>No active edge on the receive pin has occurred.</description>
  31301. <value>#0</value>
  31302. </enumeratedValue>
  31303. <enumeratedValue>
  31304. <name>1</name>
  31305. <description>An active edge on the receive pin has occurred.</description>
  31306. <value>#1</value>
  31307. </enumeratedValue>
  31308. </enumeratedValues>
  31309. </field>
  31310. <field>
  31311. <name>LBKDIF</name>
  31312. <description>LIN Break Detect Interrupt Flag</description>
  31313. <bitOffset>7</bitOffset>
  31314. <bitWidth>1</bitWidth>
  31315. <access>read-write</access>
  31316. <enumeratedValues>
  31317. <enumeratedValue>
  31318. <name>0</name>
  31319. <description>No LIN break character has been detected.</description>
  31320. <value>#0</value>
  31321. </enumeratedValue>
  31322. <enumeratedValue>
  31323. <name>1</name>
  31324. <description>LIN break character has been detected.</description>
  31325. <value>#1</value>
  31326. </enumeratedValue>
  31327. </enumeratedValues>
  31328. </field>
  31329. </fields>
  31330. </register>
  31331. <register>
  31332. <name>C3</name>
  31333. <description>UART Control Register 3</description>
  31334. <addressOffset>0x6</addressOffset>
  31335. <size>8</size>
  31336. <access>read-write</access>
  31337. <resetValue>0</resetValue>
  31338. <resetMask>0xFF</resetMask>
  31339. <fields>
  31340. <field>
  31341. <name>PEIE</name>
  31342. <description>Parity Error Interrupt Enable</description>
  31343. <bitOffset>0</bitOffset>
  31344. <bitWidth>1</bitWidth>
  31345. <access>read-write</access>
  31346. <enumeratedValues>
  31347. <enumeratedValue>
  31348. <name>0</name>
  31349. <description>PF interrupt requests are disabled.</description>
  31350. <value>#0</value>
  31351. </enumeratedValue>
  31352. <enumeratedValue>
  31353. <name>1</name>
  31354. <description>PF interrupt requests are enabled.</description>
  31355. <value>#1</value>
  31356. </enumeratedValue>
  31357. </enumeratedValues>
  31358. </field>
  31359. <field>
  31360. <name>FEIE</name>
  31361. <description>Framing Error Interrupt Enable</description>
  31362. <bitOffset>1</bitOffset>
  31363. <bitWidth>1</bitWidth>
  31364. <access>read-write</access>
  31365. <enumeratedValues>
  31366. <enumeratedValue>
  31367. <name>0</name>
  31368. <description>FE interrupt requests are disabled.</description>
  31369. <value>#0</value>
  31370. </enumeratedValue>
  31371. <enumeratedValue>
  31372. <name>1</name>
  31373. <description>FE interrupt requests are enabled.</description>
  31374. <value>#1</value>
  31375. </enumeratedValue>
  31376. </enumeratedValues>
  31377. </field>
  31378. <field>
  31379. <name>NEIE</name>
  31380. <description>Noise Error Interrupt Enable</description>
  31381. <bitOffset>2</bitOffset>
  31382. <bitWidth>1</bitWidth>
  31383. <access>read-write</access>
  31384. <enumeratedValues>
  31385. <enumeratedValue>
  31386. <name>0</name>
  31387. <description>NF interrupt requests are disabled.</description>
  31388. <value>#0</value>
  31389. </enumeratedValue>
  31390. <enumeratedValue>
  31391. <name>1</name>
  31392. <description>NF interrupt requests are enabled.</description>
  31393. <value>#1</value>
  31394. </enumeratedValue>
  31395. </enumeratedValues>
  31396. </field>
  31397. <field>
  31398. <name>ORIE</name>
  31399. <description>Overrun Error Interrupt Enable</description>
  31400. <bitOffset>3</bitOffset>
  31401. <bitWidth>1</bitWidth>
  31402. <access>read-write</access>
  31403. <enumeratedValues>
  31404. <enumeratedValue>
  31405. <name>0</name>
  31406. <description>OR interrupts are disabled.</description>
  31407. <value>#0</value>
  31408. </enumeratedValue>
  31409. <enumeratedValue>
  31410. <name>1</name>
  31411. <description>OR interrupt requests are enabled.</description>
  31412. <value>#1</value>
  31413. </enumeratedValue>
  31414. </enumeratedValues>
  31415. </field>
  31416. <field>
  31417. <name>TXINV</name>
  31418. <description>Transmit Data Inversion.</description>
  31419. <bitOffset>4</bitOffset>
  31420. <bitWidth>1</bitWidth>
  31421. <access>read-write</access>
  31422. <enumeratedValues>
  31423. <enumeratedValue>
  31424. <name>0</name>
  31425. <description>Transmit data is not inverted.</description>
  31426. <value>#0</value>
  31427. </enumeratedValue>
  31428. <enumeratedValue>
  31429. <name>1</name>
  31430. <description>Transmit data is inverted.</description>
  31431. <value>#1</value>
  31432. </enumeratedValue>
  31433. </enumeratedValues>
  31434. </field>
  31435. <field>
  31436. <name>TXDIR</name>
  31437. <description>Transmitter Pin Data Direction in Single-Wire mode</description>
  31438. <bitOffset>5</bitOffset>
  31439. <bitWidth>1</bitWidth>
  31440. <access>read-write</access>
  31441. <enumeratedValues>
  31442. <enumeratedValue>
  31443. <name>0</name>
  31444. <description>TXD pin is an input in single-wire mode.</description>
  31445. <value>#0</value>
  31446. </enumeratedValue>
  31447. <enumeratedValue>
  31448. <name>1</name>
  31449. <description>TXD pin is an output in single-wire mode.</description>
  31450. <value>#1</value>
  31451. </enumeratedValue>
  31452. </enumeratedValues>
  31453. </field>
  31454. <field>
  31455. <name>T8</name>
  31456. <description>Transmit Bit 8</description>
  31457. <bitOffset>6</bitOffset>
  31458. <bitWidth>1</bitWidth>
  31459. <access>read-write</access>
  31460. </field>
  31461. <field>
  31462. <name>R8</name>
  31463. <description>Received Bit 8</description>
  31464. <bitOffset>7</bitOffset>
  31465. <bitWidth>1</bitWidth>
  31466. <access>read-only</access>
  31467. </field>
  31468. </fields>
  31469. </register>
  31470. <register>
  31471. <name>D</name>
  31472. <description>UART Data Register</description>
  31473. <addressOffset>0x7</addressOffset>
  31474. <size>8</size>
  31475. <access>read-write</access>
  31476. <resetValue>0</resetValue>
  31477. <resetMask>0xFF</resetMask>
  31478. <fields>
  31479. <field>
  31480. <name>RT</name>
  31481. <description>Reads return the contents of the read-only receive data register and writes go to the write-only transmit data register</description>
  31482. <bitOffset>0</bitOffset>
  31483. <bitWidth>8</bitWidth>
  31484. <access>read-write</access>
  31485. </field>
  31486. </fields>
  31487. </register>
  31488. <register>
  31489. <name>MA1</name>
  31490. <description>UART Match Address Registers 1</description>
  31491. <addressOffset>0x8</addressOffset>
  31492. <size>8</size>
  31493. <access>read-write</access>
  31494. <resetValue>0</resetValue>
  31495. <resetMask>0xFF</resetMask>
  31496. <fields>
  31497. <field>
  31498. <name>MA</name>
  31499. <description>Match Address</description>
  31500. <bitOffset>0</bitOffset>
  31501. <bitWidth>8</bitWidth>
  31502. <access>read-write</access>
  31503. </field>
  31504. </fields>
  31505. </register>
  31506. <register>
  31507. <name>MA2</name>
  31508. <description>UART Match Address Registers 2</description>
  31509. <addressOffset>0x9</addressOffset>
  31510. <size>8</size>
  31511. <access>read-write</access>
  31512. <resetValue>0</resetValue>
  31513. <resetMask>0xFF</resetMask>
  31514. <fields>
  31515. <field>
  31516. <name>MA</name>
  31517. <description>Match Address</description>
  31518. <bitOffset>0</bitOffset>
  31519. <bitWidth>8</bitWidth>
  31520. <access>read-write</access>
  31521. </field>
  31522. </fields>
  31523. </register>
  31524. <register>
  31525. <name>C4</name>
  31526. <description>UART Control Register 4</description>
  31527. <addressOffset>0xA</addressOffset>
  31528. <size>8</size>
  31529. <access>read-write</access>
  31530. <resetValue>0</resetValue>
  31531. <resetMask>0xFF</resetMask>
  31532. <fields>
  31533. <field>
  31534. <name>BRFA</name>
  31535. <description>Baud Rate Fine Adjust</description>
  31536. <bitOffset>0</bitOffset>
  31537. <bitWidth>5</bitWidth>
  31538. <access>read-write</access>
  31539. </field>
  31540. <field>
  31541. <name>M10</name>
  31542. <description>10-bit Mode select</description>
  31543. <bitOffset>5</bitOffset>
  31544. <bitWidth>1</bitWidth>
  31545. <access>read-write</access>
  31546. <enumeratedValues>
  31547. <enumeratedValue>
  31548. <name>0</name>
  31549. <description>The parity bit is the ninth bit in the serial transmission.</description>
  31550. <value>#0</value>
  31551. </enumeratedValue>
  31552. <enumeratedValue>
  31553. <name>1</name>
  31554. <description>The parity bit is the tenth bit in the serial transmission.</description>
  31555. <value>#1</value>
  31556. </enumeratedValue>
  31557. </enumeratedValues>
  31558. </field>
  31559. <field>
  31560. <name>MAEN2</name>
  31561. <description>Match Address Mode Enable 2</description>
  31562. <bitOffset>6</bitOffset>
  31563. <bitWidth>1</bitWidth>
  31564. <access>read-write</access>
  31565. <enumeratedValues>
  31566. <enumeratedValue>
  31567. <name>0</name>
  31568. <description>All data received is transferred to the data buffer if MAEN1 is cleared.</description>
  31569. <value>#0</value>
  31570. </enumeratedValue>
  31571. <enumeratedValue>
  31572. <name>1</name>
  31573. <description>All data received with the most significant bit cleared, is discarded. All data received with the most significant bit set, is compared with contents of MA2 register. If no match occurs, the data is discarded. If match occurs, data is transferred to the data buffer.This bit must be cleared when C7816[ISO7816E] is set/enabled.</description>
  31574. <value>#1</value>
  31575. </enumeratedValue>
  31576. </enumeratedValues>
  31577. </field>
  31578. <field>
  31579. <name>MAEN1</name>
  31580. <description>Match Address Mode Enable 1</description>
  31581. <bitOffset>7</bitOffset>
  31582. <bitWidth>1</bitWidth>
  31583. <access>read-write</access>
  31584. <enumeratedValues>
  31585. <enumeratedValue>
  31586. <name>0</name>
  31587. <description>All data received is transferred to the data buffer if MAEN2 is cleared.</description>
  31588. <value>#0</value>
  31589. </enumeratedValue>
  31590. <enumeratedValue>
  31591. <name>1</name>
  31592. <description>All data received with the most significant bit cleared, is discarded. All data received with the most significant bit set, is compared with contents of MA1 register. If no match occurs, the data is discarded. If match occurs, data is transferred to the data buffer.This bit must be cleared when C7816[ISO7816E] is set/enabled.</description>
  31593. <value>#1</value>
  31594. </enumeratedValue>
  31595. </enumeratedValues>
  31596. </field>
  31597. </fields>
  31598. </register>
  31599. <register>
  31600. <name>C5</name>
  31601. <description>UART Control Register 5</description>
  31602. <addressOffset>0xB</addressOffset>
  31603. <size>8</size>
  31604. <access>read-write</access>
  31605. <resetValue>0</resetValue>
  31606. <resetMask>0xFF</resetMask>
  31607. <fields>
  31608. <field>
  31609. <name>RDMAS</name>
  31610. <description>Receiver Full DMA Select</description>
  31611. <bitOffset>5</bitOffset>
  31612. <bitWidth>1</bitWidth>
  31613. <access>read-write</access>
  31614. <enumeratedValues>
  31615. <enumeratedValue>
  31616. <name>0</name>
  31617. <description>If C2[RIE] is set and the S1[RDRF] flag is set, the RDFR interrupt request signal is asserted to request interrupt service.</description>
  31618. <value>#0</value>
  31619. </enumeratedValue>
  31620. <enumeratedValue>
  31621. <name>1</name>
  31622. <description>If C2[RIE] is set and the S1[RDRF] flag is set, the RDRF DMA request signal is asserted to request a DMA transfer.</description>
  31623. <value>#1</value>
  31624. </enumeratedValue>
  31625. </enumeratedValues>
  31626. </field>
  31627. <field>
  31628. <name>TDMAS</name>
  31629. <description>Transmitter DMA Select</description>
  31630. <bitOffset>7</bitOffset>
  31631. <bitWidth>1</bitWidth>
  31632. <access>read-write</access>
  31633. <enumeratedValues>
  31634. <enumeratedValue>
  31635. <name>0</name>
  31636. <description>If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE interrupt request signal is asserted to request interrupt service.</description>
  31637. <value>#0</value>
  31638. </enumeratedValue>
  31639. <enumeratedValue>
  31640. <name>1</name>
  31641. <description>If C2[TIE] is set and the S1[TDRE] flag is set, the TDRE DMA request signal is asserted to request a DMA transfer.</description>
  31642. <value>#1</value>
  31643. </enumeratedValue>
  31644. </enumeratedValues>
  31645. </field>
  31646. </fields>
  31647. </register>
  31648. <register>
  31649. <name>ED</name>
  31650. <description>UART Extended Data Register</description>
  31651. <addressOffset>0xC</addressOffset>
  31652. <size>8</size>
  31653. <access>read-only</access>
  31654. <resetValue>0</resetValue>
  31655. <resetMask>0xFF</resetMask>
  31656. <fields>
  31657. <field>
  31658. <name>PARITYE</name>
  31659. <description>The current received dataword contained in D and C3[R8] was received with a parity error.</description>
  31660. <bitOffset>6</bitOffset>
  31661. <bitWidth>1</bitWidth>
  31662. <access>read-only</access>
  31663. <enumeratedValues>
  31664. <enumeratedValue>
  31665. <name>0</name>
  31666. <description>The dataword was received without a parity error.</description>
  31667. <value>#0</value>
  31668. </enumeratedValue>
  31669. <enumeratedValue>
  31670. <name>1</name>
  31671. <description>The dataword was received with a parity error.</description>
  31672. <value>#1</value>
  31673. </enumeratedValue>
  31674. </enumeratedValues>
  31675. </field>
  31676. <field>
  31677. <name>NOISY</name>
  31678. <description>The current received dataword contained in D and C3[R8] was received with noise.</description>
  31679. <bitOffset>7</bitOffset>
  31680. <bitWidth>1</bitWidth>
  31681. <access>read-only</access>
  31682. <enumeratedValues>
  31683. <enumeratedValue>
  31684. <name>0</name>
  31685. <description>The dataword was received without noise.</description>
  31686. <value>#0</value>
  31687. </enumeratedValue>
  31688. <enumeratedValue>
  31689. <name>1</name>
  31690. <description>The data was received with noise.</description>
  31691. <value>#1</value>
  31692. </enumeratedValue>
  31693. </enumeratedValues>
  31694. </field>
  31695. </fields>
  31696. </register>
  31697. <register>
  31698. <name>MODEM</name>
  31699. <description>UART Modem Register</description>
  31700. <addressOffset>0xD</addressOffset>
  31701. <size>8</size>
  31702. <access>read-write</access>
  31703. <resetValue>0</resetValue>
  31704. <resetMask>0xFF</resetMask>
  31705. <fields>
  31706. <field>
  31707. <name>TXCTSE</name>
  31708. <description>Transmitter clear-to-send enable</description>
  31709. <bitOffset>0</bitOffset>
  31710. <bitWidth>1</bitWidth>
  31711. <access>read-write</access>
  31712. <enumeratedValues>
  31713. <enumeratedValue>
  31714. <name>0</name>
  31715. <description>CTS has no effect on the transmitter.</description>
  31716. <value>#0</value>
  31717. </enumeratedValue>
  31718. <enumeratedValue>
  31719. <name>1</name>
  31720. <description>Enables clear-to-send operation. The transmitter checks the state of CTS each time it is ready to send a character. If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in the mark state and transmission is delayed until CTS is asserted. Changes in CTS as a character is being sent do not affect its transmission.</description>
  31721. <value>#1</value>
  31722. </enumeratedValue>
  31723. </enumeratedValues>
  31724. </field>
  31725. <field>
  31726. <name>TXRTSE</name>
  31727. <description>Transmitter request-to-send enable</description>
  31728. <bitOffset>1</bitOffset>
  31729. <bitWidth>1</bitWidth>
  31730. <access>read-write</access>
  31731. <enumeratedValues>
  31732. <enumeratedValue>
  31733. <name>0</name>
  31734. <description>The transmitter has no effect on RTS.</description>
  31735. <value>#0</value>
  31736. </enumeratedValue>
  31737. <enumeratedValue>
  31738. <name>1</name>
  31739. <description>When a character is placed into an empty transmitter data buffer(FIFO), RTS asserts one bit time before the start bit is transmitted. RTS deasserts one bit time after all characters in the transmitter data buffer(FIFO) and shift register are completely sent, including the last stop bit.</description>
  31740. <value>#1</value>
  31741. </enumeratedValue>
  31742. </enumeratedValues>
  31743. </field>
  31744. <field>
  31745. <name>TXRTSPOL</name>
  31746. <description>Transmitter request-to-send polarity</description>
  31747. <bitOffset>2</bitOffset>
  31748. <bitWidth>1</bitWidth>
  31749. <access>read-write</access>
  31750. <enumeratedValues>
  31751. <enumeratedValue>
  31752. <name>0</name>
  31753. <description>Transmitter RTS is active low.</description>
  31754. <value>#0</value>
  31755. </enumeratedValue>
  31756. <enumeratedValue>
  31757. <name>1</name>
  31758. <description>Transmitter RTS is active high.</description>
  31759. <value>#1</value>
  31760. </enumeratedValue>
  31761. </enumeratedValues>
  31762. </field>
  31763. <field>
  31764. <name>RXRTSE</name>
  31765. <description>Receiver request-to-send enable</description>
  31766. <bitOffset>3</bitOffset>
  31767. <bitWidth>1</bitWidth>
  31768. <access>read-write</access>
  31769. <enumeratedValues>
  31770. <enumeratedValue>
  31771. <name>0</name>
  31772. <description>The receiver has no effect on RTS.</description>
  31773. <value>#0</value>
  31774. </enumeratedValue>
  31775. <enumeratedValue>
  31776. <name>1</name>
  31777. <description>RTS is deasserted if the number of characters in the receiver data register (FIFO) is equal to or greater than RWFIFO[RXWATER]. RTS is asserted when the number of characters in the receiver data register (FIFO) is less than RWFIFO[RXWATER].</description>
  31778. <value>#1</value>
  31779. </enumeratedValue>
  31780. </enumeratedValues>
  31781. </field>
  31782. </fields>
  31783. </register>
  31784. <register>
  31785. <name>IR</name>
  31786. <description>UART Infrared Register</description>
  31787. <addressOffset>0xE</addressOffset>
  31788. <size>8</size>
  31789. <access>read-write</access>
  31790. <resetValue>0</resetValue>
  31791. <resetMask>0xFF</resetMask>
  31792. <fields>
  31793. <field>
  31794. <name>TNP</name>
  31795. <description>Transmitter narrow pulse</description>
  31796. <bitOffset>0</bitOffset>
  31797. <bitWidth>2</bitWidth>
  31798. <access>read-write</access>
  31799. <enumeratedValues>
  31800. <enumeratedValue>
  31801. <name>00</name>
  31802. <description>3/16.</description>
  31803. <value>#00</value>
  31804. </enumeratedValue>
  31805. <enumeratedValue>
  31806. <name>01</name>
  31807. <description>1/16.</description>
  31808. <value>#01</value>
  31809. </enumeratedValue>
  31810. <enumeratedValue>
  31811. <name>10</name>
  31812. <description>1/32.</description>
  31813. <value>#10</value>
  31814. </enumeratedValue>
  31815. <enumeratedValue>
  31816. <name>11</name>
  31817. <description>1/4.</description>
  31818. <value>#11</value>
  31819. </enumeratedValue>
  31820. </enumeratedValues>
  31821. </field>
  31822. <field>
  31823. <name>IREN</name>
  31824. <description>Infrared enable</description>
  31825. <bitOffset>2</bitOffset>
  31826. <bitWidth>1</bitWidth>
  31827. <access>read-write</access>
  31828. <enumeratedValues>
  31829. <enumeratedValue>
  31830. <name>0</name>
  31831. <description>IR disabled.</description>
  31832. <value>#0</value>
  31833. </enumeratedValue>
  31834. <enumeratedValue>
  31835. <name>1</name>
  31836. <description>IR enabled.</description>
  31837. <value>#1</value>
  31838. </enumeratedValue>
  31839. </enumeratedValues>
  31840. </field>
  31841. </fields>
  31842. </register>
  31843. <register>
  31844. <name>PFIFO</name>
  31845. <description>UART FIFO Parameters</description>
  31846. <addressOffset>0x10</addressOffset>
  31847. <size>8</size>
  31848. <access>read-write</access>
  31849. <resetValue>0</resetValue>
  31850. <resetMask>0xFF</resetMask>
  31851. <fields>
  31852. <field>
  31853. <name>RXFIFOSIZE</name>
  31854. <description>Receive FIFO. Buffer Depth</description>
  31855. <bitOffset>0</bitOffset>
  31856. <bitWidth>3</bitWidth>
  31857. <access>read-only</access>
  31858. <enumeratedValues>
  31859. <enumeratedValue>
  31860. <name>000</name>
  31861. <description>Receive FIFO/Buffer Depth = 1 Dataword.</description>
  31862. <value>#000</value>
  31863. </enumeratedValue>
  31864. <enumeratedValue>
  31865. <name>001</name>
  31866. <description>Receive FIFO/Buffer Depth = 4 Datawords.</description>
  31867. <value>#001</value>
  31868. </enumeratedValue>
  31869. <enumeratedValue>
  31870. <name>010</name>
  31871. <description>Receive FIFO/Buffer Depth = 8 Datawords.</description>
  31872. <value>#010</value>
  31873. </enumeratedValue>
  31874. <enumeratedValue>
  31875. <name>011</name>
  31876. <description>Receive FIFO/Buffer Depth = 16 Datawords.</description>
  31877. <value>#011</value>
  31878. </enumeratedValue>
  31879. <enumeratedValue>
  31880. <name>100</name>
  31881. <description>Receive FIFO/Buffer Depth = 32 Datawords.</description>
  31882. <value>#100</value>
  31883. </enumeratedValue>
  31884. <enumeratedValue>
  31885. <name>101</name>
  31886. <description>Receive FIFO/Buffer Depth = 64 Datawords.</description>
  31887. <value>#101</value>
  31888. </enumeratedValue>
  31889. <enumeratedValue>
  31890. <name>110</name>
  31891. <description>Receive FIFO/Buffer Depth = 128 Datawords.</description>
  31892. <value>#110</value>
  31893. </enumeratedValue>
  31894. </enumeratedValues>
  31895. </field>
  31896. <field>
  31897. <name>RXFE</name>
  31898. <description>Receive FIFO Enable</description>
  31899. <bitOffset>3</bitOffset>
  31900. <bitWidth>1</bitWidth>
  31901. <access>read-write</access>
  31902. <enumeratedValues>
  31903. <enumeratedValue>
  31904. <name>0</name>
  31905. <description>Receive FIFO is not enabled. Buffer is depth 1. (Legacy support)</description>
  31906. <value>#0</value>
  31907. </enumeratedValue>
  31908. <enumeratedValue>
  31909. <name>1</name>
  31910. <description>Receive FIFO is enabled. Buffer is depth indicted by RXFIFOSIZE.</description>
  31911. <value>#1</value>
  31912. </enumeratedValue>
  31913. </enumeratedValues>
  31914. </field>
  31915. <field>
  31916. <name>TXFIFOSIZE</name>
  31917. <description>Transmit FIFO. Buffer Depth</description>
  31918. <bitOffset>4</bitOffset>
  31919. <bitWidth>3</bitWidth>
  31920. <access>read-only</access>
  31921. <enumeratedValues>
  31922. <enumeratedValue>
  31923. <name>000</name>
  31924. <description>Transmit FIFO/Buffer Depth = 1 Dataword.</description>
  31925. <value>#000</value>
  31926. </enumeratedValue>
  31927. <enumeratedValue>
  31928. <name>001</name>
  31929. <description>Transmit FIFO/Buffer Depth = 4 Datawords.</description>
  31930. <value>#001</value>
  31931. </enumeratedValue>
  31932. <enumeratedValue>
  31933. <name>010</name>
  31934. <description>Transmit FIFO/Buffer Depth = 8 Datawords.</description>
  31935. <value>#010</value>
  31936. </enumeratedValue>
  31937. <enumeratedValue>
  31938. <name>011</name>
  31939. <description>Transmit FIFO/Buffer Depth = 16 Datawords.</description>
  31940. <value>#011</value>
  31941. </enumeratedValue>
  31942. <enumeratedValue>
  31943. <name>100</name>
  31944. <description>Transmit FIFO/Buffer Depth = 32 Datawords.</description>
  31945. <value>#100</value>
  31946. </enumeratedValue>
  31947. <enumeratedValue>
  31948. <name>101</name>
  31949. <description>Transmit FIFO/Buffer Depth = 64 Datawords.</description>
  31950. <value>#101</value>
  31951. </enumeratedValue>
  31952. <enumeratedValue>
  31953. <name>110</name>
  31954. <description>Transmit FIFO/Buffer Depth = 128 Datawords.</description>
  31955. <value>#110</value>
  31956. </enumeratedValue>
  31957. </enumeratedValues>
  31958. </field>
  31959. <field>
  31960. <name>TXFE</name>
  31961. <description>Transmit FIFO Enable</description>
  31962. <bitOffset>7</bitOffset>
  31963. <bitWidth>1</bitWidth>
  31964. <access>read-write</access>
  31965. <enumeratedValues>
  31966. <enumeratedValue>
  31967. <name>0</name>
  31968. <description>Transmit FIFO is not enabled. Buffer is depth 1. (Legacy support).</description>
  31969. <value>#0</value>
  31970. </enumeratedValue>
  31971. <enumeratedValue>
  31972. <name>1</name>
  31973. <description>Transmit FIFO is enabled. Buffer is depth indicted by TXFIFOSIZE.</description>
  31974. <value>#1</value>
  31975. </enumeratedValue>
  31976. </enumeratedValues>
  31977. </field>
  31978. </fields>
  31979. </register>
  31980. <register>
  31981. <name>CFIFO</name>
  31982. <description>UART FIFO Control Register</description>
  31983. <addressOffset>0x11</addressOffset>
  31984. <size>8</size>
  31985. <access>read-write</access>
  31986. <resetValue>0</resetValue>
  31987. <resetMask>0xFF</resetMask>
  31988. <fields>
  31989. <field>
  31990. <name>RXUFE</name>
  31991. <description>Receive FIFO Underflow Interrupt Enable</description>
  31992. <bitOffset>0</bitOffset>
  31993. <bitWidth>1</bitWidth>
  31994. <access>read-write</access>
  31995. <enumeratedValues>
  31996. <enumeratedValue>
  31997. <name>0</name>
  31998. <description>RXUF flag does not generate an interrupt to the host.</description>
  31999. <value>#0</value>
  32000. </enumeratedValue>
  32001. <enumeratedValue>
  32002. <name>1</name>
  32003. <description>RXUF flag generates an interrupt to the host.</description>
  32004. <value>#1</value>
  32005. </enumeratedValue>
  32006. </enumeratedValues>
  32007. </field>
  32008. <field>
  32009. <name>TXOFE</name>
  32010. <description>Transmit FIFO Overflow Interrupt Enable</description>
  32011. <bitOffset>1</bitOffset>
  32012. <bitWidth>1</bitWidth>
  32013. <access>read-write</access>
  32014. <enumeratedValues>
  32015. <enumeratedValue>
  32016. <name>0</name>
  32017. <description>TXOF flag does not generate an interrupt to the host.</description>
  32018. <value>#0</value>
  32019. </enumeratedValue>
  32020. <enumeratedValue>
  32021. <name>1</name>
  32022. <description>TXOF flag generates an interrupt to the host.</description>
  32023. <value>#1</value>
  32024. </enumeratedValue>
  32025. </enumeratedValues>
  32026. </field>
  32027. <field>
  32028. <name>RXFLUSH</name>
  32029. <description>Receive FIFO/Buffer Flush</description>
  32030. <bitOffset>6</bitOffset>
  32031. <bitWidth>1</bitWidth>
  32032. <access>write-only</access>
  32033. <enumeratedValues>
  32034. <enumeratedValue>
  32035. <name>0</name>
  32036. <description>No flush operation occurs.</description>
  32037. <value>#0</value>
  32038. </enumeratedValue>
  32039. <enumeratedValue>
  32040. <name>1</name>
  32041. <description>All data in the receive FIFO/buffer is cleared out.</description>
  32042. <value>#1</value>
  32043. </enumeratedValue>
  32044. </enumeratedValues>
  32045. </field>
  32046. <field>
  32047. <name>TXFLUSH</name>
  32048. <description>Transmit FIFO/Buffer Flush</description>
  32049. <bitOffset>7</bitOffset>
  32050. <bitWidth>1</bitWidth>
  32051. <access>write-only</access>
  32052. <enumeratedValues>
  32053. <enumeratedValue>
  32054. <name>0</name>
  32055. <description>No flush operation occurs.</description>
  32056. <value>#0</value>
  32057. </enumeratedValue>
  32058. <enumeratedValue>
  32059. <name>1</name>
  32060. <description>All data in the transmit FIFO/Buffer is cleared out.</description>
  32061. <value>#1</value>
  32062. </enumeratedValue>
  32063. </enumeratedValues>
  32064. </field>
  32065. </fields>
  32066. </register>
  32067. <register>
  32068. <name>SFIFO</name>
  32069. <description>UART FIFO Status Register</description>
  32070. <addressOffset>0x12</addressOffset>
  32071. <size>8</size>
  32072. <access>read-write</access>
  32073. <resetValue>0xC0</resetValue>
  32074. <resetMask>0xFF</resetMask>
  32075. <fields>
  32076. <field>
  32077. <name>RXUF</name>
  32078. <description>Receiver Buffer Underflow Flag</description>
  32079. <bitOffset>0</bitOffset>
  32080. <bitWidth>1</bitWidth>
  32081. <access>read-write</access>
  32082. <enumeratedValues>
  32083. <enumeratedValue>
  32084. <name>0</name>
  32085. <description>No receive buffer underflow has occurred since the last time the flag was cleared.</description>
  32086. <value>#0</value>
  32087. </enumeratedValue>
  32088. <enumeratedValue>
  32089. <name>1</name>
  32090. <description>At least one receive buffer underflow has occurred since the last time the flag was cleared.</description>
  32091. <value>#1</value>
  32092. </enumeratedValue>
  32093. </enumeratedValues>
  32094. </field>
  32095. <field>
  32096. <name>TXOF</name>
  32097. <description>Transmitter Buffer Overflow Flag</description>
  32098. <bitOffset>1</bitOffset>
  32099. <bitWidth>1</bitWidth>
  32100. <access>read-write</access>
  32101. <enumeratedValues>
  32102. <enumeratedValue>
  32103. <name>0</name>
  32104. <description>No transmit buffer overflow has occurred since the last time the flag was cleared.</description>
  32105. <value>#0</value>
  32106. </enumeratedValue>
  32107. <enumeratedValue>
  32108. <name>1</name>
  32109. <description>At least one transmit buffer overflow has occurred since the last time the flag was cleared.</description>
  32110. <value>#1</value>
  32111. </enumeratedValue>
  32112. </enumeratedValues>
  32113. </field>
  32114. <field>
  32115. <name>RXEMPT</name>
  32116. <description>Receive Buffer/FIFO Empty</description>
  32117. <bitOffset>6</bitOffset>
  32118. <bitWidth>1</bitWidth>
  32119. <access>read-only</access>
  32120. <enumeratedValues>
  32121. <enumeratedValue>
  32122. <name>0</name>
  32123. <description>Receive buffer is not empty.</description>
  32124. <value>#0</value>
  32125. </enumeratedValue>
  32126. <enumeratedValue>
  32127. <name>1</name>
  32128. <description>Receive buffer is empty.</description>
  32129. <value>#1</value>
  32130. </enumeratedValue>
  32131. </enumeratedValues>
  32132. </field>
  32133. <field>
  32134. <name>TXEMPT</name>
  32135. <description>Transmit Buffer/FIFO Empty</description>
  32136. <bitOffset>7</bitOffset>
  32137. <bitWidth>1</bitWidth>
  32138. <access>read-only</access>
  32139. <enumeratedValues>
  32140. <enumeratedValue>
  32141. <name>0</name>
  32142. <description>Transmit buffer is not empty.</description>
  32143. <value>#0</value>
  32144. </enumeratedValue>
  32145. <enumeratedValue>
  32146. <name>1</name>
  32147. <description>Transmit buffer is empty.</description>
  32148. <value>#1</value>
  32149. </enumeratedValue>
  32150. </enumeratedValues>
  32151. </field>
  32152. </fields>
  32153. </register>
  32154. <register>
  32155. <name>TWFIFO</name>
  32156. <description>UART FIFO Transmit Watermark</description>
  32157. <addressOffset>0x13</addressOffset>
  32158. <size>8</size>
  32159. <access>read-write</access>
  32160. <resetValue>0</resetValue>
  32161. <resetMask>0xFF</resetMask>
  32162. <fields>
  32163. <field>
  32164. <name>TXWATER</name>
  32165. <description>Transmit Watermark</description>
  32166. <bitOffset>0</bitOffset>
  32167. <bitWidth>8</bitWidth>
  32168. <access>read-write</access>
  32169. </field>
  32170. </fields>
  32171. </register>
  32172. <register>
  32173. <name>TCFIFO</name>
  32174. <description>UART FIFO Transmit Count</description>
  32175. <addressOffset>0x14</addressOffset>
  32176. <size>8</size>
  32177. <access>read-only</access>
  32178. <resetValue>0</resetValue>
  32179. <resetMask>0xFF</resetMask>
  32180. <fields>
  32181. <field>
  32182. <name>TXCOUNT</name>
  32183. <description>Transmit Counter</description>
  32184. <bitOffset>0</bitOffset>
  32185. <bitWidth>8</bitWidth>
  32186. <access>read-only</access>
  32187. </field>
  32188. </fields>
  32189. </register>
  32190. <register>
  32191. <name>RWFIFO</name>
  32192. <description>UART FIFO Receive Watermark</description>
  32193. <addressOffset>0x15</addressOffset>
  32194. <size>8</size>
  32195. <access>read-write</access>
  32196. <resetValue>0x1</resetValue>
  32197. <resetMask>0xFF</resetMask>
  32198. <fields>
  32199. <field>
  32200. <name>RXWATER</name>
  32201. <description>Receive Watermark</description>
  32202. <bitOffset>0</bitOffset>
  32203. <bitWidth>8</bitWidth>
  32204. <access>read-write</access>
  32205. </field>
  32206. </fields>
  32207. </register>
  32208. <register>
  32209. <name>RCFIFO</name>
  32210. <description>UART FIFO Receive Count</description>
  32211. <addressOffset>0x16</addressOffset>
  32212. <size>8</size>
  32213. <access>read-only</access>
  32214. <resetValue>0</resetValue>
  32215. <resetMask>0xFF</resetMask>
  32216. <fields>
  32217. <field>
  32218. <name>RXCOUNT</name>
  32219. <description>Receive Counter</description>
  32220. <bitOffset>0</bitOffset>
  32221. <bitWidth>8</bitWidth>
  32222. <access>read-only</access>
  32223. </field>
  32224. </fields>
  32225. </register>
  32226. </registers>
  32227. </peripheral>
  32228. <peripheral>
  32229. <name>USB0</name>
  32230. <description>Universal Serial Bus, OTG Capable Controller</description>
  32231. <prependToName>USB0_</prependToName>
  32232. <baseAddress>0x40072000</baseAddress>
  32233. <addressBlock>
  32234. <offset>0</offset>
  32235. <size>0x115</size>
  32236. <usage>registers</usage>
  32237. </addressBlock>
  32238. <interrupt>
  32239. <name>USB0</name>
  32240. <value>35</value>
  32241. </interrupt>
  32242. <registers>
  32243. <register>
  32244. <name>PERID</name>
  32245. <description>Peripheral ID Register</description>
  32246. <addressOffset>0</addressOffset>
  32247. <size>8</size>
  32248. <access>read-only</access>
  32249. <resetValue>0x4</resetValue>
  32250. <resetMask>0xFF</resetMask>
  32251. <fields>
  32252. <field>
  32253. <name>ID</name>
  32254. <description>Peripheral identification bits</description>
  32255. <bitOffset>0</bitOffset>
  32256. <bitWidth>6</bitWidth>
  32257. <access>read-only</access>
  32258. </field>
  32259. </fields>
  32260. </register>
  32261. <register>
  32262. <name>IDCOMP</name>
  32263. <description>Peripheral ID Complement Register</description>
  32264. <addressOffset>0x4</addressOffset>
  32265. <size>8</size>
  32266. <access>read-only</access>
  32267. <resetValue>0xFB</resetValue>
  32268. <resetMask>0xFF</resetMask>
  32269. <fields>
  32270. <field>
  32271. <name>NID</name>
  32272. <description>Ones complement of peripheral identification bits.</description>
  32273. <bitOffset>0</bitOffset>
  32274. <bitWidth>6</bitWidth>
  32275. <access>read-only</access>
  32276. </field>
  32277. </fields>
  32278. </register>
  32279. <register>
  32280. <name>REV</name>
  32281. <description>Peripheral Revision Register</description>
  32282. <addressOffset>0x8</addressOffset>
  32283. <size>8</size>
  32284. <access>read-only</access>
  32285. <resetValue>0x33</resetValue>
  32286. <resetMask>0xFF</resetMask>
  32287. <fields>
  32288. <field>
  32289. <name>REV</name>
  32290. <description>Revision</description>
  32291. <bitOffset>0</bitOffset>
  32292. <bitWidth>8</bitWidth>
  32293. <access>read-only</access>
  32294. </field>
  32295. </fields>
  32296. </register>
  32297. <register>
  32298. <name>ADDINFO</name>
  32299. <description>Peripheral Additional Info Register</description>
  32300. <addressOffset>0xC</addressOffset>
  32301. <size>8</size>
  32302. <access>read-only</access>
  32303. <resetValue>0x1</resetValue>
  32304. <resetMask>0xFF</resetMask>
  32305. <fields>
  32306. <field>
  32307. <name>IEHOST</name>
  32308. <description>This bit is set if host mode is enabled.</description>
  32309. <bitOffset>0</bitOffset>
  32310. <bitWidth>1</bitWidth>
  32311. <access>read-only</access>
  32312. </field>
  32313. <field>
  32314. <name>IRQNUM</name>
  32315. <description>Assigned Interrupt Request Number</description>
  32316. <bitOffset>3</bitOffset>
  32317. <bitWidth>5</bitWidth>
  32318. <access>read-only</access>
  32319. </field>
  32320. </fields>
  32321. </register>
  32322. <register>
  32323. <name>OTGISTAT</name>
  32324. <description>OTG Interrupt Status Register</description>
  32325. <addressOffset>0x10</addressOffset>
  32326. <size>8</size>
  32327. <access>read-write</access>
  32328. <resetValue>0</resetValue>
  32329. <resetMask>0xFF</resetMask>
  32330. <fields>
  32331. <field>
  32332. <name>AVBUSCHG</name>
  32333. <description>This bit is set when a change in VBUS is detected on an A device.</description>
  32334. <bitOffset>0</bitOffset>
  32335. <bitWidth>1</bitWidth>
  32336. <access>read-write</access>
  32337. </field>
  32338. <field>
  32339. <name>B_SESS_CHG</name>
  32340. <description>This bit is set when a change in VBUS is detected on a B device.</description>
  32341. <bitOffset>2</bitOffset>
  32342. <bitWidth>1</bitWidth>
  32343. <access>read-write</access>
  32344. </field>
  32345. <field>
  32346. <name>SESSVLDCHG</name>
  32347. <description>This bit is set when a change in VBUS is detected indicating a session valid or a session no longer valid</description>
  32348. <bitOffset>3</bitOffset>
  32349. <bitWidth>1</bitWidth>
  32350. <access>read-write</access>
  32351. </field>
  32352. <field>
  32353. <name>LINE_STATE_CHG</name>
  32354. <description>This bit is set when the USB line state changes</description>
  32355. <bitOffset>5</bitOffset>
  32356. <bitWidth>1</bitWidth>
  32357. <access>read-write</access>
  32358. </field>
  32359. <field>
  32360. <name>ONEMSEC</name>
  32361. <description>This bit is set when the 1 millisecond timer expires</description>
  32362. <bitOffset>6</bitOffset>
  32363. <bitWidth>1</bitWidth>
  32364. <access>read-write</access>
  32365. </field>
  32366. <field>
  32367. <name>IDCHG</name>
  32368. <description>This bit is set when a change in the ID Signal from the USB connector is sensed.</description>
  32369. <bitOffset>7</bitOffset>
  32370. <bitWidth>1</bitWidth>
  32371. <access>read-write</access>
  32372. </field>
  32373. </fields>
  32374. </register>
  32375. <register>
  32376. <name>OTGICR</name>
  32377. <description>OTG Interrupt Control Register</description>
  32378. <addressOffset>0x14</addressOffset>
  32379. <size>8</size>
  32380. <access>read-write</access>
  32381. <resetValue>0</resetValue>
  32382. <resetMask>0xFF</resetMask>
  32383. <fields>
  32384. <field>
  32385. <name>AVBUSEN</name>
  32386. <description>A VBUS Valid interrupt enable</description>
  32387. <bitOffset>0</bitOffset>
  32388. <bitWidth>1</bitWidth>
  32389. <access>read-write</access>
  32390. <enumeratedValues>
  32391. <enumeratedValue>
  32392. <name>0</name>
  32393. <description>The AVBUSCHG interrupt is disabled</description>
  32394. <value>#0</value>
  32395. </enumeratedValue>
  32396. <enumeratedValue>
  32397. <name>1</name>
  32398. <description>The AVBUSCHG interrupt is enabled</description>
  32399. <value>#1</value>
  32400. </enumeratedValue>
  32401. </enumeratedValues>
  32402. </field>
  32403. <field>
  32404. <name>BSESSEN</name>
  32405. <description>B Session END interrupt enable</description>
  32406. <bitOffset>2</bitOffset>
  32407. <bitWidth>1</bitWidth>
  32408. <access>read-write</access>
  32409. <enumeratedValues>
  32410. <enumeratedValue>
  32411. <name>0</name>
  32412. <description>The B_SESS_CHG interrupt is disabled</description>
  32413. <value>#0</value>
  32414. </enumeratedValue>
  32415. <enumeratedValue>
  32416. <name>1</name>
  32417. <description>The B_SESS_CHG interrupt is enabled</description>
  32418. <value>#1</value>
  32419. </enumeratedValue>
  32420. </enumeratedValues>
  32421. </field>
  32422. <field>
  32423. <name>SESSVLDEN</name>
  32424. <description>Session valid interrupt enable</description>
  32425. <bitOffset>3</bitOffset>
  32426. <bitWidth>1</bitWidth>
  32427. <access>read-write</access>
  32428. <enumeratedValues>
  32429. <enumeratedValue>
  32430. <name>0</name>
  32431. <description>The SESSVLDCHG interrupt is disabled.</description>
  32432. <value>#0</value>
  32433. </enumeratedValue>
  32434. <enumeratedValue>
  32435. <name>1</name>
  32436. <description>The SESSVLDCHG interrupt is enabled.</description>
  32437. <value>#1</value>
  32438. </enumeratedValue>
  32439. </enumeratedValues>
  32440. </field>
  32441. <field>
  32442. <name>LINESTATEEN</name>
  32443. <description>Line State change interrupt enable</description>
  32444. <bitOffset>5</bitOffset>
  32445. <bitWidth>1</bitWidth>
  32446. <access>read-write</access>
  32447. <enumeratedValues>
  32448. <enumeratedValue>
  32449. <name>0</name>
  32450. <description>The LINE_STAT_CHG interrupt is disabled.</description>
  32451. <value>#0</value>
  32452. </enumeratedValue>
  32453. <enumeratedValue>
  32454. <name>1</name>
  32455. <description>The LINE_STAT_CHG interrupt is enabled</description>
  32456. <value>#1</value>
  32457. </enumeratedValue>
  32458. </enumeratedValues>
  32459. </field>
  32460. <field>
  32461. <name>ONEMSECEN</name>
  32462. <description>1 millisecond interrupt enable</description>
  32463. <bitOffset>6</bitOffset>
  32464. <bitWidth>1</bitWidth>
  32465. <access>read-write</access>
  32466. <enumeratedValues>
  32467. <enumeratedValue>
  32468. <name>0</name>
  32469. <description>The 1msec timer interrupt is disabled.</description>
  32470. <value>#0</value>
  32471. </enumeratedValue>
  32472. <enumeratedValue>
  32473. <name>1</name>
  32474. <description>The 1msec timer interrupt is enabled.</description>
  32475. <value>#1</value>
  32476. </enumeratedValue>
  32477. </enumeratedValues>
  32478. </field>
  32479. <field>
  32480. <name>IDEN</name>
  32481. <description>ID interrupt enable</description>
  32482. <bitOffset>7</bitOffset>
  32483. <bitWidth>1</bitWidth>
  32484. <access>read-write</access>
  32485. <enumeratedValues>
  32486. <enumeratedValue>
  32487. <name>0</name>
  32488. <description>The ID interrupt is disabled</description>
  32489. <value>#0</value>
  32490. </enumeratedValue>
  32491. <enumeratedValue>
  32492. <name>1</name>
  32493. <description>The ID interrupt is enabled</description>
  32494. <value>#1</value>
  32495. </enumeratedValue>
  32496. </enumeratedValues>
  32497. </field>
  32498. </fields>
  32499. </register>
  32500. <register>
  32501. <name>OTGSTAT</name>
  32502. <description>OTG Status Register</description>
  32503. <addressOffset>0x18</addressOffset>
  32504. <size>8</size>
  32505. <access>read-write</access>
  32506. <resetValue>0</resetValue>
  32507. <resetMask>0xFF</resetMask>
  32508. <fields>
  32509. <field>
  32510. <name>AVBUSVLD</name>
  32511. <description>A VBUS Valid</description>
  32512. <bitOffset>0</bitOffset>
  32513. <bitWidth>1</bitWidth>
  32514. <access>read-write</access>
  32515. <enumeratedValues>
  32516. <enumeratedValue>
  32517. <name>0</name>
  32518. <description>The VBUS voltage is below the A VBUS Valid threshold.</description>
  32519. <value>#0</value>
  32520. </enumeratedValue>
  32521. <enumeratedValue>
  32522. <name>1</name>
  32523. <description>The VBUS voltage is above the A VBUS Valid threshold.</description>
  32524. <value>#1</value>
  32525. </enumeratedValue>
  32526. </enumeratedValues>
  32527. </field>
  32528. <field>
  32529. <name>BSESSEND</name>
  32530. <description>B Session END</description>
  32531. <bitOffset>2</bitOffset>
  32532. <bitWidth>1</bitWidth>
  32533. <access>read-write</access>
  32534. <enumeratedValues>
  32535. <enumeratedValue>
  32536. <name>0</name>
  32537. <description>The VBUS voltage is above the B session End threshold.</description>
  32538. <value>#0</value>
  32539. </enumeratedValue>
  32540. <enumeratedValue>
  32541. <name>1</name>
  32542. <description>The VBUS voltage is below the B session End threshold.</description>
  32543. <value>#1</value>
  32544. </enumeratedValue>
  32545. </enumeratedValues>
  32546. </field>
  32547. <field>
  32548. <name>SESS_VLD</name>
  32549. <description>Session valid</description>
  32550. <bitOffset>3</bitOffset>
  32551. <bitWidth>1</bitWidth>
  32552. <access>read-write</access>
  32553. <enumeratedValues>
  32554. <enumeratedValue>
  32555. <name>0</name>
  32556. <description>The VBUS voltage is below the B session Valid threshold</description>
  32557. <value>#0</value>
  32558. </enumeratedValue>
  32559. <enumeratedValue>
  32560. <name>1</name>
  32561. <description>The VBUS voltage is above the B session Valid threshold.</description>
  32562. <value>#1</value>
  32563. </enumeratedValue>
  32564. </enumeratedValues>
  32565. </field>
  32566. <field>
  32567. <name>LINESTATESTABLE</name>
  32568. <description>This bit indicates that the internal signals that control the LINE_STATE_CHG bit (bit 5) of the OTGISTAT register have been stable for at least 1 millisecond</description>
  32569. <bitOffset>5</bitOffset>
  32570. <bitWidth>1</bitWidth>
  32571. <access>read-write</access>
  32572. <enumeratedValues>
  32573. <enumeratedValue>
  32574. <name>0</name>
  32575. <description>The LINE_STAT_CHG bit is not yet stable.</description>
  32576. <value>#0</value>
  32577. </enumeratedValue>
  32578. <enumeratedValue>
  32579. <name>1</name>
  32580. <description>The LINE_STAT_CHG bit has been debounced and is stable.</description>
  32581. <value>#1</value>
  32582. </enumeratedValue>
  32583. </enumeratedValues>
  32584. </field>
  32585. <field>
  32586. <name>ONEMSECEN</name>
  32587. <description>This bit is reserved for the 1msec count, but it is not useful to software.</description>
  32588. <bitOffset>6</bitOffset>
  32589. <bitWidth>1</bitWidth>
  32590. <access>read-write</access>
  32591. </field>
  32592. <field>
  32593. <name>ID</name>
  32594. <description>Indicates the current state of the ID pin on the USB connector</description>
  32595. <bitOffset>7</bitOffset>
  32596. <bitWidth>1</bitWidth>
  32597. <access>read-write</access>
  32598. <enumeratedValues>
  32599. <enumeratedValue>
  32600. <name>0</name>
  32601. <description>Indicates a Type A cable has been plugged into the USB connector</description>
  32602. <value>#0</value>
  32603. </enumeratedValue>
  32604. <enumeratedValue>
  32605. <name>1</name>
  32606. <description>Indicates no cable is attached or a Type B cable has been plugged into the USB connector</description>
  32607. <value>#1</value>
  32608. </enumeratedValue>
  32609. </enumeratedValues>
  32610. </field>
  32611. </fields>
  32612. </register>
  32613. <register>
  32614. <name>OTGCTL</name>
  32615. <description>OTG Control Register</description>
  32616. <addressOffset>0x1C</addressOffset>
  32617. <size>8</size>
  32618. <access>read-write</access>
  32619. <resetValue>0</resetValue>
  32620. <resetMask>0xFF</resetMask>
  32621. <fields>
  32622. <field>
  32623. <name>OTGEN</name>
  32624. <description>On-The-Go pullup/pulldown resistor enable</description>
  32625. <bitOffset>2</bitOffset>
  32626. <bitWidth>1</bitWidth>
  32627. <access>read-write</access>
  32628. <enumeratedValues>
  32629. <enumeratedValue>
  32630. <name>0</name>
  32631. <description>If USB_EN is set and HOST_MODE is clear in the Control Register (CTL), then the D+ Data Line pull-up resistors are enabled. If HOST_MODE is set the D+ and D- Data Line pull-down resistors are engaged.</description>
  32632. <value>#0</value>
  32633. </enumeratedValue>
  32634. <enumeratedValue>
  32635. <name>1</name>
  32636. <description>The pull-up and pull-down controls in this register are used.</description>
  32637. <value>#1</value>
  32638. </enumeratedValue>
  32639. </enumeratedValues>
  32640. </field>
  32641. <field>
  32642. <name>DMLOW</name>
  32643. <description>D- Data Line pull-down resistor enable</description>
  32644. <bitOffset>4</bitOffset>
  32645. <bitWidth>1</bitWidth>
  32646. <access>read-write</access>
  32647. <enumeratedValues>
  32648. <enumeratedValue>
  32649. <name>0</name>
  32650. <description>D- pulldown resistor is not enabled.</description>
  32651. <value>#0</value>
  32652. </enumeratedValue>
  32653. <enumeratedValue>
  32654. <name>1</name>
  32655. <description>D- pulldown resistor is enabled.</description>
  32656. <value>#1</value>
  32657. </enumeratedValue>
  32658. </enumeratedValues>
  32659. </field>
  32660. <field>
  32661. <name>DPLOW</name>
  32662. <description>D+ Data Line pull-down resistor enable</description>
  32663. <bitOffset>5</bitOffset>
  32664. <bitWidth>1</bitWidth>
  32665. <access>read-write</access>
  32666. <enumeratedValues>
  32667. <enumeratedValue>
  32668. <name>0</name>
  32669. <description>D+ pulldown resistor is not enabled.</description>
  32670. <value>#0</value>
  32671. </enumeratedValue>
  32672. <enumeratedValue>
  32673. <name>1</name>
  32674. <description>D+ pulldown resistor is enabled.</description>
  32675. <value>#1</value>
  32676. </enumeratedValue>
  32677. </enumeratedValues>
  32678. </field>
  32679. <field>
  32680. <name>DPHIGH</name>
  32681. <description>D+ Data Line pullup resistor enable</description>
  32682. <bitOffset>7</bitOffset>
  32683. <bitWidth>1</bitWidth>
  32684. <access>read-write</access>
  32685. <enumeratedValues>
  32686. <enumeratedValue>
  32687. <name>0</name>
  32688. <description>D+ pullup resistor is not enabled</description>
  32689. <value>#0</value>
  32690. </enumeratedValue>
  32691. <enumeratedValue>
  32692. <name>1</name>
  32693. <description>D+ pullup resistor is enabled</description>
  32694. <value>#1</value>
  32695. </enumeratedValue>
  32696. </enumeratedValues>
  32697. </field>
  32698. </fields>
  32699. </register>
  32700. <register>
  32701. <name>ISTAT</name>
  32702. <description>Interrupt Status Register</description>
  32703. <addressOffset>0x80</addressOffset>
  32704. <size>8</size>
  32705. <access>read-write</access>
  32706. <resetValue>0</resetValue>
  32707. <resetMask>0xFF</resetMask>
  32708. <fields>
  32709. <field>
  32710. <name>USBRST</name>
  32711. <description>This bit is set when the USB Module has decoded a valid USB reset</description>
  32712. <bitOffset>0</bitOffset>
  32713. <bitWidth>1</bitWidth>
  32714. <access>read-write</access>
  32715. </field>
  32716. <field>
  32717. <name>ERROR</name>
  32718. <description>This bit is set when any of the error conditions within the ERRSTAT register occur</description>
  32719. <bitOffset>1</bitOffset>
  32720. <bitWidth>1</bitWidth>
  32721. <access>read-write</access>
  32722. </field>
  32723. <field>
  32724. <name>SOFTOK</name>
  32725. <description>This bit is set when the USB Module receives a Start Of Frame (SOF) token</description>
  32726. <bitOffset>2</bitOffset>
  32727. <bitWidth>1</bitWidth>
  32728. <access>read-write</access>
  32729. </field>
  32730. <field>
  32731. <name>TOKDNE</name>
  32732. <description>This bit is set when the current token being processed has completed</description>
  32733. <bitOffset>3</bitOffset>
  32734. <bitWidth>1</bitWidth>
  32735. <access>read-write</access>
  32736. </field>
  32737. <field>
  32738. <name>SLEEP</name>
  32739. <description>This bit is set when the USB Module detects a constant idle on the USB bus for 3 milliseconds</description>
  32740. <bitOffset>4</bitOffset>
  32741. <bitWidth>1</bitWidth>
  32742. <access>read-write</access>
  32743. </field>
  32744. <field>
  32745. <name>RESUME</name>
  32746. <description>This bit is set depending upon the DP/DM signals, and can be used to signal remote wake-up signaling on the USB bus</description>
  32747. <bitOffset>5</bitOffset>
  32748. <bitWidth>1</bitWidth>
  32749. <access>read-write</access>
  32750. </field>
  32751. <field>
  32752. <name>ATTACH</name>
  32753. <description>Attach Interrupt</description>
  32754. <bitOffset>6</bitOffset>
  32755. <bitWidth>1</bitWidth>
  32756. <access>read-write</access>
  32757. </field>
  32758. <field>
  32759. <name>STALL</name>
  32760. <description>Stall Interrupt</description>
  32761. <bitOffset>7</bitOffset>
  32762. <bitWidth>1</bitWidth>
  32763. <access>read-write</access>
  32764. </field>
  32765. </fields>
  32766. </register>
  32767. <register>
  32768. <name>INTEN</name>
  32769. <description>Interrupt Enable Register</description>
  32770. <addressOffset>0x84</addressOffset>
  32771. <size>8</size>
  32772. <access>read-write</access>
  32773. <resetValue>0</resetValue>
  32774. <resetMask>0xFF</resetMask>
  32775. <fields>
  32776. <field>
  32777. <name>USBRSTEN</name>
  32778. <description>USBRST Interrupt Enable</description>
  32779. <bitOffset>0</bitOffset>
  32780. <bitWidth>1</bitWidth>
  32781. <access>read-write</access>
  32782. <enumeratedValues>
  32783. <enumeratedValue>
  32784. <name>0</name>
  32785. <description>The USBRST interrupt is not enabled.</description>
  32786. <value>#0</value>
  32787. </enumeratedValue>
  32788. <enumeratedValue>
  32789. <name>1</name>
  32790. <description>The USBRST interrupt is enabled.</description>
  32791. <value>#1</value>
  32792. </enumeratedValue>
  32793. </enumeratedValues>
  32794. </field>
  32795. <field>
  32796. <name>ERROREN</name>
  32797. <description>ERROR Interrupt Enable</description>
  32798. <bitOffset>1</bitOffset>
  32799. <bitWidth>1</bitWidth>
  32800. <access>read-write</access>
  32801. <enumeratedValues>
  32802. <enumeratedValue>
  32803. <name>0</name>
  32804. <description>The ERROR interrupt is not enabled.</description>
  32805. <value>#0</value>
  32806. </enumeratedValue>
  32807. <enumeratedValue>
  32808. <name>1</name>
  32809. <description>The ERROR interrupt is enabled.</description>
  32810. <value>#1</value>
  32811. </enumeratedValue>
  32812. </enumeratedValues>
  32813. </field>
  32814. <field>
  32815. <name>SOFTOKEN</name>
  32816. <description>SOFTOK Interrupt Enable</description>
  32817. <bitOffset>2</bitOffset>
  32818. <bitWidth>1</bitWidth>
  32819. <access>read-write</access>
  32820. <enumeratedValues>
  32821. <enumeratedValue>
  32822. <name>0</name>
  32823. <description>The SOFTOK interrupt is not enabled.</description>
  32824. <value>#0</value>
  32825. </enumeratedValue>
  32826. <enumeratedValue>
  32827. <name>1</name>
  32828. <description>The SOFTOK interrupt is enabled.</description>
  32829. <value>#1</value>
  32830. </enumeratedValue>
  32831. </enumeratedValues>
  32832. </field>
  32833. <field>
  32834. <name>TOKDNEEN</name>
  32835. <description>TOKDNE Interrupt Enable</description>
  32836. <bitOffset>3</bitOffset>
  32837. <bitWidth>1</bitWidth>
  32838. <access>read-write</access>
  32839. <enumeratedValues>
  32840. <enumeratedValue>
  32841. <name>0</name>
  32842. <description>The TOKDNE interrupt is not enabled.</description>
  32843. <value>#0</value>
  32844. </enumeratedValue>
  32845. <enumeratedValue>
  32846. <name>1</name>
  32847. <description>The TOKDNE interrupt is enabled.</description>
  32848. <value>#1</value>
  32849. </enumeratedValue>
  32850. </enumeratedValues>
  32851. </field>
  32852. <field>
  32853. <name>SLEEPEN</name>
  32854. <description>SLEEP Interrupt Enable</description>
  32855. <bitOffset>4</bitOffset>
  32856. <bitWidth>1</bitWidth>
  32857. <access>read-write</access>
  32858. <enumeratedValues>
  32859. <enumeratedValue>
  32860. <name>0</name>
  32861. <description>The SLEEP interrupt is not enabled.</description>
  32862. <value>#0</value>
  32863. </enumeratedValue>
  32864. <enumeratedValue>
  32865. <name>1</name>
  32866. <description>The SLEEP interrupt is enabled.</description>
  32867. <value>#1</value>
  32868. </enumeratedValue>
  32869. </enumeratedValues>
  32870. </field>
  32871. <field>
  32872. <name>RESUMEEN</name>
  32873. <description>RESUME Interrupt Enable</description>
  32874. <bitOffset>5</bitOffset>
  32875. <bitWidth>1</bitWidth>
  32876. <access>read-write</access>
  32877. <enumeratedValues>
  32878. <enumeratedValue>
  32879. <name>0</name>
  32880. <description>The RESUME interrupt is not enabled.</description>
  32881. <value>#0</value>
  32882. </enumeratedValue>
  32883. <enumeratedValue>
  32884. <name>1</name>
  32885. <description>The RESUME interrupt is enabled.</description>
  32886. <value>#1</value>
  32887. </enumeratedValue>
  32888. </enumeratedValues>
  32889. </field>
  32890. <field>
  32891. <name>ATTACHEN</name>
  32892. <description>ATTACH Interrupt Enable</description>
  32893. <bitOffset>6</bitOffset>
  32894. <bitWidth>1</bitWidth>
  32895. <access>read-write</access>
  32896. <enumeratedValues>
  32897. <enumeratedValue>
  32898. <name>0</name>
  32899. <description>The ATTACH interrupt is not enabled.</description>
  32900. <value>#0</value>
  32901. </enumeratedValue>
  32902. <enumeratedValue>
  32903. <name>1</name>
  32904. <description>The ATTACH interrupt is enabled.</description>
  32905. <value>#1</value>
  32906. </enumeratedValue>
  32907. </enumeratedValues>
  32908. </field>
  32909. <field>
  32910. <name>STALLEN</name>
  32911. <description>STALL Interrupt Enable</description>
  32912. <bitOffset>7</bitOffset>
  32913. <bitWidth>1</bitWidth>
  32914. <access>read-write</access>
  32915. <enumeratedValues>
  32916. <enumeratedValue>
  32917. <name>0</name>
  32918. <description>The STALL interrupt is not enabled.</description>
  32919. <value>#0</value>
  32920. </enumeratedValue>
  32921. <enumeratedValue>
  32922. <name>1</name>
  32923. <description>The STALL interrupt is enabled.</description>
  32924. <value>#1</value>
  32925. </enumeratedValue>
  32926. </enumeratedValues>
  32927. </field>
  32928. </fields>
  32929. </register>
  32930. <register>
  32931. <name>ERRSTAT</name>
  32932. <description>Error Interrupt Status Register</description>
  32933. <addressOffset>0x88</addressOffset>
  32934. <size>8</size>
  32935. <access>read-write</access>
  32936. <resetValue>0</resetValue>
  32937. <resetMask>0xFF</resetMask>
  32938. <fields>
  32939. <field>
  32940. <name>PIDERR</name>
  32941. <description>This bit is set when the PID check field fails.</description>
  32942. <bitOffset>0</bitOffset>
  32943. <bitWidth>1</bitWidth>
  32944. <access>read-write</access>
  32945. </field>
  32946. <field>
  32947. <name>CRC5EOF</name>
  32948. <description>This error interrupt has two functions</description>
  32949. <bitOffset>1</bitOffset>
  32950. <bitWidth>1</bitWidth>
  32951. <access>read-write</access>
  32952. </field>
  32953. <field>
  32954. <name>CRC16</name>
  32955. <description>This bit is set when a data packet is rejected due to a CRC16 error.</description>
  32956. <bitOffset>2</bitOffset>
  32957. <bitWidth>1</bitWidth>
  32958. <access>read-write</access>
  32959. </field>
  32960. <field>
  32961. <name>DFN8</name>
  32962. <description>This bit is set if the data field received was not 8 bits in length</description>
  32963. <bitOffset>3</bitOffset>
  32964. <bitWidth>1</bitWidth>
  32965. <access>read-write</access>
  32966. </field>
  32967. <field>
  32968. <name>BTOERR</name>
  32969. <description>This bit is set when a bus turnaround timeout error occurs</description>
  32970. <bitOffset>4</bitOffset>
  32971. <bitWidth>1</bitWidth>
  32972. <access>read-write</access>
  32973. </field>
  32974. <field>
  32975. <name>DMAERR</name>
  32976. <description>This bit is set if the USB Module has requested a DMA access to read a new BDT but has not been given the bus before it needs to receive or transmit data</description>
  32977. <bitOffset>5</bitOffset>
  32978. <bitWidth>1</bitWidth>
  32979. <access>read-write</access>
  32980. </field>
  32981. <field>
  32982. <name>BTSERR</name>
  32983. <description>This bit is set when a bit stuff error is detected</description>
  32984. <bitOffset>7</bitOffset>
  32985. <bitWidth>1</bitWidth>
  32986. <access>read-write</access>
  32987. </field>
  32988. </fields>
  32989. </register>
  32990. <register>
  32991. <name>ERREN</name>
  32992. <description>Error Interrupt Enable Register</description>
  32993. <addressOffset>0x8C</addressOffset>
  32994. <size>8</size>
  32995. <access>read-write</access>
  32996. <resetValue>0</resetValue>
  32997. <resetMask>0xFF</resetMask>
  32998. <fields>
  32999. <field>
  33000. <name>PIDERREN</name>
  33001. <description>PIDERR Interrupt Enable</description>
  33002. <bitOffset>0</bitOffset>
  33003. <bitWidth>1</bitWidth>
  33004. <access>read-write</access>
  33005. <enumeratedValues>
  33006. <enumeratedValue>
  33007. <name>0</name>
  33008. <description>The PIDERR interrupt is not enabled.</description>
  33009. <value>#0</value>
  33010. </enumeratedValue>
  33011. <enumeratedValue>
  33012. <name>1</name>
  33013. <description>The PIDERR interrupt is enabled.</description>
  33014. <value>#1</value>
  33015. </enumeratedValue>
  33016. </enumeratedValues>
  33017. </field>
  33018. <field>
  33019. <name>CRC5EOFEN</name>
  33020. <description>CRC5/EOF Interrupt Enable</description>
  33021. <bitOffset>1</bitOffset>
  33022. <bitWidth>1</bitWidth>
  33023. <access>read-write</access>
  33024. <enumeratedValues>
  33025. <enumeratedValue>
  33026. <name>0</name>
  33027. <description>The CRC5/EOF interrupt is not enabled.</description>
  33028. <value>#0</value>
  33029. </enumeratedValue>
  33030. <enumeratedValue>
  33031. <name>1</name>
  33032. <description>The CRC5/EOF interrupt is enabled.</description>
  33033. <value>#1</value>
  33034. </enumeratedValue>
  33035. </enumeratedValues>
  33036. </field>
  33037. <field>
  33038. <name>CRC16EN</name>
  33039. <description>CRC16 Interrupt Enable</description>
  33040. <bitOffset>2</bitOffset>
  33041. <bitWidth>1</bitWidth>
  33042. <access>read-write</access>
  33043. <enumeratedValues>
  33044. <enumeratedValue>
  33045. <name>0</name>
  33046. <description>The CRC16 interrupt is not enabled.</description>
  33047. <value>#0</value>
  33048. </enumeratedValue>
  33049. <enumeratedValue>
  33050. <name>1</name>
  33051. <description>The CRC16 interrupt is enabled.</description>
  33052. <value>#1</value>
  33053. </enumeratedValue>
  33054. </enumeratedValues>
  33055. </field>
  33056. <field>
  33057. <name>DFN8EN</name>
  33058. <description>DFN8 Interrupt Enable</description>
  33059. <bitOffset>3</bitOffset>
  33060. <bitWidth>1</bitWidth>
  33061. <access>read-write</access>
  33062. <enumeratedValues>
  33063. <enumeratedValue>
  33064. <name>0</name>
  33065. <description>The DFN8 interrupt is not enabled.</description>
  33066. <value>#0</value>
  33067. </enumeratedValue>
  33068. <enumeratedValue>
  33069. <name>1</name>
  33070. <description>The DFN8 interrupt is enabled.</description>
  33071. <value>#1</value>
  33072. </enumeratedValue>
  33073. </enumeratedValues>
  33074. </field>
  33075. <field>
  33076. <name>BTOERREN</name>
  33077. <description>BTOERR Interrupt Enable</description>
  33078. <bitOffset>4</bitOffset>
  33079. <bitWidth>1</bitWidth>
  33080. <access>read-write</access>
  33081. <enumeratedValues>
  33082. <enumeratedValue>
  33083. <name>0</name>
  33084. <description>The BTOERR interrupt is not enabled.</description>
  33085. <value>#0</value>
  33086. </enumeratedValue>
  33087. <enumeratedValue>
  33088. <name>1</name>
  33089. <description>The BTOERR interrupt is enabled.</description>
  33090. <value>#1</value>
  33091. </enumeratedValue>
  33092. </enumeratedValues>
  33093. </field>
  33094. <field>
  33095. <name>DMAERREN</name>
  33096. <description>DMAERR Interrupt Enable</description>
  33097. <bitOffset>5</bitOffset>
  33098. <bitWidth>1</bitWidth>
  33099. <access>read-write</access>
  33100. <enumeratedValues>
  33101. <enumeratedValue>
  33102. <name>0</name>
  33103. <description>The DMAERR interrupt is not enabled.</description>
  33104. <value>#0</value>
  33105. </enumeratedValue>
  33106. <enumeratedValue>
  33107. <name>1</name>
  33108. <description>The DMAERR interrupt is enabled.</description>
  33109. <value>#1</value>
  33110. </enumeratedValue>
  33111. </enumeratedValues>
  33112. </field>
  33113. <field>
  33114. <name>BTSERREN</name>
  33115. <description>BTSERR Interrupt Enable</description>
  33116. <bitOffset>7</bitOffset>
  33117. <bitWidth>1</bitWidth>
  33118. <access>read-write</access>
  33119. <enumeratedValues>
  33120. <enumeratedValue>
  33121. <name>0</name>
  33122. <description>The BTSERR interrupt is not enabled.</description>
  33123. <value>#0</value>
  33124. </enumeratedValue>
  33125. <enumeratedValue>
  33126. <name>1</name>
  33127. <description>The BTSERR interrupt is enabled.</description>
  33128. <value>#1</value>
  33129. </enumeratedValue>
  33130. </enumeratedValues>
  33131. </field>
  33132. </fields>
  33133. </register>
  33134. <register>
  33135. <name>STAT</name>
  33136. <description>Status Register</description>
  33137. <addressOffset>0x90</addressOffset>
  33138. <size>8</size>
  33139. <access>read-only</access>
  33140. <resetValue>0</resetValue>
  33141. <resetMask>0xFF</resetMask>
  33142. <fields>
  33143. <field>
  33144. <name>ODD</name>
  33145. <description>this bit is set if the last Buffer Descriptor updated was in the odd bank of the BDT.</description>
  33146. <bitOffset>2</bitOffset>
  33147. <bitWidth>1</bitWidth>
  33148. <access>read-only</access>
  33149. </field>
  33150. <field>
  33151. <name>TX</name>
  33152. <description>Transmit Indicator</description>
  33153. <bitOffset>3</bitOffset>
  33154. <bitWidth>1</bitWidth>
  33155. <access>read-only</access>
  33156. <enumeratedValues>
  33157. <enumeratedValue>
  33158. <name>0</name>
  33159. <description>The most recent transaction was a Receive operation.</description>
  33160. <value>#0</value>
  33161. </enumeratedValue>
  33162. <enumeratedValue>
  33163. <name>1</name>
  33164. <description>The most recent transaction was a Transmit operation.</description>
  33165. <value>#1</value>
  33166. </enumeratedValue>
  33167. </enumeratedValues>
  33168. </field>
  33169. <field>
  33170. <name>ENDP</name>
  33171. <description>This four-bit field encodes the endpoint address that received or transmitted the previous token</description>
  33172. <bitOffset>4</bitOffset>
  33173. <bitWidth>4</bitWidth>
  33174. <access>read-only</access>
  33175. </field>
  33176. </fields>
  33177. </register>
  33178. <register>
  33179. <name>CTL</name>
  33180. <description>Control Register</description>
  33181. <addressOffset>0x94</addressOffset>
  33182. <size>8</size>
  33183. <access>read-write</access>
  33184. <resetValue>0</resetValue>
  33185. <resetMask>0xFF</resetMask>
  33186. <fields>
  33187. <field>
  33188. <name>USBENSOFEN</name>
  33189. <description>USB Enable</description>
  33190. <bitOffset>0</bitOffset>
  33191. <bitWidth>1</bitWidth>
  33192. <access>read-write</access>
  33193. <enumeratedValues>
  33194. <enumeratedValue>
  33195. <name>0</name>
  33196. <description>The USB Module is disabled.</description>
  33197. <value>#0</value>
  33198. </enumeratedValue>
  33199. <enumeratedValue>
  33200. <name>1</name>
  33201. <description>The USB Module is enabled.</description>
  33202. <value>#1</value>
  33203. </enumeratedValue>
  33204. </enumeratedValues>
  33205. </field>
  33206. <field>
  33207. <name>ODDRST</name>
  33208. <description>Setting this bit to 1 resets all the BDT ODD ping/pong bits to 0, which then specifies the EVEN BDT bank</description>
  33209. <bitOffset>1</bitOffset>
  33210. <bitWidth>1</bitWidth>
  33211. <access>read-write</access>
  33212. </field>
  33213. <field>
  33214. <name>RESUME</name>
  33215. <description>When set to 1 this bit enables the USB Module to execute resume signaling</description>
  33216. <bitOffset>2</bitOffset>
  33217. <bitWidth>1</bitWidth>
  33218. <access>read-write</access>
  33219. </field>
  33220. <field>
  33221. <name>HOSTMODEEN</name>
  33222. <description>When set to 1, this bit enables the USB Module to operate in Host mode</description>
  33223. <bitOffset>3</bitOffset>
  33224. <bitWidth>1</bitWidth>
  33225. <access>read-write</access>
  33226. </field>
  33227. <field>
  33228. <name>RESET</name>
  33229. <description>Setting this bit enables the USB Module to generate USB reset signaling</description>
  33230. <bitOffset>4</bitOffset>
  33231. <bitWidth>1</bitWidth>
  33232. <access>read-write</access>
  33233. </field>
  33234. <field>
  33235. <name>TXSUSPENDTOKENBUSY</name>
  33236. <description>When the USB Module is in Host mode TOKEN_BUSY is set when the USB Module is busy executing a USB token and no more token commands should be written to the Token Register</description>
  33237. <bitOffset>5</bitOffset>
  33238. <bitWidth>1</bitWidth>
  33239. <access>read-write</access>
  33240. </field>
  33241. <field>
  33242. <name>SE0</name>
  33243. <description>Live USB Single Ended Zero signal</description>
  33244. <bitOffset>6</bitOffset>
  33245. <bitWidth>1</bitWidth>
  33246. <access>read-write</access>
  33247. </field>
  33248. <field>
  33249. <name>JSTATE</name>
  33250. <description>Live USB differential receiver JSTATE signal</description>
  33251. <bitOffset>7</bitOffset>
  33252. <bitWidth>1</bitWidth>
  33253. <access>read-write</access>
  33254. </field>
  33255. </fields>
  33256. </register>
  33257. <register>
  33258. <name>ADDR</name>
  33259. <description>Address Register</description>
  33260. <addressOffset>0x98</addressOffset>
  33261. <size>8</size>
  33262. <access>read-write</access>
  33263. <resetValue>0</resetValue>
  33264. <resetMask>0xFF</resetMask>
  33265. <fields>
  33266. <field>
  33267. <name>ADDR</name>
  33268. <description>USB address</description>
  33269. <bitOffset>0</bitOffset>
  33270. <bitWidth>7</bitWidth>
  33271. <access>read-write</access>
  33272. </field>
  33273. <field>
  33274. <name>LSEN</name>
  33275. <description>Low Speed Enable bit</description>
  33276. <bitOffset>7</bitOffset>
  33277. <bitWidth>1</bitWidth>
  33278. <access>read-write</access>
  33279. </field>
  33280. </fields>
  33281. </register>
  33282. <register>
  33283. <name>BDTPAGE1</name>
  33284. <description>BDT Page Register 1</description>
  33285. <addressOffset>0x9C</addressOffset>
  33286. <size>8</size>
  33287. <access>read-write</access>
  33288. <resetValue>0</resetValue>
  33289. <resetMask>0xFF</resetMask>
  33290. <fields>
  33291. <field>
  33292. <name>BDTBA</name>
  33293. <description>This field provides address bits 15 through 9 of the BDT base address.</description>
  33294. <bitOffset>1</bitOffset>
  33295. <bitWidth>7</bitWidth>
  33296. <access>read-write</access>
  33297. </field>
  33298. </fields>
  33299. </register>
  33300. <register>
  33301. <name>FRMNUML</name>
  33302. <description>Frame Number Register Low</description>
  33303. <addressOffset>0xA0</addressOffset>
  33304. <size>8</size>
  33305. <access>read-write</access>
  33306. <resetValue>0</resetValue>
  33307. <resetMask>0xFF</resetMask>
  33308. <fields>
  33309. <field>
  33310. <name>FRM</name>
  33311. <description>This 8-bit field and the 3-bit field in the Frame Number Register High are used to compute the address where the current Buffer Descriptor Table (BDT) resides in system memory</description>
  33312. <bitOffset>0</bitOffset>
  33313. <bitWidth>8</bitWidth>
  33314. <access>read-write</access>
  33315. </field>
  33316. </fields>
  33317. </register>
  33318. <register>
  33319. <name>FRMNUMH</name>
  33320. <description>Frame Number Register High</description>
  33321. <addressOffset>0xA4</addressOffset>
  33322. <size>8</size>
  33323. <access>read-write</access>
  33324. <resetValue>0</resetValue>
  33325. <resetMask>0xFF</resetMask>
  33326. <fields>
  33327. <field>
  33328. <name>FRM</name>
  33329. <description>This 3-bit field and the 8-bit field in the Frame Number Register Low are used to compute the address where the current Buffer Descriptor Table (BDT) resides in system memory</description>
  33330. <bitOffset>0</bitOffset>
  33331. <bitWidth>3</bitWidth>
  33332. <access>read-write</access>
  33333. </field>
  33334. </fields>
  33335. </register>
  33336. <register>
  33337. <name>TOKEN</name>
  33338. <description>Token Register</description>
  33339. <addressOffset>0xA8</addressOffset>
  33340. <size>8</size>
  33341. <access>read-write</access>
  33342. <resetValue>0</resetValue>
  33343. <resetMask>0xFF</resetMask>
  33344. <fields>
  33345. <field>
  33346. <name>TOKENENDPT</name>
  33347. <description>This 4 bit field holds the Endpoint address for the token command</description>
  33348. <bitOffset>0</bitOffset>
  33349. <bitWidth>4</bitWidth>
  33350. <access>read-write</access>
  33351. </field>
  33352. <field>
  33353. <name>TOKENPID</name>
  33354. <description>This 4-bit field contains the token type executed by the USB Module.</description>
  33355. <bitOffset>4</bitOffset>
  33356. <bitWidth>4</bitWidth>
  33357. <access>read-write</access>
  33358. <enumeratedValues>
  33359. <enumeratedValue>
  33360. <name>0001</name>
  33361. <description>OUT Token. USB Module performs an OUT (TX) transaction.</description>
  33362. <value>#0001</value>
  33363. </enumeratedValue>
  33364. <enumeratedValue>
  33365. <name>1001</name>
  33366. <description>IN Token. USB Module performs an In (RX) transaction.</description>
  33367. <value>#1001</value>
  33368. </enumeratedValue>
  33369. <enumeratedValue>
  33370. <name>1101</name>
  33371. <description>SETUP Token. USB Module performs a SETUP (TX) transaction</description>
  33372. <value>#1101</value>
  33373. </enumeratedValue>
  33374. </enumeratedValues>
  33375. </field>
  33376. </fields>
  33377. </register>
  33378. <register>
  33379. <name>SOFTHLD</name>
  33380. <description>SOF Threshold Register</description>
  33381. <addressOffset>0xAC</addressOffset>
  33382. <size>8</size>
  33383. <access>read-write</access>
  33384. <resetValue>0</resetValue>
  33385. <resetMask>0xFF</resetMask>
  33386. <fields>
  33387. <field>
  33388. <name>CNT</name>
  33389. <description>This 8-bit field represents the SOF count threshold in byte times.</description>
  33390. <bitOffset>0</bitOffset>
  33391. <bitWidth>8</bitWidth>
  33392. <access>read-write</access>
  33393. </field>
  33394. </fields>
  33395. </register>
  33396. <register>
  33397. <name>BDTPAGE2</name>
  33398. <description>BDT Page Register 2</description>
  33399. <addressOffset>0xB0</addressOffset>
  33400. <size>8</size>
  33401. <access>read-write</access>
  33402. <resetValue>0</resetValue>
  33403. <resetMask>0xFF</resetMask>
  33404. <fields>
  33405. <field>
  33406. <name>BDTBA</name>
  33407. <description>This 8 bit field provides address bits 23 through 16 of the BDT base address, which defines where the Buffer Descriptor Table resides in system memory</description>
  33408. <bitOffset>0</bitOffset>
  33409. <bitWidth>8</bitWidth>
  33410. <access>read-write</access>
  33411. </field>
  33412. </fields>
  33413. </register>
  33414. <register>
  33415. <name>BDTPAGE3</name>
  33416. <description>BDT Page Register 3</description>
  33417. <addressOffset>0xB4</addressOffset>
  33418. <size>8</size>
  33419. <access>read-write</access>
  33420. <resetValue>0</resetValue>
  33421. <resetMask>0xFF</resetMask>
  33422. <fields>
  33423. <field>
  33424. <name>BDTBA</name>
  33425. <description>This 8 bit field provides address bits 31 through 24 of the BDT base address, which defines where the Buffer Descriptor Table resides in system memory</description>
  33426. <bitOffset>0</bitOffset>
  33427. <bitWidth>8</bitWidth>
  33428. <access>read-write</access>
  33429. </field>
  33430. </fields>
  33431. </register>
  33432. <register>
  33433. <dim>16</dim>
  33434. <dimIncrement>0x4</dimIncrement>
  33435. <dimIndex>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15</dimIndex>
  33436. <name>ENDPT%s</name>
  33437. <description>Endpoint Control Register</description>
  33438. <addressOffset>0xC0</addressOffset>
  33439. <size>8</size>
  33440. <access>read-write</access>
  33441. <resetValue>0</resetValue>
  33442. <resetMask>0xFF</resetMask>
  33443. <fields>
  33444. <field>
  33445. <name>EPHSHK</name>
  33446. <description>no description available</description>
  33447. <bitOffset>0</bitOffset>
  33448. <bitWidth>1</bitWidth>
  33449. <access>read-write</access>
  33450. </field>
  33451. <field>
  33452. <name>EPSTALL</name>
  33453. <description>no description available</description>
  33454. <bitOffset>1</bitOffset>
  33455. <bitWidth>1</bitWidth>
  33456. <access>read-write</access>
  33457. </field>
  33458. <field>
  33459. <name>EPTXEN</name>
  33460. <description>no description available</description>
  33461. <bitOffset>2</bitOffset>
  33462. <bitWidth>1</bitWidth>
  33463. <access>read-write</access>
  33464. </field>
  33465. <field>
  33466. <name>EPRXEN</name>
  33467. <description>no description available</description>
  33468. <bitOffset>3</bitOffset>
  33469. <bitWidth>1</bitWidth>
  33470. <access>read-write</access>
  33471. </field>
  33472. <field>
  33473. <name>EPCTLDIS</name>
  33474. <description>no description available</description>
  33475. <bitOffset>4</bitOffset>
  33476. <bitWidth>1</bitWidth>
  33477. <access>read-write</access>
  33478. </field>
  33479. <field>
  33480. <name>RETRYDIS</name>
  33481. <description>no description available</description>
  33482. <bitOffset>6</bitOffset>
  33483. <bitWidth>1</bitWidth>
  33484. <access>read-write</access>
  33485. </field>
  33486. <field>
  33487. <name>HOSTWOHUB</name>
  33488. <description>no description available</description>
  33489. <bitOffset>7</bitOffset>
  33490. <bitWidth>1</bitWidth>
  33491. <access>read-write</access>
  33492. </field>
  33493. </fields>
  33494. </register>
  33495. <register>
  33496. <name>USBCTRL</name>
  33497. <description>USB Control Register</description>
  33498. <addressOffset>0x100</addressOffset>
  33499. <size>8</size>
  33500. <access>read-write</access>
  33501. <resetValue>0xC0</resetValue>
  33502. <resetMask>0xFF</resetMask>
  33503. <fields>
  33504. <field>
  33505. <name>PDE</name>
  33506. <description>Enables the weak pulldowns on the USB transceiver.</description>
  33507. <bitOffset>6</bitOffset>
  33508. <bitWidth>1</bitWidth>
  33509. <access>read-write</access>
  33510. <enumeratedValues>
  33511. <enumeratedValue>
  33512. <name>0</name>
  33513. <description>Weak pulldowns are disabled on D+ and D-</description>
  33514. <value>#0</value>
  33515. </enumeratedValue>
  33516. <enumeratedValue>
  33517. <name>1</name>
  33518. <description>Weak pulldowns are enabled on D+ and D-.</description>
  33519. <value>#1</value>
  33520. </enumeratedValue>
  33521. </enumeratedValues>
  33522. </field>
  33523. <field>
  33524. <name>SUSP</name>
  33525. <description>Places the USB transceiver into the suspend state.</description>
  33526. <bitOffset>7</bitOffset>
  33527. <bitWidth>1</bitWidth>
  33528. <access>read-write</access>
  33529. <enumeratedValues>
  33530. <enumeratedValue>
  33531. <name>0</name>
  33532. <description>USB transceiver is not in suspend state.</description>
  33533. <value>#0</value>
  33534. </enumeratedValue>
  33535. <enumeratedValue>
  33536. <name>1</name>
  33537. <description>USB transceiver is in suspend state.</description>
  33538. <value>#1</value>
  33539. </enumeratedValue>
  33540. </enumeratedValues>
  33541. </field>
  33542. </fields>
  33543. </register>
  33544. <register>
  33545. <name>OBSERVE</name>
  33546. <description>USB OTG Observe Register</description>
  33547. <addressOffset>0x104</addressOffset>
  33548. <size>8</size>
  33549. <access>read-only</access>
  33550. <resetValue>0x50</resetValue>
  33551. <resetMask>0xFF</resetMask>
  33552. <fields>
  33553. <field>
  33554. <name>DMPD</name>
  33555. <description>Provides observability of the D- Pull Down enable at the USB transceiver.</description>
  33556. <bitOffset>4</bitOffset>
  33557. <bitWidth>1</bitWidth>
  33558. <access>read-only</access>
  33559. <enumeratedValues>
  33560. <enumeratedValue>
  33561. <name>0</name>
  33562. <description>D- pulldown disabled.</description>
  33563. <value>#0</value>
  33564. </enumeratedValue>
  33565. <enumeratedValue>
  33566. <name>1</name>
  33567. <description>D- pulldown enabled.</description>
  33568. <value>#1</value>
  33569. </enumeratedValue>
  33570. </enumeratedValues>
  33571. </field>
  33572. <field>
  33573. <name>DPPD</name>
  33574. <description>Provides observability of the D+ Pull Down enable at the USB transceiver.</description>
  33575. <bitOffset>6</bitOffset>
  33576. <bitWidth>1</bitWidth>
  33577. <access>read-only</access>
  33578. <enumeratedValues>
  33579. <enumeratedValue>
  33580. <name>0</name>
  33581. <description>D+ pulldown disabled.</description>
  33582. <value>#0</value>
  33583. </enumeratedValue>
  33584. <enumeratedValue>
  33585. <name>1</name>
  33586. <description>D+ pulldown enabled.</description>
  33587. <value>#1</value>
  33588. </enumeratedValue>
  33589. </enumeratedValues>
  33590. </field>
  33591. <field>
  33592. <name>DPPU</name>
  33593. <description>Provides observability of the D+ Pull Up enable at the USB transceiver.</description>
  33594. <bitOffset>7</bitOffset>
  33595. <bitWidth>1</bitWidth>
  33596. <access>read-only</access>
  33597. <enumeratedValues>
  33598. <enumeratedValue>
  33599. <name>0</name>
  33600. <description>D+ pullup disabled.</description>
  33601. <value>#0</value>
  33602. </enumeratedValue>
  33603. <enumeratedValue>
  33604. <name>1</name>
  33605. <description>D+ pullup enabled.</description>
  33606. <value>#1</value>
  33607. </enumeratedValue>
  33608. </enumeratedValues>
  33609. </field>
  33610. </fields>
  33611. </register>
  33612. <register>
  33613. <name>CONTROL</name>
  33614. <description>USB OTG Control Register</description>
  33615. <addressOffset>0x108</addressOffset>
  33616. <size>8</size>
  33617. <access>read-write</access>
  33618. <resetValue>0</resetValue>
  33619. <resetMask>0xFF</resetMask>
  33620. <fields>
  33621. <field>
  33622. <name>DPPULLUPNONOTG</name>
  33623. <description>Provides control of the DP PULLUP in the USB OTG module, if USB is configured in non-OTG device mode</description>
  33624. <bitOffset>4</bitOffset>
  33625. <bitWidth>1</bitWidth>
  33626. <access>read-write</access>
  33627. <enumeratedValues>
  33628. <enumeratedValue>
  33629. <name>0</name>
  33630. <description>DP Pull up in non-OTG device mode is not enabled.</description>
  33631. <value>#0</value>
  33632. </enumeratedValue>
  33633. <enumeratedValue>
  33634. <name>1</name>
  33635. <description>DP Pull up in non-OTG device mode is enabled.</description>
  33636. <value>#1</value>
  33637. </enumeratedValue>
  33638. </enumeratedValues>
  33639. </field>
  33640. </fields>
  33641. </register>
  33642. <register>
  33643. <name>USBTRC0</name>
  33644. <description>USB Transceiver Control Register 0</description>
  33645. <addressOffset>0x10C</addressOffset>
  33646. <size>8</size>
  33647. <access>read-write</access>
  33648. <resetValue>0</resetValue>
  33649. <resetMask>0xFF</resetMask>
  33650. <fields>
  33651. <field>
  33652. <name>USB_RESUME_INT</name>
  33653. <description>USB Asynchronous Interrupt</description>
  33654. <bitOffset>0</bitOffset>
  33655. <bitWidth>1</bitWidth>
  33656. <access>read-only</access>
  33657. <enumeratedValues>
  33658. <enumeratedValue>
  33659. <name>0</name>
  33660. <description>No interrupt was generated.</description>
  33661. <value>#0</value>
  33662. </enumeratedValue>
  33663. <enumeratedValue>
  33664. <name>1</name>
  33665. <description>Interrupt was generated because of the USB asynchronous interrupt.</description>
  33666. <value>#1</value>
  33667. </enumeratedValue>
  33668. </enumeratedValues>
  33669. </field>
  33670. <field>
  33671. <name>SYNC_DET</name>
  33672. <description>Synchronous USB Interrupt Detect</description>
  33673. <bitOffset>1</bitOffset>
  33674. <bitWidth>1</bitWidth>
  33675. <access>read-only</access>
  33676. <enumeratedValues>
  33677. <enumeratedValue>
  33678. <name>0</name>
  33679. <description>Synchronous interrupt has not been detected.</description>
  33680. <value>#0</value>
  33681. </enumeratedValue>
  33682. <enumeratedValue>
  33683. <name>1</name>
  33684. <description>Synchronous interrupt has been detected.</description>
  33685. <value>#1</value>
  33686. </enumeratedValue>
  33687. </enumeratedValues>
  33688. </field>
  33689. <field>
  33690. <name>USBRESMEN</name>
  33691. <description>Asynchronous Resume Interrupt Enable</description>
  33692. <bitOffset>5</bitOffset>
  33693. <bitWidth>1</bitWidth>
  33694. <access>read-write</access>
  33695. <enumeratedValues>
  33696. <enumeratedValue>
  33697. <name>0</name>
  33698. <description>USB asynchronous wakeup from suspend mode disabled.</description>
  33699. <value>#0</value>
  33700. </enumeratedValue>
  33701. <enumeratedValue>
  33702. <name>1</name>
  33703. <description>USB asynchronous wakeup from suspend mode enabled. The asynchronous resume interrupt differs from the synchronous resume interrupt in that it asynchronously detects K-state using the unfiltered state of the D+ and D- pins. This interupt should only be enabled when the Transceiver is suspended.</description>
  33704. <value>#1</value>
  33705. </enumeratedValue>
  33706. </enumeratedValues>
  33707. </field>
  33708. <field>
  33709. <name>USBRESET</name>
  33710. <description>USB reset</description>
  33711. <bitOffset>7</bitOffset>
  33712. <bitWidth>1</bitWidth>
  33713. <access>write-only</access>
  33714. <enumeratedValues>
  33715. <enumeratedValue>
  33716. <name>0</name>
  33717. <description>Normal USB module operation.</description>
  33718. <value>#0</value>
  33719. </enumeratedValue>
  33720. <enumeratedValue>
  33721. <name>1</name>
  33722. <description>Returns the USB module to its reset state.</description>
  33723. <value>#1</value>
  33724. </enumeratedValue>
  33725. </enumeratedValues>
  33726. </field>
  33727. </fields>
  33728. </register>
  33729. <register>
  33730. <name>USBFRMADJUST</name>
  33731. <description>Frame Adjust Register</description>
  33732. <addressOffset>0x114</addressOffset>
  33733. <size>8</size>
  33734. <access>read-write</access>
  33735. <resetValue>0</resetValue>
  33736. <resetMask>0xFF</resetMask>
  33737. <fields>
  33738. <field>
  33739. <name>ADJ</name>
  33740. <description>Frame Adjustment</description>
  33741. <bitOffset>0</bitOffset>
  33742. <bitWidth>8</bitWidth>
  33743. <access>read-write</access>
  33744. </field>
  33745. </fields>
  33746. </register>
  33747. </registers>
  33748. </peripheral>
  33749. <peripheral>
  33750. <name>CMP0</name>
  33751. <description>High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)</description>
  33752. <groupName>CMP</groupName>
  33753. <prependToName>CMP0_</prependToName>
  33754. <baseAddress>0x40073000</baseAddress>
  33755. <addressBlock>
  33756. <offset>0</offset>
  33757. <size>0x6</size>
  33758. <usage>registers</usage>
  33759. </addressBlock>
  33760. <interrupt>
  33761. <name>CMP0</name>
  33762. <value>23</value>
  33763. </interrupt>
  33764. <registers>
  33765. <register>
  33766. <name>CR0</name>
  33767. <description>CMP Control Register 0</description>
  33768. <addressOffset>0</addressOffset>
  33769. <size>8</size>
  33770. <access>read-write</access>
  33771. <resetValue>0</resetValue>
  33772. <resetMask>0xFF</resetMask>
  33773. <fields>
  33774. <field>
  33775. <name>HYSTCTR</name>
  33776. <description>Comparator hard block hysteresis control</description>
  33777. <bitOffset>0</bitOffset>
  33778. <bitWidth>2</bitWidth>
  33779. <access>read-write</access>
  33780. <enumeratedValues>
  33781. <enumeratedValue>
  33782. <name>00</name>
  33783. <description>Level 0</description>
  33784. <value>#00</value>
  33785. </enumeratedValue>
  33786. <enumeratedValue>
  33787. <name>01</name>
  33788. <description>Level 1</description>
  33789. <value>#01</value>
  33790. </enumeratedValue>
  33791. <enumeratedValue>
  33792. <name>10</name>
  33793. <description>Level 2</description>
  33794. <value>#10</value>
  33795. </enumeratedValue>
  33796. <enumeratedValue>
  33797. <name>11</name>
  33798. <description>Level 3</description>
  33799. <value>#11</value>
  33800. </enumeratedValue>
  33801. </enumeratedValues>
  33802. </field>
  33803. <field>
  33804. <name>FILTER_CNT</name>
  33805. <description>Filter Sample Count</description>
  33806. <bitOffset>4</bitOffset>
  33807. <bitWidth>3</bitWidth>
  33808. <access>read-write</access>
  33809. <enumeratedValues>
  33810. <enumeratedValue>
  33811. <name>000</name>
  33812. <description>Filter is disabled. If SE = 1, then COUT is a logic zero (this is not a legal state, and is not recommended). If SE = 0, COUT = COUTA.</description>
  33813. <value>#000</value>
  33814. </enumeratedValue>
  33815. <enumeratedValue>
  33816. <name>001</name>
  33817. <description>1 consecutive sample must agree (comparator output is simply sampled).</description>
  33818. <value>#001</value>
  33819. </enumeratedValue>
  33820. <enumeratedValue>
  33821. <name>010</name>
  33822. <description>2 consecutive samples must agree.</description>
  33823. <value>#010</value>
  33824. </enumeratedValue>
  33825. <enumeratedValue>
  33826. <name>011</name>
  33827. <description>3 consecutive samples must agree.</description>
  33828. <value>#011</value>
  33829. </enumeratedValue>
  33830. <enumeratedValue>
  33831. <name>100</name>
  33832. <description>4 consecutive samples must agree.</description>
  33833. <value>#100</value>
  33834. </enumeratedValue>
  33835. <enumeratedValue>
  33836. <name>101</name>
  33837. <description>5 consecutive samples must agree.</description>
  33838. <value>#101</value>
  33839. </enumeratedValue>
  33840. <enumeratedValue>
  33841. <name>110</name>
  33842. <description>6 consecutive samples must agree.</description>
  33843. <value>#110</value>
  33844. </enumeratedValue>
  33845. <enumeratedValue>
  33846. <name>111</name>
  33847. <description>7 consecutive samples must agree.</description>
  33848. <value>#111</value>
  33849. </enumeratedValue>
  33850. </enumeratedValues>
  33851. </field>
  33852. </fields>
  33853. </register>
  33854. <register>
  33855. <name>CR1</name>
  33856. <description>CMP Control Register 1</description>
  33857. <addressOffset>0x1</addressOffset>
  33858. <size>8</size>
  33859. <access>read-write</access>
  33860. <resetValue>0</resetValue>
  33861. <resetMask>0xFF</resetMask>
  33862. <fields>
  33863. <field>
  33864. <name>EN</name>
  33865. <description>Comparator Module Enable</description>
  33866. <bitOffset>0</bitOffset>
  33867. <bitWidth>1</bitWidth>
  33868. <access>read-write</access>
  33869. <enumeratedValues>
  33870. <enumeratedValue>
  33871. <name>0</name>
  33872. <description>Analog Comparator disabled.</description>
  33873. <value>#0</value>
  33874. </enumeratedValue>
  33875. <enumeratedValue>
  33876. <name>1</name>
  33877. <description>Analog Comparator enabled.</description>
  33878. <value>#1</value>
  33879. </enumeratedValue>
  33880. </enumeratedValues>
  33881. </field>
  33882. <field>
  33883. <name>OPE</name>
  33884. <description>Comparator Output Pin Enable</description>
  33885. <bitOffset>1</bitOffset>
  33886. <bitWidth>1</bitWidth>
  33887. <access>read-write</access>
  33888. <enumeratedValues>
  33889. <enumeratedValue>
  33890. <name>0</name>
  33891. <description>The comparator output (CMPO) is not available on the associated CMPO output pin.</description>
  33892. <value>#0</value>
  33893. </enumeratedValue>
  33894. <enumeratedValue>
  33895. <name>1</name>
  33896. <description>The comparator output (CMPO) is available on the associated CMPO output pin.</description>
  33897. <value>#1</value>
  33898. </enumeratedValue>
  33899. </enumeratedValues>
  33900. </field>
  33901. <field>
  33902. <name>COS</name>
  33903. <description>Comparator Output Select</description>
  33904. <bitOffset>2</bitOffset>
  33905. <bitWidth>1</bitWidth>
  33906. <access>read-write</access>
  33907. <enumeratedValues>
  33908. <enumeratedValue>
  33909. <name>0</name>
  33910. <description>Set CMPO to equal COUT (filtered comparator output).</description>
  33911. <value>#0</value>
  33912. </enumeratedValue>
  33913. <enumeratedValue>
  33914. <name>1</name>
  33915. <description>Set CMPO to equal COUTA (unfiltered comparator output).</description>
  33916. <value>#1</value>
  33917. </enumeratedValue>
  33918. </enumeratedValues>
  33919. </field>
  33920. <field>
  33921. <name>INV</name>
  33922. <description>Comparator INVERT</description>
  33923. <bitOffset>3</bitOffset>
  33924. <bitWidth>1</bitWidth>
  33925. <access>read-write</access>
  33926. <enumeratedValues>
  33927. <enumeratedValue>
  33928. <name>0</name>
  33929. <description>Does not invert the comparator output.</description>
  33930. <value>#0</value>
  33931. </enumeratedValue>
  33932. <enumeratedValue>
  33933. <name>1</name>
  33934. <description>Inverts the comparator output.</description>
  33935. <value>#1</value>
  33936. </enumeratedValue>
  33937. </enumeratedValues>
  33938. </field>
  33939. <field>
  33940. <name>PMODE</name>
  33941. <description>Power Mode Select</description>
  33942. <bitOffset>4</bitOffset>
  33943. <bitWidth>1</bitWidth>
  33944. <access>read-write</access>
  33945. <enumeratedValues>
  33946. <enumeratedValue>
  33947. <name>0</name>
  33948. <description>Low Speed (LS) comparison mode selected. In this mode, CMP has slower output propagation delay and lower current consumption.</description>
  33949. <value>#0</value>
  33950. </enumeratedValue>
  33951. <enumeratedValue>
  33952. <name>1</name>
  33953. <description>High Speed (HS) comparison mode selected. In this mode, CMP has faster output propagation delay and higher current consumption.</description>
  33954. <value>#1</value>
  33955. </enumeratedValue>
  33956. </enumeratedValues>
  33957. </field>
  33958. <field>
  33959. <name>WE</name>
  33960. <description>Windowing Enable</description>
  33961. <bitOffset>6</bitOffset>
  33962. <bitWidth>1</bitWidth>
  33963. <access>read-write</access>
  33964. <enumeratedValues>
  33965. <enumeratedValue>
  33966. <name>0</name>
  33967. <description>Windowing mode not selected.</description>
  33968. <value>#0</value>
  33969. </enumeratedValue>
  33970. <enumeratedValue>
  33971. <name>1</name>
  33972. <description>Windowing mode selected.</description>
  33973. <value>#1</value>
  33974. </enumeratedValue>
  33975. </enumeratedValues>
  33976. </field>
  33977. <field>
  33978. <name>SE</name>
  33979. <description>Sample Enable</description>
  33980. <bitOffset>7</bitOffset>
  33981. <bitWidth>1</bitWidth>
  33982. <access>read-write</access>
  33983. <enumeratedValues>
  33984. <enumeratedValue>
  33985. <name>0</name>
  33986. <description>Sampling mode not selected.</description>
  33987. <value>#0</value>
  33988. </enumeratedValue>
  33989. <enumeratedValue>
  33990. <name>1</name>
  33991. <description>Sampling mode selected.</description>
  33992. <value>#1</value>
  33993. </enumeratedValue>
  33994. </enumeratedValues>
  33995. </field>
  33996. </fields>
  33997. </register>
  33998. <register>
  33999. <name>FPR</name>
  34000. <description>CMP Filter Period Register</description>
  34001. <addressOffset>0x2</addressOffset>
  34002. <size>8</size>
  34003. <access>read-write</access>
  34004. <resetValue>0</resetValue>
  34005. <resetMask>0xFF</resetMask>
  34006. <fields>
  34007. <field>
  34008. <name>FILT_PER</name>
  34009. <description>Filter Sample Period</description>
  34010. <bitOffset>0</bitOffset>
  34011. <bitWidth>8</bitWidth>
  34012. <access>read-write</access>
  34013. </field>
  34014. </fields>
  34015. </register>
  34016. <register>
  34017. <name>SCR</name>
  34018. <description>CMP Status and Control Register</description>
  34019. <addressOffset>0x3</addressOffset>
  34020. <size>8</size>
  34021. <access>read-write</access>
  34022. <resetValue>0</resetValue>
  34023. <resetMask>0xFF</resetMask>
  34024. <fields>
  34025. <field>
  34026. <name>COUT</name>
  34027. <description>Analog Comparator Output</description>
  34028. <bitOffset>0</bitOffset>
  34029. <bitWidth>1</bitWidth>
  34030. <access>read-only</access>
  34031. </field>
  34032. <field>
  34033. <name>CFF</name>
  34034. <description>Analog Comparator Flag Falling</description>
  34035. <bitOffset>1</bitOffset>
  34036. <bitWidth>1</bitWidth>
  34037. <access>read-write</access>
  34038. <enumeratedValues>
  34039. <enumeratedValue>
  34040. <name>0</name>
  34041. <description>Falling edge on COUT has not been detected.</description>
  34042. <value>#0</value>
  34043. </enumeratedValue>
  34044. <enumeratedValue>
  34045. <name>1</name>
  34046. <description>Falling edge on COUT has occurred.</description>
  34047. <value>#1</value>
  34048. </enumeratedValue>
  34049. </enumeratedValues>
  34050. </field>
  34051. <field>
  34052. <name>CFR</name>
  34053. <description>Analog Comparator Flag Rising</description>
  34054. <bitOffset>2</bitOffset>
  34055. <bitWidth>1</bitWidth>
  34056. <access>read-write</access>
  34057. <enumeratedValues>
  34058. <enumeratedValue>
  34059. <name>0</name>
  34060. <description>Rising edge on COUT has not been detected.</description>
  34061. <value>#0</value>
  34062. </enumeratedValue>
  34063. <enumeratedValue>
  34064. <name>1</name>
  34065. <description>Rising edge on COUT has occurred.</description>
  34066. <value>#1</value>
  34067. </enumeratedValue>
  34068. </enumeratedValues>
  34069. </field>
  34070. <field>
  34071. <name>IEF</name>
  34072. <description>Comparator Interrupt Enable Falling</description>
  34073. <bitOffset>3</bitOffset>
  34074. <bitWidth>1</bitWidth>
  34075. <access>read-write</access>
  34076. <enumeratedValues>
  34077. <enumeratedValue>
  34078. <name>0</name>
  34079. <description>Interrupt disabled.</description>
  34080. <value>#0</value>
  34081. </enumeratedValue>
  34082. <enumeratedValue>
  34083. <name>1</name>
  34084. <description>Interrupt enabled.</description>
  34085. <value>#1</value>
  34086. </enumeratedValue>
  34087. </enumeratedValues>
  34088. </field>
  34089. <field>
  34090. <name>IER</name>
  34091. <description>Comparator Interrupt Enable Rising</description>
  34092. <bitOffset>4</bitOffset>
  34093. <bitWidth>1</bitWidth>
  34094. <access>read-write</access>
  34095. <enumeratedValues>
  34096. <enumeratedValue>
  34097. <name>0</name>
  34098. <description>Interrupt disabled.</description>
  34099. <value>#0</value>
  34100. </enumeratedValue>
  34101. <enumeratedValue>
  34102. <name>1</name>
  34103. <description>Interrupt enabled.</description>
  34104. <value>#1</value>
  34105. </enumeratedValue>
  34106. </enumeratedValues>
  34107. </field>
  34108. <field>
  34109. <name>DMAEN</name>
  34110. <description>DMA Enable Control</description>
  34111. <bitOffset>6</bitOffset>
  34112. <bitWidth>1</bitWidth>
  34113. <access>read-write</access>
  34114. <enumeratedValues>
  34115. <enumeratedValue>
  34116. <name>0</name>
  34117. <description>DMA disabled.</description>
  34118. <value>#0</value>
  34119. </enumeratedValue>
  34120. <enumeratedValue>
  34121. <name>1</name>
  34122. <description>DMA enabled.</description>
  34123. <value>#1</value>
  34124. </enumeratedValue>
  34125. </enumeratedValues>
  34126. </field>
  34127. </fields>
  34128. </register>
  34129. <register>
  34130. <name>DACCR</name>
  34131. <description>DAC Control Register</description>
  34132. <addressOffset>0x4</addressOffset>
  34133. <size>8</size>
  34134. <access>read-write</access>
  34135. <resetValue>0</resetValue>
  34136. <resetMask>0xFF</resetMask>
  34137. <fields>
  34138. <field>
  34139. <name>VOSEL</name>
  34140. <description>DAC Output Voltage Select</description>
  34141. <bitOffset>0</bitOffset>
  34142. <bitWidth>6</bitWidth>
  34143. <access>read-write</access>
  34144. </field>
  34145. <field>
  34146. <name>VRSEL</name>
  34147. <description>Supply Voltage Reference Source Select</description>
  34148. <bitOffset>6</bitOffset>
  34149. <bitWidth>1</bitWidth>
  34150. <access>read-write</access>
  34151. <enumeratedValues>
  34152. <enumeratedValue>
  34153. <name>0</name>
  34154. <description>Vin1 is selected as resistor ladder network supply reference Vin.</description>
  34155. <value>#0</value>
  34156. </enumeratedValue>
  34157. <enumeratedValue>
  34158. <name>1</name>
  34159. <description>Vin2 is selected as resistor ladder network supply reference Vin.</description>
  34160. <value>#1</value>
  34161. </enumeratedValue>
  34162. </enumeratedValues>
  34163. </field>
  34164. <field>
  34165. <name>DACEN</name>
  34166. <description>DAC Enable</description>
  34167. <bitOffset>7</bitOffset>
  34168. <bitWidth>1</bitWidth>
  34169. <access>read-write</access>
  34170. <enumeratedValues>
  34171. <enumeratedValue>
  34172. <name>0</name>
  34173. <description>DAC is disabled.</description>
  34174. <value>#0</value>
  34175. </enumeratedValue>
  34176. <enumeratedValue>
  34177. <name>1</name>
  34178. <description>DAC is enabled.</description>
  34179. <value>#1</value>
  34180. </enumeratedValue>
  34181. </enumeratedValues>
  34182. </field>
  34183. </fields>
  34184. </register>
  34185. <register>
  34186. <name>MUXCR</name>
  34187. <description>MUX Control Register</description>
  34188. <addressOffset>0x5</addressOffset>
  34189. <size>8</size>
  34190. <access>read-write</access>
  34191. <resetValue>0</resetValue>
  34192. <resetMask>0xFF</resetMask>
  34193. <fields>
  34194. <field>
  34195. <name>MSEL</name>
  34196. <description>Minus Input MUX Control</description>
  34197. <bitOffset>0</bitOffset>
  34198. <bitWidth>3</bitWidth>
  34199. <access>read-write</access>
  34200. <enumeratedValues>
  34201. <enumeratedValue>
  34202. <name>000</name>
  34203. <description>IN0</description>
  34204. <value>#000</value>
  34205. </enumeratedValue>
  34206. <enumeratedValue>
  34207. <name>001</name>
  34208. <description>IN1</description>
  34209. <value>#001</value>
  34210. </enumeratedValue>
  34211. <enumeratedValue>
  34212. <name>010</name>
  34213. <description>IN2</description>
  34214. <value>#010</value>
  34215. </enumeratedValue>
  34216. <enumeratedValue>
  34217. <name>011</name>
  34218. <description>IN3</description>
  34219. <value>#011</value>
  34220. </enumeratedValue>
  34221. <enumeratedValue>
  34222. <name>100</name>
  34223. <description>IN4</description>
  34224. <value>#100</value>
  34225. </enumeratedValue>
  34226. <enumeratedValue>
  34227. <name>101</name>
  34228. <description>IN5</description>
  34229. <value>#101</value>
  34230. </enumeratedValue>
  34231. <enumeratedValue>
  34232. <name>110</name>
  34233. <description>IN6</description>
  34234. <value>#110</value>
  34235. </enumeratedValue>
  34236. <enumeratedValue>
  34237. <name>111</name>
  34238. <description>IN7</description>
  34239. <value>#111</value>
  34240. </enumeratedValue>
  34241. </enumeratedValues>
  34242. </field>
  34243. <field>
  34244. <name>PSEL</name>
  34245. <description>Plus Input MUX Control</description>
  34246. <bitOffset>3</bitOffset>
  34247. <bitWidth>3</bitWidth>
  34248. <access>read-write</access>
  34249. <enumeratedValues>
  34250. <enumeratedValue>
  34251. <name>000</name>
  34252. <description>IN0</description>
  34253. <value>#000</value>
  34254. </enumeratedValue>
  34255. <enumeratedValue>
  34256. <name>001</name>
  34257. <description>IN1</description>
  34258. <value>#001</value>
  34259. </enumeratedValue>
  34260. <enumeratedValue>
  34261. <name>010</name>
  34262. <description>IN2</description>
  34263. <value>#010</value>
  34264. </enumeratedValue>
  34265. <enumeratedValue>
  34266. <name>011</name>
  34267. <description>IN3</description>
  34268. <value>#011</value>
  34269. </enumeratedValue>
  34270. <enumeratedValue>
  34271. <name>100</name>
  34272. <description>IN4</description>
  34273. <value>#100</value>
  34274. </enumeratedValue>
  34275. <enumeratedValue>
  34276. <name>101</name>
  34277. <description>IN5</description>
  34278. <value>#101</value>
  34279. </enumeratedValue>
  34280. <enumeratedValue>
  34281. <name>110</name>
  34282. <description>IN6</description>
  34283. <value>#110</value>
  34284. </enumeratedValue>
  34285. <enumeratedValue>
  34286. <name>111</name>
  34287. <description>IN7</description>
  34288. <value>#111</value>
  34289. </enumeratedValue>
  34290. </enumeratedValues>
  34291. </field>
  34292. </fields>
  34293. </register>
  34294. </registers>
  34295. </peripheral>
  34296. <peripheral>
  34297. <name>CMP1</name>
  34298. <description>High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)</description>
  34299. <groupName>CMP</groupName>
  34300. <prependToName>CMP1_</prependToName>
  34301. <baseAddress>0x40073008</baseAddress>
  34302. <addressBlock>
  34303. <offset>0</offset>
  34304. <size>0x6</size>
  34305. <usage>registers</usage>
  34306. </addressBlock>
  34307. <interrupt>
  34308. <name>CMP1</name>
  34309. <value>24</value>
  34310. </interrupt>
  34311. <registers>
  34312. <register>
  34313. <name>CR0</name>
  34314. <description>CMP Control Register 0</description>
  34315. <addressOffset>0</addressOffset>
  34316. <size>8</size>
  34317. <access>read-write</access>
  34318. <resetValue>0</resetValue>
  34319. <resetMask>0xFF</resetMask>
  34320. <fields>
  34321. <field>
  34322. <name>HYSTCTR</name>
  34323. <description>Comparator hard block hysteresis control</description>
  34324. <bitOffset>0</bitOffset>
  34325. <bitWidth>2</bitWidth>
  34326. <access>read-write</access>
  34327. <enumeratedValues>
  34328. <enumeratedValue>
  34329. <name>00</name>
  34330. <description>Level 0</description>
  34331. <value>#00</value>
  34332. </enumeratedValue>
  34333. <enumeratedValue>
  34334. <name>01</name>
  34335. <description>Level 1</description>
  34336. <value>#01</value>
  34337. </enumeratedValue>
  34338. <enumeratedValue>
  34339. <name>10</name>
  34340. <description>Level 2</description>
  34341. <value>#10</value>
  34342. </enumeratedValue>
  34343. <enumeratedValue>
  34344. <name>11</name>
  34345. <description>Level 3</description>
  34346. <value>#11</value>
  34347. </enumeratedValue>
  34348. </enumeratedValues>
  34349. </field>
  34350. <field>
  34351. <name>FILTER_CNT</name>
  34352. <description>Filter Sample Count</description>
  34353. <bitOffset>4</bitOffset>
  34354. <bitWidth>3</bitWidth>
  34355. <access>read-write</access>
  34356. <enumeratedValues>
  34357. <enumeratedValue>
  34358. <name>000</name>
  34359. <description>Filter is disabled. If SE = 1, then COUT is a logic zero (this is not a legal state, and is not recommended). If SE = 0, COUT = COUTA.</description>
  34360. <value>#000</value>
  34361. </enumeratedValue>
  34362. <enumeratedValue>
  34363. <name>001</name>
  34364. <description>1 consecutive sample must agree (comparator output is simply sampled).</description>
  34365. <value>#001</value>
  34366. </enumeratedValue>
  34367. <enumeratedValue>
  34368. <name>010</name>
  34369. <description>2 consecutive samples must agree.</description>
  34370. <value>#010</value>
  34371. </enumeratedValue>
  34372. <enumeratedValue>
  34373. <name>011</name>
  34374. <description>3 consecutive samples must agree.</description>
  34375. <value>#011</value>
  34376. </enumeratedValue>
  34377. <enumeratedValue>
  34378. <name>100</name>
  34379. <description>4 consecutive samples must agree.</description>
  34380. <value>#100</value>
  34381. </enumeratedValue>
  34382. <enumeratedValue>
  34383. <name>101</name>
  34384. <description>5 consecutive samples must agree.</description>
  34385. <value>#101</value>
  34386. </enumeratedValue>
  34387. <enumeratedValue>
  34388. <name>110</name>
  34389. <description>6 consecutive samples must agree.</description>
  34390. <value>#110</value>
  34391. </enumeratedValue>
  34392. <enumeratedValue>
  34393. <name>111</name>
  34394. <description>7 consecutive samples must agree.</description>
  34395. <value>#111</value>
  34396. </enumeratedValue>
  34397. </enumeratedValues>
  34398. </field>
  34399. </fields>
  34400. </register>
  34401. <register>
  34402. <name>CR1</name>
  34403. <description>CMP Control Register 1</description>
  34404. <addressOffset>0x1</addressOffset>
  34405. <size>8</size>
  34406. <access>read-write</access>
  34407. <resetValue>0</resetValue>
  34408. <resetMask>0xFF</resetMask>
  34409. <fields>
  34410. <field>
  34411. <name>EN</name>
  34412. <description>Comparator Module Enable</description>
  34413. <bitOffset>0</bitOffset>
  34414. <bitWidth>1</bitWidth>
  34415. <access>read-write</access>
  34416. <enumeratedValues>
  34417. <enumeratedValue>
  34418. <name>0</name>
  34419. <description>Analog Comparator disabled.</description>
  34420. <value>#0</value>
  34421. </enumeratedValue>
  34422. <enumeratedValue>
  34423. <name>1</name>
  34424. <description>Analog Comparator enabled.</description>
  34425. <value>#1</value>
  34426. </enumeratedValue>
  34427. </enumeratedValues>
  34428. </field>
  34429. <field>
  34430. <name>OPE</name>
  34431. <description>Comparator Output Pin Enable</description>
  34432. <bitOffset>1</bitOffset>
  34433. <bitWidth>1</bitWidth>
  34434. <access>read-write</access>
  34435. <enumeratedValues>
  34436. <enumeratedValue>
  34437. <name>0</name>
  34438. <description>The comparator output (CMPO) is not available on the associated CMPO output pin.</description>
  34439. <value>#0</value>
  34440. </enumeratedValue>
  34441. <enumeratedValue>
  34442. <name>1</name>
  34443. <description>The comparator output (CMPO) is available on the associated CMPO output pin.</description>
  34444. <value>#1</value>
  34445. </enumeratedValue>
  34446. </enumeratedValues>
  34447. </field>
  34448. <field>
  34449. <name>COS</name>
  34450. <description>Comparator Output Select</description>
  34451. <bitOffset>2</bitOffset>
  34452. <bitWidth>1</bitWidth>
  34453. <access>read-write</access>
  34454. <enumeratedValues>
  34455. <enumeratedValue>
  34456. <name>0</name>
  34457. <description>Set CMPO to equal COUT (filtered comparator output).</description>
  34458. <value>#0</value>
  34459. </enumeratedValue>
  34460. <enumeratedValue>
  34461. <name>1</name>
  34462. <description>Set CMPO to equal COUTA (unfiltered comparator output).</description>
  34463. <value>#1</value>
  34464. </enumeratedValue>
  34465. </enumeratedValues>
  34466. </field>
  34467. <field>
  34468. <name>INV</name>
  34469. <description>Comparator INVERT</description>
  34470. <bitOffset>3</bitOffset>
  34471. <bitWidth>1</bitWidth>
  34472. <access>read-write</access>
  34473. <enumeratedValues>
  34474. <enumeratedValue>
  34475. <name>0</name>
  34476. <description>Does not invert the comparator output.</description>
  34477. <value>#0</value>
  34478. </enumeratedValue>
  34479. <enumeratedValue>
  34480. <name>1</name>
  34481. <description>Inverts the comparator output.</description>
  34482. <value>#1</value>
  34483. </enumeratedValue>
  34484. </enumeratedValues>
  34485. </field>
  34486. <field>
  34487. <name>PMODE</name>
  34488. <description>Power Mode Select</description>
  34489. <bitOffset>4</bitOffset>
  34490. <bitWidth>1</bitWidth>
  34491. <access>read-write</access>
  34492. <enumeratedValues>
  34493. <enumeratedValue>
  34494. <name>0</name>
  34495. <description>Low Speed (LS) comparison mode selected. In this mode, CMP has slower output propagation delay and lower current consumption.</description>
  34496. <value>#0</value>
  34497. </enumeratedValue>
  34498. <enumeratedValue>
  34499. <name>1</name>
  34500. <description>High Speed (HS) comparison mode selected. In this mode, CMP has faster output propagation delay and higher current consumption.</description>
  34501. <value>#1</value>
  34502. </enumeratedValue>
  34503. </enumeratedValues>
  34504. </field>
  34505. <field>
  34506. <name>WE</name>
  34507. <description>Windowing Enable</description>
  34508. <bitOffset>6</bitOffset>
  34509. <bitWidth>1</bitWidth>
  34510. <access>read-write</access>
  34511. <enumeratedValues>
  34512. <enumeratedValue>
  34513. <name>0</name>
  34514. <description>Windowing mode not selected.</description>
  34515. <value>#0</value>
  34516. </enumeratedValue>
  34517. <enumeratedValue>
  34518. <name>1</name>
  34519. <description>Windowing mode selected.</description>
  34520. <value>#1</value>
  34521. </enumeratedValue>
  34522. </enumeratedValues>
  34523. </field>
  34524. <field>
  34525. <name>SE</name>
  34526. <description>Sample Enable</description>
  34527. <bitOffset>7</bitOffset>
  34528. <bitWidth>1</bitWidth>
  34529. <access>read-write</access>
  34530. <enumeratedValues>
  34531. <enumeratedValue>
  34532. <name>0</name>
  34533. <description>Sampling mode not selected.</description>
  34534. <value>#0</value>
  34535. </enumeratedValue>
  34536. <enumeratedValue>
  34537. <name>1</name>
  34538. <description>Sampling mode selected.</description>
  34539. <value>#1</value>
  34540. </enumeratedValue>
  34541. </enumeratedValues>
  34542. </field>
  34543. </fields>
  34544. </register>
  34545. <register>
  34546. <name>FPR</name>
  34547. <description>CMP Filter Period Register</description>
  34548. <addressOffset>0x2</addressOffset>
  34549. <size>8</size>
  34550. <access>read-write</access>
  34551. <resetValue>0</resetValue>
  34552. <resetMask>0xFF</resetMask>
  34553. <fields>
  34554. <field>
  34555. <name>FILT_PER</name>
  34556. <description>Filter Sample Period</description>
  34557. <bitOffset>0</bitOffset>
  34558. <bitWidth>8</bitWidth>
  34559. <access>read-write</access>
  34560. </field>
  34561. </fields>
  34562. </register>
  34563. <register>
  34564. <name>SCR</name>
  34565. <description>CMP Status and Control Register</description>
  34566. <addressOffset>0x3</addressOffset>
  34567. <size>8</size>
  34568. <access>read-write</access>
  34569. <resetValue>0</resetValue>
  34570. <resetMask>0xFF</resetMask>
  34571. <fields>
  34572. <field>
  34573. <name>COUT</name>
  34574. <description>Analog Comparator Output</description>
  34575. <bitOffset>0</bitOffset>
  34576. <bitWidth>1</bitWidth>
  34577. <access>read-only</access>
  34578. </field>
  34579. <field>
  34580. <name>CFF</name>
  34581. <description>Analog Comparator Flag Falling</description>
  34582. <bitOffset>1</bitOffset>
  34583. <bitWidth>1</bitWidth>
  34584. <access>read-write</access>
  34585. <enumeratedValues>
  34586. <enumeratedValue>
  34587. <name>0</name>
  34588. <description>Falling edge on COUT has not been detected.</description>
  34589. <value>#0</value>
  34590. </enumeratedValue>
  34591. <enumeratedValue>
  34592. <name>1</name>
  34593. <description>Falling edge on COUT has occurred.</description>
  34594. <value>#1</value>
  34595. </enumeratedValue>
  34596. </enumeratedValues>
  34597. </field>
  34598. <field>
  34599. <name>CFR</name>
  34600. <description>Analog Comparator Flag Rising</description>
  34601. <bitOffset>2</bitOffset>
  34602. <bitWidth>1</bitWidth>
  34603. <access>read-write</access>
  34604. <enumeratedValues>
  34605. <enumeratedValue>
  34606. <name>0</name>
  34607. <description>Rising edge on COUT has not been detected.</description>
  34608. <value>#0</value>
  34609. </enumeratedValue>
  34610. <enumeratedValue>
  34611. <name>1</name>
  34612. <description>Rising edge on COUT has occurred.</description>
  34613. <value>#1</value>
  34614. </enumeratedValue>
  34615. </enumeratedValues>
  34616. </field>
  34617. <field>
  34618. <name>IEF</name>
  34619. <description>Comparator Interrupt Enable Falling</description>
  34620. <bitOffset>3</bitOffset>
  34621. <bitWidth>1</bitWidth>
  34622. <access>read-write</access>
  34623. <enumeratedValues>
  34624. <enumeratedValue>
  34625. <name>0</name>
  34626. <description>Interrupt disabled.</description>
  34627. <value>#0</value>
  34628. </enumeratedValue>
  34629. <enumeratedValue>
  34630. <name>1</name>
  34631. <description>Interrupt enabled.</description>
  34632. <value>#1</value>
  34633. </enumeratedValue>
  34634. </enumeratedValues>
  34635. </field>
  34636. <field>
  34637. <name>IER</name>
  34638. <description>Comparator Interrupt Enable Rising</description>
  34639. <bitOffset>4</bitOffset>
  34640. <bitWidth>1</bitWidth>
  34641. <access>read-write</access>
  34642. <enumeratedValues>
  34643. <enumeratedValue>
  34644. <name>0</name>
  34645. <description>Interrupt disabled.</description>
  34646. <value>#0</value>
  34647. </enumeratedValue>
  34648. <enumeratedValue>
  34649. <name>1</name>
  34650. <description>Interrupt enabled.</description>
  34651. <value>#1</value>
  34652. </enumeratedValue>
  34653. </enumeratedValues>
  34654. </field>
  34655. <field>
  34656. <name>DMAEN</name>
  34657. <description>DMA Enable Control</description>
  34658. <bitOffset>6</bitOffset>
  34659. <bitWidth>1</bitWidth>
  34660. <access>read-write</access>
  34661. <enumeratedValues>
  34662. <enumeratedValue>
  34663. <name>0</name>
  34664. <description>DMA disabled.</description>
  34665. <value>#0</value>
  34666. </enumeratedValue>
  34667. <enumeratedValue>
  34668. <name>1</name>
  34669. <description>DMA enabled.</description>
  34670. <value>#1</value>
  34671. </enumeratedValue>
  34672. </enumeratedValues>
  34673. </field>
  34674. </fields>
  34675. </register>
  34676. <register>
  34677. <name>DACCR</name>
  34678. <description>DAC Control Register</description>
  34679. <addressOffset>0x4</addressOffset>
  34680. <size>8</size>
  34681. <access>read-write</access>
  34682. <resetValue>0</resetValue>
  34683. <resetMask>0xFF</resetMask>
  34684. <fields>
  34685. <field>
  34686. <name>VOSEL</name>
  34687. <description>DAC Output Voltage Select</description>
  34688. <bitOffset>0</bitOffset>
  34689. <bitWidth>6</bitWidth>
  34690. <access>read-write</access>
  34691. </field>
  34692. <field>
  34693. <name>VRSEL</name>
  34694. <description>Supply Voltage Reference Source Select</description>
  34695. <bitOffset>6</bitOffset>
  34696. <bitWidth>1</bitWidth>
  34697. <access>read-write</access>
  34698. <enumeratedValues>
  34699. <enumeratedValue>
  34700. <name>0</name>
  34701. <description>Vin1 is selected as resistor ladder network supply reference Vin.</description>
  34702. <value>#0</value>
  34703. </enumeratedValue>
  34704. <enumeratedValue>
  34705. <name>1</name>
  34706. <description>Vin2 is selected as resistor ladder network supply reference Vin.</description>
  34707. <value>#1</value>
  34708. </enumeratedValue>
  34709. </enumeratedValues>
  34710. </field>
  34711. <field>
  34712. <name>DACEN</name>
  34713. <description>DAC Enable</description>
  34714. <bitOffset>7</bitOffset>
  34715. <bitWidth>1</bitWidth>
  34716. <access>read-write</access>
  34717. <enumeratedValues>
  34718. <enumeratedValue>
  34719. <name>0</name>
  34720. <description>DAC is disabled.</description>
  34721. <value>#0</value>
  34722. </enumeratedValue>
  34723. <enumeratedValue>
  34724. <name>1</name>
  34725. <description>DAC is enabled.</description>
  34726. <value>#1</value>
  34727. </enumeratedValue>
  34728. </enumeratedValues>
  34729. </field>
  34730. </fields>
  34731. </register>
  34732. <register>
  34733. <name>MUXCR</name>
  34734. <description>MUX Control Register</description>
  34735. <addressOffset>0x5</addressOffset>
  34736. <size>8</size>
  34737. <access>read-write</access>
  34738. <resetValue>0</resetValue>
  34739. <resetMask>0xFF</resetMask>
  34740. <fields>
  34741. <field>
  34742. <name>MSEL</name>
  34743. <description>Minus Input MUX Control</description>
  34744. <bitOffset>0</bitOffset>
  34745. <bitWidth>3</bitWidth>
  34746. <access>read-write</access>
  34747. <enumeratedValues>
  34748. <enumeratedValue>
  34749. <name>000</name>
  34750. <description>IN0</description>
  34751. <value>#000</value>
  34752. </enumeratedValue>
  34753. <enumeratedValue>
  34754. <name>001</name>
  34755. <description>IN1</description>
  34756. <value>#001</value>
  34757. </enumeratedValue>
  34758. <enumeratedValue>
  34759. <name>010</name>
  34760. <description>IN2</description>
  34761. <value>#010</value>
  34762. </enumeratedValue>
  34763. <enumeratedValue>
  34764. <name>011</name>
  34765. <description>IN3</description>
  34766. <value>#011</value>
  34767. </enumeratedValue>
  34768. <enumeratedValue>
  34769. <name>100</name>
  34770. <description>IN4</description>
  34771. <value>#100</value>
  34772. </enumeratedValue>
  34773. <enumeratedValue>
  34774. <name>101</name>
  34775. <description>IN5</description>
  34776. <value>#101</value>
  34777. </enumeratedValue>
  34778. <enumeratedValue>
  34779. <name>110</name>
  34780. <description>IN6</description>
  34781. <value>#110</value>
  34782. </enumeratedValue>
  34783. <enumeratedValue>
  34784. <name>111</name>
  34785. <description>IN7</description>
  34786. <value>#111</value>
  34787. </enumeratedValue>
  34788. </enumeratedValues>
  34789. </field>
  34790. <field>
  34791. <name>PSEL</name>
  34792. <description>Plus Input MUX Control</description>
  34793. <bitOffset>3</bitOffset>
  34794. <bitWidth>3</bitWidth>
  34795. <access>read-write</access>
  34796. <enumeratedValues>
  34797. <enumeratedValue>
  34798. <name>000</name>
  34799. <description>IN0</description>
  34800. <value>#000</value>
  34801. </enumeratedValue>
  34802. <enumeratedValue>
  34803. <name>001</name>
  34804. <description>IN1</description>
  34805. <value>#001</value>
  34806. </enumeratedValue>
  34807. <enumeratedValue>
  34808. <name>010</name>
  34809. <description>IN2</description>
  34810. <value>#010</value>
  34811. </enumeratedValue>
  34812. <enumeratedValue>
  34813. <name>011</name>
  34814. <description>IN3</description>
  34815. <value>#011</value>
  34816. </enumeratedValue>
  34817. <enumeratedValue>
  34818. <name>100</name>
  34819. <description>IN4</description>
  34820. <value>#100</value>
  34821. </enumeratedValue>
  34822. <enumeratedValue>
  34823. <name>101</name>
  34824. <description>IN5</description>
  34825. <value>#101</value>
  34826. </enumeratedValue>
  34827. <enumeratedValue>
  34828. <name>110</name>
  34829. <description>IN6</description>
  34830. <value>#110</value>
  34831. </enumeratedValue>
  34832. <enumeratedValue>
  34833. <name>111</name>
  34834. <description>IN7</description>
  34835. <value>#111</value>
  34836. </enumeratedValue>
  34837. </enumeratedValues>
  34838. </field>
  34839. </fields>
  34840. </register>
  34841. </registers>
  34842. </peripheral>
  34843. <peripheral>
  34844. <name>VREF</name>
  34845. <description>Voltage Reference</description>
  34846. <prependToName>VREF_</prependToName>
  34847. <baseAddress>0x40074000</baseAddress>
  34848. <addressBlock>
  34849. <offset>0</offset>
  34850. <size>0x2</size>
  34851. <usage>registers</usage>
  34852. </addressBlock>
  34853. <registers>
  34854. <register>
  34855. <name>TRM</name>
  34856. <description>VREF Trim Register</description>
  34857. <addressOffset>0</addressOffset>
  34858. <size>8</size>
  34859. <access>read-write</access>
  34860. <resetValue>0</resetValue>
  34861. <resetMask>0x7F</resetMask>
  34862. <fields>
  34863. <field>
  34864. <name>TRIM</name>
  34865. <description>Trim bits</description>
  34866. <bitOffset>0</bitOffset>
  34867. <bitWidth>6</bitWidth>
  34868. <access>read-write</access>
  34869. <enumeratedValues>
  34870. <enumeratedValue>
  34871. <name>000000</name>
  34872. <description>Min</description>
  34873. <value>#0</value>
  34874. </enumeratedValue>
  34875. <enumeratedValue>
  34876. <name>111111</name>
  34877. <description>Max</description>
  34878. <value>#111111</value>
  34879. </enumeratedValue>
  34880. </enumeratedValues>
  34881. </field>
  34882. <field>
  34883. <name>CHOPEN</name>
  34884. <description>Chop oscillator enable. When set, internal chopping operation is enabled and the internal analog offset will be minimized.</description>
  34885. <bitOffset>6</bitOffset>
  34886. <bitWidth>1</bitWidth>
  34887. <access>read-write</access>
  34888. <enumeratedValues>
  34889. <enumeratedValue>
  34890. <name>0</name>
  34891. <description>Chop oscillator is disabled.</description>
  34892. <value>#0</value>
  34893. </enumeratedValue>
  34894. <enumeratedValue>
  34895. <name>1</name>
  34896. <description>Chop oscillator is enabled.</description>
  34897. <value>#1</value>
  34898. </enumeratedValue>
  34899. </enumeratedValues>
  34900. </field>
  34901. </fields>
  34902. </register>
  34903. <register>
  34904. <name>SC</name>
  34905. <description>VREF Status and Control Register</description>
  34906. <addressOffset>0x1</addressOffset>
  34907. <size>8</size>
  34908. <access>read-write</access>
  34909. <resetValue>0</resetValue>
  34910. <resetMask>0xFF</resetMask>
  34911. <fields>
  34912. <field>
  34913. <name>MODE_LV</name>
  34914. <description>Buffer Mode selection</description>
  34915. <bitOffset>0</bitOffset>
  34916. <bitWidth>2</bitWidth>
  34917. <access>read-write</access>
  34918. <enumeratedValues>
  34919. <enumeratedValue>
  34920. <name>00</name>
  34921. <description>Bandgap on only, for stabilization and startup</description>
  34922. <value>#00</value>
  34923. </enumeratedValue>
  34924. <enumeratedValue>
  34925. <name>01</name>
  34926. <description>Low-power buffer mode enabled</description>
  34927. <value>#01</value>
  34928. </enumeratedValue>
  34929. <enumeratedValue>
  34930. <name>10</name>
  34931. <description>Tight-regulation buffer enabled</description>
  34932. <value>#10</value>
  34933. </enumeratedValue>
  34934. </enumeratedValues>
  34935. </field>
  34936. <field>
  34937. <name>VREFST</name>
  34938. <description>Internal Voltage Reference stable</description>
  34939. <bitOffset>2</bitOffset>
  34940. <bitWidth>1</bitWidth>
  34941. <access>read-only</access>
  34942. <enumeratedValues>
  34943. <enumeratedValue>
  34944. <name>0</name>
  34945. <description>The module is disabled or not stable.</description>
  34946. <value>#0</value>
  34947. </enumeratedValue>
  34948. <enumeratedValue>
  34949. <name>1</name>
  34950. <description>The module is stable.</description>
  34951. <value>#1</value>
  34952. </enumeratedValue>
  34953. </enumeratedValues>
  34954. </field>
  34955. <field>
  34956. <name>REGEN</name>
  34957. <description>Regulator enable</description>
  34958. <bitOffset>6</bitOffset>
  34959. <bitWidth>1</bitWidth>
  34960. <access>read-write</access>
  34961. <enumeratedValues>
  34962. <enumeratedValue>
  34963. <name>0</name>
  34964. <description>Internal 1.75 V regulator is disabled.</description>
  34965. <value>#0</value>
  34966. </enumeratedValue>
  34967. <enumeratedValue>
  34968. <name>1</name>
  34969. <description>Internal 1.75 V regulator is enabled.</description>
  34970. <value>#1</value>
  34971. </enumeratedValue>
  34972. </enumeratedValues>
  34973. </field>
  34974. <field>
  34975. <name>VREFEN</name>
  34976. <description>Internal Voltage Reference enable</description>
  34977. <bitOffset>7</bitOffset>
  34978. <bitWidth>1</bitWidth>
  34979. <access>read-write</access>
  34980. <enumeratedValues>
  34981. <enumeratedValue>
  34982. <name>0</name>
  34983. <description>The module is disabled.</description>
  34984. <value>#0</value>
  34985. </enumeratedValue>
  34986. <enumeratedValue>
  34987. <name>1</name>
  34988. <description>The module is enabled.</description>
  34989. <value>#1</value>
  34990. </enumeratedValue>
  34991. </enumeratedValues>
  34992. </field>
  34993. </fields>
  34994. </register>
  34995. </registers>
  34996. </peripheral>
  34997. <peripheral>
  34998. <name>LLWU</name>
  34999. <description>Low leakage wakeup unit</description>
  35000. <prependToName>LLWU_</prependToName>
  35001. <baseAddress>0x4007C000</baseAddress>
  35002. <addressBlock>
  35003. <offset>0</offset>
  35004. <size>0xB</size>
  35005. <usage>registers</usage>
  35006. </addressBlock>
  35007. <interrupt>
  35008. <name>LLW</name>
  35009. <value>9</value>
  35010. </interrupt>
  35011. <registers>
  35012. <register>
  35013. <name>PE1</name>
  35014. <description>LLWU Pin Enable 1 Register</description>
  35015. <addressOffset>0</addressOffset>
  35016. <size>8</size>
  35017. <access>read-write</access>
  35018. <resetValue>0</resetValue>
  35019. <resetMask>0xFF</resetMask>
  35020. <fields>
  35021. <field>
  35022. <name>WUPE0</name>
  35023. <description>Wakeup Pin Enable for LLWU_P0</description>
  35024. <bitOffset>0</bitOffset>
  35025. <bitWidth>2</bitWidth>
  35026. <access>read-write</access>
  35027. <enumeratedValues>
  35028. <enumeratedValue>
  35029. <name>00</name>
  35030. <description>External input pin disabled as wakeup input</description>
  35031. <value>#00</value>
  35032. </enumeratedValue>
  35033. <enumeratedValue>
  35034. <name>01</name>
  35035. <description>External input pin enabled with rising edge detection</description>
  35036. <value>#01</value>
  35037. </enumeratedValue>
  35038. <enumeratedValue>
  35039. <name>10</name>
  35040. <description>External input pin enabled with falling edge detection</description>
  35041. <value>#10</value>
  35042. </enumeratedValue>
  35043. <enumeratedValue>
  35044. <name>11</name>
  35045. <description>External input pin enabled with any change detection</description>
  35046. <value>#11</value>
  35047. </enumeratedValue>
  35048. </enumeratedValues>
  35049. </field>
  35050. <field>
  35051. <name>WUPE1</name>
  35052. <description>Wakeup Pin Enable for LLWU_P1</description>
  35053. <bitOffset>2</bitOffset>
  35054. <bitWidth>2</bitWidth>
  35055. <access>read-write</access>
  35056. <enumeratedValues>
  35057. <enumeratedValue>
  35058. <name>00</name>
  35059. <description>External input pin disabled as wakeup input</description>
  35060. <value>#00</value>
  35061. </enumeratedValue>
  35062. <enumeratedValue>
  35063. <name>01</name>
  35064. <description>External input pin enabled with rising edge detection</description>
  35065. <value>#01</value>
  35066. </enumeratedValue>
  35067. <enumeratedValue>
  35068. <name>10</name>
  35069. <description>External input pin enabled with falling edge detection</description>
  35070. <value>#10</value>
  35071. </enumeratedValue>
  35072. <enumeratedValue>
  35073. <name>11</name>
  35074. <description>External input pin enabled with any change detection</description>
  35075. <value>#11</value>
  35076. </enumeratedValue>
  35077. </enumeratedValues>
  35078. </field>
  35079. <field>
  35080. <name>WUPE2</name>
  35081. <description>Wakeup Pin Enable for LLWU_P2</description>
  35082. <bitOffset>4</bitOffset>
  35083. <bitWidth>2</bitWidth>
  35084. <access>read-write</access>
  35085. <enumeratedValues>
  35086. <enumeratedValue>
  35087. <name>00</name>
  35088. <description>External input pin disabled as wakeup input</description>
  35089. <value>#00</value>
  35090. </enumeratedValue>
  35091. <enumeratedValue>
  35092. <name>01</name>
  35093. <description>External input pin enabled with rising edge detection</description>
  35094. <value>#01</value>
  35095. </enumeratedValue>
  35096. <enumeratedValue>
  35097. <name>10</name>
  35098. <description>External input pin enabled with falling edge detection</description>
  35099. <value>#10</value>
  35100. </enumeratedValue>
  35101. <enumeratedValue>
  35102. <name>11</name>
  35103. <description>External input pin enabled with any change detection</description>
  35104. <value>#11</value>
  35105. </enumeratedValue>
  35106. </enumeratedValues>
  35107. </field>
  35108. <field>
  35109. <name>WUPE3</name>
  35110. <description>Wakeup Pin Enable for LLWU_P3</description>
  35111. <bitOffset>6</bitOffset>
  35112. <bitWidth>2</bitWidth>
  35113. <access>read-write</access>
  35114. <enumeratedValues>
  35115. <enumeratedValue>
  35116. <name>00</name>
  35117. <description>External input pin disabled as wakeup input</description>
  35118. <value>#00</value>
  35119. </enumeratedValue>
  35120. <enumeratedValue>
  35121. <name>01</name>
  35122. <description>External input pin enabled with rising edge detection</description>
  35123. <value>#01</value>
  35124. </enumeratedValue>
  35125. <enumeratedValue>
  35126. <name>10</name>
  35127. <description>External input pin enabled with falling edge detection</description>
  35128. <value>#10</value>
  35129. </enumeratedValue>
  35130. <enumeratedValue>
  35131. <name>11</name>
  35132. <description>External input pin enabled with any change detection</description>
  35133. <value>#11</value>
  35134. </enumeratedValue>
  35135. </enumeratedValues>
  35136. </field>
  35137. </fields>
  35138. </register>
  35139. <register>
  35140. <name>PE2</name>
  35141. <description>LLWU Pin Enable 2 Register</description>
  35142. <addressOffset>0x1</addressOffset>
  35143. <size>8</size>
  35144. <access>read-write</access>
  35145. <resetValue>0</resetValue>
  35146. <resetMask>0xFF</resetMask>
  35147. <fields>
  35148. <field>
  35149. <name>WUPE4</name>
  35150. <description>Wakeup Pin Enable for LLWU_P4</description>
  35151. <bitOffset>0</bitOffset>
  35152. <bitWidth>2</bitWidth>
  35153. <access>read-write</access>
  35154. <enumeratedValues>
  35155. <enumeratedValue>
  35156. <name>00</name>
  35157. <description>External input pin disabled as wakeup input</description>
  35158. <value>#00</value>
  35159. </enumeratedValue>
  35160. <enumeratedValue>
  35161. <name>01</name>
  35162. <description>External input pin enabled with rising edge detection</description>
  35163. <value>#01</value>
  35164. </enumeratedValue>
  35165. <enumeratedValue>
  35166. <name>10</name>
  35167. <description>External input pin enabled with falling edge detection</description>
  35168. <value>#10</value>
  35169. </enumeratedValue>
  35170. <enumeratedValue>
  35171. <name>11</name>
  35172. <description>External input pin enabled with any change detection</description>
  35173. <value>#11</value>
  35174. </enumeratedValue>
  35175. </enumeratedValues>
  35176. </field>
  35177. <field>
  35178. <name>WUPE5</name>
  35179. <description>Wakeup Pin Enable for LLWU_P5</description>
  35180. <bitOffset>2</bitOffset>
  35181. <bitWidth>2</bitWidth>
  35182. <access>read-write</access>
  35183. <enumeratedValues>
  35184. <enumeratedValue>
  35185. <name>00</name>
  35186. <description>External input pin disabled as wakeup input</description>
  35187. <value>#00</value>
  35188. </enumeratedValue>
  35189. <enumeratedValue>
  35190. <name>01</name>
  35191. <description>External input pin enabled with rising edge detection</description>
  35192. <value>#01</value>
  35193. </enumeratedValue>
  35194. <enumeratedValue>
  35195. <name>10</name>
  35196. <description>External input pin enabled with falling edge detection</description>
  35197. <value>#10</value>
  35198. </enumeratedValue>
  35199. <enumeratedValue>
  35200. <name>11</name>
  35201. <description>External input pin enabled with any change detection</description>
  35202. <value>#11</value>
  35203. </enumeratedValue>
  35204. </enumeratedValues>
  35205. </field>
  35206. <field>
  35207. <name>WUPE6</name>
  35208. <description>Wakeup Pin Enable for LLWU_P6</description>
  35209. <bitOffset>4</bitOffset>
  35210. <bitWidth>2</bitWidth>
  35211. <access>read-write</access>
  35212. <enumeratedValues>
  35213. <enumeratedValue>
  35214. <name>00</name>
  35215. <description>External input pin disabled as wakeup input</description>
  35216. <value>#00</value>
  35217. </enumeratedValue>
  35218. <enumeratedValue>
  35219. <name>01</name>
  35220. <description>External input pin enabled with rising edge detection</description>
  35221. <value>#01</value>
  35222. </enumeratedValue>
  35223. <enumeratedValue>
  35224. <name>10</name>
  35225. <description>External input pin enabled with falling edge detection</description>
  35226. <value>#10</value>
  35227. </enumeratedValue>
  35228. <enumeratedValue>
  35229. <name>11</name>
  35230. <description>External input pin enabled with any change detection</description>
  35231. <value>#11</value>
  35232. </enumeratedValue>
  35233. </enumeratedValues>
  35234. </field>
  35235. <field>
  35236. <name>WUPE7</name>
  35237. <description>Wakeup Pin Enable for LLWU_P7</description>
  35238. <bitOffset>6</bitOffset>
  35239. <bitWidth>2</bitWidth>
  35240. <access>read-write</access>
  35241. <enumeratedValues>
  35242. <enumeratedValue>
  35243. <name>00</name>
  35244. <description>External input pin disabled as wakeup input</description>
  35245. <value>#00</value>
  35246. </enumeratedValue>
  35247. <enumeratedValue>
  35248. <name>01</name>
  35249. <description>External input pin enabled with rising edge detection</description>
  35250. <value>#01</value>
  35251. </enumeratedValue>
  35252. <enumeratedValue>
  35253. <name>10</name>
  35254. <description>External input pin enabled with falling edge detection</description>
  35255. <value>#10</value>
  35256. </enumeratedValue>
  35257. <enumeratedValue>
  35258. <name>11</name>
  35259. <description>External input pin enabled with any change detection</description>
  35260. <value>#11</value>
  35261. </enumeratedValue>
  35262. </enumeratedValues>
  35263. </field>
  35264. </fields>
  35265. </register>
  35266. <register>
  35267. <name>PE3</name>
  35268. <description>LLWU Pin Enable 3 Register</description>
  35269. <addressOffset>0x2</addressOffset>
  35270. <size>8</size>
  35271. <access>read-write</access>
  35272. <resetValue>0</resetValue>
  35273. <resetMask>0xFF</resetMask>
  35274. <fields>
  35275. <field>
  35276. <name>WUPE8</name>
  35277. <description>Wakeup Pin Enable for LLWU_P8</description>
  35278. <bitOffset>0</bitOffset>
  35279. <bitWidth>2</bitWidth>
  35280. <access>read-write</access>
  35281. <enumeratedValues>
  35282. <enumeratedValue>
  35283. <name>00</name>
  35284. <description>External input pin disabled as wakeup input</description>
  35285. <value>#00</value>
  35286. </enumeratedValue>
  35287. <enumeratedValue>
  35288. <name>01</name>
  35289. <description>External input pin enabled with rising edge detection</description>
  35290. <value>#01</value>
  35291. </enumeratedValue>
  35292. <enumeratedValue>
  35293. <name>10</name>
  35294. <description>External input pin enabled with falling edge detection</description>
  35295. <value>#10</value>
  35296. </enumeratedValue>
  35297. <enumeratedValue>
  35298. <name>11</name>
  35299. <description>External input pin enabled with any change detection</description>
  35300. <value>#11</value>
  35301. </enumeratedValue>
  35302. </enumeratedValues>
  35303. </field>
  35304. <field>
  35305. <name>WUPE9</name>
  35306. <description>Wakeup Pin Enable for LLWU_P9</description>
  35307. <bitOffset>2</bitOffset>
  35308. <bitWidth>2</bitWidth>
  35309. <access>read-write</access>
  35310. <enumeratedValues>
  35311. <enumeratedValue>
  35312. <name>00</name>
  35313. <description>External input pin disabled as wakeup input</description>
  35314. <value>#00</value>
  35315. </enumeratedValue>
  35316. <enumeratedValue>
  35317. <name>01</name>
  35318. <description>External input pin enabled with rising edge detection</description>
  35319. <value>#01</value>
  35320. </enumeratedValue>
  35321. <enumeratedValue>
  35322. <name>10</name>
  35323. <description>External input pin enabled with falling edge detection</description>
  35324. <value>#10</value>
  35325. </enumeratedValue>
  35326. <enumeratedValue>
  35327. <name>11</name>
  35328. <description>External input pin enabled with any change detection</description>
  35329. <value>#11</value>
  35330. </enumeratedValue>
  35331. </enumeratedValues>
  35332. </field>
  35333. <field>
  35334. <name>WUPE10</name>
  35335. <description>Wakeup Pin Enable for LLWU_P10</description>
  35336. <bitOffset>4</bitOffset>
  35337. <bitWidth>2</bitWidth>
  35338. <access>read-write</access>
  35339. <enumeratedValues>
  35340. <enumeratedValue>
  35341. <name>00</name>
  35342. <description>External input pin disabled as wakeup input</description>
  35343. <value>#00</value>
  35344. </enumeratedValue>
  35345. <enumeratedValue>
  35346. <name>01</name>
  35347. <description>External input pin enabled with rising edge detection</description>
  35348. <value>#01</value>
  35349. </enumeratedValue>
  35350. <enumeratedValue>
  35351. <name>10</name>
  35352. <description>External input pin enabled with falling edge detection</description>
  35353. <value>#10</value>
  35354. </enumeratedValue>
  35355. <enumeratedValue>
  35356. <name>11</name>
  35357. <description>External input pin enabled with any change detection</description>
  35358. <value>#11</value>
  35359. </enumeratedValue>
  35360. </enumeratedValues>
  35361. </field>
  35362. <field>
  35363. <name>WUPE11</name>
  35364. <description>Wakeup Pin Enable for LLWU_P11</description>
  35365. <bitOffset>6</bitOffset>
  35366. <bitWidth>2</bitWidth>
  35367. <access>read-write</access>
  35368. <enumeratedValues>
  35369. <enumeratedValue>
  35370. <name>00</name>
  35371. <description>External input pin disabled as wakeup input</description>
  35372. <value>#00</value>
  35373. </enumeratedValue>
  35374. <enumeratedValue>
  35375. <name>01</name>
  35376. <description>External input pin enabled with rising edge detection</description>
  35377. <value>#01</value>
  35378. </enumeratedValue>
  35379. <enumeratedValue>
  35380. <name>10</name>
  35381. <description>External input pin enabled with falling edge detection</description>
  35382. <value>#10</value>
  35383. </enumeratedValue>
  35384. <enumeratedValue>
  35385. <name>11</name>
  35386. <description>External input pin enabled with any change detection</description>
  35387. <value>#11</value>
  35388. </enumeratedValue>
  35389. </enumeratedValues>
  35390. </field>
  35391. </fields>
  35392. </register>
  35393. <register>
  35394. <name>PE4</name>
  35395. <description>LLWU Pin Enable 4 Register</description>
  35396. <addressOffset>0x3</addressOffset>
  35397. <size>8</size>
  35398. <access>read-write</access>
  35399. <resetValue>0</resetValue>
  35400. <resetMask>0xFF</resetMask>
  35401. <fields>
  35402. <field>
  35403. <name>WUPE12</name>
  35404. <description>Wakeup Pin Enable for LLWU_P12</description>
  35405. <bitOffset>0</bitOffset>
  35406. <bitWidth>2</bitWidth>
  35407. <access>read-write</access>
  35408. <enumeratedValues>
  35409. <enumeratedValue>
  35410. <name>00</name>
  35411. <description>External input pin disabled as wakeup input</description>
  35412. <value>#00</value>
  35413. </enumeratedValue>
  35414. <enumeratedValue>
  35415. <name>01</name>
  35416. <description>External input pin enabled with rising edge detection</description>
  35417. <value>#01</value>
  35418. </enumeratedValue>
  35419. <enumeratedValue>
  35420. <name>10</name>
  35421. <description>External input pin enabled with falling edge detection</description>
  35422. <value>#10</value>
  35423. </enumeratedValue>
  35424. <enumeratedValue>
  35425. <name>11</name>
  35426. <description>External input pin enabled with any change detection</description>
  35427. <value>#11</value>
  35428. </enumeratedValue>
  35429. </enumeratedValues>
  35430. </field>
  35431. <field>
  35432. <name>WUPE13</name>
  35433. <description>Wakeup Pin Enable for LLWU_P13</description>
  35434. <bitOffset>2</bitOffset>
  35435. <bitWidth>2</bitWidth>
  35436. <access>read-write</access>
  35437. <enumeratedValues>
  35438. <enumeratedValue>
  35439. <name>00</name>
  35440. <description>External input pin disabled as wakeup input</description>
  35441. <value>#00</value>
  35442. </enumeratedValue>
  35443. <enumeratedValue>
  35444. <name>01</name>
  35445. <description>External input pin enabled with rising edge detection</description>
  35446. <value>#01</value>
  35447. </enumeratedValue>
  35448. <enumeratedValue>
  35449. <name>10</name>
  35450. <description>External input pin enabled with falling edge detection</description>
  35451. <value>#10</value>
  35452. </enumeratedValue>
  35453. <enumeratedValue>
  35454. <name>11</name>
  35455. <description>External input pin enabled with any change detection</description>
  35456. <value>#11</value>
  35457. </enumeratedValue>
  35458. </enumeratedValues>
  35459. </field>
  35460. <field>
  35461. <name>WUPE14</name>
  35462. <description>Wakeup Pin Enable for LLWU_P14</description>
  35463. <bitOffset>4</bitOffset>
  35464. <bitWidth>2</bitWidth>
  35465. <access>read-write</access>
  35466. <enumeratedValues>
  35467. <enumeratedValue>
  35468. <name>00</name>
  35469. <description>External input pin disabled as wakeup input</description>
  35470. <value>#00</value>
  35471. </enumeratedValue>
  35472. <enumeratedValue>
  35473. <name>01</name>
  35474. <description>External input pin enabled with rising edge detection</description>
  35475. <value>#01</value>
  35476. </enumeratedValue>
  35477. <enumeratedValue>
  35478. <name>10</name>
  35479. <description>External input pin enabled with falling edge detection</description>
  35480. <value>#10</value>
  35481. </enumeratedValue>
  35482. <enumeratedValue>
  35483. <name>11</name>
  35484. <description>External input pin enabled with any change detection</description>
  35485. <value>#11</value>
  35486. </enumeratedValue>
  35487. </enumeratedValues>
  35488. </field>
  35489. <field>
  35490. <name>WUPE15</name>
  35491. <description>Wakeup Pin Enable for LLWU_P15</description>
  35492. <bitOffset>6</bitOffset>
  35493. <bitWidth>2</bitWidth>
  35494. <access>read-write</access>
  35495. <enumeratedValues>
  35496. <enumeratedValue>
  35497. <name>00</name>
  35498. <description>External input pin disabled as wakeup input</description>
  35499. <value>#00</value>
  35500. </enumeratedValue>
  35501. <enumeratedValue>
  35502. <name>01</name>
  35503. <description>External input pin enabled with rising edge detection</description>
  35504. <value>#01</value>
  35505. </enumeratedValue>
  35506. <enumeratedValue>
  35507. <name>10</name>
  35508. <description>External input pin enabled with falling edge detection</description>
  35509. <value>#10</value>
  35510. </enumeratedValue>
  35511. <enumeratedValue>
  35512. <name>11</name>
  35513. <description>External input pin enabled with any change detection</description>
  35514. <value>#11</value>
  35515. </enumeratedValue>
  35516. </enumeratedValues>
  35517. </field>
  35518. </fields>
  35519. </register>
  35520. <register>
  35521. <name>ME</name>
  35522. <description>LLWU Module Enable Register</description>
  35523. <addressOffset>0x4</addressOffset>
  35524. <size>8</size>
  35525. <access>read-write</access>
  35526. <resetValue>0</resetValue>
  35527. <resetMask>0xFF</resetMask>
  35528. <fields>
  35529. <field>
  35530. <name>WUME0</name>
  35531. <description>Wakeup Module Enable for Module 0</description>
  35532. <bitOffset>0</bitOffset>
  35533. <bitWidth>1</bitWidth>
  35534. <access>read-write</access>
  35535. <enumeratedValues>
  35536. <enumeratedValue>
  35537. <name>0</name>
  35538. <description>Internal module flag not used as wakeup source</description>
  35539. <value>#0</value>
  35540. </enumeratedValue>
  35541. <enumeratedValue>
  35542. <name>1</name>
  35543. <description>Internal module flag used as wakeup source</description>
  35544. <value>#1</value>
  35545. </enumeratedValue>
  35546. </enumeratedValues>
  35547. </field>
  35548. <field>
  35549. <name>WUME1</name>
  35550. <description>Wakeup Module Enable for Module 1</description>
  35551. <bitOffset>1</bitOffset>
  35552. <bitWidth>1</bitWidth>
  35553. <access>read-write</access>
  35554. <enumeratedValues>
  35555. <enumeratedValue>
  35556. <name>0</name>
  35557. <description>Internal module flag not used as wakeup source</description>
  35558. <value>#0</value>
  35559. </enumeratedValue>
  35560. <enumeratedValue>
  35561. <name>1</name>
  35562. <description>Internal module flag used as wakeup source</description>
  35563. <value>#1</value>
  35564. </enumeratedValue>
  35565. </enumeratedValues>
  35566. </field>
  35567. <field>
  35568. <name>WUME2</name>
  35569. <description>Wakeup Module Enable for Module 2</description>
  35570. <bitOffset>2</bitOffset>
  35571. <bitWidth>1</bitWidth>
  35572. <access>read-write</access>
  35573. <enumeratedValues>
  35574. <enumeratedValue>
  35575. <name>0</name>
  35576. <description>Internal module flag not used as wakeup source</description>
  35577. <value>#0</value>
  35578. </enumeratedValue>
  35579. <enumeratedValue>
  35580. <name>1</name>
  35581. <description>Internal module flag used as wakeup source</description>
  35582. <value>#1</value>
  35583. </enumeratedValue>
  35584. </enumeratedValues>
  35585. </field>
  35586. <field>
  35587. <name>WUME3</name>
  35588. <description>Wakeup Module Enable for Module 3</description>
  35589. <bitOffset>3</bitOffset>
  35590. <bitWidth>1</bitWidth>
  35591. <access>read-write</access>
  35592. <enumeratedValues>
  35593. <enumeratedValue>
  35594. <name>0</name>
  35595. <description>Internal module flag not used as wakeup source</description>
  35596. <value>#0</value>
  35597. </enumeratedValue>
  35598. <enumeratedValue>
  35599. <name>1</name>
  35600. <description>Internal module flag used as wakeup source</description>
  35601. <value>#1</value>
  35602. </enumeratedValue>
  35603. </enumeratedValues>
  35604. </field>
  35605. <field>
  35606. <name>WUME4</name>
  35607. <description>Wakeup Module Enable for Module 4</description>
  35608. <bitOffset>4</bitOffset>
  35609. <bitWidth>1</bitWidth>
  35610. <access>read-write</access>
  35611. <enumeratedValues>
  35612. <enumeratedValue>
  35613. <name>0</name>
  35614. <description>Internal module flag not used as wakeup source</description>
  35615. <value>#0</value>
  35616. </enumeratedValue>
  35617. <enumeratedValue>
  35618. <name>1</name>
  35619. <description>Internal module flag used as wakeup source</description>
  35620. <value>#1</value>
  35621. </enumeratedValue>
  35622. </enumeratedValues>
  35623. </field>
  35624. <field>
  35625. <name>WUME5</name>
  35626. <description>Wakeup Module Enable for Module 5</description>
  35627. <bitOffset>5</bitOffset>
  35628. <bitWidth>1</bitWidth>
  35629. <access>read-write</access>
  35630. <enumeratedValues>
  35631. <enumeratedValue>
  35632. <name>0</name>
  35633. <description>Internal module flag not used as wakeup source</description>
  35634. <value>#0</value>
  35635. </enumeratedValue>
  35636. <enumeratedValue>
  35637. <name>1</name>
  35638. <description>Internal module flag used as wakeup source</description>
  35639. <value>#1</value>
  35640. </enumeratedValue>
  35641. </enumeratedValues>
  35642. </field>
  35643. <field>
  35644. <name>WUME6</name>
  35645. <description>Wakeup Module Enable for Module 6</description>
  35646. <bitOffset>6</bitOffset>
  35647. <bitWidth>1</bitWidth>
  35648. <access>read-write</access>
  35649. <enumeratedValues>
  35650. <enumeratedValue>
  35651. <name>0</name>
  35652. <description>Internal module flag not used as wakeup source</description>
  35653. <value>#0</value>
  35654. </enumeratedValue>
  35655. <enumeratedValue>
  35656. <name>1</name>
  35657. <description>Internal module flag used as wakeup source</description>
  35658. <value>#1</value>
  35659. </enumeratedValue>
  35660. </enumeratedValues>
  35661. </field>
  35662. <field>
  35663. <name>WUME7</name>
  35664. <description>Wakeup Module Enable for Module 7</description>
  35665. <bitOffset>7</bitOffset>
  35666. <bitWidth>1</bitWidth>
  35667. <access>read-write</access>
  35668. <enumeratedValues>
  35669. <enumeratedValue>
  35670. <name>0</name>
  35671. <description>Internal module flag not used as wakeup source</description>
  35672. <value>#0</value>
  35673. </enumeratedValue>
  35674. <enumeratedValue>
  35675. <name>1</name>
  35676. <description>Internal module flag used as wakeup source</description>
  35677. <value>#1</value>
  35678. </enumeratedValue>
  35679. </enumeratedValues>
  35680. </field>
  35681. </fields>
  35682. </register>
  35683. <register>
  35684. <name>F1</name>
  35685. <description>LLWU Flag 1 Register</description>
  35686. <addressOffset>0x5</addressOffset>
  35687. <size>8</size>
  35688. <access>read-write</access>
  35689. <resetValue>0</resetValue>
  35690. <resetMask>0xFF</resetMask>
  35691. <fields>
  35692. <field>
  35693. <name>WUF0</name>
  35694. <description>Wakeup Flag for LLWU_P0</description>
  35695. <bitOffset>0</bitOffset>
  35696. <bitWidth>1</bitWidth>
  35697. <access>read-write</access>
  35698. <enumeratedValues>
  35699. <enumeratedValue>
  35700. <name>0</name>
  35701. <description>LLWU_P0 input was not a wakeup source</description>
  35702. <value>#0</value>
  35703. </enumeratedValue>
  35704. <enumeratedValue>
  35705. <name>1</name>
  35706. <description>LLWU_P0 input was a wakeup source</description>
  35707. <value>#1</value>
  35708. </enumeratedValue>
  35709. </enumeratedValues>
  35710. </field>
  35711. <field>
  35712. <name>WUF1</name>
  35713. <description>Wakeup Flag for LLWU_P1</description>
  35714. <bitOffset>1</bitOffset>
  35715. <bitWidth>1</bitWidth>
  35716. <access>read-write</access>
  35717. <enumeratedValues>
  35718. <enumeratedValue>
  35719. <name>0</name>
  35720. <description>LLWU_P1 input was not a wakeup source</description>
  35721. <value>#0</value>
  35722. </enumeratedValue>
  35723. <enumeratedValue>
  35724. <name>1</name>
  35725. <description>LLWU_P1 input was a wakeup source</description>
  35726. <value>#1</value>
  35727. </enumeratedValue>
  35728. </enumeratedValues>
  35729. </field>
  35730. <field>
  35731. <name>WUF2</name>
  35732. <description>Wakeup Flag for LLWU_P2</description>
  35733. <bitOffset>2</bitOffset>
  35734. <bitWidth>1</bitWidth>
  35735. <access>read-write</access>
  35736. <enumeratedValues>
  35737. <enumeratedValue>
  35738. <name>0</name>
  35739. <description>LLWU_P2 input was not a wakeup source</description>
  35740. <value>#0</value>
  35741. </enumeratedValue>
  35742. <enumeratedValue>
  35743. <name>1</name>
  35744. <description>LLWU_P2 input was a wakeup source</description>
  35745. <value>#1</value>
  35746. </enumeratedValue>
  35747. </enumeratedValues>
  35748. </field>
  35749. <field>
  35750. <name>WUF3</name>
  35751. <description>Wakeup Flag for LLWU_P3</description>
  35752. <bitOffset>3</bitOffset>
  35753. <bitWidth>1</bitWidth>
  35754. <access>read-write</access>
  35755. <enumeratedValues>
  35756. <enumeratedValue>
  35757. <name>0</name>
  35758. <description>LLWU_P3 input was not a wakeup source</description>
  35759. <value>#0</value>
  35760. </enumeratedValue>
  35761. <enumeratedValue>
  35762. <name>1</name>
  35763. <description>LLWU_P3 input was a wakeup source</description>
  35764. <value>#1</value>
  35765. </enumeratedValue>
  35766. </enumeratedValues>
  35767. </field>
  35768. <field>
  35769. <name>WUF4</name>
  35770. <description>Wakeup Flag for LLWU_P4</description>
  35771. <bitOffset>4</bitOffset>
  35772. <bitWidth>1</bitWidth>
  35773. <access>read-write</access>
  35774. <enumeratedValues>
  35775. <enumeratedValue>
  35776. <name>0</name>
  35777. <description>LLWU_P4 input was not a wakeup source</description>
  35778. <value>#0</value>
  35779. </enumeratedValue>
  35780. <enumeratedValue>
  35781. <name>1</name>
  35782. <description>LLWU_P4 input was a wakeup source</description>
  35783. <value>#1</value>
  35784. </enumeratedValue>
  35785. </enumeratedValues>
  35786. </field>
  35787. <field>
  35788. <name>WUF5</name>
  35789. <description>Wakeup Flag for LLWU_P5</description>
  35790. <bitOffset>5</bitOffset>
  35791. <bitWidth>1</bitWidth>
  35792. <access>read-write</access>
  35793. <enumeratedValues>
  35794. <enumeratedValue>
  35795. <name>0</name>
  35796. <description>LLWU_P5 input was not a wakeup source</description>
  35797. <value>#0</value>
  35798. </enumeratedValue>
  35799. <enumeratedValue>
  35800. <name>1</name>
  35801. <description>LLWU_P5 input was a wakeup source</description>
  35802. <value>#1</value>
  35803. </enumeratedValue>
  35804. </enumeratedValues>
  35805. </field>
  35806. <field>
  35807. <name>WUF6</name>
  35808. <description>Wakeup Flag for LLWU_P6</description>
  35809. <bitOffset>6</bitOffset>
  35810. <bitWidth>1</bitWidth>
  35811. <access>read-write</access>
  35812. <enumeratedValues>
  35813. <enumeratedValue>
  35814. <name>0</name>
  35815. <description>LLWU_P6 input was not a wakeup source</description>
  35816. <value>#0</value>
  35817. </enumeratedValue>
  35818. <enumeratedValue>
  35819. <name>1</name>
  35820. <description>LLWU_P6 input was a wakeup source</description>
  35821. <value>#1</value>
  35822. </enumeratedValue>
  35823. </enumeratedValues>
  35824. </field>
  35825. <field>
  35826. <name>WUF7</name>
  35827. <description>Wakeup Flag for LLWU_P7</description>
  35828. <bitOffset>7</bitOffset>
  35829. <bitWidth>1</bitWidth>
  35830. <access>read-write</access>
  35831. <enumeratedValues>
  35832. <enumeratedValue>
  35833. <name>0</name>
  35834. <description>LLWU_P7 input was not a wakeup source</description>
  35835. <value>#0</value>
  35836. </enumeratedValue>
  35837. <enumeratedValue>
  35838. <name>1</name>
  35839. <description>LLWU_P7 input was a wakeup source</description>
  35840. <value>#1</value>
  35841. </enumeratedValue>
  35842. </enumeratedValues>
  35843. </field>
  35844. </fields>
  35845. </register>
  35846. <register>
  35847. <name>F2</name>
  35848. <description>LLWU Flag 2 Register</description>
  35849. <addressOffset>0x6</addressOffset>
  35850. <size>8</size>
  35851. <access>read-write</access>
  35852. <resetValue>0</resetValue>
  35853. <resetMask>0xFF</resetMask>
  35854. <fields>
  35855. <field>
  35856. <name>WUF8</name>
  35857. <description>Wakeup Flag for LLWU_P8</description>
  35858. <bitOffset>0</bitOffset>
  35859. <bitWidth>1</bitWidth>
  35860. <access>read-write</access>
  35861. <enumeratedValues>
  35862. <enumeratedValue>
  35863. <name>0</name>
  35864. <description>LLWU_P8 input was not a wakeup source</description>
  35865. <value>#0</value>
  35866. </enumeratedValue>
  35867. <enumeratedValue>
  35868. <name>1</name>
  35869. <description>LLWU_P8 input was a wakeup source</description>
  35870. <value>#1</value>
  35871. </enumeratedValue>
  35872. </enumeratedValues>
  35873. </field>
  35874. <field>
  35875. <name>WUF9</name>
  35876. <description>Wakeup Flag for LLWU_P9</description>
  35877. <bitOffset>1</bitOffset>
  35878. <bitWidth>1</bitWidth>
  35879. <access>read-write</access>
  35880. <enumeratedValues>
  35881. <enumeratedValue>
  35882. <name>0</name>
  35883. <description>LLWU_P9 input was not a wakeup source</description>
  35884. <value>#0</value>
  35885. </enumeratedValue>
  35886. <enumeratedValue>
  35887. <name>1</name>
  35888. <description>LLWU_P9 input was a wakeup source</description>
  35889. <value>#1</value>
  35890. </enumeratedValue>
  35891. </enumeratedValues>
  35892. </field>
  35893. <field>
  35894. <name>WUF10</name>
  35895. <description>Wakeup Flag for LLWU_P10</description>
  35896. <bitOffset>2</bitOffset>
  35897. <bitWidth>1</bitWidth>
  35898. <access>read-write</access>
  35899. <enumeratedValues>
  35900. <enumeratedValue>
  35901. <name>0</name>
  35902. <description>LLWU_P10 input was not a wakeup source</description>
  35903. <value>#0</value>
  35904. </enumeratedValue>
  35905. <enumeratedValue>
  35906. <name>1</name>
  35907. <description>LLWU_P10 input was a wakeup source</description>
  35908. <value>#1</value>
  35909. </enumeratedValue>
  35910. </enumeratedValues>
  35911. </field>
  35912. <field>
  35913. <name>WUF11</name>
  35914. <description>Wakeup Flag for LLWU_P11</description>
  35915. <bitOffset>3</bitOffset>
  35916. <bitWidth>1</bitWidth>
  35917. <access>read-write</access>
  35918. <enumeratedValues>
  35919. <enumeratedValue>
  35920. <name>0</name>
  35921. <description>LLWU_P11 input was not a wakeup source</description>
  35922. <value>#0</value>
  35923. </enumeratedValue>
  35924. <enumeratedValue>
  35925. <name>1</name>
  35926. <description>LLWU_P11 input was a wakeup source</description>
  35927. <value>#1</value>
  35928. </enumeratedValue>
  35929. </enumeratedValues>
  35930. </field>
  35931. <field>
  35932. <name>WUF12</name>
  35933. <description>Wakeup Flag for LLWU_P12</description>
  35934. <bitOffset>4</bitOffset>
  35935. <bitWidth>1</bitWidth>
  35936. <access>read-write</access>
  35937. <enumeratedValues>
  35938. <enumeratedValue>
  35939. <name>0</name>
  35940. <description>LLWU_P12 input was not a wakeup source</description>
  35941. <value>#0</value>
  35942. </enumeratedValue>
  35943. <enumeratedValue>
  35944. <name>1</name>
  35945. <description>LLWU_P12 input was a wakeup source</description>
  35946. <value>#1</value>
  35947. </enumeratedValue>
  35948. </enumeratedValues>
  35949. </field>
  35950. <field>
  35951. <name>WUF13</name>
  35952. <description>Wakeup Flag for LLWU_P13</description>
  35953. <bitOffset>5</bitOffset>
  35954. <bitWidth>1</bitWidth>
  35955. <access>read-write</access>
  35956. <enumeratedValues>
  35957. <enumeratedValue>
  35958. <name>0</name>
  35959. <description>LLWU_P13 input was not a wakeup source</description>
  35960. <value>#0</value>
  35961. </enumeratedValue>
  35962. <enumeratedValue>
  35963. <name>1</name>
  35964. <description>LLWU_P13 input was a wakeup source</description>
  35965. <value>#1</value>
  35966. </enumeratedValue>
  35967. </enumeratedValues>
  35968. </field>
  35969. <field>
  35970. <name>WUF14</name>
  35971. <description>Wakeup Flag for LLWU_P14</description>
  35972. <bitOffset>6</bitOffset>
  35973. <bitWidth>1</bitWidth>
  35974. <access>read-write</access>
  35975. <enumeratedValues>
  35976. <enumeratedValue>
  35977. <name>0</name>
  35978. <description>LLWU_P14 input was not a wakeup source</description>
  35979. <value>#0</value>
  35980. </enumeratedValue>
  35981. <enumeratedValue>
  35982. <name>1</name>
  35983. <description>LLWU_P14 input was a wakeup source</description>
  35984. <value>#1</value>
  35985. </enumeratedValue>
  35986. </enumeratedValues>
  35987. </field>
  35988. <field>
  35989. <name>WUF15</name>
  35990. <description>Wakeup Flag for LLWU_P15</description>
  35991. <bitOffset>7</bitOffset>
  35992. <bitWidth>1</bitWidth>
  35993. <access>read-write</access>
  35994. <enumeratedValues>
  35995. <enumeratedValue>
  35996. <name>0</name>
  35997. <description>LLWU_P15 input was not a wakeup source</description>
  35998. <value>#0</value>
  35999. </enumeratedValue>
  36000. <enumeratedValue>
  36001. <name>1</name>
  36002. <description>LLWU_P15 input was a wakeup source</description>
  36003. <value>#1</value>
  36004. </enumeratedValue>
  36005. </enumeratedValues>
  36006. </field>
  36007. </fields>
  36008. </register>
  36009. <register>
  36010. <name>F3</name>
  36011. <description>LLWU Flag 3 Register</description>
  36012. <addressOffset>0x7</addressOffset>
  36013. <size>8</size>
  36014. <access>read-only</access>
  36015. <resetValue>0</resetValue>
  36016. <resetMask>0xFF</resetMask>
  36017. <fields>
  36018. <field>
  36019. <name>MWUF0</name>
  36020. <description>Wakeup flag for module 0</description>
  36021. <bitOffset>0</bitOffset>
  36022. <bitWidth>1</bitWidth>
  36023. <access>read-only</access>
  36024. <enumeratedValues>
  36025. <enumeratedValue>
  36026. <name>0</name>
  36027. <description>Module 0 input was not a wakeup source</description>
  36028. <value>#0</value>
  36029. </enumeratedValue>
  36030. <enumeratedValue>
  36031. <name>1</name>
  36032. <description>Module 0 input was a wakeup source</description>
  36033. <value>#1</value>
  36034. </enumeratedValue>
  36035. </enumeratedValues>
  36036. </field>
  36037. <field>
  36038. <name>MWUF1</name>
  36039. <description>Wakeup flag for module 1</description>
  36040. <bitOffset>1</bitOffset>
  36041. <bitWidth>1</bitWidth>
  36042. <access>read-only</access>
  36043. <enumeratedValues>
  36044. <enumeratedValue>
  36045. <name>0</name>
  36046. <description>Module 1 input was not a wakeup source</description>
  36047. <value>#0</value>
  36048. </enumeratedValue>
  36049. <enumeratedValue>
  36050. <name>1</name>
  36051. <description>Module 1 input was a wakeup source</description>
  36052. <value>#1</value>
  36053. </enumeratedValue>
  36054. </enumeratedValues>
  36055. </field>
  36056. <field>
  36057. <name>MWUF2</name>
  36058. <description>Wakeup flag for module 2</description>
  36059. <bitOffset>2</bitOffset>
  36060. <bitWidth>1</bitWidth>
  36061. <access>read-only</access>
  36062. <enumeratedValues>
  36063. <enumeratedValue>
  36064. <name>0</name>
  36065. <description>Module 2 input was not a wakeup source</description>
  36066. <value>#0</value>
  36067. </enumeratedValue>
  36068. <enumeratedValue>
  36069. <name>1</name>
  36070. <description>Module 2 input was a wakeup source</description>
  36071. <value>#1</value>
  36072. </enumeratedValue>
  36073. </enumeratedValues>
  36074. </field>
  36075. <field>
  36076. <name>MWUF3</name>
  36077. <description>Wakeup flag for module 3</description>
  36078. <bitOffset>3</bitOffset>
  36079. <bitWidth>1</bitWidth>
  36080. <access>read-only</access>
  36081. <enumeratedValues>
  36082. <enumeratedValue>
  36083. <name>0</name>
  36084. <description>Module 3 input was not a wakeup source</description>
  36085. <value>#0</value>
  36086. </enumeratedValue>
  36087. <enumeratedValue>
  36088. <name>1</name>
  36089. <description>Module 3 input was a wakeup source</description>
  36090. <value>#1</value>
  36091. </enumeratedValue>
  36092. </enumeratedValues>
  36093. </field>
  36094. <field>
  36095. <name>MWUF4</name>
  36096. <description>Wakeup flag for module 4</description>
  36097. <bitOffset>4</bitOffset>
  36098. <bitWidth>1</bitWidth>
  36099. <access>read-only</access>
  36100. <enumeratedValues>
  36101. <enumeratedValue>
  36102. <name>0</name>
  36103. <description>Module 4 input was not a wakeup source</description>
  36104. <value>#0</value>
  36105. </enumeratedValue>
  36106. <enumeratedValue>
  36107. <name>1</name>
  36108. <description>Module 4 input was a wakeup source</description>
  36109. <value>#1</value>
  36110. </enumeratedValue>
  36111. </enumeratedValues>
  36112. </field>
  36113. <field>
  36114. <name>MWUF5</name>
  36115. <description>Wakeup flag for module 5</description>
  36116. <bitOffset>5</bitOffset>
  36117. <bitWidth>1</bitWidth>
  36118. <access>read-only</access>
  36119. <enumeratedValues>
  36120. <enumeratedValue>
  36121. <name>0</name>
  36122. <description>Module 5 input was not a wakeup source</description>
  36123. <value>#0</value>
  36124. </enumeratedValue>
  36125. <enumeratedValue>
  36126. <name>1</name>
  36127. <description>Module 5 input was a wakeup source</description>
  36128. <value>#1</value>
  36129. </enumeratedValue>
  36130. </enumeratedValues>
  36131. </field>
  36132. <field>
  36133. <name>MWUF6</name>
  36134. <description>Wakeup flag for module 6</description>
  36135. <bitOffset>6</bitOffset>
  36136. <bitWidth>1</bitWidth>
  36137. <access>read-only</access>
  36138. <enumeratedValues>
  36139. <enumeratedValue>
  36140. <name>0</name>
  36141. <description>Module 6 input was not a wakeup source</description>
  36142. <value>#0</value>
  36143. </enumeratedValue>
  36144. <enumeratedValue>
  36145. <name>1</name>
  36146. <description>Module 6 input was a wakeup source</description>
  36147. <value>#1</value>
  36148. </enumeratedValue>
  36149. </enumeratedValues>
  36150. </field>
  36151. <field>
  36152. <name>MWUF7</name>
  36153. <description>Wakeup flag for module 7</description>
  36154. <bitOffset>7</bitOffset>
  36155. <bitWidth>1</bitWidth>
  36156. <access>read-only</access>
  36157. <enumeratedValues>
  36158. <enumeratedValue>
  36159. <name>0</name>
  36160. <description>Module 7 input was not a wakeup source</description>
  36161. <value>#0</value>
  36162. </enumeratedValue>
  36163. <enumeratedValue>
  36164. <name>1</name>
  36165. <description>Module 7 input was a wakeup source</description>
  36166. <value>#1</value>
  36167. </enumeratedValue>
  36168. </enumeratedValues>
  36169. </field>
  36170. </fields>
  36171. </register>
  36172. <register>
  36173. <name>FILT1</name>
  36174. <description>LLWU Pin Filter 1 Register</description>
  36175. <addressOffset>0x8</addressOffset>
  36176. <size>8</size>
  36177. <access>read-write</access>
  36178. <resetValue>0</resetValue>
  36179. <resetMask>0xFF</resetMask>
  36180. <fields>
  36181. <field>
  36182. <name>FILTSEL</name>
  36183. <description>Filter pin select</description>
  36184. <bitOffset>0</bitOffset>
  36185. <bitWidth>4</bitWidth>
  36186. <access>read-write</access>
  36187. <enumeratedValues>
  36188. <enumeratedValue>
  36189. <name>0000</name>
  36190. <description>Select LLWU_P0 for filter</description>
  36191. <value>#0000</value>
  36192. </enumeratedValue>
  36193. <enumeratedValue>
  36194. <name>1111</name>
  36195. <description>Select LLWU_P15 for filter</description>
  36196. <value>#1111</value>
  36197. </enumeratedValue>
  36198. </enumeratedValues>
  36199. </field>
  36200. <field>
  36201. <name>FILTE</name>
  36202. <description>Digital Filter on External Pin</description>
  36203. <bitOffset>5</bitOffset>
  36204. <bitWidth>2</bitWidth>
  36205. <access>read-write</access>
  36206. <enumeratedValues>
  36207. <enumeratedValue>
  36208. <name>00</name>
  36209. <description>Filter disabled</description>
  36210. <value>#00</value>
  36211. </enumeratedValue>
  36212. <enumeratedValue>
  36213. <name>01</name>
  36214. <description>Filter posedge detect enabled</description>
  36215. <value>#01</value>
  36216. </enumeratedValue>
  36217. <enumeratedValue>
  36218. <name>10</name>
  36219. <description>Filter negedge detect enabled</description>
  36220. <value>#10</value>
  36221. </enumeratedValue>
  36222. <enumeratedValue>
  36223. <name>11</name>
  36224. <description>Filter any edge detect enabled</description>
  36225. <value>#11</value>
  36226. </enumeratedValue>
  36227. </enumeratedValues>
  36228. </field>
  36229. <field>
  36230. <name>FILTF</name>
  36231. <description>Filter Detect Flag</description>
  36232. <bitOffset>7</bitOffset>
  36233. <bitWidth>1</bitWidth>
  36234. <access>read-write</access>
  36235. <enumeratedValues>
  36236. <enumeratedValue>
  36237. <name>0</name>
  36238. <description>Pin Filter 1 was not a wakeup source</description>
  36239. <value>#0</value>
  36240. </enumeratedValue>
  36241. <enumeratedValue>
  36242. <name>1</name>
  36243. <description>Pin Filter 1 was a wakeup source</description>
  36244. <value>#1</value>
  36245. </enumeratedValue>
  36246. </enumeratedValues>
  36247. </field>
  36248. </fields>
  36249. </register>
  36250. <register>
  36251. <name>FILT2</name>
  36252. <description>LLWU Pin Filter 2 Register</description>
  36253. <addressOffset>0x9</addressOffset>
  36254. <size>8</size>
  36255. <access>read-write</access>
  36256. <resetValue>0</resetValue>
  36257. <resetMask>0xFF</resetMask>
  36258. <fields>
  36259. <field>
  36260. <name>FILTSEL</name>
  36261. <description>Filter pin select</description>
  36262. <bitOffset>0</bitOffset>
  36263. <bitWidth>4</bitWidth>
  36264. <access>read-write</access>
  36265. <enumeratedValues>
  36266. <enumeratedValue>
  36267. <name>0000</name>
  36268. <description>Select LLWU_P0 for filter</description>
  36269. <value>#0000</value>
  36270. </enumeratedValue>
  36271. <enumeratedValue>
  36272. <name>1111</name>
  36273. <description>Select LLWU_P15 for filter</description>
  36274. <value>#1111</value>
  36275. </enumeratedValue>
  36276. </enumeratedValues>
  36277. </field>
  36278. <field>
  36279. <name>FILTE</name>
  36280. <description>Digital Filter on External Pin</description>
  36281. <bitOffset>5</bitOffset>
  36282. <bitWidth>2</bitWidth>
  36283. <access>read-write</access>
  36284. <enumeratedValues>
  36285. <enumeratedValue>
  36286. <name>00</name>
  36287. <description>Filter disabled</description>
  36288. <value>#00</value>
  36289. </enumeratedValue>
  36290. <enumeratedValue>
  36291. <name>01</name>
  36292. <description>Filter posedge detect enabled</description>
  36293. <value>#01</value>
  36294. </enumeratedValue>
  36295. <enumeratedValue>
  36296. <name>10</name>
  36297. <description>Filter negedge detect enabled</description>
  36298. <value>#10</value>
  36299. </enumeratedValue>
  36300. <enumeratedValue>
  36301. <name>11</name>
  36302. <description>Filter any edge detect enabled</description>
  36303. <value>#11</value>
  36304. </enumeratedValue>
  36305. </enumeratedValues>
  36306. </field>
  36307. <field>
  36308. <name>FILTF</name>
  36309. <description>Filter Detect Flag</description>
  36310. <bitOffset>7</bitOffset>
  36311. <bitWidth>1</bitWidth>
  36312. <access>read-write</access>
  36313. <enumeratedValues>
  36314. <enumeratedValue>
  36315. <name>0</name>
  36316. <description>Pin Filter 2 was not a wakeup source</description>
  36317. <value>#0</value>
  36318. </enumeratedValue>
  36319. <enumeratedValue>
  36320. <name>1</name>
  36321. <description>Pin Filter 2 was a wakeup source</description>
  36322. <value>#1</value>
  36323. </enumeratedValue>
  36324. </enumeratedValues>
  36325. </field>
  36326. </fields>
  36327. </register>
  36328. <register>
  36329. <name>RST</name>
  36330. <description>LLWU Reset Enable Register</description>
  36331. <addressOffset>0xA</addressOffset>
  36332. <size>8</size>
  36333. <access>read-write</access>
  36334. <resetValue>0x2</resetValue>
  36335. <resetMask>0xFF</resetMask>
  36336. <fields>
  36337. <field>
  36338. <name>RSTFILT</name>
  36339. <description>Digital Filter on RESET Pin</description>
  36340. <bitOffset>0</bitOffset>
  36341. <bitWidth>1</bitWidth>
  36342. <access>read-write</access>
  36343. <enumeratedValues>
  36344. <enumeratedValue>
  36345. <name>0</name>
  36346. <description>Filter not enabled</description>
  36347. <value>#0</value>
  36348. </enumeratedValue>
  36349. <enumeratedValue>
  36350. <name>1</name>
  36351. <description>Filter enabled</description>
  36352. <value>#1</value>
  36353. </enumeratedValue>
  36354. </enumeratedValues>
  36355. </field>
  36356. <field>
  36357. <name>LLRSTE</name>
  36358. <description>Low Leakage mode RESET enable</description>
  36359. <bitOffset>1</bitOffset>
  36360. <bitWidth>1</bitWidth>
  36361. <access>read-write</access>
  36362. <enumeratedValues>
  36363. <enumeratedValue>
  36364. <name>0</name>
  36365. <description>RESET pin not enabled as a leakage mode exit source</description>
  36366. <value>#0</value>
  36367. </enumeratedValue>
  36368. <enumeratedValue>
  36369. <name>1</name>
  36370. <description>RESET pin enabled as a low leakage mode exit source</description>
  36371. <value>#1</value>
  36372. </enumeratedValue>
  36373. </enumeratedValues>
  36374. </field>
  36375. </fields>
  36376. </register>
  36377. </registers>
  36378. </peripheral>
  36379. <peripheral>
  36380. <name>PMC</name>
  36381. <description>Power Management Controller</description>
  36382. <prependToName>PMC_</prependToName>
  36383. <baseAddress>0x4007D000</baseAddress>
  36384. <addressBlock>
  36385. <offset>0</offset>
  36386. <size>0x3</size>
  36387. <usage>registers</usage>
  36388. </addressBlock>
  36389. <interrupt>
  36390. <name>LVD_LVW</name>
  36391. <value>8</value>
  36392. </interrupt>
  36393. <registers>
  36394. <register>
  36395. <name>LVDSC1</name>
  36396. <description>Low Voltage Detect Status and Control 1 Register</description>
  36397. <addressOffset>0</addressOffset>
  36398. <size>8</size>
  36399. <access>read-write</access>
  36400. <resetValue>0x10</resetValue>
  36401. <resetMask>0xFF</resetMask>
  36402. <fields>
  36403. <field>
  36404. <name>LVDV</name>
  36405. <description>Low-Voltage Detect Voltage Select</description>
  36406. <bitOffset>0</bitOffset>
  36407. <bitWidth>2</bitWidth>
  36408. <access>read-write</access>
  36409. <enumeratedValues>
  36410. <enumeratedValue>
  36411. <name>00</name>
  36412. <description>Low trip point selected (V LVD = V LVDL )</description>
  36413. <value>#00</value>
  36414. </enumeratedValue>
  36415. <enumeratedValue>
  36416. <name>01</name>
  36417. <description>High trip point selected (V LVD = V LVDH )</description>
  36418. <value>#01</value>
  36419. </enumeratedValue>
  36420. </enumeratedValues>
  36421. </field>
  36422. <field>
  36423. <name>LVDRE</name>
  36424. <description>Low-Voltage Detect Reset Enable</description>
  36425. <bitOffset>4</bitOffset>
  36426. <bitWidth>1</bitWidth>
  36427. <access>read-write</access>
  36428. <enumeratedValues>
  36429. <enumeratedValue>
  36430. <name>0</name>
  36431. <description>LVDF does not generate hardware resets</description>
  36432. <value>#0</value>
  36433. </enumeratedValue>
  36434. <enumeratedValue>
  36435. <name>1</name>
  36436. <description>Force an MCU reset when LVDF = 1</description>
  36437. <value>#1</value>
  36438. </enumeratedValue>
  36439. </enumeratedValues>
  36440. </field>
  36441. <field>
  36442. <name>LVDIE</name>
  36443. <description>Low-Voltage Detect Interrupt Enable</description>
  36444. <bitOffset>5</bitOffset>
  36445. <bitWidth>1</bitWidth>
  36446. <access>read-write</access>
  36447. <enumeratedValues>
  36448. <enumeratedValue>
  36449. <name>0</name>
  36450. <description>Hardware interrupt disabled (use polling)</description>
  36451. <value>#0</value>
  36452. </enumeratedValue>
  36453. <enumeratedValue>
  36454. <name>1</name>
  36455. <description>Request a hardware interrupt when LVDF = 1.</description>
  36456. <value>#1</value>
  36457. </enumeratedValue>
  36458. </enumeratedValues>
  36459. </field>
  36460. <field>
  36461. <name>LVDACK</name>
  36462. <description>Low-Voltage Detect Acknowledge</description>
  36463. <bitOffset>6</bitOffset>
  36464. <bitWidth>1</bitWidth>
  36465. <access>write-only</access>
  36466. </field>
  36467. <field>
  36468. <name>LVDF</name>
  36469. <description>Low-Voltage Detect Flag</description>
  36470. <bitOffset>7</bitOffset>
  36471. <bitWidth>1</bitWidth>
  36472. <access>read-only</access>
  36473. <enumeratedValues>
  36474. <enumeratedValue>
  36475. <name>0</name>
  36476. <description>Low-voltage event not detected</description>
  36477. <value>#0</value>
  36478. </enumeratedValue>
  36479. <enumeratedValue>
  36480. <name>1</name>
  36481. <description>Low-voltage event detected</description>
  36482. <value>#1</value>
  36483. </enumeratedValue>
  36484. </enumeratedValues>
  36485. </field>
  36486. </fields>
  36487. </register>
  36488. <register>
  36489. <name>LVDSC2</name>
  36490. <description>Low Voltage Detect Status and Control 2 Register</description>
  36491. <addressOffset>0x1</addressOffset>
  36492. <size>8</size>
  36493. <access>read-write</access>
  36494. <resetValue>0</resetValue>
  36495. <resetMask>0xFF</resetMask>
  36496. <fields>
  36497. <field>
  36498. <name>LVWV</name>
  36499. <description>Low-Voltage Warning Voltage Select</description>
  36500. <bitOffset>0</bitOffset>
  36501. <bitWidth>2</bitWidth>
  36502. <access>read-write</access>
  36503. <enumeratedValues>
  36504. <enumeratedValue>
  36505. <name>00</name>
  36506. <description>Low trip point selected (V LVW = V LVW1 )</description>
  36507. <value>#00</value>
  36508. </enumeratedValue>
  36509. <enumeratedValue>
  36510. <name>01</name>
  36511. <description>Mid 1 trip point selected (V LVW = V LVW2 )</description>
  36512. <value>#01</value>
  36513. </enumeratedValue>
  36514. <enumeratedValue>
  36515. <name>10</name>
  36516. <description>Mid 2 trip point selected (V LVW = V LVW3 )</description>
  36517. <value>#10</value>
  36518. </enumeratedValue>
  36519. <enumeratedValue>
  36520. <name>11</name>
  36521. <description>High trip point selected (V LVW = V LVW4 )</description>
  36522. <value>#11</value>
  36523. </enumeratedValue>
  36524. </enumeratedValues>
  36525. </field>
  36526. <field>
  36527. <name>LVWIE</name>
  36528. <description>Low-Voltage Warning Interrupt Enable</description>
  36529. <bitOffset>5</bitOffset>
  36530. <bitWidth>1</bitWidth>
  36531. <access>read-write</access>
  36532. <enumeratedValues>
  36533. <enumeratedValue>
  36534. <name>0</name>
  36535. <description>Hardware interrupt disabled (use polling)</description>
  36536. <value>#0</value>
  36537. </enumeratedValue>
  36538. <enumeratedValue>
  36539. <name>1</name>
  36540. <description>Request a hardware interrupt when LVWF = 1.</description>
  36541. <value>#1</value>
  36542. </enumeratedValue>
  36543. </enumeratedValues>
  36544. </field>
  36545. <field>
  36546. <name>LVWACK</name>
  36547. <description>Low-Voltage Warning Acknowledge</description>
  36548. <bitOffset>6</bitOffset>
  36549. <bitWidth>1</bitWidth>
  36550. <access>write-only</access>
  36551. </field>
  36552. <field>
  36553. <name>LVWF</name>
  36554. <description>Low-Voltage Warning Flag</description>
  36555. <bitOffset>7</bitOffset>
  36556. <bitWidth>1</bitWidth>
  36557. <access>read-only</access>
  36558. <enumeratedValues>
  36559. <enumeratedValue>
  36560. <name>0</name>
  36561. <description>Low-voltage warning event not detected</description>
  36562. <value>#0</value>
  36563. </enumeratedValue>
  36564. <enumeratedValue>
  36565. <name>1</name>
  36566. <description>Low-voltage warning event detected</description>
  36567. <value>#1</value>
  36568. </enumeratedValue>
  36569. </enumeratedValues>
  36570. </field>
  36571. </fields>
  36572. </register>
  36573. <register>
  36574. <name>REGSC</name>
  36575. <description>Regulator Status and Control Register</description>
  36576. <addressOffset>0x2</addressOffset>
  36577. <size>8</size>
  36578. <access>read-write</access>
  36579. <resetValue>0x4</resetValue>
  36580. <resetMask>0xFF</resetMask>
  36581. <fields>
  36582. <field>
  36583. <name>BGBE</name>
  36584. <description>Bandgap Buffer Enable</description>
  36585. <bitOffset>0</bitOffset>
  36586. <bitWidth>1</bitWidth>
  36587. <access>read-write</access>
  36588. <enumeratedValues>
  36589. <enumeratedValue>
  36590. <name>0</name>
  36591. <description>Bandgap buffer not enabled</description>
  36592. <value>#0</value>
  36593. </enumeratedValue>
  36594. <enumeratedValue>
  36595. <name>1</name>
  36596. <description>Bandgap buffer enabled</description>
  36597. <value>#1</value>
  36598. </enumeratedValue>
  36599. </enumeratedValues>
  36600. </field>
  36601. <field>
  36602. <name>REGONS</name>
  36603. <description>Regulator in Run Regulation Status</description>
  36604. <bitOffset>2</bitOffset>
  36605. <bitWidth>1</bitWidth>
  36606. <access>read-only</access>
  36607. <enumeratedValues>
  36608. <enumeratedValue>
  36609. <name>0</name>
  36610. <description>Regulator is in stop regulation or in transition to/from it</description>
  36611. <value>#0</value>
  36612. </enumeratedValue>
  36613. <enumeratedValue>
  36614. <name>1</name>
  36615. <description>Regulator is in run regulation</description>
  36616. <value>#1</value>
  36617. </enumeratedValue>
  36618. </enumeratedValues>
  36619. </field>
  36620. <field>
  36621. <name>ACKISO</name>
  36622. <description>Acknowledge Isolation</description>
  36623. <bitOffset>3</bitOffset>
  36624. <bitWidth>1</bitWidth>
  36625. <access>read-write</access>
  36626. <enumeratedValues>
  36627. <enumeratedValue>
  36628. <name>0</name>
  36629. <description>Peripherals and I/O pads are in normal run state</description>
  36630. <value>#0</value>
  36631. </enumeratedValue>
  36632. <enumeratedValue>
  36633. <name>1</name>
  36634. <description>Certain peripherals and I/O pads are in an isolated and latched state</description>
  36635. <value>#1</value>
  36636. </enumeratedValue>
  36637. </enumeratedValues>
  36638. </field>
  36639. </fields>
  36640. </register>
  36641. </registers>
  36642. </peripheral>
  36643. <peripheral>
  36644. <name>SMC</name>
  36645. <description>System Mode Controller</description>
  36646. <prependToName>SMC_</prependToName>
  36647. <baseAddress>0x4007E000</baseAddress>
  36648. <addressBlock>
  36649. <offset>0</offset>
  36650. <size>0x4</size>
  36651. <usage>registers</usage>
  36652. </addressBlock>
  36653. <registers>
  36654. <register>
  36655. <name>PMPROT</name>
  36656. <description>Power Mode Protection Register</description>
  36657. <addressOffset>0</addressOffset>
  36658. <size>8</size>
  36659. <access>read-write</access>
  36660. <resetValue>0</resetValue>
  36661. <resetMask>0xFF</resetMask>
  36662. <fields>
  36663. <field>
  36664. <name>AVLLS</name>
  36665. <description>Allow very low leakage stop mode</description>
  36666. <bitOffset>1</bitOffset>
  36667. <bitWidth>1</bitWidth>
  36668. <access>read-write</access>
  36669. <enumeratedValues>
  36670. <enumeratedValue>
  36671. <name>0</name>
  36672. <description>Any VLLSx mode is not allowed</description>
  36673. <value>#0</value>
  36674. </enumeratedValue>
  36675. <enumeratedValue>
  36676. <name>1</name>
  36677. <description>Any VLLSx mode is allowed</description>
  36678. <value>#1</value>
  36679. </enumeratedValue>
  36680. </enumeratedValues>
  36681. </field>
  36682. <field>
  36683. <name>ALLS</name>
  36684. <description>Allow low leakage stop mode</description>
  36685. <bitOffset>3</bitOffset>
  36686. <bitWidth>1</bitWidth>
  36687. <access>read-write</access>
  36688. <enumeratedValues>
  36689. <enumeratedValue>
  36690. <name>0</name>
  36691. <description>LLS is not allowed</description>
  36692. <value>#0</value>
  36693. </enumeratedValue>
  36694. <enumeratedValue>
  36695. <name>1</name>
  36696. <description>LLS is allowed</description>
  36697. <value>#1</value>
  36698. </enumeratedValue>
  36699. </enumeratedValues>
  36700. </field>
  36701. <field>
  36702. <name>AVLP</name>
  36703. <description>Allow very low power modes</description>
  36704. <bitOffset>5</bitOffset>
  36705. <bitWidth>1</bitWidth>
  36706. <access>read-write</access>
  36707. <enumeratedValues>
  36708. <enumeratedValue>
  36709. <name>0</name>
  36710. <description>VLPR, VLPW and VLPS are not allowed</description>
  36711. <value>#0</value>
  36712. </enumeratedValue>
  36713. <enumeratedValue>
  36714. <name>1</name>
  36715. <description>VLPR, VLPW and VLPS are allowed</description>
  36716. <value>#1</value>
  36717. </enumeratedValue>
  36718. </enumeratedValues>
  36719. </field>
  36720. </fields>
  36721. </register>
  36722. <register>
  36723. <name>PMCTRL</name>
  36724. <description>Power Mode Control Register</description>
  36725. <addressOffset>0x1</addressOffset>
  36726. <size>8</size>
  36727. <access>read-write</access>
  36728. <resetValue>0</resetValue>
  36729. <resetMask>0xFF</resetMask>
  36730. <fields>
  36731. <field>
  36732. <name>STOPM</name>
  36733. <description>Stop Mode Control</description>
  36734. <bitOffset>0</bitOffset>
  36735. <bitWidth>3</bitWidth>
  36736. <access>read-write</access>
  36737. <enumeratedValues>
  36738. <enumeratedValue>
  36739. <name>000</name>
  36740. <description>Normal stop (STOP)</description>
  36741. <value>#000</value>
  36742. </enumeratedValue>
  36743. <enumeratedValue>
  36744. <name>010</name>
  36745. <description>Very low power stop (VLPS)</description>
  36746. <value>#010</value>
  36747. </enumeratedValue>
  36748. <enumeratedValue>
  36749. <name>011</name>
  36750. <description>Low leakage stop (LLS)</description>
  36751. <value>#011</value>
  36752. </enumeratedValue>
  36753. <enumeratedValue>
  36754. <name>100</name>
  36755. <description>Very low leakage stop (VLLSx)</description>
  36756. <value>#100</value>
  36757. </enumeratedValue>
  36758. <enumeratedValue>
  36759. <name>110</name>
  36760. <description>Reseved</description>
  36761. <value>#110</value>
  36762. </enumeratedValue>
  36763. </enumeratedValues>
  36764. </field>
  36765. <field>
  36766. <name>STOPA</name>
  36767. <description>Stop Aborted</description>
  36768. <bitOffset>3</bitOffset>
  36769. <bitWidth>1</bitWidth>
  36770. <access>read-only</access>
  36771. <enumeratedValues>
  36772. <enumeratedValue>
  36773. <name>0</name>
  36774. <description>The previous stop mode entry was successsful.</description>
  36775. <value>#0</value>
  36776. </enumeratedValue>
  36777. <enumeratedValue>
  36778. <name>1</name>
  36779. <description>The previous stop mode entry was aborted.</description>
  36780. <value>#1</value>
  36781. </enumeratedValue>
  36782. </enumeratedValues>
  36783. </field>
  36784. <field>
  36785. <name>RUNM</name>
  36786. <description>Run Mode Control</description>
  36787. <bitOffset>5</bitOffset>
  36788. <bitWidth>2</bitWidth>
  36789. <access>read-write</access>
  36790. <enumeratedValues>
  36791. <enumeratedValue>
  36792. <name>00</name>
  36793. <description>Normal run mode (RUN)</description>
  36794. <value>#00</value>
  36795. </enumeratedValue>
  36796. <enumeratedValue>
  36797. <name>10</name>
  36798. <description>Very low power run mode (VLPR)</description>
  36799. <value>#10</value>
  36800. </enumeratedValue>
  36801. </enumeratedValues>
  36802. </field>
  36803. <field>
  36804. <name>LPWUI</name>
  36805. <description>Low Power Wake Up on Interrupt</description>
  36806. <bitOffset>7</bitOffset>
  36807. <bitWidth>1</bitWidth>
  36808. <access>read-write</access>
  36809. <enumeratedValues>
  36810. <enumeratedValue>
  36811. <name>0</name>
  36812. <description>The system remains in a VLP mode on an interrupt</description>
  36813. <value>#0</value>
  36814. </enumeratedValue>
  36815. <enumeratedValue>
  36816. <name>1</name>
  36817. <description>The system exits to normal RUN mode on an interrupt</description>
  36818. <value>#1</value>
  36819. </enumeratedValue>
  36820. </enumeratedValues>
  36821. </field>
  36822. </fields>
  36823. </register>
  36824. <register>
  36825. <name>VLLSCTRL</name>
  36826. <description>VLLS Control Register</description>
  36827. <addressOffset>0x2</addressOffset>
  36828. <size>8</size>
  36829. <access>read-write</access>
  36830. <resetValue>0x3</resetValue>
  36831. <resetMask>0xFF</resetMask>
  36832. <fields>
  36833. <field>
  36834. <name>VLLSM</name>
  36835. <description>VLLS Mode Control.</description>
  36836. <bitOffset>0</bitOffset>
  36837. <bitWidth>3</bitWidth>
  36838. <access>read-write</access>
  36839. <enumeratedValues>
  36840. <enumeratedValue>
  36841. <name>000</name>
  36842. <description>VLLS0</description>
  36843. <value>#000</value>
  36844. </enumeratedValue>
  36845. <enumeratedValue>
  36846. <name>001</name>
  36847. <description>VLLS1</description>
  36848. <value>#001</value>
  36849. </enumeratedValue>
  36850. <enumeratedValue>
  36851. <name>010</name>
  36852. <description>VLLS2</description>
  36853. <value>#010</value>
  36854. </enumeratedValue>
  36855. <enumeratedValue>
  36856. <name>011</name>
  36857. <description>VLLS3</description>
  36858. <value>#011</value>
  36859. </enumeratedValue>
  36860. </enumeratedValues>
  36861. </field>
  36862. <field>
  36863. <name>PORPO</name>
  36864. <description>POR Power Option</description>
  36865. <bitOffset>5</bitOffset>
  36866. <bitWidth>1</bitWidth>
  36867. <access>read-write</access>
  36868. <enumeratedValues>
  36869. <enumeratedValue>
  36870. <name>0</name>
  36871. <description>POR detect circuit is enabled in VLLS0</description>
  36872. <value>#0</value>
  36873. </enumeratedValue>
  36874. <enumeratedValue>
  36875. <name>1</name>
  36876. <description>POR detect circuit is disabled in VLLS0</description>
  36877. <value>#1</value>
  36878. </enumeratedValue>
  36879. </enumeratedValues>
  36880. </field>
  36881. </fields>
  36882. </register>
  36883. <register>
  36884. <name>PMSTAT</name>
  36885. <description>Power Mode Status Register</description>
  36886. <addressOffset>0x3</addressOffset>
  36887. <size>8</size>
  36888. <access>read-only</access>
  36889. <resetValue>0x1</resetValue>
  36890. <resetMask>0xFF</resetMask>
  36891. <fields>
  36892. <field>
  36893. <name>PMSTAT</name>
  36894. <description>When debug is enabled, the PMSTAT will not update to STOP or VLPS</description>
  36895. <bitOffset>0</bitOffset>
  36896. <bitWidth>7</bitWidth>
  36897. <access>read-only</access>
  36898. </field>
  36899. </fields>
  36900. </register>
  36901. </registers>
  36902. </peripheral>
  36903. <peripheral>
  36904. <name>RCM</name>
  36905. <description>Reset Control Module</description>
  36906. <prependToName>RCM_</prependToName>
  36907. <baseAddress>0x4007F000</baseAddress>
  36908. <addressBlock>
  36909. <offset>0</offset>
  36910. <size>0x8</size>
  36911. <usage>registers</usage>
  36912. </addressBlock>
  36913. <registers>
  36914. <register>
  36915. <name>SRS0</name>
  36916. <description>System Reset Status Register 0</description>
  36917. <addressOffset>0</addressOffset>
  36918. <size>8</size>
  36919. <access>read-only</access>
  36920. <resetValue>0x82</resetValue>
  36921. <resetMask>0xFF</resetMask>
  36922. <fields>
  36923. <field>
  36924. <name>WAKEUP</name>
  36925. <description>Low leakage wakeup reset</description>
  36926. <bitOffset>0</bitOffset>
  36927. <bitWidth>1</bitWidth>
  36928. <access>read-only</access>
  36929. <enumeratedValues>
  36930. <enumeratedValue>
  36931. <name>0</name>
  36932. <description>Reset not caused by LLWU module wakeup source</description>
  36933. <value>#0</value>
  36934. </enumeratedValue>
  36935. <enumeratedValue>
  36936. <name>1</name>
  36937. <description>Reset caused by LLWU module wakeup source</description>
  36938. <value>#1</value>
  36939. </enumeratedValue>
  36940. </enumeratedValues>
  36941. </field>
  36942. <field>
  36943. <name>LVD</name>
  36944. <description>Low-voltage detect reset</description>
  36945. <bitOffset>1</bitOffset>
  36946. <bitWidth>1</bitWidth>
  36947. <access>read-only</access>
  36948. <enumeratedValues>
  36949. <enumeratedValue>
  36950. <name>0</name>
  36951. <description>Reset not caused by LVD trip or POR</description>
  36952. <value>#0</value>
  36953. </enumeratedValue>
  36954. <enumeratedValue>
  36955. <name>1</name>
  36956. <description>Reset caused by LVD trip or POR</description>
  36957. <value>#1</value>
  36958. </enumeratedValue>
  36959. </enumeratedValues>
  36960. </field>
  36961. <field>
  36962. <name>LOC</name>
  36963. <description>Loss-of-clock reset</description>
  36964. <bitOffset>2</bitOffset>
  36965. <bitWidth>1</bitWidth>
  36966. <access>read-only</access>
  36967. <enumeratedValues>
  36968. <enumeratedValue>
  36969. <name>0</name>
  36970. <description>Reset not caused by a loss of external clock.</description>
  36971. <value>#0</value>
  36972. </enumeratedValue>
  36973. <enumeratedValue>
  36974. <name>1</name>
  36975. <description>Reset caused by a loss of external clock.</description>
  36976. <value>#1</value>
  36977. </enumeratedValue>
  36978. </enumeratedValues>
  36979. </field>
  36980. <field>
  36981. <name>LOL</name>
  36982. <description>Loss-of-lock reset</description>
  36983. <bitOffset>3</bitOffset>
  36984. <bitWidth>1</bitWidth>
  36985. <access>read-only</access>
  36986. <enumeratedValues>
  36987. <enumeratedValue>
  36988. <name>0</name>
  36989. <description>Reset not caused by a loss of lock in the PLL</description>
  36990. <value>#0</value>
  36991. </enumeratedValue>
  36992. <enumeratedValue>
  36993. <name>1</name>
  36994. <description>Reset caused by a loss of lock in the PLL</description>
  36995. <value>#1</value>
  36996. </enumeratedValue>
  36997. </enumeratedValues>
  36998. </field>
  36999. <field>
  37000. <name>WDOG</name>
  37001. <description>Watchdog</description>
  37002. <bitOffset>5</bitOffset>
  37003. <bitWidth>1</bitWidth>
  37004. <access>read-only</access>
  37005. <enumeratedValues>
  37006. <enumeratedValue>
  37007. <name>0</name>
  37008. <description>Reset not caused by watchdog timeout</description>
  37009. <value>#0</value>
  37010. </enumeratedValue>
  37011. <enumeratedValue>
  37012. <name>1</name>
  37013. <description>Reset caused by watchdog timeout</description>
  37014. <value>#1</value>
  37015. </enumeratedValue>
  37016. </enumeratedValues>
  37017. </field>
  37018. <field>
  37019. <name>PIN</name>
  37020. <description>External reset pin</description>
  37021. <bitOffset>6</bitOffset>
  37022. <bitWidth>1</bitWidth>
  37023. <access>read-only</access>
  37024. <enumeratedValues>
  37025. <enumeratedValue>
  37026. <name>0</name>
  37027. <description>Reset not caused by external reset pin</description>
  37028. <value>#0</value>
  37029. </enumeratedValue>
  37030. <enumeratedValue>
  37031. <name>1</name>
  37032. <description>Reset caused by external reset pin</description>
  37033. <value>#1</value>
  37034. </enumeratedValue>
  37035. </enumeratedValues>
  37036. </field>
  37037. <field>
  37038. <name>POR</name>
  37039. <description>Power-on reset</description>
  37040. <bitOffset>7</bitOffset>
  37041. <bitWidth>1</bitWidth>
  37042. <access>read-only</access>
  37043. <enumeratedValues>
  37044. <enumeratedValue>
  37045. <name>0</name>
  37046. <description>Reset not caused by POR</description>
  37047. <value>#0</value>
  37048. </enumeratedValue>
  37049. <enumeratedValue>
  37050. <name>1</name>
  37051. <description>Reset caused by POR</description>
  37052. <value>#1</value>
  37053. </enumeratedValue>
  37054. </enumeratedValues>
  37055. </field>
  37056. </fields>
  37057. </register>
  37058. <register>
  37059. <name>SRS1</name>
  37060. <description>System Reset Status Register 1</description>
  37061. <addressOffset>0x1</addressOffset>
  37062. <size>8</size>
  37063. <access>read-only</access>
  37064. <resetValue>0</resetValue>
  37065. <resetMask>0xFF</resetMask>
  37066. <fields>
  37067. <field>
  37068. <name>JTAG</name>
  37069. <description>JTAG generated reset</description>
  37070. <bitOffset>0</bitOffset>
  37071. <bitWidth>1</bitWidth>
  37072. <access>read-only</access>
  37073. <enumeratedValues>
  37074. <enumeratedValue>
  37075. <name>0</name>
  37076. <description>Reset not caused by JTAG</description>
  37077. <value>#0</value>
  37078. </enumeratedValue>
  37079. <enumeratedValue>
  37080. <name>1</name>
  37081. <description>Reset caused by JTAG</description>
  37082. <value>#1</value>
  37083. </enumeratedValue>
  37084. </enumeratedValues>
  37085. </field>
  37086. <field>
  37087. <name>LOCKUP</name>
  37088. <description>Core Lockup</description>
  37089. <bitOffset>1</bitOffset>
  37090. <bitWidth>1</bitWidth>
  37091. <access>read-only</access>
  37092. <enumeratedValues>
  37093. <enumeratedValue>
  37094. <name>0</name>
  37095. <description>Reset not caused by core LOCKUP event</description>
  37096. <value>#0</value>
  37097. </enumeratedValue>
  37098. <enumeratedValue>
  37099. <name>1</name>
  37100. <description>Reset caused by core LOCKUP event</description>
  37101. <value>#1</value>
  37102. </enumeratedValue>
  37103. </enumeratedValues>
  37104. </field>
  37105. <field>
  37106. <name>SW</name>
  37107. <description>Software</description>
  37108. <bitOffset>2</bitOffset>
  37109. <bitWidth>1</bitWidth>
  37110. <access>read-only</access>
  37111. <enumeratedValues>
  37112. <enumeratedValue>
  37113. <name>0</name>
  37114. <description>Reset not caused by software setting of SYSRESETREQ bit</description>
  37115. <value>#0</value>
  37116. </enumeratedValue>
  37117. <enumeratedValue>
  37118. <name>1</name>
  37119. <description>Reset caused by software setting of SYSRESETREQ bit</description>
  37120. <value>#1</value>
  37121. </enumeratedValue>
  37122. </enumeratedValues>
  37123. </field>
  37124. <field>
  37125. <name>MDM_AP</name>
  37126. <description>MDM-AP system reset request</description>
  37127. <bitOffset>3</bitOffset>
  37128. <bitWidth>1</bitWidth>
  37129. <access>read-only</access>
  37130. <enumeratedValues>
  37131. <enumeratedValue>
  37132. <name>0</name>
  37133. <description>Reset not caused by host debugger system setting of the System Reset Request bit</description>
  37134. <value>#0</value>
  37135. </enumeratedValue>
  37136. <enumeratedValue>
  37137. <name>1</name>
  37138. <description>Reset caused by host debugger system setting of the System Reset Request bit</description>
  37139. <value>#1</value>
  37140. </enumeratedValue>
  37141. </enumeratedValues>
  37142. </field>
  37143. <field>
  37144. <name>EZPT</name>
  37145. <description>EzPort Reset</description>
  37146. <bitOffset>4</bitOffset>
  37147. <bitWidth>1</bitWidth>
  37148. <access>read-only</access>
  37149. <enumeratedValues>
  37150. <enumeratedValue>
  37151. <name>0</name>
  37152. <description>Reset not caused by EzPort receiving the RESET command while the device is in EzPort mode</description>
  37153. <value>#0</value>
  37154. </enumeratedValue>
  37155. <enumeratedValue>
  37156. <name>1</name>
  37157. <description>Reset caused by EzPort receiving the RESET command while the device is in EzPort mode</description>
  37158. <value>#1</value>
  37159. </enumeratedValue>
  37160. </enumeratedValues>
  37161. </field>
  37162. <field>
  37163. <name>SACKERR</name>
  37164. <description>Stop Mode Acknowledge Error Reset</description>
  37165. <bitOffset>5</bitOffset>
  37166. <bitWidth>1</bitWidth>
  37167. <access>read-only</access>
  37168. <enumeratedValues>
  37169. <enumeratedValue>
  37170. <name>0</name>
  37171. <description>Reset not caused by peripheral failure to acknowledge attempt to enter stop mode</description>
  37172. <value>#0</value>
  37173. </enumeratedValue>
  37174. <enumeratedValue>
  37175. <name>1</name>
  37176. <description>Reset caused by peripheral failure to acknowledge attempt to enter stop mode</description>
  37177. <value>#1</value>
  37178. </enumeratedValue>
  37179. </enumeratedValues>
  37180. </field>
  37181. </fields>
  37182. </register>
  37183. <register>
  37184. <name>RPFC</name>
  37185. <description>Reset Pin Filter Control Register</description>
  37186. <addressOffset>0x4</addressOffset>
  37187. <size>8</size>
  37188. <access>read-write</access>
  37189. <resetValue>0</resetValue>
  37190. <resetMask>0xFF</resetMask>
  37191. <fields>
  37192. <field>
  37193. <name>RSTFLTSRW</name>
  37194. <description>Reset pin filter select in run and wait modes</description>
  37195. <bitOffset>0</bitOffset>
  37196. <bitWidth>2</bitWidth>
  37197. <access>read-write</access>
  37198. <enumeratedValues>
  37199. <enumeratedValue>
  37200. <name>00</name>
  37201. <description>All filtering disabled</description>
  37202. <value>#00</value>
  37203. </enumeratedValue>
  37204. <enumeratedValue>
  37205. <name>01</name>
  37206. <description>Bus clock filter enabled for normal operation</description>
  37207. <value>#01</value>
  37208. </enumeratedValue>
  37209. <enumeratedValue>
  37210. <name>10</name>
  37211. <description>LPO clock filter enabled for normal operation</description>
  37212. <value>#10</value>
  37213. </enumeratedValue>
  37214. <enumeratedValue>
  37215. <name>11</name>
  37216. <description>Reserved (all filtering disabled)</description>
  37217. <value>#11</value>
  37218. </enumeratedValue>
  37219. </enumeratedValues>
  37220. </field>
  37221. <field>
  37222. <name>RSTFLTSS</name>
  37223. <description>Reset pin filter select in stop mode</description>
  37224. <bitOffset>2</bitOffset>
  37225. <bitWidth>1</bitWidth>
  37226. <access>read-write</access>
  37227. <enumeratedValues>
  37228. <enumeratedValue>
  37229. <name>0</name>
  37230. <description>All filtering disabled</description>
  37231. <value>#0</value>
  37232. </enumeratedValue>
  37233. <enumeratedValue>
  37234. <name>1</name>
  37235. <description>LPO clock filter enabled</description>
  37236. <value>#1</value>
  37237. </enumeratedValue>
  37238. </enumeratedValues>
  37239. </field>
  37240. </fields>
  37241. </register>
  37242. <register>
  37243. <name>RPFW</name>
  37244. <description>Reset Pin Filter Width Register</description>
  37245. <addressOffset>0x5</addressOffset>
  37246. <size>8</size>
  37247. <access>read-write</access>
  37248. <resetValue>0</resetValue>
  37249. <resetMask>0xFF</resetMask>
  37250. <fields>
  37251. <field>
  37252. <name>RSTFLTSEL</name>
  37253. <description>Reset pin filter bus clock select</description>
  37254. <bitOffset>0</bitOffset>
  37255. <bitWidth>5</bitWidth>
  37256. <access>read-write</access>
  37257. <enumeratedValues>
  37258. <enumeratedValue>
  37259. <name>00000</name>
  37260. <description>Bus clock filter count is 1</description>
  37261. <value>#00000</value>
  37262. </enumeratedValue>
  37263. <enumeratedValue>
  37264. <name>00001</name>
  37265. <description>Bus clock filter count is 2</description>
  37266. <value>#00001</value>
  37267. </enumeratedValue>
  37268. <enumeratedValue>
  37269. <name>00010</name>
  37270. <description>Bus clock filter count is 3</description>
  37271. <value>#00010</value>
  37272. </enumeratedValue>
  37273. <enumeratedValue>
  37274. <name>00011</name>
  37275. <description>Bus clock filter count is 4</description>
  37276. <value>#00011</value>
  37277. </enumeratedValue>
  37278. <enumeratedValue>
  37279. <name>00100</name>
  37280. <description>Bus clock filter count is 5</description>
  37281. <value>#00100</value>
  37282. </enumeratedValue>
  37283. <enumeratedValue>
  37284. <name>00101</name>
  37285. <description>Bus clock filter count is 6</description>
  37286. <value>#00101</value>
  37287. </enumeratedValue>
  37288. <enumeratedValue>
  37289. <name>00110</name>
  37290. <description>Bus clock filter count is 7</description>
  37291. <value>#00110</value>
  37292. </enumeratedValue>
  37293. <enumeratedValue>
  37294. <name>00111</name>
  37295. <description>Bus clock filter count is 8</description>
  37296. <value>#00111</value>
  37297. </enumeratedValue>
  37298. <enumeratedValue>
  37299. <name>01000</name>
  37300. <description>Bus clock filter count is 9</description>
  37301. <value>#01000</value>
  37302. </enumeratedValue>
  37303. <enumeratedValue>
  37304. <name>01001</name>
  37305. <description>Bus clock filter count is 10</description>
  37306. <value>#01001</value>
  37307. </enumeratedValue>
  37308. <enumeratedValue>
  37309. <name>01010</name>
  37310. <description>Bus clock filter count is 11</description>
  37311. <value>#01010</value>
  37312. </enumeratedValue>
  37313. <enumeratedValue>
  37314. <name>01011</name>
  37315. <description>Bus clock filter count is 12</description>
  37316. <value>#01011</value>
  37317. </enumeratedValue>
  37318. <enumeratedValue>
  37319. <name>01100</name>
  37320. <description>Bus clock filter count is 13</description>
  37321. <value>#01100</value>
  37322. </enumeratedValue>
  37323. <enumeratedValue>
  37324. <name>01101</name>
  37325. <description>Bus clock filter count is 14</description>
  37326. <value>#01101</value>
  37327. </enumeratedValue>
  37328. <enumeratedValue>
  37329. <name>01110</name>
  37330. <description>Bus clock filter count is 15</description>
  37331. <value>#01110</value>
  37332. </enumeratedValue>
  37333. <enumeratedValue>
  37334. <name>01111</name>
  37335. <description>Bus clock filter count is 16</description>
  37336. <value>#01111</value>
  37337. </enumeratedValue>
  37338. <enumeratedValue>
  37339. <name>10000</name>
  37340. <description>Bus clock filter count is 17</description>
  37341. <value>#10000</value>
  37342. </enumeratedValue>
  37343. <enumeratedValue>
  37344. <name>10001</name>
  37345. <description>Bus clock filter count is 18</description>
  37346. <value>#10001</value>
  37347. </enumeratedValue>
  37348. <enumeratedValue>
  37349. <name>10010</name>
  37350. <description>Bus clock filter count is 19</description>
  37351. <value>#10010</value>
  37352. </enumeratedValue>
  37353. <enumeratedValue>
  37354. <name>10011</name>
  37355. <description>Bus clock filter count is 20</description>
  37356. <value>#10011</value>
  37357. </enumeratedValue>
  37358. <enumeratedValue>
  37359. <name>10100</name>
  37360. <description>Bus clock filter count is 21</description>
  37361. <value>#10100</value>
  37362. </enumeratedValue>
  37363. <enumeratedValue>
  37364. <name>10101</name>
  37365. <description>Bus clock filter count is 22</description>
  37366. <value>#10101</value>
  37367. </enumeratedValue>
  37368. <enumeratedValue>
  37369. <name>10110</name>
  37370. <description>Bus clock filter count is 23</description>
  37371. <value>#10110</value>
  37372. </enumeratedValue>
  37373. <enumeratedValue>
  37374. <name>10111</name>
  37375. <description>Bus clock filter count is 24</description>
  37376. <value>#10111</value>
  37377. </enumeratedValue>
  37378. <enumeratedValue>
  37379. <name>11000</name>
  37380. <description>Bus clock filter count is 25</description>
  37381. <value>#11000</value>
  37382. </enumeratedValue>
  37383. <enumeratedValue>
  37384. <name>11001</name>
  37385. <description>Bus clock filter count is 26</description>
  37386. <value>#11001</value>
  37387. </enumeratedValue>
  37388. <enumeratedValue>
  37389. <name>11010</name>
  37390. <description>Bus clock filter count is 27</description>
  37391. <value>#11010</value>
  37392. </enumeratedValue>
  37393. <enumeratedValue>
  37394. <name>11011</name>
  37395. <description>Bus clock filter count is 28</description>
  37396. <value>#11011</value>
  37397. </enumeratedValue>
  37398. <enumeratedValue>
  37399. <name>11100</name>
  37400. <description>Bus clock filter count is 29</description>
  37401. <value>#11100</value>
  37402. </enumeratedValue>
  37403. <enumeratedValue>
  37404. <name>11101</name>
  37405. <description>Bus clock filter count is 30</description>
  37406. <value>#11101</value>
  37407. </enumeratedValue>
  37408. <enumeratedValue>
  37409. <name>11110</name>
  37410. <description>Bus clock filter count is 31</description>
  37411. <value>#11110</value>
  37412. </enumeratedValue>
  37413. <enumeratedValue>
  37414. <name>11111</name>
  37415. <description>Bus clock filter count is 32</description>
  37416. <value>#11111</value>
  37417. </enumeratedValue>
  37418. </enumeratedValues>
  37419. </field>
  37420. </fields>
  37421. </register>
  37422. <register>
  37423. <name>MR</name>
  37424. <description>Mode Register</description>
  37425. <addressOffset>0x7</addressOffset>
  37426. <size>8</size>
  37427. <access>read-only</access>
  37428. <resetValue>0</resetValue>
  37429. <resetMask>0xFF</resetMask>
  37430. <fields>
  37431. <field>
  37432. <name>EZP_MS</name>
  37433. <description>EZP_MS_B pin state</description>
  37434. <bitOffset>1</bitOffset>
  37435. <bitWidth>1</bitWidth>
  37436. <access>read-only</access>
  37437. <enumeratedValues>
  37438. <enumeratedValue>
  37439. <name>0</name>
  37440. <description>Pin negated (logic 1)</description>
  37441. <value>#0</value>
  37442. </enumeratedValue>
  37443. <enumeratedValue>
  37444. <name>1</name>
  37445. <description>Pin asserted (logic 0)</description>
  37446. <value>#1</value>
  37447. </enumeratedValue>
  37448. </enumeratedValues>
  37449. </field>
  37450. </fields>
  37451. </register>
  37452. </registers>
  37453. </peripheral>
  37454. <peripheral>
  37455. <name>PTA</name>
  37456. <description>General Purpose Input/Output</description>
  37457. <groupName>GPIO</groupName>
  37458. <prependToName>GPIOA_</prependToName>
  37459. <baseAddress>0x400FF000</baseAddress>
  37460. <addressBlock>
  37461. <offset>0</offset>
  37462. <size>0x18</size>
  37463. <usage>registers</usage>
  37464. </addressBlock>
  37465. <interrupt>
  37466. <name>PORTA</name>
  37467. <value>40</value>
  37468. </interrupt>
  37469. <registers>
  37470. <register>
  37471. <name>PDOR</name>
  37472. <description>Port Data Output Register</description>
  37473. <addressOffset>0</addressOffset>
  37474. <size>32</size>
  37475. <access>read-write</access>
  37476. <resetValue>0</resetValue>
  37477. <resetMask>0xFFFFFFFF</resetMask>
  37478. <fields>
  37479. <field>
  37480. <name>PDO</name>
  37481. <description>Port Data Output</description>
  37482. <bitOffset>0</bitOffset>
  37483. <bitWidth>32</bitWidth>
  37484. <access>read-write</access>
  37485. <enumeratedValues>
  37486. <enumeratedValue>
  37487. <name>0</name>
  37488. <description>Logic level 0 is driven on pin provided pin is configured for General Purpose Output.</description>
  37489. <value>#0</value>
  37490. </enumeratedValue>
  37491. <enumeratedValue>
  37492. <name>1</name>
  37493. <description>Logic level 1 is driven on pin provided pin is configured for General Purpose Output.</description>
  37494. <value>#1</value>
  37495. </enumeratedValue>
  37496. </enumeratedValues>
  37497. </field>
  37498. </fields>
  37499. </register>
  37500. <register>
  37501. <name>PSOR</name>
  37502. <description>Port Set Output Register</description>
  37503. <addressOffset>0x4</addressOffset>
  37504. <size>32</size>
  37505. <access>write-only</access>
  37506. <resetValue>0</resetValue>
  37507. <resetMask>0xFFFFFFFF</resetMask>
  37508. <fields>
  37509. <field>
  37510. <name>PTSO</name>
  37511. <description>Port Set Output</description>
  37512. <bitOffset>0</bitOffset>
  37513. <bitWidth>32</bitWidth>
  37514. <access>write-only</access>
  37515. <enumeratedValues>
  37516. <enumeratedValue>
  37517. <name>0</name>
  37518. <description>Corresponding bit in PDORn does not change.</description>
  37519. <value>#0</value>
  37520. </enumeratedValue>
  37521. <enumeratedValue>
  37522. <name>1</name>
  37523. <description>Corresponding bit in PDORn is set to logic one.</description>
  37524. <value>#1</value>
  37525. </enumeratedValue>
  37526. </enumeratedValues>
  37527. </field>
  37528. </fields>
  37529. </register>
  37530. <register>
  37531. <name>PCOR</name>
  37532. <description>Port Clear Output Register</description>
  37533. <addressOffset>0x8</addressOffset>
  37534. <size>32</size>
  37535. <access>write-only</access>
  37536. <resetValue>0</resetValue>
  37537. <resetMask>0xFFFFFFFF</resetMask>
  37538. <fields>
  37539. <field>
  37540. <name>PTCO</name>
  37541. <description>Port Clear Output</description>
  37542. <bitOffset>0</bitOffset>
  37543. <bitWidth>32</bitWidth>
  37544. <access>write-only</access>
  37545. <enumeratedValues>
  37546. <enumeratedValue>
  37547. <name>0</name>
  37548. <description>Corresponding bit in PDORn does not change.</description>
  37549. <value>#0</value>
  37550. </enumeratedValue>
  37551. <enumeratedValue>
  37552. <name>1</name>
  37553. <description>Corresponding bit in PDORn is set to logic zero.</description>
  37554. <value>#1</value>
  37555. </enumeratedValue>
  37556. </enumeratedValues>
  37557. </field>
  37558. </fields>
  37559. </register>
  37560. <register>
  37561. <name>PTOR</name>
  37562. <description>Port Toggle Output Register</description>
  37563. <addressOffset>0xC</addressOffset>
  37564. <size>32</size>
  37565. <access>write-only</access>
  37566. <resetValue>0</resetValue>
  37567. <resetMask>0xFFFFFFFF</resetMask>
  37568. <fields>
  37569. <field>
  37570. <name>PTTO</name>
  37571. <description>Port Toggle Output</description>
  37572. <bitOffset>0</bitOffset>
  37573. <bitWidth>32</bitWidth>
  37574. <access>write-only</access>
  37575. <enumeratedValues>
  37576. <enumeratedValue>
  37577. <name>0</name>
  37578. <description>Corresponding bit in PDORn does not change.</description>
  37579. <value>#0</value>
  37580. </enumeratedValue>
  37581. <enumeratedValue>
  37582. <name>1</name>
  37583. <description>Corresponding bit in PDORn is set to the inverse of its existing logic state.</description>
  37584. <value>#1</value>
  37585. </enumeratedValue>
  37586. </enumeratedValues>
  37587. </field>
  37588. </fields>
  37589. </register>
  37590. <register>
  37591. <name>PDIR</name>
  37592. <description>Port Data Input Register</description>
  37593. <addressOffset>0x10</addressOffset>
  37594. <size>32</size>
  37595. <access>read-only</access>
  37596. <resetValue>0</resetValue>
  37597. <resetMask>0xFFFFFFFF</resetMask>
  37598. <fields>
  37599. <field>
  37600. <name>PDI</name>
  37601. <description>Port Data Input</description>
  37602. <bitOffset>0</bitOffset>
  37603. <bitWidth>32</bitWidth>
  37604. <access>read-only</access>
  37605. <enumeratedValues>
  37606. <enumeratedValue>
  37607. <name>0</name>
  37608. <description>Pin logic level is logic zero or is configured for use by digital function.</description>
  37609. <value>#0</value>
  37610. </enumeratedValue>
  37611. <enumeratedValue>
  37612. <name>1</name>
  37613. <description>Pin logic level is logic one.</description>
  37614. <value>#1</value>
  37615. </enumeratedValue>
  37616. </enumeratedValues>
  37617. </field>
  37618. </fields>
  37619. </register>
  37620. <register>
  37621. <name>PDDR</name>
  37622. <description>Port Data Direction Register</description>
  37623. <addressOffset>0x14</addressOffset>
  37624. <size>32</size>
  37625. <access>read-write</access>
  37626. <resetValue>0</resetValue>
  37627. <resetMask>0xFFFFFFFF</resetMask>
  37628. <fields>
  37629. <field>
  37630. <name>PDD</name>
  37631. <description>Port data direction</description>
  37632. <bitOffset>0</bitOffset>
  37633. <bitWidth>32</bitWidth>
  37634. <access>read-write</access>
  37635. <enumeratedValues>
  37636. <enumeratedValue>
  37637. <name>0</name>
  37638. <description>Pin is configured as general purpose input, if configured for the GPIO function</description>
  37639. <value>#0</value>
  37640. </enumeratedValue>
  37641. <enumeratedValue>
  37642. <name>1</name>
  37643. <description>Pin is configured for general purpose output, if configured for the GPIO function</description>
  37644. <value>#1</value>
  37645. </enumeratedValue>
  37646. </enumeratedValues>
  37647. </field>
  37648. </fields>
  37649. </register>
  37650. </registers>
  37651. </peripheral>
  37652. <peripheral>
  37653. <name>PTB</name>
  37654. <description>General Purpose Input/Output</description>
  37655. <groupName>GPIO</groupName>
  37656. <prependToName>GPIOB_</prependToName>
  37657. <baseAddress>0x400FF040</baseAddress>
  37658. <addressBlock>
  37659. <offset>0</offset>
  37660. <size>0x18</size>
  37661. <usage>registers</usage>
  37662. </addressBlock>
  37663. <interrupt>
  37664. <name>PORTB</name>
  37665. <value>41</value>
  37666. </interrupt>
  37667. <registers>
  37668. <register>
  37669. <name>PDOR</name>
  37670. <description>Port Data Output Register</description>
  37671. <addressOffset>0</addressOffset>
  37672. <size>32</size>
  37673. <access>read-write</access>
  37674. <resetValue>0</resetValue>
  37675. <resetMask>0xFFFFFFFF</resetMask>
  37676. <fields>
  37677. <field>
  37678. <name>PDO</name>
  37679. <description>Port Data Output</description>
  37680. <bitOffset>0</bitOffset>
  37681. <bitWidth>32</bitWidth>
  37682. <access>read-write</access>
  37683. <enumeratedValues>
  37684. <enumeratedValue>
  37685. <name>0</name>
  37686. <description>Logic level 0 is driven on pin provided pin is configured for General Purpose Output.</description>
  37687. <value>#0</value>
  37688. </enumeratedValue>
  37689. <enumeratedValue>
  37690. <name>1</name>
  37691. <description>Logic level 1 is driven on pin provided pin is configured for General Purpose Output.</description>
  37692. <value>#1</value>
  37693. </enumeratedValue>
  37694. </enumeratedValues>
  37695. </field>
  37696. </fields>
  37697. </register>
  37698. <register>
  37699. <name>PSOR</name>
  37700. <description>Port Set Output Register</description>
  37701. <addressOffset>0x4</addressOffset>
  37702. <size>32</size>
  37703. <access>write-only</access>
  37704. <resetValue>0</resetValue>
  37705. <resetMask>0xFFFFFFFF</resetMask>
  37706. <fields>
  37707. <field>
  37708. <name>PTSO</name>
  37709. <description>Port Set Output</description>
  37710. <bitOffset>0</bitOffset>
  37711. <bitWidth>32</bitWidth>
  37712. <access>write-only</access>
  37713. <enumeratedValues>
  37714. <enumeratedValue>
  37715. <name>0</name>
  37716. <description>Corresponding bit in PDORn does not change.</description>
  37717. <value>#0</value>
  37718. </enumeratedValue>
  37719. <enumeratedValue>
  37720. <name>1</name>
  37721. <description>Corresponding bit in PDORn is set to logic one.</description>
  37722. <value>#1</value>
  37723. </enumeratedValue>
  37724. </enumeratedValues>
  37725. </field>
  37726. </fields>
  37727. </register>
  37728. <register>
  37729. <name>PCOR</name>
  37730. <description>Port Clear Output Register</description>
  37731. <addressOffset>0x8</addressOffset>
  37732. <size>32</size>
  37733. <access>write-only</access>
  37734. <resetValue>0</resetValue>
  37735. <resetMask>0xFFFFFFFF</resetMask>
  37736. <fields>
  37737. <field>
  37738. <name>PTCO</name>
  37739. <description>Port Clear Output</description>
  37740. <bitOffset>0</bitOffset>
  37741. <bitWidth>32</bitWidth>
  37742. <access>write-only</access>
  37743. <enumeratedValues>
  37744. <enumeratedValue>
  37745. <name>0</name>
  37746. <description>Corresponding bit in PDORn does not change.</description>
  37747. <value>#0</value>
  37748. </enumeratedValue>
  37749. <enumeratedValue>
  37750. <name>1</name>
  37751. <description>Corresponding bit in PDORn is set to logic zero.</description>
  37752. <value>#1</value>
  37753. </enumeratedValue>
  37754. </enumeratedValues>
  37755. </field>
  37756. </fields>
  37757. </register>
  37758. <register>
  37759. <name>PTOR</name>
  37760. <description>Port Toggle Output Register</description>
  37761. <addressOffset>0xC</addressOffset>
  37762. <size>32</size>
  37763. <access>write-only</access>
  37764. <resetValue>0</resetValue>
  37765. <resetMask>0xFFFFFFFF</resetMask>
  37766. <fields>
  37767. <field>
  37768. <name>PTTO</name>
  37769. <description>Port Toggle Output</description>
  37770. <bitOffset>0</bitOffset>
  37771. <bitWidth>32</bitWidth>
  37772. <access>write-only</access>
  37773. <enumeratedValues>
  37774. <enumeratedValue>
  37775. <name>0</name>
  37776. <description>Corresponding bit in PDORn does not change.</description>
  37777. <value>#0</value>
  37778. </enumeratedValue>
  37779. <enumeratedValue>
  37780. <name>1</name>
  37781. <description>Corresponding bit in PDORn is set to the inverse of its existing logic state.</description>
  37782. <value>#1</value>
  37783. </enumeratedValue>
  37784. </enumeratedValues>
  37785. </field>
  37786. </fields>
  37787. </register>
  37788. <register>
  37789. <name>PDIR</name>
  37790. <description>Port Data Input Register</description>
  37791. <addressOffset>0x10</addressOffset>
  37792. <size>32</size>
  37793. <access>read-only</access>
  37794. <resetValue>0</resetValue>
  37795. <resetMask>0xFFFFFFFF</resetMask>
  37796. <fields>
  37797. <field>
  37798. <name>PDI</name>
  37799. <description>Port Data Input</description>
  37800. <bitOffset>0</bitOffset>
  37801. <bitWidth>32</bitWidth>
  37802. <access>read-only</access>
  37803. <enumeratedValues>
  37804. <enumeratedValue>
  37805. <name>0</name>
  37806. <description>Pin logic level is logic zero or is configured for use by digital function.</description>
  37807. <value>#0</value>
  37808. </enumeratedValue>
  37809. <enumeratedValue>
  37810. <name>1</name>
  37811. <description>Pin logic level is logic one.</description>
  37812. <value>#1</value>
  37813. </enumeratedValue>
  37814. </enumeratedValues>
  37815. </field>
  37816. </fields>
  37817. </register>
  37818. <register>
  37819. <name>PDDR</name>
  37820. <description>Port Data Direction Register</description>
  37821. <addressOffset>0x14</addressOffset>
  37822. <size>32</size>
  37823. <access>read-write</access>
  37824. <resetValue>0</resetValue>
  37825. <resetMask>0xFFFFFFFF</resetMask>
  37826. <fields>
  37827. <field>
  37828. <name>PDD</name>
  37829. <description>Port data direction</description>
  37830. <bitOffset>0</bitOffset>
  37831. <bitWidth>32</bitWidth>
  37832. <access>read-write</access>
  37833. <enumeratedValues>
  37834. <enumeratedValue>
  37835. <name>0</name>
  37836. <description>Pin is configured as general purpose input, if configured for the GPIO function</description>
  37837. <value>#0</value>
  37838. </enumeratedValue>
  37839. <enumeratedValue>
  37840. <name>1</name>
  37841. <description>Pin is configured for general purpose output, if configured for the GPIO function</description>
  37842. <value>#1</value>
  37843. </enumeratedValue>
  37844. </enumeratedValues>
  37845. </field>
  37846. </fields>
  37847. </register>
  37848. </registers>
  37849. </peripheral>
  37850. <peripheral>
  37851. <name>PTC</name>
  37852. <description>General Purpose Input/Output</description>
  37853. <groupName>GPIO</groupName>
  37854. <prependToName>GPIOC_</prependToName>
  37855. <baseAddress>0x400FF080</baseAddress>
  37856. <addressBlock>
  37857. <offset>0</offset>
  37858. <size>0x18</size>
  37859. <usage>registers</usage>
  37860. </addressBlock>
  37861. <interrupt>
  37862. <name>PORTC</name>
  37863. <value>42</value>
  37864. </interrupt>
  37865. <registers>
  37866. <register>
  37867. <name>PDOR</name>
  37868. <description>Port Data Output Register</description>
  37869. <addressOffset>0</addressOffset>
  37870. <size>32</size>
  37871. <access>read-write</access>
  37872. <resetValue>0</resetValue>
  37873. <resetMask>0xFFFFFFFF</resetMask>
  37874. <fields>
  37875. <field>
  37876. <name>PDO</name>
  37877. <description>Port Data Output</description>
  37878. <bitOffset>0</bitOffset>
  37879. <bitWidth>32</bitWidth>
  37880. <access>read-write</access>
  37881. <enumeratedValues>
  37882. <enumeratedValue>
  37883. <name>0</name>
  37884. <description>Logic level 0 is driven on pin provided pin is configured for General Purpose Output.</description>
  37885. <value>#0</value>
  37886. </enumeratedValue>
  37887. <enumeratedValue>
  37888. <name>1</name>
  37889. <description>Logic level 1 is driven on pin provided pin is configured for General Purpose Output.</description>
  37890. <value>#1</value>
  37891. </enumeratedValue>
  37892. </enumeratedValues>
  37893. </field>
  37894. </fields>
  37895. </register>
  37896. <register>
  37897. <name>PSOR</name>
  37898. <description>Port Set Output Register</description>
  37899. <addressOffset>0x4</addressOffset>
  37900. <size>32</size>
  37901. <access>write-only</access>
  37902. <resetValue>0</resetValue>
  37903. <resetMask>0xFFFFFFFF</resetMask>
  37904. <fields>
  37905. <field>
  37906. <name>PTSO</name>
  37907. <description>Port Set Output</description>
  37908. <bitOffset>0</bitOffset>
  37909. <bitWidth>32</bitWidth>
  37910. <access>write-only</access>
  37911. <enumeratedValues>
  37912. <enumeratedValue>
  37913. <name>0</name>
  37914. <description>Corresponding bit in PDORn does not change.</description>
  37915. <value>#0</value>
  37916. </enumeratedValue>
  37917. <enumeratedValue>
  37918. <name>1</name>
  37919. <description>Corresponding bit in PDORn is set to logic one.</description>
  37920. <value>#1</value>
  37921. </enumeratedValue>
  37922. </enumeratedValues>
  37923. </field>
  37924. </fields>
  37925. </register>
  37926. <register>
  37927. <name>PCOR</name>
  37928. <description>Port Clear Output Register</description>
  37929. <addressOffset>0x8</addressOffset>
  37930. <size>32</size>
  37931. <access>write-only</access>
  37932. <resetValue>0</resetValue>
  37933. <resetMask>0xFFFFFFFF</resetMask>
  37934. <fields>
  37935. <field>
  37936. <name>PTCO</name>
  37937. <description>Port Clear Output</description>
  37938. <bitOffset>0</bitOffset>
  37939. <bitWidth>32</bitWidth>
  37940. <access>write-only</access>
  37941. <enumeratedValues>
  37942. <enumeratedValue>
  37943. <name>0</name>
  37944. <description>Corresponding bit in PDORn does not change.</description>
  37945. <value>#0</value>
  37946. </enumeratedValue>
  37947. <enumeratedValue>
  37948. <name>1</name>
  37949. <description>Corresponding bit in PDORn is set to logic zero.</description>
  37950. <value>#1</value>
  37951. </enumeratedValue>
  37952. </enumeratedValues>
  37953. </field>
  37954. </fields>
  37955. </register>
  37956. <register>
  37957. <name>PTOR</name>
  37958. <description>Port Toggle Output Register</description>
  37959. <addressOffset>0xC</addressOffset>
  37960. <size>32</size>
  37961. <access>write-only</access>
  37962. <resetValue>0</resetValue>
  37963. <resetMask>0xFFFFFFFF</resetMask>
  37964. <fields>
  37965. <field>
  37966. <name>PTTO</name>
  37967. <description>Port Toggle Output</description>
  37968. <bitOffset>0</bitOffset>
  37969. <bitWidth>32</bitWidth>
  37970. <access>write-only</access>
  37971. <enumeratedValues>
  37972. <enumeratedValue>
  37973. <name>0</name>
  37974. <description>Corresponding bit in PDORn does not change.</description>
  37975. <value>#0</value>
  37976. </enumeratedValue>
  37977. <enumeratedValue>
  37978. <name>1</name>
  37979. <description>Corresponding bit in PDORn is set to the inverse of its existing logic state.</description>
  37980. <value>#1</value>
  37981. </enumeratedValue>
  37982. </enumeratedValues>
  37983. </field>
  37984. </fields>
  37985. </register>
  37986. <register>
  37987. <name>PDIR</name>
  37988. <description>Port Data Input Register</description>
  37989. <addressOffset>0x10</addressOffset>
  37990. <size>32</size>
  37991. <access>read-only</access>
  37992. <resetValue>0</resetValue>
  37993. <resetMask>0xFFFFFFFF</resetMask>
  37994. <fields>
  37995. <field>
  37996. <name>PDI</name>
  37997. <description>Port Data Input</description>
  37998. <bitOffset>0</bitOffset>
  37999. <bitWidth>32</bitWidth>
  38000. <access>read-only</access>
  38001. <enumeratedValues>
  38002. <enumeratedValue>
  38003. <name>0</name>
  38004. <description>Pin logic level is logic zero or is configured for use by digital function.</description>
  38005. <value>#0</value>
  38006. </enumeratedValue>
  38007. <enumeratedValue>
  38008. <name>1</name>
  38009. <description>Pin logic level is logic one.</description>
  38010. <value>#1</value>
  38011. </enumeratedValue>
  38012. </enumeratedValues>
  38013. </field>
  38014. </fields>
  38015. </register>
  38016. <register>
  38017. <name>PDDR</name>
  38018. <description>Port Data Direction Register</description>
  38019. <addressOffset>0x14</addressOffset>
  38020. <size>32</size>
  38021. <access>read-write</access>
  38022. <resetValue>0</resetValue>
  38023. <resetMask>0xFFFFFFFF</resetMask>
  38024. <fields>
  38025. <field>
  38026. <name>PDD</name>
  38027. <description>Port data direction</description>
  38028. <bitOffset>0</bitOffset>
  38029. <bitWidth>32</bitWidth>
  38030. <access>read-write</access>
  38031. <enumeratedValues>
  38032. <enumeratedValue>
  38033. <name>0</name>
  38034. <description>Pin is configured as general purpose input, if configured for the GPIO function</description>
  38035. <value>#0</value>
  38036. </enumeratedValue>
  38037. <enumeratedValue>
  38038. <name>1</name>
  38039. <description>Pin is configured for general purpose output, if configured for the GPIO function</description>
  38040. <value>#1</value>
  38041. </enumeratedValue>
  38042. </enumeratedValues>
  38043. </field>
  38044. </fields>
  38045. </register>
  38046. </registers>
  38047. </peripheral>
  38048. <peripheral>
  38049. <name>PTD</name>
  38050. <description>General Purpose Input/Output</description>
  38051. <groupName>GPIO</groupName>
  38052. <prependToName>GPIOD_</prependToName>
  38053. <baseAddress>0x400FF0C0</baseAddress>
  38054. <addressBlock>
  38055. <offset>0</offset>
  38056. <size>0x18</size>
  38057. <usage>registers</usage>
  38058. </addressBlock>
  38059. <interrupt>
  38060. <name>PORTD</name>
  38061. <value>43</value>
  38062. </interrupt>
  38063. <registers>
  38064. <register>
  38065. <name>PDOR</name>
  38066. <description>Port Data Output Register</description>
  38067. <addressOffset>0</addressOffset>
  38068. <size>32</size>
  38069. <access>read-write</access>
  38070. <resetValue>0</resetValue>
  38071. <resetMask>0xFFFFFFFF</resetMask>
  38072. <fields>
  38073. <field>
  38074. <name>PDO</name>
  38075. <description>Port Data Output</description>
  38076. <bitOffset>0</bitOffset>
  38077. <bitWidth>32</bitWidth>
  38078. <access>read-write</access>
  38079. <enumeratedValues>
  38080. <enumeratedValue>
  38081. <name>0</name>
  38082. <description>Logic level 0 is driven on pin provided pin is configured for General Purpose Output.</description>
  38083. <value>#0</value>
  38084. </enumeratedValue>
  38085. <enumeratedValue>
  38086. <name>1</name>
  38087. <description>Logic level 1 is driven on pin provided pin is configured for General Purpose Output.</description>
  38088. <value>#1</value>
  38089. </enumeratedValue>
  38090. </enumeratedValues>
  38091. </field>
  38092. </fields>
  38093. </register>
  38094. <register>
  38095. <name>PSOR</name>
  38096. <description>Port Set Output Register</description>
  38097. <addressOffset>0x4</addressOffset>
  38098. <size>32</size>
  38099. <access>write-only</access>
  38100. <resetValue>0</resetValue>
  38101. <resetMask>0xFFFFFFFF</resetMask>
  38102. <fields>
  38103. <field>
  38104. <name>PTSO</name>
  38105. <description>Port Set Output</description>
  38106. <bitOffset>0</bitOffset>
  38107. <bitWidth>32</bitWidth>
  38108. <access>write-only</access>
  38109. <enumeratedValues>
  38110. <enumeratedValue>
  38111. <name>0</name>
  38112. <description>Corresponding bit in PDORn does not change.</description>
  38113. <value>#0</value>
  38114. </enumeratedValue>
  38115. <enumeratedValue>
  38116. <name>1</name>
  38117. <description>Corresponding bit in PDORn is set to logic one.</description>
  38118. <value>#1</value>
  38119. </enumeratedValue>
  38120. </enumeratedValues>
  38121. </field>
  38122. </fields>
  38123. </register>
  38124. <register>
  38125. <name>PCOR</name>
  38126. <description>Port Clear Output Register</description>
  38127. <addressOffset>0x8</addressOffset>
  38128. <size>32</size>
  38129. <access>write-only</access>
  38130. <resetValue>0</resetValue>
  38131. <resetMask>0xFFFFFFFF</resetMask>
  38132. <fields>
  38133. <field>
  38134. <name>PTCO</name>
  38135. <description>Port Clear Output</description>
  38136. <bitOffset>0</bitOffset>
  38137. <bitWidth>32</bitWidth>
  38138. <access>write-only</access>
  38139. <enumeratedValues>
  38140. <enumeratedValue>
  38141. <name>0</name>
  38142. <description>Corresponding bit in PDORn does not change.</description>
  38143. <value>#0</value>
  38144. </enumeratedValue>
  38145. <enumeratedValue>
  38146. <name>1</name>
  38147. <description>Corresponding bit in PDORn is set to logic zero.</description>
  38148. <value>#1</value>
  38149. </enumeratedValue>
  38150. </enumeratedValues>
  38151. </field>
  38152. </fields>
  38153. </register>
  38154. <register>
  38155. <name>PTOR</name>
  38156. <description>Port Toggle Output Register</description>
  38157. <addressOffset>0xC</addressOffset>
  38158. <size>32</size>
  38159. <access>write-only</access>
  38160. <resetValue>0</resetValue>
  38161. <resetMask>0xFFFFFFFF</resetMask>
  38162. <fields>
  38163. <field>
  38164. <name>PTTO</name>
  38165. <description>Port Toggle Output</description>
  38166. <bitOffset>0</bitOffset>
  38167. <bitWidth>32</bitWidth>
  38168. <access>write-only</access>
  38169. <enumeratedValues>
  38170. <enumeratedValue>
  38171. <name>0</name>
  38172. <description>Corresponding bit in PDORn does not change.</description>
  38173. <value>#0</value>
  38174. </enumeratedValue>
  38175. <enumeratedValue>
  38176. <name>1</name>
  38177. <description>Corresponding bit in PDORn is set to the inverse of its existing logic state.</description>
  38178. <value>#1</value>
  38179. </enumeratedValue>
  38180. </enumeratedValues>
  38181. </field>
  38182. </fields>
  38183. </register>
  38184. <register>
  38185. <name>PDIR</name>
  38186. <description>Port Data Input Register</description>
  38187. <addressOffset>0x10</addressOffset>
  38188. <size>32</size>
  38189. <access>read-only</access>
  38190. <resetValue>0</resetValue>
  38191. <resetMask>0xFFFFFFFF</resetMask>
  38192. <fields>
  38193. <field>
  38194. <name>PDI</name>
  38195. <description>Port Data Input</description>
  38196. <bitOffset>0</bitOffset>
  38197. <bitWidth>32</bitWidth>
  38198. <access>read-only</access>
  38199. <enumeratedValues>
  38200. <enumeratedValue>
  38201. <name>0</name>
  38202. <description>Pin logic level is logic zero or is configured for use by digital function.</description>
  38203. <value>#0</value>
  38204. </enumeratedValue>
  38205. <enumeratedValue>
  38206. <name>1</name>
  38207. <description>Pin logic level is logic one.</description>
  38208. <value>#1</value>
  38209. </enumeratedValue>
  38210. </enumeratedValues>
  38211. </field>
  38212. </fields>
  38213. </register>
  38214. <register>
  38215. <name>PDDR</name>
  38216. <description>Port Data Direction Register</description>
  38217. <addressOffset>0x14</addressOffset>
  38218. <size>32</size>
  38219. <access>read-write</access>
  38220. <resetValue>0</resetValue>
  38221. <resetMask>0xFFFFFFFF</resetMask>
  38222. <fields>
  38223. <field>
  38224. <name>PDD</name>
  38225. <description>Port data direction</description>
  38226. <bitOffset>0</bitOffset>
  38227. <bitWidth>32</bitWidth>
  38228. <access>read-write</access>
  38229. <enumeratedValues>
  38230. <enumeratedValue>
  38231. <name>0</name>
  38232. <description>Pin is configured as general purpose input, if configured for the GPIO function</description>
  38233. <value>#0</value>
  38234. </enumeratedValue>
  38235. <enumeratedValue>
  38236. <name>1</name>
  38237. <description>Pin is configured for general purpose output, if configured for the GPIO function</description>
  38238. <value>#1</value>
  38239. </enumeratedValue>
  38240. </enumeratedValues>
  38241. </field>
  38242. </fields>
  38243. </register>
  38244. </registers>
  38245. </peripheral>
  38246. <peripheral>
  38247. <name>PTE</name>
  38248. <description>General Purpose Input/Output</description>
  38249. <groupName>GPIO</groupName>
  38250. <prependToName>GPIOE_</prependToName>
  38251. <baseAddress>0x400FF100</baseAddress>
  38252. <addressBlock>
  38253. <offset>0</offset>
  38254. <size>0x18</size>
  38255. <usage>registers</usage>
  38256. </addressBlock>
  38257. <interrupt>
  38258. <name>PORTE</name>
  38259. <value>44</value>
  38260. </interrupt>
  38261. <registers>
  38262. <register>
  38263. <name>PDOR</name>
  38264. <description>Port Data Output Register</description>
  38265. <addressOffset>0</addressOffset>
  38266. <size>32</size>
  38267. <access>read-write</access>
  38268. <resetValue>0</resetValue>
  38269. <resetMask>0xFFFFFFFF</resetMask>
  38270. <fields>
  38271. <field>
  38272. <name>PDO</name>
  38273. <description>Port Data Output</description>
  38274. <bitOffset>0</bitOffset>
  38275. <bitWidth>32</bitWidth>
  38276. <access>read-write</access>
  38277. <enumeratedValues>
  38278. <enumeratedValue>
  38279. <name>0</name>
  38280. <description>Logic level 0 is driven on pin provided pin is configured for General Purpose Output.</description>
  38281. <value>#0</value>
  38282. </enumeratedValue>
  38283. <enumeratedValue>
  38284. <name>1</name>
  38285. <description>Logic level 1 is driven on pin provided pin is configured for General Purpose Output.</description>
  38286. <value>#1</value>
  38287. </enumeratedValue>
  38288. </enumeratedValues>
  38289. </field>
  38290. </fields>
  38291. </register>
  38292. <register>
  38293. <name>PSOR</name>
  38294. <description>Port Set Output Register</description>
  38295. <addressOffset>0x4</addressOffset>
  38296. <size>32</size>
  38297. <access>write-only</access>
  38298. <resetValue>0</resetValue>
  38299. <resetMask>0xFFFFFFFF</resetMask>
  38300. <fields>
  38301. <field>
  38302. <name>PTSO</name>
  38303. <description>Port Set Output</description>
  38304. <bitOffset>0</bitOffset>
  38305. <bitWidth>32</bitWidth>
  38306. <access>write-only</access>
  38307. <enumeratedValues>
  38308. <enumeratedValue>
  38309. <name>0</name>
  38310. <description>Corresponding bit in PDORn does not change.</description>
  38311. <value>#0</value>
  38312. </enumeratedValue>
  38313. <enumeratedValue>
  38314. <name>1</name>
  38315. <description>Corresponding bit in PDORn is set to logic one.</description>
  38316. <value>#1</value>
  38317. </enumeratedValue>
  38318. </enumeratedValues>
  38319. </field>
  38320. </fields>
  38321. </register>
  38322. <register>
  38323. <name>PCOR</name>
  38324. <description>Port Clear Output Register</description>
  38325. <addressOffset>0x8</addressOffset>
  38326. <size>32</size>
  38327. <access>write-only</access>
  38328. <resetValue>0</resetValue>
  38329. <resetMask>0xFFFFFFFF</resetMask>
  38330. <fields>
  38331. <field>
  38332. <name>PTCO</name>
  38333. <description>Port Clear Output</description>
  38334. <bitOffset>0</bitOffset>
  38335. <bitWidth>32</bitWidth>
  38336. <access>write-only</access>
  38337. <enumeratedValues>
  38338. <enumeratedValue>
  38339. <name>0</name>
  38340. <description>Corresponding bit in PDORn does not change.</description>
  38341. <value>#0</value>
  38342. </enumeratedValue>
  38343. <enumeratedValue>
  38344. <name>1</name>
  38345. <description>Corresponding bit in PDORn is set to logic zero.</description>
  38346. <value>#1</value>
  38347. </enumeratedValue>
  38348. </enumeratedValues>
  38349. </field>
  38350. </fields>
  38351. </register>
  38352. <register>
  38353. <name>PTOR</name>
  38354. <description>Port Toggle Output Register</description>
  38355. <addressOffset>0xC</addressOffset>
  38356. <size>32</size>
  38357. <access>write-only</access>
  38358. <resetValue>0</resetValue>
  38359. <resetMask>0xFFFFFFFF</resetMask>
  38360. <fields>
  38361. <field>
  38362. <name>PTTO</name>
  38363. <description>Port Toggle Output</description>
  38364. <bitOffset>0</bitOffset>
  38365. <bitWidth>32</bitWidth>
  38366. <access>write-only</access>
  38367. <enumeratedValues>
  38368. <enumeratedValue>
  38369. <name>0</name>
  38370. <description>Corresponding bit in PDORn does not change.</description>
  38371. <value>#0</value>
  38372. </enumeratedValue>
  38373. <enumeratedValue>
  38374. <name>1</name>
  38375. <description>Corresponding bit in PDORn is set to the inverse of its existing logic state.</description>
  38376. <value>#1</value>
  38377. </enumeratedValue>
  38378. </enumeratedValues>
  38379. </field>
  38380. </fields>
  38381. </register>
  38382. <register>
  38383. <name>PDIR</name>
  38384. <description>Port Data Input Register</description>
  38385. <addressOffset>0x10</addressOffset>
  38386. <size>32</size>
  38387. <access>read-only</access>
  38388. <resetValue>0</resetValue>
  38389. <resetMask>0xFFFFFFFF</resetMask>
  38390. <fields>
  38391. <field>
  38392. <name>PDI</name>
  38393. <description>Port Data Input</description>
  38394. <bitOffset>0</bitOffset>
  38395. <bitWidth>32</bitWidth>
  38396. <access>read-only</access>
  38397. <enumeratedValues>
  38398. <enumeratedValue>
  38399. <name>0</name>
  38400. <description>Pin logic level is logic zero or is configured for use by digital function.</description>
  38401. <value>#0</value>
  38402. </enumeratedValue>
  38403. <enumeratedValue>
  38404. <name>1</name>
  38405. <description>Pin logic level is logic one.</description>
  38406. <value>#1</value>
  38407. </enumeratedValue>
  38408. </enumeratedValues>
  38409. </field>
  38410. </fields>
  38411. </register>
  38412. <register>
  38413. <name>PDDR</name>
  38414. <description>Port Data Direction Register</description>
  38415. <addressOffset>0x14</addressOffset>
  38416. <size>32</size>
  38417. <access>read-write</access>
  38418. <resetValue>0</resetValue>
  38419. <resetMask>0xFFFFFFFF</resetMask>
  38420. <fields>
  38421. <field>
  38422. <name>PDD</name>
  38423. <description>Port data direction</description>
  38424. <bitOffset>0</bitOffset>
  38425. <bitWidth>32</bitWidth>
  38426. <access>read-write</access>
  38427. <enumeratedValues>
  38428. <enumeratedValue>
  38429. <name>0</name>
  38430. <description>Pin is configured as general purpose input, if configured for the GPIO function</description>
  38431. <value>#0</value>
  38432. </enumeratedValue>
  38433. <enumeratedValue>
  38434. <name>1</name>
  38435. <description>Pin is configured for general purpose output, if configured for the GPIO function</description>
  38436. <value>#1</value>
  38437. </enumeratedValue>
  38438. </enumeratedValues>
  38439. </field>
  38440. </fields>
  38441. </register>
  38442. </registers>
  38443. </peripheral>
  38444. </peripherals>
  38445. </device>