Teensy 4.1 core updated for C++20
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

5217 lines
246KB

  1. #if !defined(KINETISL) && !defined(KINETISK)
  2. enum IRQ_NUMBER_t {
  3. IRQ_DMA_CH0 = 0,
  4. IRQ_DMA_CH1 = 1,
  5. IRQ_DMA_CH2 = 2,
  6. IRQ_DMA_CH3 = 3,
  7. IRQ_DMA_CH4 = 4,
  8. IRQ_DMA_CH5 = 5,
  9. IRQ_DMA_CH6 = 6,
  10. IRQ_DMA_CH7 = 7,
  11. IRQ_DMA_CH8 = 8,
  12. IRQ_DMA_CH9 = 9,
  13. IRQ_DMA_CH10 = 10,
  14. IRQ_DMA_CH11 = 11,
  15. IRQ_DMA_CH12 = 12,
  16. IRQ_DMA_CH13 = 13,
  17. IRQ_DMA_CH14 = 14,
  18. IRQ_DMA_CH15 = 15,
  19. IRQ_DMA_ERROR = 16,
  20. IRQ_CTI0 = 17,
  21. IRQ_CTI1 = 18,
  22. IRQ_CORE_ERROR = 19, // TODO - name?
  23. IRQ_LPUART1 = 20,
  24. IRQ_LPUART2 = 21,
  25. IRQ_LPUART3 = 22,
  26. IRQ_LPUART4 = 23,
  27. IRQ_LPUART5 = 24,
  28. IRQ_LPUART6 = 25,
  29. IRQ_LPUART7 = 26,
  30. IRQ_LPUART8 = 27,
  31. IRQ_LPI2C1 = 28,
  32. IRQ_LPI2C2 = 29,
  33. IRQ_LPI2C3 = 30,
  34. IRQ_LPI2C4 = 31,
  35. IRQ_LPSPI1 = 32,
  36. IRQ_LPSPI2 = 33,
  37. IRQ_LPSPI3 = 34,
  38. IRQ_LPSPI4 = 35,
  39. IRQ_CAN1 = 36,
  40. IRQ_CAN2 = 37,
  41. IRQ_ADDR_ERR = 38, // TODO: name?
  42. IRQ_KPP = 39,
  43. IRQ_TSC_DIG = 40,
  44. IRQ_GPR_IRQ = 41,
  45. IRQ_LCDIF = 42,
  46. IRQ_CSI = 43,
  47. IRQ_PXP = 44,
  48. IRQ_WDOG2 = 45,
  49. IRQ_SNVS_IRQ = 46,
  50. IRQ_SNVS_SECURITY = 47,
  51. IRQ_SNVS_ONOFF = 48,
  52. IRQ_CSU = 49,
  53. IRQ_DCP0 = 50, // TODO: ???
  54. IRQ_DCP1 = 51, // TODO: ???
  55. IRQ_DCP2 = 52, // TODO: ???
  56. IRQ_TRNG = 53,
  57. IRQ_SJC_IRQ = 54,
  58. IRQ_BEE = 55,
  59. IRQ_SAI1 = 56,
  60. IRQ_SAI2 = 57,
  61. IRQ_SAI3_RX = 58,
  62. IRQ_SAI3_TX = 59,
  63. IRQ_SPDIF = 60,
  64. IRQ_BROWNOUT0 = 61,
  65. IRQ_BROWNOUT1 = 62,
  66. IRQ_TEMPERATURE = 63,
  67. IRQ_TEMPERATURE_PANIC = 64,
  68. IRQ_USBPHY0 = 65,
  69. IRQ_USBPHY1 = 66,
  70. IRQ_ADC1 = 67,
  71. IRQ_ADC2 = 68,
  72. IRQ_DCDC = 69,
  73. IRQ_Reserved1 = 70,
  74. IRQ_Reserved2 = 71,
  75. IRQ_GPIO1_INT0 = 72,
  76. IRQ_GPIO1_INT1 = 73,
  77. IRQ_GPIO1_INT2 = 74,
  78. IRQ_GPIO1_INT3 = 75,
  79. IRQ_GPIO1_INT4 = 76,
  80. IRQ_GPIO1_INT5 = 77,
  81. IRQ_GPIO1_INT6 = 78,
  82. IRQ_GPIO1_INT7 = 79,
  83. IRQ_GPI01_0_15 = 80,
  84. IRQ_GPIO1_16_31 = 81,
  85. IRQ_GPI02_0_15 = 82,
  86. IRQ_GPIO2_16_31 = 83,
  87. IRQ_GPI03_0_15 = 84,
  88. IRQ_GPIO3_16_31 = 85,
  89. IRQ_GPI04_0_15 = 86,
  90. IRQ_GPIO4_16_31 = 87,
  91. IRQ_GPI05_0_15 = 88,
  92. IRQ_GPIO5_16_31 = 89,
  93. IRQ_FLEXIO1 = 90,
  94. IRQ_FLEXIO2 = 91,
  95. IRQ_WDOG1 = 92,
  96. IRQ_WDOG3 = 93,
  97. IRQ_EWM = 94,
  98. IRQ_CCM1 = 95,
  99. IRQ_CCM2 = 96,
  100. IRQ_GPC = 97,
  101. IRQ_SRC = 98,
  102. IRQ_Reserved3 = 99,
  103. IRQ_GPT1 = 100,
  104. IRQ_GPT2 = 101,
  105. IRQ_FLEXPWM1_0 = 102,
  106. IRQ_FLEXPWM1_1 = 103,
  107. IRQ_FLEXPWM1_2 = 104,
  108. IRQ_FLEXPWM1_3 = 105,
  109. IRQ_FLEXPWM1_FAULT = 106,
  110. IRQ_Reserved4 = 107,
  111. IRQ_FLEXSPI = 108,
  112. IRQ_SEMC = 109,
  113. IRQ_SDHC1 = 110,
  114. IRQ_SDHC2 = 111,
  115. IRQ_USB2 = 112,
  116. IRQ_USB1 = 113,
  117. IRQ_ENET = 114,
  118. IRQ_ENET_TIMER = 115,
  119. IRQ_XBAR1_01 = 116,
  120. IRQ_XBAR1_23 = 117,
  121. IRQ_ADC_ETC0 = 118,
  122. IRQ_ADC_ETC1 = 119,
  123. IRQ_ADC_ETC2 = 120,
  124. IRQ_ADC_ETC_ERR = 121,
  125. IRQ_PIT = 122,
  126. IRQ_ACMP0 = 123,
  127. IRQ_ACMP1 = 124,
  128. IRQ_ACMP2 = 125,
  129. IRQ_ACMP3 = 126,
  130. IRQ_Reserved5 = 127,
  131. IRQ_Reserved6 = 128,
  132. IRQ_ENC1 = 129,
  133. IRQ_ENC2 = 130,
  134. IRQ_ENC3 = 131,
  135. IRQ_ENC4 = 132,
  136. IRQ_QTIMER1 = 133,
  137. IRQ_QTIMER2 = 134,
  138. IRQ_QTIMER3 = 135,
  139. IRQ_QTIMER4 = 136,
  140. IRQ_FLEXPWM2_0 = 137,
  141. IRQ_FLEXPWM2_1 = 138,
  142. IRQ_FLEXPWM2_2 = 139,
  143. IRQ_FLEXPWM2_3 = 140,
  144. IRQ_FLEXPWM2_FAULT = 141,
  145. IRQ_FLEXPWM3_0 = 142,
  146. IRQ_FLEXPWM3_1 = 143,
  147. IRQ_FLEXPWM3_2 = 144,
  148. IRQ_FLEXPWM3_3 = 145,
  149. IRQ_FLEXPWM3_FAULT = 146,
  150. IRQ_FLEXPWM4_0 = 147,
  151. IRQ_FLEXPWM4_1 = 148,
  152. IRQ_FLEXPWM4_2 = 149,
  153. IRQ_FLEXPWM4_3 = 150,
  154. IRQ_FLEXPWM4_FAULT = 151,
  155. IRQ_Reserved7 = 152,
  156. IRQ_Reserved8 = 153,
  157. IRQ_Reserved9 = 154,
  158. IRQ_Reserved10 = 155,
  159. IRQ_Reserved11 = 156,
  160. IRQ_Reserved12 = 157,
  161. IRQ_SJC_DEBUG = 158,
  162. IRQ_NMI_WAKEUP = 159
  163. };
  164. #endif
  165. typedef struct {
  166. volatile uint32_t offset000;
  167. volatile uint32_t offset004;
  168. volatile uint32_t offset008;
  169. volatile uint32_t offset00C;
  170. volatile uint32_t offset010;
  171. volatile uint32_t offset014;
  172. volatile uint32_t offset018;
  173. volatile uint32_t offset01C;
  174. volatile uint32_t offset020;
  175. volatile uint32_t offset024;
  176. volatile uint32_t offset028;
  177. volatile uint32_t offset02C;
  178. volatile uint32_t offset030;
  179. volatile uint32_t offset034;
  180. volatile uint32_t offset038;
  181. volatile uint32_t offset03C;
  182. volatile uint32_t offset040;
  183. volatile uint32_t offset044;
  184. volatile uint32_t offset048;
  185. volatile uint32_t offset04C;
  186. volatile uint32_t offset050;
  187. volatile uint32_t offset054;
  188. volatile uint32_t offset058;
  189. volatile uint32_t offset05C;
  190. volatile uint32_t offset060;
  191. volatile uint32_t offset064;
  192. volatile uint32_t offset068;
  193. volatile uint32_t offset06C;
  194. volatile uint32_t offset070;
  195. volatile uint32_t offset074;
  196. volatile uint32_t offset078;
  197. volatile uint32_t offset07C;
  198. volatile uint32_t offset080;
  199. volatile uint32_t offset084;
  200. volatile uint32_t offset088;
  201. volatile uint32_t offset08C;
  202. volatile uint32_t offset090;
  203. volatile uint32_t offset094;
  204. volatile uint32_t offset098;
  205. volatile uint32_t offset09C;
  206. volatile uint32_t offset0A0;
  207. volatile uint32_t offset0A4;
  208. volatile uint32_t offset0A8;
  209. volatile uint32_t offset0AC;
  210. volatile uint32_t offset0B0;
  211. volatile uint32_t offset0B4;
  212. volatile uint32_t offset0B8;
  213. volatile uint32_t offset0BC;
  214. volatile uint32_t offset0C0;
  215. volatile uint32_t offset0C4;
  216. volatile uint32_t offset0C8;
  217. volatile uint32_t offset0CC;
  218. volatile uint32_t offset0D0;
  219. volatile uint32_t offset0D4;
  220. volatile uint32_t offset0D8;
  221. volatile uint32_t offset0DC;
  222. volatile uint32_t offset0E0;
  223. volatile uint32_t offset0E4;
  224. volatile uint32_t offset0E8;
  225. volatile uint32_t offset0EC;
  226. volatile uint32_t offset0F0;
  227. volatile uint32_t offset0F4;
  228. volatile uint32_t offset0F8;
  229. volatile uint32_t offset0FC;
  230. volatile uint32_t offset100;
  231. volatile uint32_t offset104;
  232. volatile uint32_t offset108;
  233. volatile uint32_t offset10C;
  234. volatile uint32_t offset110;
  235. volatile uint32_t offset114;
  236. volatile uint32_t offset118;
  237. volatile uint32_t offset11C;
  238. volatile uint32_t offset120;
  239. volatile uint32_t offset124;
  240. volatile uint32_t offset128;
  241. volatile uint32_t offset12C;
  242. volatile uint32_t offset130;
  243. volatile uint32_t offset134;
  244. volatile uint32_t offset138;
  245. volatile uint32_t offset13C;
  246. volatile uint32_t offset140;
  247. volatile uint32_t offset144;
  248. volatile uint32_t offset148;
  249. volatile uint32_t offset14C;
  250. volatile uint32_t offset150;
  251. volatile uint32_t offset154;
  252. volatile uint32_t offset158;
  253. volatile uint32_t offset15C;
  254. volatile uint32_t offset160;
  255. volatile uint32_t offset164;
  256. volatile uint32_t offset168;
  257. volatile uint32_t offset16C;
  258. volatile uint32_t offset170;
  259. volatile uint32_t offset174;
  260. volatile uint32_t offset178;
  261. volatile uint32_t offset17C;
  262. volatile uint32_t offset180;
  263. volatile uint32_t offset184;
  264. volatile uint32_t offset188;
  265. volatile uint32_t offset18C;
  266. volatile uint32_t offset190;
  267. volatile uint32_t offset194;
  268. volatile uint32_t offset198;
  269. volatile uint32_t offset19C;
  270. volatile uint32_t offset1A0;
  271. volatile uint32_t offset1A4;
  272. volatile uint32_t offset1A8;
  273. volatile uint32_t offset1AC;
  274. volatile uint32_t offset1B0;
  275. volatile uint32_t offset1B4;
  276. volatile uint32_t offset1B8;
  277. volatile uint32_t offset1BC;
  278. volatile uint32_t offset1C0;
  279. volatile uint32_t offset1C4;
  280. volatile uint32_t offset1C8;
  281. volatile uint32_t offset1CC;
  282. volatile uint32_t offset1D0;
  283. volatile uint32_t offset1D4;
  284. volatile uint32_t offset1D8;
  285. volatile uint32_t offset1DC;
  286. volatile uint32_t offset1E0;
  287. volatile uint32_t offset1E4;
  288. volatile uint32_t offset1E8;
  289. volatile uint32_t offset1EC;
  290. volatile uint32_t offset1F0;
  291. volatile uint32_t offset1F4;
  292. volatile uint32_t offset1F8;
  293. volatile uint32_t offset1FC;
  294. volatile uint32_t offset200;
  295. volatile uint32_t offset204;
  296. volatile uint32_t offset208;
  297. volatile uint32_t offset20C;
  298. volatile uint32_t offset210;
  299. volatile uint32_t offset214;
  300. volatile uint32_t offset218;
  301. volatile uint32_t offset21C;
  302. volatile uint32_t offset220;
  303. volatile uint32_t offset224;
  304. volatile uint32_t offset228;
  305. volatile uint32_t offset22C;
  306. volatile uint32_t offset230;
  307. volatile uint32_t offset234;
  308. volatile uint32_t offset238;
  309. volatile uint32_t offset23C;
  310. volatile uint32_t offset240;
  311. volatile uint32_t offset244;
  312. volatile uint32_t offset248;
  313. volatile uint32_t offset24C;
  314. volatile uint32_t offset250;
  315. volatile uint32_t offset254;
  316. volatile uint32_t offset258;
  317. volatile uint32_t offset25C;
  318. volatile uint32_t offset260;
  319. volatile uint32_t offset264;
  320. volatile uint32_t offset268;
  321. volatile uint32_t offset26C;
  322. volatile uint32_t offset270;
  323. volatile uint32_t offset274;
  324. volatile uint32_t offset278;
  325. volatile uint32_t offset27C;
  326. volatile uint32_t offset280;
  327. volatile uint32_t offset284;
  328. volatile uint32_t offset288;
  329. volatile uint32_t offset28C;
  330. volatile uint32_t offset290;
  331. volatile uint32_t offset294;
  332. volatile uint32_t offset298;
  333. volatile uint32_t offset29C;
  334. volatile uint32_t offset2A0;
  335. volatile uint32_t offset2A4;
  336. volatile uint32_t offset2A8;
  337. volatile uint32_t offset2AC;
  338. volatile uint32_t offset2B0;
  339. volatile uint32_t offset2B4;
  340. volatile uint32_t offset2B8;
  341. volatile uint32_t offset2BC;
  342. volatile uint32_t offset2C0;
  343. volatile uint32_t offset2C4;
  344. volatile uint32_t offset2C8;
  345. volatile uint32_t offset2CC;
  346. volatile uint32_t offset2D0;
  347. volatile uint32_t offset2D4;
  348. volatile uint32_t offset2D8;
  349. volatile uint32_t offset2DC;
  350. volatile uint32_t offset2E0;
  351. volatile uint32_t offset2E4;
  352. volatile uint32_t offset2E8;
  353. volatile uint32_t offset2EC;
  354. volatile uint32_t offset2F0;
  355. volatile uint32_t offset2F4;
  356. volatile uint32_t offset2F8;
  357. volatile uint32_t offset2FC;
  358. volatile uint32_t offset300;
  359. volatile uint32_t offset304;
  360. volatile uint32_t offset308;
  361. volatile uint32_t offset30C;
  362. volatile uint32_t offset310;
  363. volatile uint32_t offset314;
  364. volatile uint32_t offset318;
  365. volatile uint32_t offset31C;
  366. volatile uint32_t offset320;
  367. volatile uint32_t offset324;
  368. volatile uint32_t offset328;
  369. volatile uint32_t offset32C;
  370. volatile uint32_t offset330;
  371. volatile uint32_t offset334;
  372. volatile uint32_t offset338;
  373. volatile uint32_t offset33C;
  374. volatile uint32_t offset340;
  375. volatile uint32_t offset344;
  376. volatile uint32_t offset348;
  377. volatile uint32_t offset34C;
  378. volatile uint32_t offset350;
  379. volatile uint32_t offset354;
  380. volatile uint32_t offset358;
  381. volatile uint32_t offset35C;
  382. volatile uint32_t offset360;
  383. volatile uint32_t offset364;
  384. volatile uint32_t offset368;
  385. volatile uint32_t offset36C;
  386. volatile uint32_t offset370;
  387. volatile uint32_t offset374;
  388. volatile uint32_t offset378;
  389. volatile uint32_t offset37C;
  390. volatile uint32_t offset380;
  391. volatile uint32_t offset384;
  392. volatile uint32_t offset388;
  393. volatile uint32_t offset38C;
  394. volatile uint32_t offset390;
  395. volatile uint32_t offset394;
  396. volatile uint32_t offset398;
  397. volatile uint32_t offset39C;
  398. volatile uint32_t offset3A0;
  399. volatile uint32_t offset3A4;
  400. volatile uint32_t offset3A8;
  401. volatile uint32_t offset3AC;
  402. volatile uint32_t offset3B0;
  403. volatile uint32_t offset3B4;
  404. volatile uint32_t offset3B8;
  405. volatile uint32_t offset3BC;
  406. volatile uint32_t offset3C0;
  407. volatile uint32_t offset3C4;
  408. volatile uint32_t offset3C8;
  409. volatile uint32_t offset3CC;
  410. volatile uint32_t offset3D0;
  411. volatile uint32_t offset3D4;
  412. volatile uint32_t offset3D8;
  413. volatile uint32_t offset3DC;
  414. volatile uint32_t offset3E0;
  415. volatile uint32_t offset3E4;
  416. volatile uint32_t offset3E8;
  417. volatile uint32_t offset3EC;
  418. volatile uint32_t offset3F0;
  419. volatile uint32_t offset3F4;
  420. volatile uint32_t offset3F8;
  421. volatile uint32_t offset3FC;
  422. } IMXRT_REGISTER32_t;
  423. typedef struct {
  424. volatile uint16_t offset000;
  425. volatile uint16_t offset002;
  426. volatile uint16_t offset004;
  427. volatile uint16_t offset006;
  428. volatile uint16_t offset008;
  429. volatile uint16_t offset00A;
  430. volatile uint16_t offset00C;
  431. volatile uint16_t offset00E;
  432. volatile uint16_t offset010;
  433. volatile uint16_t offset012;
  434. volatile uint16_t offset014;
  435. volatile uint16_t offset016;
  436. volatile uint16_t offset018;
  437. volatile uint16_t offset01A;
  438. volatile uint16_t offset01C;
  439. volatile uint16_t offset01E;
  440. volatile uint16_t offset020;
  441. volatile uint16_t offset022;
  442. volatile uint16_t offset024;
  443. volatile uint16_t offset026;
  444. volatile uint16_t offset028;
  445. volatile uint16_t offset02A;
  446. volatile uint16_t offset02C;
  447. volatile uint16_t offset02E;
  448. volatile uint16_t offset030;
  449. volatile uint16_t offset032;
  450. volatile uint16_t offset034;
  451. volatile uint16_t offset036;
  452. volatile uint16_t offset038;
  453. volatile uint16_t offset03A;
  454. volatile uint16_t offset03C;
  455. volatile uint16_t offset03E;
  456. volatile uint16_t offset040;
  457. volatile uint16_t offset042;
  458. volatile uint16_t offset044;
  459. volatile uint16_t offset046;
  460. volatile uint16_t offset048;
  461. volatile uint16_t offset04A;
  462. volatile uint16_t offset04C;
  463. volatile uint16_t offset04E;
  464. volatile uint16_t offset050;
  465. volatile uint16_t offset052;
  466. volatile uint16_t offset054;
  467. volatile uint16_t offset056;
  468. volatile uint16_t offset058;
  469. volatile uint16_t offset05A;
  470. volatile uint16_t offset05C;
  471. volatile uint16_t offset05E;
  472. volatile uint16_t offset060;
  473. volatile uint16_t offset062;
  474. volatile uint16_t offset064;
  475. volatile uint16_t offset066;
  476. volatile uint16_t offset068;
  477. volatile uint16_t offset06A;
  478. volatile uint16_t offset06C;
  479. volatile uint16_t offset06E;
  480. volatile uint16_t offset070;
  481. volatile uint16_t offset072;
  482. volatile uint16_t offset074;
  483. volatile uint16_t offset076;
  484. volatile uint16_t offset078;
  485. volatile uint16_t offset07A;
  486. volatile uint16_t offset07C;
  487. volatile uint16_t offset07E;
  488. volatile uint16_t offset080;
  489. volatile uint16_t offset082;
  490. volatile uint16_t offset084;
  491. volatile uint16_t offset086;
  492. volatile uint16_t offset088;
  493. volatile uint16_t offset08A;
  494. volatile uint16_t offset08C;
  495. volatile uint16_t offset08E;
  496. volatile uint16_t offset090;
  497. volatile uint16_t offset092;
  498. volatile uint16_t offset094;
  499. volatile uint16_t offset096;
  500. volatile uint16_t offset098;
  501. volatile uint16_t offset09A;
  502. volatile uint16_t offset09C;
  503. volatile uint16_t offset09E;
  504. volatile uint16_t offset0A0;
  505. volatile uint16_t offset0A2;
  506. volatile uint16_t offset0A4;
  507. volatile uint16_t offset0A6;
  508. volatile uint16_t offset0A8;
  509. volatile uint16_t offset0AA;
  510. volatile uint16_t offset0AC;
  511. volatile uint16_t offset0AE;
  512. volatile uint16_t offset0B0;
  513. volatile uint16_t offset0B2;
  514. volatile uint16_t offset0B4;
  515. volatile uint16_t offset0B6;
  516. volatile uint16_t offset0B8;
  517. volatile uint16_t offset0BA;
  518. volatile uint16_t offset0BC;
  519. volatile uint16_t offset0BE;
  520. volatile uint16_t offset0C0;
  521. volatile uint16_t offset0C2;
  522. volatile uint16_t offset0C4;
  523. volatile uint16_t offset0C6;
  524. volatile uint16_t offset0C8;
  525. volatile uint16_t offset0CA;
  526. volatile uint16_t offset0CC;
  527. volatile uint16_t offset0CE;
  528. volatile uint16_t offset0D0;
  529. volatile uint16_t offset0D2;
  530. volatile uint16_t offset0D4;
  531. volatile uint16_t offset0D6;
  532. volatile uint16_t offset0D8;
  533. volatile uint16_t offset0DA;
  534. volatile uint16_t offset0DC;
  535. volatile uint16_t offset0DE;
  536. volatile uint16_t offset0E0;
  537. volatile uint16_t offset0E2;
  538. volatile uint16_t offset0E4;
  539. volatile uint16_t offset0E6;
  540. volatile uint16_t offset0E8;
  541. volatile uint16_t offset0EA;
  542. volatile uint16_t offset0EC;
  543. volatile uint16_t offset0EE;
  544. volatile uint16_t offset0F0;
  545. volatile uint16_t offset0F2;
  546. volatile uint16_t offset0F4;
  547. volatile uint16_t offset0F6;
  548. volatile uint16_t offset0F8;
  549. volatile uint16_t offset0FA;
  550. volatile uint16_t offset0FC;
  551. volatile uint16_t offset0FE;
  552. volatile uint16_t offset100;
  553. volatile uint16_t offset102;
  554. volatile uint16_t offset104;
  555. volatile uint16_t offset106;
  556. volatile uint16_t offset108;
  557. volatile uint16_t offset10A;
  558. volatile uint16_t offset10C;
  559. volatile uint16_t offset10E;
  560. volatile uint16_t offset110;
  561. volatile uint16_t offset112;
  562. volatile uint16_t offset114;
  563. volatile uint16_t offset116;
  564. volatile uint16_t offset118;
  565. volatile uint16_t offset11A;
  566. volatile uint16_t offset11C;
  567. volatile uint16_t offset11E;
  568. volatile uint16_t offset120;
  569. volatile uint16_t offset122;
  570. volatile uint16_t offset124;
  571. volatile uint16_t offset126;
  572. volatile uint16_t offset128;
  573. volatile uint16_t offset12A;
  574. volatile uint16_t offset12C;
  575. volatile uint16_t offset12E;
  576. volatile uint16_t offset130;
  577. volatile uint16_t offset132;
  578. volatile uint16_t offset134;
  579. volatile uint16_t offset136;
  580. volatile uint16_t offset138;
  581. volatile uint16_t offset13A;
  582. volatile uint16_t offset13C;
  583. volatile uint16_t offset13E;
  584. volatile uint16_t offset140;
  585. volatile uint16_t offset142;
  586. volatile uint16_t offset144;
  587. volatile uint16_t offset146;
  588. volatile uint16_t offset148;
  589. volatile uint16_t offset14A;
  590. volatile uint16_t offset14C;
  591. volatile uint16_t offset14E;
  592. volatile uint16_t offset150;
  593. volatile uint16_t offset152;
  594. volatile uint16_t offset154;
  595. volatile uint16_t offset156;
  596. volatile uint16_t offset158;
  597. volatile uint16_t offset15A;
  598. volatile uint16_t offset15C;
  599. volatile uint16_t offset15E;
  600. volatile uint16_t offset160;
  601. volatile uint16_t offset162;
  602. volatile uint16_t offset164;
  603. volatile uint16_t offset166;
  604. volatile uint16_t offset168;
  605. volatile uint16_t offset16A;
  606. volatile uint16_t offset16C;
  607. volatile uint16_t offset16E;
  608. volatile uint16_t offset170;
  609. volatile uint16_t offset172;
  610. volatile uint16_t offset174;
  611. volatile uint16_t offset176;
  612. volatile uint16_t offset178;
  613. volatile uint16_t offset17A;
  614. volatile uint16_t offset17C;
  615. volatile uint16_t offset17E;
  616. volatile uint16_t offset180;
  617. volatile uint16_t offset182;
  618. volatile uint16_t offset184;
  619. volatile uint16_t offset186;
  620. volatile uint16_t offset188;
  621. volatile uint16_t offset18A;
  622. volatile uint16_t offset18C;
  623. volatile uint16_t offset18E;
  624. volatile uint16_t offset190;
  625. volatile uint16_t offset192;
  626. volatile uint16_t offset194;
  627. volatile uint16_t offset196;
  628. volatile uint16_t offset198;
  629. volatile uint16_t offset19A;
  630. volatile uint16_t offset19C;
  631. volatile uint16_t offset19E;
  632. volatile uint16_t offset1A0;
  633. volatile uint16_t offset1A2;
  634. volatile uint16_t offset1A4;
  635. volatile uint16_t offset1A6;
  636. volatile uint16_t offset1A8;
  637. volatile uint16_t offset1AA;
  638. volatile uint16_t offset1AC;
  639. volatile uint16_t offset1AE;
  640. volatile uint16_t offset1B0;
  641. volatile uint16_t offset1B2;
  642. volatile uint16_t offset1B4;
  643. volatile uint16_t offset1B6;
  644. volatile uint16_t offset1B8;
  645. volatile uint16_t offset1BA;
  646. volatile uint16_t offset1BC;
  647. volatile uint16_t offset1BE;
  648. volatile uint16_t offset1C0;
  649. volatile uint16_t offset1C2;
  650. volatile uint16_t offset1C4;
  651. volatile uint16_t offset1C6;
  652. volatile uint16_t offset1C8;
  653. volatile uint16_t offset1CA;
  654. volatile uint16_t offset1CC;
  655. volatile uint16_t offset1CE;
  656. volatile uint16_t offset1D0;
  657. volatile uint16_t offset1D2;
  658. volatile uint16_t offset1D4;
  659. volatile uint16_t offset1D6;
  660. volatile uint16_t offset1D8;
  661. volatile uint16_t offset1DA;
  662. volatile uint16_t offset1DC;
  663. volatile uint16_t offset1DE;
  664. volatile uint16_t offset1E0;
  665. volatile uint16_t offset1E2;
  666. volatile uint16_t offset1E4;
  667. volatile uint16_t offset1E6;
  668. volatile uint16_t offset1E8;
  669. volatile uint16_t offset1EA;
  670. volatile uint16_t offset1EC;
  671. volatile uint16_t offset1EE;
  672. volatile uint16_t offset1F0;
  673. volatile uint16_t offset1F2;
  674. volatile uint16_t offset1F4;
  675. volatile uint16_t offset1F6;
  676. volatile uint16_t offset1F8;
  677. volatile uint16_t offset1FA;
  678. volatile uint16_t offset1FC;
  679. volatile uint16_t offset1FE;
  680. } IMXRT_REGISTER16_t;
  681. typedef struct {
  682. volatile uint8_t offset00;
  683. volatile uint8_t offset01;
  684. volatile uint8_t offset02;
  685. volatile uint8_t offset03;
  686. volatile uint8_t offset04;
  687. volatile uint8_t offset05;
  688. volatile uint8_t offset06;
  689. volatile uint8_t offset07;
  690. volatile uint8_t offset08;
  691. volatile uint8_t offset09;
  692. volatile uint8_t offset0A;
  693. volatile uint8_t offset0B;
  694. volatile uint8_t offset0C;
  695. volatile uint8_t offset0D;
  696. volatile uint8_t offset0E;
  697. volatile uint8_t offset0F;
  698. } IMXRT_REGISTER8_t;
  699. // page 684
  700. #define IMXRT_AIPSTZ1 (*(IMXRT_REGISTER32_t *)0x4007C000)
  701. #define IMXRT_AIPSTZ2 (*(IMXRT_REGISTER32_t *)0x4017C000)
  702. #define IMXRT_AIPSTZ3 (*(IMXRT_REGISTER32_t *)0x4027C000)
  703. #define IMXRT_AIPSTZ4 (*(IMXRT_REGISTER32_t *)0x4037C000)
  704. #define AIPSTZ1_MPR (IMXRT_AIPSTZ1.offset000)
  705. #define AIPSTZ1_OPACR (IMXRT_AIPSTZ1.offset040)
  706. #define AIPSTZ1_OPACR1 (IMXRT_AIPSTZ1.offset044)
  707. #define AIPSTZ1_OPACR2 (IMXRT_AIPSTZ1.offset048)
  708. #define AIPSTZ1_OPACR3 (IMXRT_AIPSTZ1.offset04C)
  709. #define AIPSTZ1_OPACR4 (IMXRT_AIPSTZ1.offset050)
  710. #define AIPSTZ2_MPR (IMXRT_AIPSTZ2.offset000)
  711. #define AIPSTZ2_OPACR (IMXRT_AIPSTZ2.offset040)
  712. #define AIPSTZ2_OPACR1 (IMXRT_AIPSTZ2.offset044)
  713. #define AIPSTZ2_OPACR2 (IMXRT_AIPSTZ2.offset048)
  714. #define AIPSTZ2_OPACR3 (IMXRT_AIPSTZ2.offset04C)
  715. #define AIPSTZ2_OPACR4 (IMXRT_AIPSTZ2.offset050)
  716. #define AIPSTZ3_MPR (IMXRT_AIPSTZ3.offset000)
  717. #define AIPSTZ3_OPACR (IMXRT_AIPSTZ3.offset040)
  718. #define AIPSTZ3_OPACR1 (IMXRT_AIPSTZ3.offset044)
  719. #define AIPSTZ3_OPACR2 (IMXRT_AIPSTZ3.offset048)
  720. #define AIPSTZ3_OPACR3 (IMXRT_AIPSTZ3.offset04C)
  721. #define AIPSTZ3_OPACR4 (IMXRT_AIPSTZ3.offset050)
  722. #define AIPSTZ4_MPR (IMXRT_AIPSTZ4.offset000)
  723. #define AIPSTZ4_OPACR (IMXRT_AIPSTZ4.offset040)
  724. #define AIPSTZ4_OPACR1 (IMXRT_AIPSTZ4.offset044)
  725. #define AIPSTZ4_OPACR2 (IMXRT_AIPSTZ4.offset048)
  726. #define AIPSTZ4_OPACR3 (IMXRT_AIPSTZ4.offset04C)
  727. #define AIPSTZ4_OPACR4 (IMXRT_AIPSTZ4.offset050)
  728. // page 706 (offsets are wrong)
  729. #define IMXRT_AOI1 (*(IMXRT_REGISTER16_t *)0x403B4000)
  730. #define AOI1_BFCRT010 (IMXRT_AOI1.offset000)
  731. #define AOI1_BFCRT230 (IMXRT_AOI1.offset002)
  732. #define AOI1_BFCRT011 (IMXRT_AOI1.offset004)
  733. #define AOI1_BFCRT231 (IMXRT_AOI1.offset006)
  734. #define AOI1_BFCRT012 (IMXRT_AOI1.offset008)
  735. #define AOI1_BFCRT232 (IMXRT_AOI1.offset00A)
  736. #define AOI1_BFCRT013 (IMXRT_AOI1.offset00C)
  737. #define AOI1_BFCRT233 (IMXRT_AOI1.offset00E)
  738. #define IMXRT_AOI2 (*(IMXRT_REGISTER16_t *)0x403B8000)
  739. #define AOI2_BFCRT010 (IMXRT_AOI2.offset000)
  740. #define AOI2_BFCRT230 (IMXRT_AOI2.offset002)
  741. #define AOI2_BFCRT011 (IMXRT_AOI2.offset004)
  742. #define AOI2_BFCRT231 (IMXRT_AOI2.offset006)
  743. #define AOI2_BFCRT012 (IMXRT_AOI2.offset008)
  744. #define AOI2_BFCRT232 (IMXRT_AOI2.offset00A)
  745. #define AOI2_BFCRT013 (IMXRT_AOI2.offset00C)
  746. #define AOI2_BFCRT233 (IMXRT_AOI2.offset00E)
  747. // page 708
  748. #define IMXRT_CCM (*(IMXRT_REGISTER32_t *)0x400FC000)
  749. #define CCM_CCR (IMXRT_CCM.offset000)
  750. #define CCM_CSR (IMXRT_CCM.offset008)
  751. #define CCM_CCSR (IMXRT_CCM.offset00C)
  752. #define CCM_CACRR (IMXRT_CCM.offset010)
  753. #define CCM_CBCDR (IMXRT_CCM.offset014)
  754. #define CCM_CBCMR (IMXRT_CCM.offset018)
  755. #define CCM_CSCMR1 (IMXRT_CCM.offset01C)
  756. #define CCM_CSCMR2 (IMXRT_CCM.offset020)
  757. #define CCM_CSCDR1 (IMXRT_CCM.offset024)
  758. #define CCM_CS1CDR (IMXRT_CCM.offset028)
  759. #define CCM_CS2CDR (IMXRT_CCM.offset02C)
  760. #define CCM_CDCDR (IMXRT_CCM.offset030)
  761. #define CCM_CSCDR2 (IMXRT_CCM.offset038)
  762. #define CCM_CSCDR3 (IMXRT_CCM.offset03C)
  763. #define CCM_CDHIPR (IMXRT_CCM.offset048)
  764. #define CCM_CLPCR (IMXRT_CCM.offset054)
  765. #define CCM_CISR (IMXRT_CCM.offset058)
  766. #define CCM_CIMR (IMXRT_CCM.offset05C)
  767. #define CCM_CCOSR (IMXRT_CCM.offset060)
  768. #define CCM_CGPR (IMXRT_CCM.offset064)
  769. #define CCM_CCGR0 (IMXRT_CCM.offset068)
  770. #define CCM_CCGR1 (IMXRT_CCM.offset06C)
  771. #define CCM_CCGR2 (IMXRT_CCM.offset070)
  772. #define CCM_CCGR3 (IMXRT_CCM.offset074)
  773. #define CCM_CCGR4 (IMXRT_CCM.offset078)
  774. #define CCM_CCGR5 (IMXRT_CCM.offset07C)
  775. #define CCM_CCGR6 (IMXRT_CCM.offset080)
  776. #define CCM_CMEOR (IMXRT_CCM.offset088)
  777. #define CCM_CCR_RBC_EN ((uint32_t)0x08000000)
  778. #define CCM_CCR_REG_BYPASS_COUNT(n) ((uint32_t)(((n) & 0x3F) << 21))
  779. #define CCM_CCR_COSC_EN ((uint32_t)0x00001000)
  780. #define CCM_CCR_OSCNT(n) ((uint32_t)(((n) & 0xFF) << 0))
  781. #define CCM_CSR_COSC_READY ((uint32_t)0x00000020)
  782. #define CCM_CSR_CAMP2_READY ((uint32_t)0x00000008)
  783. #define CCM_CSR_REF_EN_B ((uint32_t)0x00000001)
  784. #define CCM_CCSR_PLL3_SW_CLK_SEL ((uint32_t)0x00000001)
  785. #define CCM_CACRR_ARM_PODF(n) ((uint32_t)(((n) & 0x07) << 0))
  786. #define CCM_CBCDR_PERIPH_CLK2_PODF(n) ((uint32_t)(((n) & 0x07) << 27))
  787. #define CCM_CBCDR_PERIPH_CLK_SEL ((uint32_t)0x02000000)
  788. #define CCM_CBCDR_SEMC_PODF(n) ((uint32_t)(((n) & 0x07) << 16))
  789. #define CCM_CBCDR_AHB_PODF(n) ((uint32_t)(((n) & 0x07) << 10))
  790. #define CCM_CBCDR_IPG_PODF(n) ((uint32_t)(((n) & 0x03) << 8))
  791. #define CCM_CBCDR_SEMC_ALT_CLK_SEL ((uint32_t)0x00000080)
  792. #define CCM_CBCDR_SEMC_CLK_SEL ((uint32_t)0x00000040)
  793. #define CCM_CBCMR_LPSPI_PODF(n) ((uint32_t)(((n) & 0x07) << 26))
  794. #define CCM_CBCMR_LCDIF_PODF(n) ((uint32_t)(((n) & 0x07) << 23))
  795. #define CCM_CBCMR_PRE_PERIPH_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 18))
  796. #define CCM_CBCMR_TRACE_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 14))
  797. #define CCM_CBCMR_PERIPH_CLK2_SEL(n) ((uint32_t)(((n) & 0x03) << 12))
  798. #define CCM_CBCMR_LPSPI_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 5))
  799. #define CCM_CSCMR1_FLEXSPI_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 29))
  800. #define CCM_CSCMR1_FLEXSPI_PODF(n) ((uint32_t)(((n) & 0x07) << 23))
  801. #define CCM_CSCMR1_USDHC2_CLK_SEL ((uint32_t)0x00020000)
  802. #define CCM_CSCMR1_USDHC1_CLK_SEL ((uint32_t)0x00010000)
  803. #define CCM_CSCMR1_SAI3_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 14))
  804. #define CCM_CSCMR1_SAI2_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 12))
  805. #define CCM_CSCMR1_SAI1_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 10))
  806. #define CCM_CSCMR1_PERCLK_CLK_SEL ((uint32_t)0x00000040)
  807. #define CCM_CSCMR1_PERCLK_PODF(n) ((uint32_t)(((n) & 0x3F) << 0))
  808. #define CCM_CSCMR2_FLEXIO2_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 19))
  809. #define CCM_CSCMR2_CAN_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 8))
  810. #define CCM_CSCMR2_CAN_CLK_PODF(n) ((uint32_t)(((n) & 0x3F) << 2))
  811. #define CCM_CSCDR1_TRACE_PODF(n) ((uint32_t)(((n) & 0x07) << 25))
  812. #define CCM_CSCDR1_USDHC2_PODF(n) ((uint32_t)(((n) & 0x07) << 16))
  813. #define CCM_CSCDR1_USDHC1_PODF(n) ((uint32_t)(((n) & 0x07) << 11))
  814. #define CCM_CSCDR1_UART_CLK_SEL ((uint32_t)0x00000040)
  815. #define CCM_CSCDR1_UART_CLK_PODF(n) ((uint32_t)(((n) & 0x1F) << 0))
  816. #define CCM_CS1CDR_FLEXIO2_CLK_PODF(n) ((uint32_t)(((n) & 0x07) << 25))
  817. #define CCM_CS1CDR_SAI3_CLK_PRED(n) ((uint32_t)(((n) & 0x07) << 22))
  818. #define CCM_CS1CDR_SAI3_CLK_PODF(n) ((uint32_t)(((n) & 0x1F) << 16))
  819. #define CCM_CS1CDR_FLEXIO2_CLK_PRED(n) ((uint32_t)(((n) & 0x07) << 9))
  820. #define CCM_CS1CDR_SAI1_CLK_PRED(n) ((uint32_t)(((n) & 0x07) << 6))
  821. #define CCM_CS1CDR_SAI1_CLK_PODF(n) ((uint32_t)(((n) & 0x1F) << 0))
  822. #define CCM_CS2CDR_SAI2_CLK_PRED(n) ((uint32_t)(((n) & 0x07) << 6))
  823. #define CCM_CS2CDR_SAI2_CLK_PODF(n) ((uint32_t)(((n) & 0x3F) << 0))
  824. #define CCM_CDCDR_SPDIF0_CLK_PRED(n) ((uint32_t)(((n) & 0x07) << 25))
  825. #define CCM_CDCDR_SPDIF0_CLK_PODF(n) ((uint32_t)(((n) & 0x07) << 22))
  826. #define CCM_CDCDR_SPDIF0_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 20))
  827. #define CCM_CDCDR_FLEXIO1_CLK_PRED(n) ((uint32_t)(((n) & 0x07) << 12))
  828. #define CCM_CDCDR_FLEXIO1_CLK_PODF(n) ((uint32_t)(((n) & 0x07) << 9))
  829. #define CCM_CDCDR_FLEXIO1_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 7))
  830. #define CCM_CSCDR2_LPI2C_CLK_PODF(n) ((uint32_t)(((n) & 0x1F) << 19))
  831. #define CCM_CSCDR2_LPI2C_CLK_SEL ((uint32_t)0x00040000)
  832. #define CCM_CSCDR2_LCDIF_PRE_CLK_SEL(n) ((uint32_t)(((n) & 0x07) << 15))
  833. #define CCM_CSCDR2_LCDIF_PRED(n) ((uint32_t)(((n) & 0x07) << 12))
  834. #define CCM_CSCDR2_LCDIF_CLK_SEL(n) ((uint32_t)(((n) & 0x07) << 9))
  835. #define CCM_CSCDR3_CSI_PODF(n) ((uint32_t)(((n) & 0x07) << 11))
  836. #define CCM_CSCDR3_CSI_CLK_SEL(n) ((uint32_t)(((n) & 0x03) << 9))
  837. #define CCM_CDHIPR_ARM_PODF_BUSY ((uint32_t)0x00010000)
  838. #define CCM_CDHIPR_PERIPH_CLK_SEL_BUSY ((uint32_t)0x00000020)
  839. #define CCM_CDHIPR_PERIPH2_CLK_SEL_BUSY ((uint32_t)0x00000008)
  840. #define CCM_CDHIPR_AHB_PODF_BUSY ((uint32_t)0x00000002)
  841. #define CCM_CDHIPR_SEMC_PODF_BUSY ((uint32_t)0x00000001)
  842. #define CCM_CLPCR_MASK_L2CC_IDLE ((uint32_t)0x08000000)
  843. #define CCM_CLPCR_MASK_SCU_IDLE ((uint32_t)0x04000000)
  844. #define CCM_CLPCR_MASK_CORE0_WFI ((uint32_t)0x00400000)
  845. #define CCM_CLPCR_BYPASS_LPM_HS0 ((uint32_t)0x00200000)
  846. #define CCM_CLPCR_BYPASS_LPM_HS1 ((uint32_t)0x00080000)
  847. #define CCM_CLPCR_COSC_PWRDOWN ((uint32_t)0x00000800)
  848. #define CCM_CLPCR_STBY_COUNT(n) ((uint32_t)(((n) & 0x03) << 9))
  849. #define CCM_CLPCR_VSTBY ((uint32_t)0x00000100)
  850. #define CCM_CLPCR_DIS_REF_OSC ((uint32_t)0x00000080)
  851. #define CCM_CLPCR_SBYOS ((uint32_t)0x00000040)
  852. #define CCM_CLPCR_ARM_CLK_DIS_ON_LPM ((uint32_t)0x00000020)
  853. #define CCM_CLPCR_LPM(n) ((uint32_t)(((n) & 0x03) << 0))
  854. #define CCM_CISR_ARM_PODF_LOADED ((uint32_t)0x04000000)
  855. #define CCM_CISR_PERIPH_CLK_SEL_LOADED ((uint32_t)0x00400000)
  856. #define CCM_CISR_AHB_PODF_LOADED ((uint32_t)0x00100000)
  857. #define CCM_CISR_PERIPH2_CLK_SEL_LOADED ((uint32_t)0x00080000)
  858. #define CCM_CISR_SEMC_PODF_LOADED ((uint32_t)0x00020000)
  859. #define CCM_CISR_COSC_READY ((uint32_t)0x00000040)
  860. #define CCM_CISR_LRF_PLL ((uint32_t)0x00000001)
  861. #define CCM_CIMR_ARM_PODF_LOADED ((uint32_t)0x04000000)
  862. #define CCM_CIMR_MASK_PERIPH_CLK_SEL_LOADED ((uint32_t)0x00400000)
  863. #define CCM_CIMR_MASK_AHB_PODF_LOADED ((uint32_t)0x00100000)
  864. #define CCM_CIMR_MASK_PERIPH2_CLK_SEL_LOADED ((uint32_t)0x00080000)
  865. #define CCM_CIMR_MASK_SEMC_PODF_LOADED ((uint32_t)0x00020000)
  866. #define CCM_CIMR_MASK_COSC_READY ((uint32_t)0x00000040)
  867. #define CCM_CIMR_MASK_LRF_PLL ((uint32_t)0x00000001)
  868. #define CCM_CCOSR_CLKO2_EN ((uint32_t)0x01000000)
  869. #define CCM_CCOSR_CLKO2_DIV(n) ((uint32_t)(((n) & 0x07) << 21))
  870. #define CCM_CCOSR_CLKO2_SEL(n) ((uint32_t)(((n) & 0x1F) << 16))
  871. #define CCM_CCOSR_CLK_OUT_SEL ((uint32_t)0x00000100)
  872. #define CCM_CCOSR_CLKO1_EN ((uint32_t)0x00000080)
  873. #define CCM_CCOSR_CLKO1_DIV(n) ((uint32_t)(((n) & 0x07) << 4))
  874. #define CCM_CCOSR_CLKO1_SEL(n) ((uint32_t)(((n) & 0x0F) << 0))
  875. #define CCM_CGPR_INT_MEM_CLK_LPM ((uint32_t)0x00020000)
  876. #define CCM_CGPR_FPL ((uint32_t)0x00010000)
  877. #define CCM_CGPR_SYS_MEM_DS_CTRL(n) ((uint32_t)(((n) & 0x03) << 14))
  878. #define CCM_CGPR_EFUSE_PROG_SUPPLY_GATE ((uint32_t)0x00000010)
  879. #define CCM_CGPR_PMIC_DELAY_SCALER ((uint32_t)0x00000001)
  880. #define CCM_CCGR_OFF 0
  881. #define CCM_CCGR_ON_RUNONLY 1
  882. #define CCM_CCGR_ON 3
  883. #define CCM_CCGR0_GPIO2(n) ((uint32_t)(((n) & 0x03) << 30))
  884. #define CCM_CCGR0_LPUART2(n) ((uint32_t)(((n) & 0x03) << 28))
  885. #define CCM_CCGR0_GPT2_SERIAL(n) ((uint32_t)(((n) & 0x03) << 26))
  886. #define CCM_CCGR0_GPT2_BUS(n) ((uint32_t)(((n) & 0x03) << 24))
  887. #define CCM_CCGR0_TRACE(n) ((uint32_t)(((n) & 0x03) << 22))
  888. #define CCM_CCGR0_CAN2_SERIAL(n) ((uint32_t)(((n) & 0x03) << 20))
  889. #define CCM_CCGR0_CAN2(n) ((uint32_t)(((n) & 0x03) << 18))
  890. #define CCM_CCGR0_CAN1_SERIAl(n) ((uint32_t)(((n) & 0x03) << 16))
  891. #define CCM_CCGR0_CAN1(n) ((uint32_t)(((n) & 0x03) << 14))
  892. #define CCM_CCGR0_LPUART3(n) ((uint32_t)(((n) & 0x03) << 12))
  893. #define CCM_CCGR0_DCP(n) ((uint32_t)(((n) & 0x03) << 10))
  894. #define CCM_CCGR0_MQS_HMCLK(n) ((uint32_t)(((n) & 0x03) << 4))
  895. #define CCM_CCGR0_AIPS_TZ2(n) ((uint32_t)(((n) & 0x03) << 2))
  896. #define CCM_CCGR0_aips_tz1(n) ((uint32_t)(((n) & 0x03) << 0))
  897. #define CCM_CCGR1_CSU(n) ((uint32_t)(((n) & 0x03) << 28))
  898. #define CCM_CCGR1_GPIO1(n) ((uint32_t)(((n) & 0x03) << 26))
  899. #define CCM_CCGR1_LPUART4(n) ((uint32_t)(((n) & 0x03) << 24))
  900. #define CCM_CCGR1_GPT_SERIAL(n) ((uint32_t)(((n) & 0x03) << 22))
  901. #define CCM_CCGR1_GPT(n) ((uint32_t)(((n) & 0x03) << 20))
  902. #define CCM_CCGR1_ADC1(n) ((uint32_t)(((n) & 0x03) << 16))
  903. #define CCM_CCGR1_AOI2(n) ((uint32_t)(((n) & 0x03) << 14))
  904. #define CCM_CCGR1_PIT(n) ((uint32_t)(((n) & 0x03) << 12))
  905. #define CCM_CCGR1_ENET(n) ((uint32_t)(((n) & 0x03) << 10))
  906. #define CCM_CCGR1_ADC2(n) ((uint32_t)(((n) & 0x03) << 8))
  907. #define CCM_CCGR1_LPSPI4(n) ((uint32_t)(((n) & 0x03) << 6))
  908. #define CCM_CCGR1_LPSPI3(n) ((uint32_t)(((n) & 0x03) << 4))
  909. #define CCM_CCGR1_LPSPI2(n) ((uint32_t)(((n) & 0x03) << 2))
  910. #define CCM_CCGR1_LPSPI1(n) ((uint32_t)(((n) & 0x03) << 0))
  911. #define CCM_CCGR2_PXP(n) ((uint32_t)(((n) & 0x03) << 30))
  912. #define CCM_CCGR2_LCD(n) ((uint32_t)(((n) & 0x03) << 28))
  913. #define CCM_CCGR2_GPIO3(n) ((uint32_t)(((n) & 0x03) << 26))
  914. #define CCM_CCGR2_XBAR2(n) ((uint32_t)(((n) & 0x03) << 24))
  915. #define CCM_CCGR2_XBAR1(n) ((uint32_t)(((n) & 0x03) << 22))
  916. #define CCM_CCGR2_IPMUX3(n) ((uint32_t)(((n) & 0x03) << 20))
  917. #define CCM_CCGR2_IPMUX2(n) ((uint32_t)(((n) & 0x03) << 18))
  918. #define CCM_CCGR2_IPMUX1(n) ((uint32_t)(((n) & 0x03) << 16))
  919. #define CCM_CCGR2_XBAR3(n) ((uint32_t)(((n) & 0x03) << 14))
  920. #define CCM_CCGR2_IIM(n) ((uint32_t)(((n) & 0x03) << 12))
  921. #define CCM_CCGR2_LPI2C3(n) ((uint32_t)(((n) & 0x03) << 10))
  922. #define CCM_CCGR2_LPI2C2(n) ((uint32_t)(((n) & 0x03) << 8))
  923. #define CCM_CCGR2_LPI2C1(n) ((uint32_t)(((n) & 0x03) << 6))
  924. #define CCM_CCGR2_IOMUXC_SNVS(n) ((uint32_t)(((n) & 0x03) << 4))
  925. #define CCM_CCGR2_CSI(n) ((uint32_t)(((n) & 0x03) << 2))
  926. #define CCM_CCGR2_(n) ((uint32_t)(((n) & 0x03) << 0))
  927. #define CCM_CCGR3_IOMUXC_SNVS_GPR(n) ((uint32_t)(((n) & 0x03) << 30))
  928. #define CCM_CCGR3_OCRAM(n) ((uint32_t)(((n) & 0x03) << 28))
  929. #define CCM_CCGR3_ACMP4(n) ((uint32_t)(((n) & 0x03) << 26))
  930. #define CCM_CCGR3_ACMP3(n) ((uint32_t)(((n) & 0x03) << 24))
  931. #define CCM_CCGR3_ACMP2(n) ((uint32_t)(((n) & 0x03) << 22))
  932. #define CCM_CCGR3_ACMP1(n) ((uint32_t)(((n) & 0x03) << 20))
  933. #define CCM_CCGR3_FLEXRAM(n) ((uint32_t)(((n) & 0x03) << 18))
  934. #define CCM_CCGR3_WDOG1(n) ((uint32_t)(((n) & 0x03) << 16))
  935. #define CCM_CCGR3_EWM(n) ((uint32_t)(((n) & 0x03) << 14))
  936. #define CCM_CCGR3_GPIO4(n) ((uint32_t)(((n) & 0x03) << 12))
  937. #define CCM_CCGR3_LCDIF_PIX(n) ((uint32_t)(((n) & 0x03) << 10))
  938. #define CCM_CCGR3_AOI1(n) ((uint32_t)(((n) & 0x03) << 8))
  939. #define CCM_CCGR3_LPUART6(n) ((uint32_t)(((n) & 0x03) << 6))
  940. #define CCM_CCGR3_SEMC(n) ((uint32_t)(((n) & 0x03) << 4))
  941. #define CCM_CCGR3_LPUART5(n) ((uint32_t)(((n) & 0x03) << 2))
  942. #define CCM_CCGR3_FLEXIO2(n) ((uint32_t)(((n) & 0x03) << 0))
  943. #define CCM_CCGR4_ENC4(n) ((uint32_t)(((n) & 0x03) << 30))
  944. #define CCM_CCGR4_ENC3(n) ((uint32_t)(((n) & 0x03) << 28))
  945. #define CCM_CCGR4_ENC2(n) ((uint32_t)(((n) & 0x03) << 26))
  946. #define CCM_CCGR4_ENC1(n) ((uint32_t)(((n) & 0x03) << 24))
  947. #define CCM_CCGR4_PWM4(n) ((uint32_t)(((n) & 0x03) << 22))
  948. #define CCM_CCGR4_PWM3(n) ((uint32_t)(((n) & 0x03) << 20))
  949. #define CCM_CCGR4_PWM2(n) ((uint32_t)(((n) & 0x03) << 18))
  950. #define CCM_CCGR4_PWM1(n) ((uint32_t)(((n) & 0x03) << 16))
  951. #define CCM_CCGR4_SIM_EMS(n) ((uint32_t)(((n) & 0x03) << 14))
  952. #define CCM_CCGR4_SIM_M(n) ((uint32_t)(((n) & 0x03) << 12))
  953. #define CCM_CCGR4_TSC(n) ((uint32_t)(((n) & 0x03) << 10))
  954. #define CCM_CCGR4_SIM_M7(n) ((uint32_t)(((n) & 0x03) << 8))
  955. #define CCM_CCGR4_BEE(n) ((uint32_t)(((n) & 0x03) << 6))
  956. #define CCM_CCGR4_IOMUXC_GPR(n) ((uint32_t)(((n) & 0x03) << 4))
  957. #define CCM_CCGR4_IOMUXC(n) ((uint32_t)(((n) & 0x03) << 2))
  958. #define CCM_CCGR5_SNVS_LP(n) ((uint32_t)(((n) & 0x03) << 30))
  959. #define CCM_CCGR5_SNVS_HP(n) ((uint32_t)(((n) & 0x03) << 28))
  960. #define CCM_CCGR5_LPUART7(n) ((uint32_t)(((n) & 0x03) << 26))
  961. #define CCM_CCGR5_LPUART1(n) ((uint32_t)(((n) & 0x03) << 24))
  962. #define CCM_CCGR5_SAI3(n) ((uint32_t)(((n) & 0x03) << 22))
  963. #define CCM_CCGR5_SAI2(n) ((uint32_t)(((n) & 0x03) << 20))
  964. #define CCM_CCGR5_SAI1(n) ((uint32_t)(((n) & 0x03) << 18))
  965. #define CCM_CCGR5_SIM_MAIN(n) ((uint32_t)(((n) & 0x03) << 16))
  966. #define CCM_CCGR5_SPDIF(n) ((uint32_t)(((n) & 0x03) << 14))
  967. #define CCM_CCGR5_AIPS_TZ4(n) ((uint32_t)(((n) & 0x03) << 12))
  968. #define CCM_CCGR5_WDOG2(n) ((uint32_t)(((n) & 0x03) << 10))
  969. #define CCM_CCGR5_KPP(n) ((uint32_t)(((n) & 0x03) << 8))
  970. #define CCM_CCGR5_DMA(n) ((uint32_t)(((n) & 0x03) << 6))
  971. #define CCM_CCGR5_WDOG3(n) ((uint32_t)(((n) & 0x03) << 4))
  972. #define CCM_CCGR5_FLEXIO1(n) ((uint32_t)(((n) & 0x03) << 2))
  973. #define CCM_CCGR5_ROM(n) ((uint32_t)(((n) & 0x03) << 0))
  974. #define CCM_CCGR6_TIMER3(n) ((uint32_t)(((n) & 0x03) << 30))
  975. #define CCM_CCGR6_TIMER2(n) ((uint32_t)(((n) & 0x03) << 28))
  976. #define CCM_CCGR6_TIMER1(n) ((uint32_t)(((n) & 0x03) << 26))
  977. #define CCM_CCGR6_LPI2C4_SERIAL(n) ((uint32_t)(((n) & 0x03) << 24))
  978. #define CCM_CCGR6_ANADIG(n) ((uint32_t)(((n) & 0x03) << 22))
  979. #define CCM_CCGR6_SIM_PER(n) ((uint32_t)(((n) & 0x03) << 20))
  980. #define CCM_CCGR6_AIPS_TZ3(n) ((uint32_t)(((n) & 0x03) << 18))
  981. #define CCM_CCGR6_TIMER4(n) ((uint32_t)(((n) & 0x03) << 16))
  982. #define CCM_CCGR6_LPUART8(n) ((uint32_t)(((n) & 0x03) << 14))
  983. #define CCM_CCGR6_TRNG(n) ((uint32_t)(((n) & 0x03) << 12))
  984. #define CCM_CCGR6_FLEXSPi(n) ((uint32_t)(((n) & 0x03) << 10))
  985. #define CCM_CCGR6_IPMUX4(n) ((uint32_t)(((n) & 0x03) << 8))
  986. #define CCM_CCGR6_DCDC(n) ((uint32_t)(((n) & 0x03) << 6))
  987. #define CCM_CCGR6_USDHC2(n) ((uint32_t)(((n) & 0x03) << 4))
  988. #define CCM_CCGR6_USDHC1(n) ((uint32_t)(((n) & 0x03) << 2))
  989. #define CCM_CCGR6_USBOH3(n) ((uint32_t)(((n) & 0x03) << 0))
  990. #define CCM_CMEOR_MOD_EN_OV_CAN1_CPI ((uint32_t)0x40000000)
  991. #define CCM_CMEOR_MOD_EN_OV_CAN2_CPI ((uint32_t)0x10000000)
  992. #define CCM_CMEOR_MOD_EN_OV_TRNG ((uint32_t)0x00000200)
  993. #define CCM_CMEOR_MOD_EN_USDHC ((uint32_t)0x00000080)
  994. #define CCM_CMEOR_MOD_EN_OV_PIT ((uint32_t)0x00000040)
  995. #define CCM_CMEOR_MOD_EN_OV_GPT ((uint32_t)0x00000020)
  996. // page 796
  997. #define IMXRT_CCM_ANALOG (*(IMXRT_REGISTER32_t *)0x400D8000)
  998. #define CCM_ANALOG_PLL_ARM (IMXRT_CCM_ANALOG.offset000)
  999. #define CCM_ANALOG_PLL_ARM_SET (IMXRT_CCM_ANALOG.offset004)
  1000. #define CCM_ANALOG_PLL_ARM_CLR (IMXRT_CCM_ANALOG.offset008)
  1001. #define CCM_ANALOG_PLL_ARM_TOG (IMXRT_CCM_ANALOG.offset00C)
  1002. #define CCM_ANALOG_PLL_USB1 (IMXRT_CCM_ANALOG.offset010)
  1003. #define CCM_ANALOG_PLL_USB1_SET (IMXRT_CCM_ANALOG.offset014)
  1004. #define CCM_ANALOG_PLL_USB1_CLR (IMXRT_CCM_ANALOG.offset018)
  1005. #define CCM_ANALOG_PLL_USB1_TOG (IMXRT_CCM_ANALOG.offset01C)
  1006. #define CCM_ANALOG_PLL_USB2 (IMXRT_CCM_ANALOG.offset020)
  1007. #define CCM_ANALOG_PLL_USB2_SET (IMXRT_CCM_ANALOG.offset024)
  1008. #define CCM_ANALOG_PLL_USB2_CLR (IMXRT_CCM_ANALOG.offset028)
  1009. #define CCM_ANALOG_PLL_USB2_TOG (IMXRT_CCM_ANALOG.offset02C)
  1010. #define CCM_ANALOG_PLL_SYS (IMXRT_CCM_ANALOG.offset030)
  1011. #define CCM_ANALOG_PLL_SYS_SET (IMXRT_CCM_ANALOG.offset034)
  1012. #define CCM_ANALOG_PLL_SYS_CLR (IMXRT_CCM_ANALOG.offset038)
  1013. #define CCM_ANALOG_PLL_SYS_TOG (IMXRT_CCM_ANALOG.offset03C)
  1014. #define CCM_ANALOG_PLL_SYS_SS (IMXRT_CCM_ANALOG.offset040)
  1015. #define CCM_ANALOG_PLL_SYS_NUM (IMXRT_CCM_ANALOG.offset050)
  1016. #define CCM_ANALOG_PLL_SYS_DENOM (IMXRT_CCM_ANALOG.offset060)
  1017. #define CCM_ANALOG_PLL_AUDIO (IMXRT_CCM_ANALOG.offset070)
  1018. #define CCM_ANALOG_PLL_AUDIO_SET (IMXRT_CCM_ANALOG.offset074)
  1019. #define CCM_ANALOG_PLL_AUDIO_CLR (IMXRT_CCM_ANALOG.offset078)
  1020. #define CCM_ANALOG_PLL_AUDIO_TOG (IMXRT_CCM_ANALOG.offset07C)
  1021. #define CCM_ANALOG_PLL_AUDIO_NUM (IMXRT_CCM_ANALOG.offset080)
  1022. #define CCM_ANALOG_PLL_AUDIO_DENOM (IMXRT_CCM_ANALOG.offset090)
  1023. #define CCM_ANALOG_PLL_VIDEO (IMXRT_CCM_ANALOG.offset0A0)
  1024. #define CCM_ANALOG_PLL_VIDEO_SET (IMXRT_CCM_ANALOG.offset0A4)
  1025. #define CCM_ANALOG_PLL_VIDEO_CLR (IMXRT_CCM_ANALOG.offset0A8)
  1026. #define CCM_ANALOG_PLL_VIDEO_TOG (IMXRT_CCM_ANALOG.offset0AC)
  1027. #define CCM_ANALOG_PLL_VIDEO_NUM (IMXRT_CCM_ANALOG.offset0B0)
  1028. #define CCM_ANALOG_PLL_VIDEO_DENOM (IMXRT_CCM_ANALOG.offset0C0)
  1029. #define CCM_ANALOG_PLL_ENET (IMXRT_CCM_ANALOG.offset0EC)
  1030. #define CCM_ANALOG_PLL_ENET_SET (IMXRT_CCM_ANALOG.offset0E4)
  1031. #define CCM_ANALOG_PLL_ENET_CLR (IMXRT_CCM_ANALOG.offset0E8)
  1032. #define CCM_ANALOG_PLL_ENET_TOG (IMXRT_CCM_ANALOG.offset0EC)
  1033. #define CCM_ANALOG_PFD_480 (IMXRT_CCM_ANALOG.offset0F0)
  1034. #define CCM_ANALOG_PFD_480_SET (IMXRT_CCM_ANALOG.offset0F4)
  1035. #define CCM_ANALOG_PFD_480_CLR (IMXRT_CCM_ANALOG.offset0F8)
  1036. #define CCM_ANALOG_PFD_480_TOG (IMXRT_CCM_ANALOG.offset0FC)
  1037. #define CCM_ANALOG_PFD_528 (IMXRT_CCM_ANALOG.offset100)
  1038. #define CCM_ANALOG_PFD_528_SET (IMXRT_CCM_ANALOG.offset104)
  1039. #define CCM_ANALOG_PFD_528_CLR (IMXRT_CCM_ANALOG.offset108)
  1040. #define CCM_ANALOG_PFD_528_TOG (IMXRT_CCM_ANALOG.offset10C)
  1041. #define CCM_ANALOG_MISC0 (IMXRT_CCM_ANALOG.offset150)
  1042. #define CCM_ANALOG_MISC0_SET (IMXRT_CCM_ANALOG.offset154)
  1043. #define CCM_ANALOG_MISC0_CLR (IMXRT_CCM_ANALOG.offset158)
  1044. #define CCM_ANALOG_MISC0_TOG (IMXRT_CCM_ANALOG.offset15C)
  1045. #define CCM_ANALOG_MISC1 (IMXRT_CCM_ANALOG.offset160)
  1046. #define CCM_ANALOG_MISC1_SET (IMXRT_CCM_ANALOG.offset164)
  1047. #define CCM_ANALOG_MISC1_CLR (IMXRT_CCM_ANALOG.offset168)
  1048. #define CCM_ANALOG_MISC1_TOG (IMXRT_CCM_ANALOG.offset16C)
  1049. #define CCM_ANALOG_MISC2 (IMXRT_CCM_ANALOG.offset170)
  1050. #define CCM_ANALOG_MISC2_SET (IMXRT_CCM_ANALOG.offset174)
  1051. #define CCM_ANALOG_MISC2_CLR (IMXRT_CCM_ANALOG.offset178)
  1052. #define CCM_ANALOG_MISC2_TOG (IMXRT_CCM_ANALOG.offset17C)
  1053. // page 852
  1054. #define IMXRT_CSI (*(IMXRT_REGISTER32_t *)0x402BC000)
  1055. #define CSI_CSICR1 (IMXRT_CSI.offset000)
  1056. #define CSI_CSICR2 (IMXRT_CSI.offset004)
  1057. #define CSI_CSICR3 (IMXRT_CSI.offset008)
  1058. #define CSI_CSISTATFIFO (IMXRT_CSI.offset00C)
  1059. #define CSI_CSIRFIFO (IMXRT_CSI.offset010)
  1060. #define CSI_CSIRXCNT (IMXRT_CSI.offset014)
  1061. #define CSI_CSISR (IMXRT_CSI.offset018)
  1062. #define CSI_CSIDMASA_STATFIFO (IMXRT_CSI.offset020)
  1063. #define CSI_CSIDMATS_STATFIFO (IMXRT_CSI.offset024)
  1064. #define CSI_CSIDMASA_FB1 (IMXRT_CSI.offset028)
  1065. #define CSI_CSIDMASA_FB2 (IMXRT_CSI.offset02C)
  1066. #define CSI_CSIFBUF_PARA (IMXRT_CSI.offset030)
  1067. #define CSI_CSIIMAG_PARA (IMXRT_CSI.offset034)
  1068. #define CSI_CSICR18 (IMXRT_CSI.offset038)
  1069. #define CSI_CSICR19 (IMXRT_CSI.offset03C)
  1070. // page 878
  1071. #define IMXRT_DCDC (*(IMXRT_REGISTER32_t *)0x40080000)
  1072. #define DCDC_REG0 (IMXRT_DCDC.offset000)
  1073. #define DCDC_REG1 (IMXRT_DCDC.offset004)
  1074. #define DCDC_REG2 (IMXRT_DCDC.offset008)
  1075. #define DCDC_REG3 (IMXRT_DCDC.offset00C)
  1076. // page 489
  1077. #define IMXRT_CMP1 (*(IMXRT_REGISTER8_t *)0x40094000)
  1078. #define CMP1_CR0 (IMXRT_CMP1.offset00)
  1079. #define CMP1_CR1 (IMXRT_CMP1.offset01)
  1080. #define CMP1_FPR (IMXRT_CMP1.offset02)
  1081. #define CMP1_SCR (IMXRT_CMP1.offset03)
  1082. #define CMP1_DACCR (IMXRT_CMP1.offset04)
  1083. #define CMP1_MUXCR (IMXRT_CMP1.offset05)
  1084. #define IMXRT_CMP2 (*(IMXRT_REGISTER8_t *)0x40094008)
  1085. #define CMP2_CR0 (IMXRT_CMP2.offset00)
  1086. #define CMP2_CR1 (IMXRT_CMP2.offset01)
  1087. #define CMP2_FPR (IMXRT_CMP2.offset02)
  1088. #define CMP2_SCR (IMXRT_CMP2.offset03)
  1089. #define CMP2_DACCR (IMXRT_CMP2.offset04)
  1090. #define CMP2_MUXCR (IMXRT_CMP2.offset05)
  1091. #define IMXRT_CMP3 (*(IMXRT_REGISTER8_t *)0x40094010)
  1092. #define CMP3_CR0 (IMXRT_CMP3.offset00)
  1093. #define CMP3_CR1 (IMXRT_CMP3.offset01)
  1094. #define CMP3_FPR (IMXRT_CMP3.offset02)
  1095. #define CMP3_SCR (IMXRT_CMP3.offset03)
  1096. #define CMP3_DACCR (IMXRT_CMP3.offset04)
  1097. #define CMP3_MUXCR (IMXRT_CMP3.offset05)
  1098. #define IMXRT_CMP4 (*(IMXRT_REGISTER8_t *)0x40094018)
  1099. #define CMP4_CR0 (IMXRT_CMP4.offset00)
  1100. #define CMP4_CR1 (IMXRT_CMP4.offset01)
  1101. #define CMP4_FPR (IMXRT_CMP4.offset02)
  1102. #define CMP4_SCR (IMXRT_CMP4.offset03)
  1103. #define CMP4_DACCR (IMXRT_CMP4.offset04)
  1104. #define CMP4_MUXCR (IMXRT_CMP4.offset05)
  1105. // page 538
  1106. #define IMXRT_ADC1 (*(IMXRT_REGISTER32_t *)0x400C4000)
  1107. #define ADC1_HC0 (IMXRT_ADC1.offset000)
  1108. #define ADC1_HC1 (IMXRT_ADC1.offset004)
  1109. #define ADC1_HS (IMXRT_ADC1.offset008)
  1110. #define ADC1_R0 (IMXRT_ADC1.offset00C)
  1111. #define ADC1_R1 (IMXRT_ADC1.offset010)
  1112. #define ADC1_CFG (IMXRT_ADC1.offset014)
  1113. #define ADC1_GC (IMXRT_ADC1.offset018)
  1114. #define ADC1_GS (IMXRT_ADC1.offset01C)
  1115. #define ADC1_CV (IMXRT_ADC1.offset020)
  1116. #define ADC1_OFS (IMXRT_ADC1.offset024)
  1117. #define ADC1_CAL (IMXRT_ADC1.offset028)
  1118. // page 552
  1119. #define IMXRT_ADC2 (*(IMXRT_REGISTER32_t *)0x400C8000)
  1120. #define ADC2_HC0 (IMXRT_ADC2.offset000)
  1121. #define ADC2_HC1 (IMXRT_ADC2.offset004)
  1122. #define ADC2_HC2 (IMXRT_ADC2.offset008)
  1123. #define ADC2_HC3 (IMXRT_ADC2.offset00C)
  1124. #define ADC2_HC4 (IMXRT_ADC2.offset010)
  1125. #define ADC2_HS (IMXRT_ADC2.offset014)
  1126. #define ADC2_R0 (IMXRT_ADC2.offset018)
  1127. #define ADC2_R1 (IMXRT_ADC2.offset01C)
  1128. #define ADC2_R2 (IMXRT_ADC2.offset020)
  1129. #define ADC2_R3 (IMXRT_ADC2.offset024)
  1130. #define ADC2_R4 (IMXRT_ADC2.offset028)
  1131. #define ADC2_CFG (IMXRT_ADC2.offset02C)
  1132. #define ADC2_GC (IMXRT_ADC2.offset030)
  1133. #define ADC2_GS (IMXRT_ADC2.offset034)
  1134. #define ADC2_CV (IMXRT_ADC2.offset038)
  1135. #define ADC2_OFS (IMXRT_ADC2.offset03C)
  1136. #define ADC2_CAL (IMXRT_ADC2.offset040)
  1137. // page 891
  1138. #define IMXRT_DMAMUX (*(IMXRT_REGISTER32_t *)0x400EC000)
  1139. #define DMAMUX_CHCFG0 (IMXRT_DMAMUX.offset000)
  1140. #define DMAMUX_CHCFG1 (IMXRT_DMAMUX.offset004)
  1141. #define DMAMUX_CHCFG2 (IMXRT_DMAMUX.offset008)
  1142. #define DMAMUX_CHCFG3 (IMXRT_DMAMUX.offset00C)
  1143. #define DMAMUX_CHCFG4 (IMXRT_DMAMUX.offset010)
  1144. #define DMAMUX_CHCFG5 (IMXRT_DMAMUX.offset014)
  1145. #define DMAMUX_CHCFG6 (IMXRT_DMAMUX.offset018)
  1146. #define DMAMUX_CHCFG7 (IMXRT_DMAMUX.offset01C)
  1147. #define DMAMUX_CHCFG8 (IMXRT_DMAMUX.offset020)
  1148. #define DMAMUX_CHCFG9 (IMXRT_DMAMUX.offset024)
  1149. #define DMAMUX_CHCFG10 (IMXRT_DMAMUX.offset028)
  1150. #define DMAMUX_CHCFG11 (IMXRT_DMAMUX.offset02C)
  1151. #define DMAMUX_CHCFG12 (IMXRT_DMAMUX.offset030)
  1152. #define DMAMUX_CHCFG13 (IMXRT_DMAMUX.offset034)
  1153. #define DMAMUX_CHCFG14 (IMXRT_DMAMUX.offset038)
  1154. #define DMAMUX_CHCFG15 (IMXRT_DMAMUX.offset03C)
  1155. #define DMAMUX_CHCFG16 (IMXRT_DMAMUX.offset040)
  1156. #define DMAMUX_CHCFG17 (IMXRT_DMAMUX.offset044)
  1157. #define DMAMUX_CHCFG18 (IMXRT_DMAMUX.offset048)
  1158. #define DMAMUX_CHCFG19 (IMXRT_DMAMUX.offset04C)
  1159. #define DMAMUX_CHCFG20 (IMXRT_DMAMUX.offset050)
  1160. #define DMAMUX_CHCFG21 (IMXRT_DMAMUX.offset054)
  1161. #define DMAMUX_CHCFG22 (IMXRT_DMAMUX.offset058)
  1162. #define DMAMUX_CHCFG23 (IMXRT_DMAMUX.offset05C)
  1163. #define DMAMUX_CHCFG24 (IMXRT_DMAMUX.offset060)
  1164. #define DMAMUX_CHCFG25 (IMXRT_DMAMUX.offset064)
  1165. #define DMAMUX_CHCFG26 (IMXRT_DMAMUX.offset068)
  1166. #define DMAMUX_CHCFG27 (IMXRT_DMAMUX.offset06C)
  1167. #define DMAMUX_CHCFG28 (IMXRT_DMAMUX.offset070)
  1168. #define DMAMUX_CHCFG29 (IMXRT_DMAMUX.offset074)
  1169. #define DMAMUX_CHCFG30 (IMXRT_DMAMUX.offset078)
  1170. #define DMAMUX_CHCFG31 (IMXRT_DMAMUX.offset07C)
  1171. // page 906
  1172. // TODO: DMA is complicated...
  1173. // page 1063 (offsets are wrong)
  1174. #define IMXRT_ENC1 (*(IMXRT_REGISTER16_t *)0x403C8000)
  1175. #define ENC1_CTRL (IMXRT_ENC1.offset000)
  1176. #define ENC1_FILT (IMXRT_ENC1.offset002)
  1177. #define ENC1_WTR (IMXRT_ENC1.offset004)
  1178. #define ENC1_POSD (IMXRT_ENC1.offset006)
  1179. #define ENC1_POSDH (IMXRT_ENC1.offset008)
  1180. #define ENC1_REV (IMXRT_ENC1.offset00A)
  1181. #define ENC1_REVH (IMXRT_ENC1.offset00C)
  1182. #define ENC1_UPOS (IMXRT_ENC1.offset00E)
  1183. #define ENC1_LPOS (IMXRT_ENC1.offset010)
  1184. #define ENC1_UPOSH (IMXRT_ENC1.offset012)
  1185. #define ENC1_LPOSH (IMXRT_ENC1.offset014)
  1186. #define ENC1_UINIT (IMXRT_ENC1.offset016)
  1187. #define ENC1_LINIT (IMXRT_ENC1.offset018)
  1188. #define ENC1_IMR (IMXRT_ENC1.offset01A)
  1189. #define ENC1_TST (IMXRT_ENC1.offset01C)
  1190. #define ENC1_CTRL2 (IMXRT_ENC1.offset01E)
  1191. #define ENC1_UMOD (IMXRT_ENC1.offset020)
  1192. #define ENC1_LMOD (IMXRT_ENC1.offset022)
  1193. #define ENC1_UCOMP (IMXRT_ENC1.offset024)
  1194. #define ENC1_LCOMP (IMXRT_ENC1.offset026)
  1195. #define IMXRT_ENC2 (*(IMXRT_REGISTER16_t *)0x403CC000)
  1196. #define ENC2_CTRL (IMXRT_ENC2.offset000)
  1197. #define ENC2_FILT (IMXRT_ENC2.offset002)
  1198. #define ENC2_WTR (IMXRT_ENC2.offset004)
  1199. #define ENC2_POSD (IMXRT_ENC2.offset006)
  1200. #define ENC2_POSDH (IMXRT_ENC2.offset008)
  1201. #define ENC2_REV (IMXRT_ENC2.offset00A)
  1202. #define ENC2_REVH (IMXRT_ENC2.offset00C)
  1203. #define ENC2_UPOS (IMXRT_ENC2.offset00E)
  1204. #define ENC2_LPOS (IMXRT_ENC2.offset010)
  1205. #define ENC2_UPOSH (IMXRT_ENC2.offset012)
  1206. #define ENC2_LPOSH (IMXRT_ENC2.offset014)
  1207. #define ENC2_UINIT (IMXRT_ENC2.offset016)
  1208. #define ENC2_LINIT (IMXRT_ENC2.offset018)
  1209. #define ENC2_IMR (IMXRT_ENC2.offset01A)
  1210. #define ENC2_TST (IMXRT_ENC2.offset01C)
  1211. #define ENC2_CTRL2 (IMXRT_ENC2.offset01E)
  1212. #define ENC2_UMOD (IMXRT_ENC2.offset020)
  1213. #define ENC2_LMOD (IMXRT_ENC2.offset022)
  1214. #define ENC2_UCOMP (IMXRT_ENC2.offset024)
  1215. #define ENC2_LCOMP (IMXRT_ENC2.offset026)
  1216. #define IMXRT_ENC3 (*(IMXRT_REGISTER16_t *)0x403D0000)
  1217. #define ENC3_CTRL (IMXRT_ENC3.offset000)
  1218. #define ENC3_FILT (IMXRT_ENC3.offset002)
  1219. #define ENC3_WTR (IMXRT_ENC3.offset004)
  1220. #define ENC3_POSD (IMXRT_ENC3.offset006)
  1221. #define ENC3_POSDH (IMXRT_ENC3.offset008)
  1222. #define ENC3_REV (IMXRT_ENC3.offset00A)
  1223. #define ENC3_REVH (IMXRT_ENC3.offset00C)
  1224. #define ENC3_UPOS (IMXRT_ENC3.offset00E)
  1225. #define ENC3_LPOS (IMXRT_ENC3.offset010)
  1226. #define ENC3_UPOSH (IMXRT_ENC3.offset012)
  1227. #define ENC3_LPOSH (IMXRT_ENC3.offset014)
  1228. #define ENC3_UINIT (IMXRT_ENC3.offset016)
  1229. #define ENC3_LINIT (IMXRT_ENC3.offset018)
  1230. #define ENC3_IMR (IMXRT_ENC3.offset01A)
  1231. #define ENC3_TST (IMXRT_ENC3.offset01C)
  1232. #define ENC3_CTRL2 (IMXRT_ENC3.offset01E)
  1233. #define ENC3_UMOD (IMXRT_ENC3.offset020)
  1234. #define ENC3_LMOD (IMXRT_ENC3.offset022)
  1235. #define ENC3_UCOMP (IMXRT_ENC3.offset024)
  1236. #define ENC3_LCOMP (IMXRT_ENC3.offset026)
  1237. #define IMXRT_ENC4 (*(IMXRT_REGISTER16_t *)0x403D4000)
  1238. #define ENC4_CTRL (IMXRT_ENC4.offset000)
  1239. #define ENC4_FILT (IMXRT_ENC4.offset002)
  1240. #define ENC4_WTR (IMXRT_ENC4.offset004)
  1241. #define ENC4_POSD (IMXRT_ENC4.offset006)
  1242. #define ENC4_POSDH (IMXRT_ENC4.offset008)
  1243. #define ENC4_REV (IMXRT_ENC4.offset00A)
  1244. #define ENC4_REVH (IMXRT_ENC4.offset00C)
  1245. #define ENC4_UPOS (IMXRT_ENC4.offset00E)
  1246. #define ENC4_LPOS (IMXRT_ENC4.offset010)
  1247. #define ENC4_UPOSH (IMXRT_ENC4.offset012)
  1248. #define ENC4_LPOSH (IMXRT_ENC4.offset014)
  1249. #define ENC4_UINIT (IMXRT_ENC4.offset016)
  1250. #define ENC4_LINIT (IMXRT_ENC4.offset018)
  1251. #define ENC4_IMR (IMXRT_ENC4.offset01A)
  1252. #define ENC4_TST (IMXRT_ENC4.offset01C)
  1253. #define ENC4_CTRL2 (IMXRT_ENC4.offset01E)
  1254. #define ENC4_UMOD (IMXRT_ENC4.offset020)
  1255. #define ENC4_LMOD (IMXRT_ENC4.offset022)
  1256. #define ENC4_UCOMP (IMXRT_ENC4.offset024)
  1257. #define ENC4_LCOMP (IMXRT_ENC4.offset026)
  1258. // page 1088
  1259. #define IMXRT_ENET (*(IMXRT_REGISTER32_t *)0x402D8000)
  1260. #define IMXRT_ENET_TIMER (*(IMXRT_REGISTER32_t *)0x402D8400)
  1261. #define ENET_EIR (IMXRT_ENET.offset004)
  1262. #define ENET_EIMR (IMXRT_ENET.offset008)
  1263. #define ENET_RDAR (IMXRT_ENET.offset010)
  1264. #define ENET_TDAR (IMXRT_ENET.offset014)
  1265. #define ENET_ECR (IMXRT_ENET.offset024)
  1266. #define ENET_MMFR (IMXRT_ENET.offset040)
  1267. #define ENET_MSCR (IMXRT_ENET.offset044)
  1268. #define ENET_MIBC (IMXRT_ENET.offset064)
  1269. #define ENET_RCR (IMXRT_ENET.offset084)
  1270. #define ENET_TCR (IMXRT_ENET.offset0C4)
  1271. #define ENET_PALR (IMXRT_ENET.offset0E4)
  1272. #define ENET_PAUR (IMXRT_ENET.offset0E8)
  1273. #define ENET_OPD (IMXRT_ENET.offset0EC)
  1274. #define ENET_TXIC (IMXRT_ENET.offset0F0)
  1275. #define ENET_RXIC (IMXRT_ENET.offset100)
  1276. #define ENET_IAUR (IMXRT_ENET.offset118)
  1277. #define ENET_IALR (IMXRT_ENET.offset11C)
  1278. #define ENET_GAUR (IMXRT_ENET.offset120)
  1279. #define ENET_GALR (IMXRT_ENET.offset124)
  1280. #define ENET_TFWR (IMXRT_ENET.offset144)
  1281. #define ENET_RDSR (IMXRT_ENET.offset180)
  1282. #define ENET_TDSR (IMXRT_ENET.offset184)
  1283. #define ENET_MRBR (IMXRT_ENET.offset188)
  1284. #define ENET_RSFL (IMXRT_ENET.offset190)
  1285. #define ENET_RSEM (IMXRT_ENET.offset194)
  1286. #define ENET_RAEM (IMXRT_ENET.offset198)
  1287. #define ENET_RAFL (IMXRT_ENET.offset19C)
  1288. #define ENET_TSEM (IMXRT_ENET.offset1A0)
  1289. #define ENET_TAEM (IMXRT_ENET.offset1A4)
  1290. #define ENET_TAFL (IMXRT_ENET.offset1A8)
  1291. #define ENET_TIPG (IMXRT_ENET.offset1AC)
  1292. #define ENET_FTRL (IMXRT_ENET.offset1B0)
  1293. #define ENET_TACC (IMXRT_ENET.offset1C0)
  1294. #define ENET_RACC (IMXRT_ENET.offset1C4)
  1295. #define ENET_RMON_T_DROP (IMXRT_ENET.offset200)
  1296. #define ENET_RMON_T_PACKETS (IMXRT_ENET.offset204)
  1297. #define ENET_RMON_T_BC_PKT (IMXRT_ENET.offset208)
  1298. #define ENET_RMON_T_MC_PKT (IMXRT_ENET.offset20C)
  1299. #define ENET_RMON_T_CRC_ALIGN (IMXRT_ENET.offset210)
  1300. #define ENET_RMON_T_UNDERSIZE (IMXRT_ENET.offset214)
  1301. #define ENET_RMON_T_OVERSIZE (IMXRT_ENET.offset218)
  1302. #define ENET_RMON_T_FRAG (IMXRT_ENET.offset21C)
  1303. #define ENET_RMON_T_JAB (IMXRT_ENET.offset220)
  1304. #define ENET_RMON_T_COL (IMXRT_ENET.offset224)
  1305. #define ENET_RMON_T_P64 (IMXRT_ENET.offset228)
  1306. #define ENET_RMON_T_P65TO127 (IMXRT_ENET.offset22C)
  1307. #define ENET_RMON_T_P128TO255 (IMXRT_ENET.offset230)
  1308. #define ENET_RMON_T_P256TO511 (IMXRT_ENET.offset234)
  1309. #define ENET_RMON_T_P512TO1023 (IMXRT_ENET.offset238)
  1310. #define ENET_RMON_T_P1024TO2047 (IMXRT_ENET.offset23C)
  1311. #define ENET_RMON_T_P_GTE2048 (IMXRT_ENET.offset240)
  1312. #define ENET_RMON_T_OCTETS (IMXRT_ENET.offset244)
  1313. #define ENET_IEEE_T_DROP (IMXRT_ENET.offset248)
  1314. #define ENET_IEEE_T_FRAME_OK (IMXRT_ENET.offset24C)
  1315. #define ENET_IEEE_T_1COL (IMXRT_ENET.offset250)
  1316. #define ENET_IEEE_T_MCOL (IMXRT_ENET.offset254)
  1317. #define ENET_IEEE_T_DEF (IMXRT_ENET.offset258)
  1318. #define ENET_IEEE_T_LCOL (IMXRT_ENET.offset25C)
  1319. #define ENET_IEEE_T_EXCOL (IMXRT_ENET.offset260)
  1320. #define ENET_IEEE_T_MACERR (IMXRT_ENET.offset264)
  1321. #define ENET_IEEE_T_CSERR (IMXRT_ENET.offset268)
  1322. #define ENET_IEEE_T_SQE (IMXRT_ENET.offset26C)
  1323. #define ENET_IEEE_T_FDXFC (IMXRT_ENET.offset270)
  1324. #define ENET_IEEE_T_OCTETS_OK (IMXRT_ENET.offset274)
  1325. #define ENET_RMON_R_PACKETS (IMXRT_ENET.offset284)
  1326. #define ENET_RMON_R_BC_PKT (IMXRT_ENET.offset288)
  1327. #define ENET_RMON_R_MC_PKT (IMXRT_ENET.offset28C)
  1328. #define ENET_RMON_R_CRC_ALIGN (IMXRT_ENET.offset290)
  1329. #define ENET_RMON_R_UNDERSIZE (IMXRT_ENET.offset294)
  1330. #define ENET_RMON_R_OVERSIZE (IMXRT_ENET.offset298)
  1331. #define ENET_RMON_R_FRAG (IMXRT_ENET.offset29C)
  1332. #define ENET_RMON_R_JAB (IMXRT_ENET.offset2A0)
  1333. #define ENET_RMON_R_RESVD_0 (IMXRT_ENET.offset2A4)
  1334. #define ENET_RMON_R_P64 (IMXRT_ENET.offset2A8)
  1335. #define ENET_RMON_R_P65TO127 (IMXRT_ENET.offset2AC)
  1336. #define ENET_RMON_R_P128TO255 (IMXRT_ENET.offset2B0)
  1337. #define ENET_RMON_R_P256TO511 (IMXRT_ENET.offset2B4)
  1338. #define ENET_RMON_R_P512TO1023 (IMXRT_ENET.offset2B8)
  1339. #define ENET_RMON_R_P1024TO2047 (IMXRT_ENET.offset2BC)
  1340. #define ENET_RMON_R_P_GTE2048 (IMXRT_ENET.offset2C0)
  1341. #define ENET_RMON_R_OCTETS (IMXRT_ENET.offset2C4)
  1342. #define ENET_IEEE_R_DROP (IMXRT_ENET.offset2C8)
  1343. #define ENET_IEEE_R_FRAME_OK (IMXRT_ENET.offset2CC)
  1344. #define ENET_IEEE_R_CRC (IMXRT_ENET.offset2D0)
  1345. #define ENET_IEEE_R_ALIGN (IMXRT_ENET.offset2D4)
  1346. #define ENET_IEEE_R_MACERR (IMXRT_ENET.offset2D8)
  1347. #define ENET_IEEE_R_FDXFC (IMXRT_ENET.offset2DC)
  1348. #define ENET_IEEE_R_OCTETS_OK (IMXRT_ENET.offset2E0)
  1349. #define ENET_ATCR (IMXRT_ENET_TIMER.offset000)
  1350. #define ENET_ATVR (IMXRT_ENET_TIMER.offset004)
  1351. #define ENET_ATOFF (IMXRT_ENET_TIMER.offset008)
  1352. #define ENET_ATPER (IMXRT_ENET_TIMER.offset00C)
  1353. #define ENET_ATCOR (IMXRT_ENET_TIMER.offset010)
  1354. #define ENET_ATINC (IMXRT_ENET_TIMER.offset014)
  1355. #define ENET_ATSTMP (IMXRT_ENET_TIMER.offset018)
  1356. #define ENET_TGSR (IMXRT_ENET_TIMER.offset204)
  1357. #define ENET_TCSR0 (IMXRT_ENET_TIMER.offset208)
  1358. #define ENET_TCCR0 (IMXRT_ENET_TIMER.offset20C)
  1359. #define ENET_TCSR1 (IMXRT_ENET_TIMER.offset210)
  1360. #define ENET_TCCR1 (IMXRT_ENET_TIMER.offset214)
  1361. #define ENET_TCSR2 (IMXRT_ENET_TIMER.offset218)
  1362. #define ENET_TCCR2 (IMXRT_ENET_TIMER.offset21C)
  1363. #define ENET_TCSR3 (IMXRT_ENET_TIMER.offset220)
  1364. #define ENET_TCCR3 (IMXRT_ENET_TIMER.offset224)
  1365. // page 1226
  1366. #define IMXRT_EWM (*(IMXRT_REGISTER8_t *)0x402D8000)
  1367. #define EWM_CTRL (IMXRT_EWM.offset00)
  1368. #define EWM_SERV (IMXRT_EWM.offset01)
  1369. #define EWM_CMPL (IMXRT_EWM.offset02)
  1370. #define EWM_CMPH (IMXRT_EWM.offset03)
  1371. #define EWM_CLKCTRL (IMXRT_EWM.offset04)
  1372. #define EWM_CLKPRESCALER (IMXRT_EWM.offset05)
  1373. // page 1277
  1374. #define IMXRT_FLEXCAN1 (*(IMXRT_REGISTER32_t *)0x401D0000)
  1375. #define IMXRT_FLEXCAN1_MASK (*(IMXRT_REGISTER32_t *)0x401D0800)
  1376. #define FLEXCAN1_MCR (IMXRT_FLEXCAN1.offset000)
  1377. #define FLEXCAN1_CTRL1 (IMXRT_FLEXCAN1.offset004)
  1378. #define FLEXCAN1_TIMER (IMXRT_FLEXCAN1.offset008)
  1379. #define FLEXCAN1_RXMGMASK (IMXRT_FLEXCAN1.offset010)
  1380. #define FLEXCAN1_RX14MASK (IMXRT_FLEXCAN1.offset014)
  1381. #define FLEXCAN1_RX15MASK (IMXRT_FLEXCAN1.offset018)
  1382. #define FLEXCAN1_ECR (IMXRT_FLEXCAN1.offset01C)
  1383. #define FLEXCAN1_ESR1 (IMXRT_FLEXCAN1.offset020)
  1384. #define FLEXCAN1_IMASK2 (IMXRT_FLEXCAN1.offset024)
  1385. #define FLEXCAN1_IMASK1 (IMXRT_FLEXCAN1.offset028)
  1386. #define FLEXCAN1_IFLAG2 (IMXRT_FLEXCAN1.offset02C)
  1387. #define FLEXCAN1_IFLAG1 (IMXRT_FLEXCAN1.offset030)
  1388. #define FLEXCAN1_CTRL2 (IMXRT_FLEXCAN1.offset034)
  1389. #define FLEXCAN1_ESR2 (IMXRT_FLEXCAN1.offset038)
  1390. #define FLEXCAN1_CRCR (IMXRT_FLEXCAN1.offset044)
  1391. #define FLEXCAN1_RXFGMASK (IMXRT_FLEXCAN1.offset048)
  1392. #define FLEXCAN1_RXFIR (IMXRT_FLEXCAN1.offset04C)
  1393. #define FLEXCAN1_RXIMR0 (IMXRT_FLEXCAN1_MASK.offset080)
  1394. #define FLEXCAN1_RXIMR1 (IMXRT_FLEXCAN1_MASK.offset084)
  1395. #define FLEXCAN1_RXIMR2 (IMXRT_FLEXCAN1_MASK.offset088)
  1396. #define FLEXCAN1_RXIMR3 (IMXRT_FLEXCAN1_MASK.offset08C)
  1397. #define FLEXCAN1_RXIMR4 (IMXRT_FLEXCAN1_MASK.offset090)
  1398. #define FLEXCAN1_RXIMR5 (IMXRT_FLEXCAN1_MASK.offset094)
  1399. #define FLEXCAN1_RXIMR6 (IMXRT_FLEXCAN1_MASK.offset098)
  1400. #define FLEXCAN1_RXIMR7 (IMXRT_FLEXCAN1_MASK.offset09C)
  1401. #define FLEXCAN1_RXIMR8 (IMXRT_FLEXCAN1_MASK.offset0A0)
  1402. #define FLEXCAN1_RXIMR9 (IMXRT_FLEXCAN1_MASK.offset0A4)
  1403. #define FLEXCAN1_RXIMR10 (IMXRT_FLEXCAN1_MASK.offset0A8)
  1404. #define FLEXCAN1_RXIMR11 (IMXRT_FLEXCAN1_MASK.offset0AC)
  1405. #define FLEXCAN1_RXIMR12 (IMXRT_FLEXCAN1_MASK.offset0B0)
  1406. #define FLEXCAN1_RXIMR13 (IMXRT_FLEXCAN1_MASK.offset0B4)
  1407. #define FLEXCAN1_RXIMR14 (IMXRT_FLEXCAN1_MASK.offset0B8)
  1408. #define FLEXCAN1_RXIMR15 (IMXRT_FLEXCAN1_MASK.offset0BC)
  1409. #define FLEXCAN1_RXIMR16 (IMXRT_FLEXCAN1_MASK.offset0C0)
  1410. #define FLEXCAN1_RXIMR17 (IMXRT_FLEXCAN1_MASK.offset0C4)
  1411. #define FLEXCAN1_RXIMR18 (IMXRT_FLEXCAN1_MASK.offset0C8)
  1412. #define FLEXCAN1_RXIMR19 (IMXRT_FLEXCAN1_MASK.offset0CC)
  1413. #define FLEXCAN1_RXIMR20 (IMXRT_FLEXCAN1_MASK.offset0D0)
  1414. #define FLEXCAN1_RXIMR21 (IMXRT_FLEXCAN1_MASK.offset0D4)
  1415. #define FLEXCAN1_RXIMR22 (IMXRT_FLEXCAN1_MASK.offset0D8)
  1416. #define FLEXCAN1_RXIMR23 (IMXRT_FLEXCAN1_MASK.offset0DC)
  1417. #define FLEXCAN1_RXIMR24 (IMXRT_FLEXCAN1_MASK.offset0E0)
  1418. #define FLEXCAN1_RXIMR25 (IMXRT_FLEXCAN1_MASK.offset0E4)
  1419. #define FLEXCAN1_RXIMR26 (IMXRT_FLEXCAN1_MASK.offset0E8)
  1420. #define FLEXCAN1_RXIMR27 (IMXRT_FLEXCAN1_MASK.offset0EC)
  1421. #define FLEXCAN1_RXIMR28 (IMXRT_FLEXCAN1_MASK.offset0F0)
  1422. #define FLEXCAN1_RXIMR29 (IMXRT_FLEXCAN1_MASK.offset0F4)
  1423. #define FLEXCAN1_RXIMR30 (IMXRT_FLEXCAN1_MASK.offset0F8)
  1424. #define FLEXCAN1_RXIMR31 (IMXRT_FLEXCAN1_MASK.offset0FC)
  1425. #define FLEXCAN1_RXIMR32 (IMXRT_FLEXCAN1_MASK.offset100)
  1426. #define FLEXCAN1_RXIMR33 (IMXRT_FLEXCAN1_MASK.offset104)
  1427. #define FLEXCAN1_RXIMR34 (IMXRT_FLEXCAN1_MASK.offset108)
  1428. #define FLEXCAN1_RXIMR35 (IMXRT_FLEXCAN1_MASK.offset10C)
  1429. #define FLEXCAN1_RXIMR36 (IMXRT_FLEXCAN1_MASK.offset110)
  1430. #define FLEXCAN1_RXIMR37 (IMXRT_FLEXCAN1_MASK.offset114)
  1431. #define FLEXCAN1_RXIMR38 (IMXRT_FLEXCAN1_MASK.offset118)
  1432. #define FLEXCAN1_RXIMR39 (IMXRT_FLEXCAN1_MASK.offset11C)
  1433. #define FLEXCAN1_RXIMR40 (IMXRT_FLEXCAN1_MASK.offset120)
  1434. #define FLEXCAN1_RXIMR41 (IMXRT_FLEXCAN1_MASK.offset124)
  1435. #define FLEXCAN1_RXIMR42 (IMXRT_FLEXCAN1_MASK.offset128)
  1436. #define FLEXCAN1_RXIMR43 (IMXRT_FLEXCAN1_MASK.offset12C)
  1437. #define FLEXCAN1_RXIMR44 (IMXRT_FLEXCAN1_MASK.offset130)
  1438. #define FLEXCAN1_RXIMR45 (IMXRT_FLEXCAN1_MASK.offset134)
  1439. #define FLEXCAN1_RXIMR46 (IMXRT_FLEXCAN1_MASK.offset138)
  1440. #define FLEXCAN1_RXIMR47 (IMXRT_FLEXCAN1_MASK.offset13C)
  1441. #define FLEXCAN1_RXIMR48 (IMXRT_FLEXCAN1_MASK.offset140)
  1442. #define FLEXCAN1_RXIMR49 (IMXRT_FLEXCAN1_MASK.offset144)
  1443. #define FLEXCAN1_RXIMR50 (IMXRT_FLEXCAN1_MASK.offset148)
  1444. #define FLEXCAN1_RXIMR51 (IMXRT_FLEXCAN1_MASK.offset14C)
  1445. #define FLEXCAN1_RXIMR52 (IMXRT_FLEXCAN1_MASK.offset150)
  1446. #define FLEXCAN1_RXIMR53 (IMXRT_FLEXCAN1_MASK.offset154)
  1447. #define FLEXCAN1_RXIMR54 (IMXRT_FLEXCAN1_MASK.offset158)
  1448. #define FLEXCAN1_RXIMR55 (IMXRT_FLEXCAN1_MASK.offset15C)
  1449. #define FLEXCAN1_RXIMR56 (IMXRT_FLEXCAN1_MASK.offset160)
  1450. #define FLEXCAN1_RXIMR57 (IMXRT_FLEXCAN1_MASK.offset164)
  1451. #define FLEXCAN1_RXIMR58 (IMXRT_FLEXCAN1_MASK.offset168)
  1452. #define FLEXCAN1_RXIMR59 (IMXRT_FLEXCAN1_MASK.offset16C)
  1453. #define FLEXCAN1_RXIMR60 (IMXRT_FLEXCAN1_MASK.offset170)
  1454. #define FLEXCAN1_RXIMR61 (IMXRT_FLEXCAN1_MASK.offset174)
  1455. #define FLEXCAN1_RXIMR62 (IMXRT_FLEXCAN1_MASK.offset178)
  1456. #define FLEXCAN1_RXIMR63 (IMXRT_FLEXCAN1_MASK.offset17C)
  1457. #define FLEXCAN1_GFWR (IMXRT_FLEXCAN1_MASK.offset1E0)
  1458. #define IMXRT_FLEXCAN2 (*(IMXRT_REGISTER32_t *)0x401D4000)
  1459. #define IMXRT_FLEXCAN2_MASK (*(IMXRT_REGISTER32_t *)0x401D4800)
  1460. #define FLEXCAN2_MCR (IMXRT_FLEXCAN2.offset000)
  1461. #define FLEXCAN2_CTRL1 (IMXRT_FLEXCAN2.offset004)
  1462. #define FLEXCAN2_TIMER (IMXRT_FLEXCAN2.offset008)
  1463. #define FLEXCAN2_RXMGMASK (IMXRT_FLEXCAN2.offset010)
  1464. #define FLEXCAN2_RX14MASK (IMXRT_FLEXCAN2.offset014)
  1465. #define FLEXCAN2_RX15MASK (IMXRT_FLEXCAN2.offset018)
  1466. #define FLEXCAN2_ECR (IMXRT_FLEXCAN2.offset01C)
  1467. #define FLEXCAN2_ESR1 (IMXRT_FLEXCAN2.offset020)
  1468. #define FLEXCAN2_IMASK2 (IMXRT_FLEXCAN2.offset024)
  1469. #define FLEXCAN2_IMASK1 (IMXRT_FLEXCAN2.offset028)
  1470. #define FLEXCAN2_IFLAG2 (IMXRT_FLEXCAN2.offset02C)
  1471. #define FLEXCAN2_IFLAG1 (IMXRT_FLEXCAN2.offset030)
  1472. #define FLEXCAN2_CTRL2 (IMXRT_FLEXCAN2.offset034)
  1473. #define FLEXCAN2_ESR2 (IMXRT_FLEXCAN2.offset038)
  1474. #define FLEXCAN2_CRCR (IMXRT_FLEXCAN2.offset044)
  1475. #define FLEXCAN2_RXFGMASK (IMXRT_FLEXCAN2.offset048)
  1476. #define FLEXCAN2_RXFIR (IMXRT_FLEXCAN2.offset04C)
  1477. #define FLEXCAN2_RXIMR0 (IMXRT_FLEXCAN2_MASK.offset080)
  1478. #define FLEXCAN2_RXIMR1 (IMXRT_FLEXCAN2_MASK.offset084)
  1479. #define FLEXCAN2_RXIMR2 (IMXRT_FLEXCAN2_MASK.offset088)
  1480. #define FLEXCAN2_RXIMR3 (IMXRT_FLEXCAN2_MASK.offset08C)
  1481. #define FLEXCAN2_RXIMR4 (IMXRT_FLEXCAN2_MASK.offset090)
  1482. #define FLEXCAN2_RXIMR5 (IMXRT_FLEXCAN2_MASK.offset094)
  1483. #define FLEXCAN2_RXIMR6 (IMXRT_FLEXCAN2_MASK.offset098)
  1484. #define FLEXCAN2_RXIMR7 (IMXRT_FLEXCAN2_MASK.offset09C)
  1485. #define FLEXCAN2_RXIMR8 (IMXRT_FLEXCAN2_MASK.offset0A0)
  1486. #define FLEXCAN2_RXIMR9 (IMXRT_FLEXCAN2_MASK.offset0A4)
  1487. #define FLEXCAN2_RXIMR10 (IMXRT_FLEXCAN2_MASK.offset0A8)
  1488. #define FLEXCAN2_RXIMR11 (IMXRT_FLEXCAN2_MASK.offset0AC)
  1489. #define FLEXCAN2_RXIMR12 (IMXRT_FLEXCAN2_MASK.offset0B0)
  1490. #define FLEXCAN2_RXIMR13 (IMXRT_FLEXCAN2_MASK.offset0B4)
  1491. #define FLEXCAN2_RXIMR14 (IMXRT_FLEXCAN2_MASK.offset0B8)
  1492. #define FLEXCAN2_RXIMR15 (IMXRT_FLEXCAN2_MASK.offset0BC)
  1493. #define FLEXCAN2_RXIMR16 (IMXRT_FLEXCAN2_MASK.offset0C0)
  1494. #define FLEXCAN2_RXIMR17 (IMXRT_FLEXCAN2_MASK.offset0C4)
  1495. #define FLEXCAN2_RXIMR18 (IMXRT_FLEXCAN2_MASK.offset0C8)
  1496. #define FLEXCAN2_RXIMR19 (IMXRT_FLEXCAN2_MASK.offset0CC)
  1497. #define FLEXCAN2_RXIMR20 (IMXRT_FLEXCAN2_MASK.offset0D0)
  1498. #define FLEXCAN2_RXIMR21 (IMXRT_FLEXCAN2_MASK.offset0D4)
  1499. #define FLEXCAN2_RXIMR22 (IMXRT_FLEXCAN2_MASK.offset0D8)
  1500. #define FLEXCAN2_RXIMR23 (IMXRT_FLEXCAN2_MASK.offset0DC)
  1501. #define FLEXCAN2_RXIMR24 (IMXRT_FLEXCAN2_MASK.offset0E0)
  1502. #define FLEXCAN2_RXIMR25 (IMXRT_FLEXCAN2_MASK.offset0E4)
  1503. #define FLEXCAN2_RXIMR26 (IMXRT_FLEXCAN2_MASK.offset0E8)
  1504. #define FLEXCAN2_RXIMR27 (IMXRT_FLEXCAN2_MASK.offset0EC)
  1505. #define FLEXCAN2_RXIMR28 (IMXRT_FLEXCAN2_MASK.offset0F0)
  1506. #define FLEXCAN2_RXIMR29 (IMXRT_FLEXCAN2_MASK.offset0F4)
  1507. #define FLEXCAN2_RXIMR30 (IMXRT_FLEXCAN2_MASK.offset0F8)
  1508. #define FLEXCAN2_RXIMR31 (IMXRT_FLEXCAN2_MASK.offset0FC)
  1509. #define FLEXCAN2_RXIMR32 (IMXRT_FLEXCAN2_MASK.offset100)
  1510. #define FLEXCAN2_RXIMR33 (IMXRT_FLEXCAN2_MASK.offset104)
  1511. #define FLEXCAN2_RXIMR34 (IMXRT_FLEXCAN2_MASK.offset108)
  1512. #define FLEXCAN2_RXIMR35 (IMXRT_FLEXCAN2_MASK.offset10C)
  1513. #define FLEXCAN2_RXIMR36 (IMXRT_FLEXCAN2_MASK.offset110)
  1514. #define FLEXCAN2_RXIMR37 (IMXRT_FLEXCAN2_MASK.offset114)
  1515. #define FLEXCAN2_RXIMR38 (IMXRT_FLEXCAN2_MASK.offset118)
  1516. #define FLEXCAN2_RXIMR39 (IMXRT_FLEXCAN2_MASK.offset11C)
  1517. #define FLEXCAN2_RXIMR40 (IMXRT_FLEXCAN2_MASK.offset120)
  1518. #define FLEXCAN2_RXIMR41 (IMXRT_FLEXCAN2_MASK.offset124)
  1519. #define FLEXCAN2_RXIMR42 (IMXRT_FLEXCAN2_MASK.offset128)
  1520. #define FLEXCAN2_RXIMR43 (IMXRT_FLEXCAN2_MASK.offset12C)
  1521. #define FLEXCAN2_RXIMR44 (IMXRT_FLEXCAN2_MASK.offset130)
  1522. #define FLEXCAN2_RXIMR45 (IMXRT_FLEXCAN2_MASK.offset134)
  1523. #define FLEXCAN2_RXIMR46 (IMXRT_FLEXCAN2_MASK.offset138)
  1524. #define FLEXCAN2_RXIMR47 (IMXRT_FLEXCAN2_MASK.offset13C)
  1525. #define FLEXCAN2_RXIMR48 (IMXRT_FLEXCAN2_MASK.offset140)
  1526. #define FLEXCAN2_RXIMR49 (IMXRT_FLEXCAN2_MASK.offset144)
  1527. #define FLEXCAN2_RXIMR50 (IMXRT_FLEXCAN2_MASK.offset148)
  1528. #define FLEXCAN2_RXIMR51 (IMXRT_FLEXCAN2_MASK.offset14C)
  1529. #define FLEXCAN2_RXIMR52 (IMXRT_FLEXCAN2_MASK.offset150)
  1530. #define FLEXCAN2_RXIMR53 (IMXRT_FLEXCAN2_MASK.offset154)
  1531. #define FLEXCAN2_RXIMR54 (IMXRT_FLEXCAN2_MASK.offset158)
  1532. #define FLEXCAN2_RXIMR55 (IMXRT_FLEXCAN2_MASK.offset15C)
  1533. #define FLEXCAN2_RXIMR56 (IMXRT_FLEXCAN2_MASK.offset160)
  1534. #define FLEXCAN2_RXIMR57 (IMXRT_FLEXCAN2_MASK.offset164)
  1535. #define FLEXCAN2_RXIMR58 (IMXRT_FLEXCAN2_MASK.offset168)
  1536. #define FLEXCAN2_RXIMR59 (IMXRT_FLEXCAN2_MASK.offset16C)
  1537. #define FLEXCAN2_RXIMR60 (IMXRT_FLEXCAN2_MASK.offset170)
  1538. #define FLEXCAN2_RXIMR61 (IMXRT_FLEXCAN2_MASK.offset174)
  1539. #define FLEXCAN2_RXIMR62 (IMXRT_FLEXCAN2_MASK.offset178)
  1540. #define FLEXCAN2_RXIMR63 (IMXRT_FLEXCAN2_MASK.offset17C)
  1541. #define FLEXCAN2_GFWR (IMXRT_FLEXCAN2_MASK.offset1E0)
  1542. // page 1320
  1543. #define IMXRT_FLEXIO1 (*(IMXRT_REGISTER32_t *)0x401AC000)
  1544. #define IMXRT_FLEXIO1_b (*(IMXRT_REGISTER32_t *)0x401AC400)
  1545. #define FLEXIO1_VERID (IMXRT_FLEXIO1.offset000)
  1546. #define FLEXIO1_PARAM (IMXRT_FLEXIO1.offset004)
  1547. #define FLEXIO1_CTRL (IMXRT_FLEXIO1.offset008)
  1548. #define FLEXIO1_PIN (IMXRT_FLEXIO1.offset00C)
  1549. #define FLEXIO1_SHIFTSTAT (IMXRT_FLEXIO1.offset010)
  1550. #define FLEXIO1_SHIFTERR (IMXRT_FLEXIO1.offset014)
  1551. #define FLEXIO1_TIMSTAT (IMXRT_FLEXIO1.offset018)
  1552. #define FLEXIO1_SHIFTSIEN (IMXRT_FLEXIO1.offset020)
  1553. #define FLEXIO1_SHIFTEIEN (IMXRT_FLEXIO1.offset024)
  1554. #define FLEXIO1_TIMIEN (IMXRT_FLEXIO1.offset028)
  1555. #define FLEXIO1_SHIFTSDEN (IMXRT_FLEXIO1.offset030)
  1556. #define FLEXIO1_SHIFTSTATE (IMXRT_FLEXIO1.offset040)
  1557. #define FLEXIO1_SHIFTCTL0 (IMXRT_FLEXIO1.offset080)
  1558. #define FLEXIO1_SHIFTCTL1 (IMXRT_FLEXIO1.offset084)
  1559. #define FLEXIO1_SHIFTCTL2 (IMXRT_FLEXIO1.offset088)
  1560. #define FLEXIO1_SHIFTCTL3 (IMXRT_FLEXIO1.offset08C)
  1561. #define FLEXIO1_SHIFTCFG0 (IMXRT_FLEXIO1.offset100)
  1562. #define FLEXIO1_SHIFTCFG1 (IMXRT_FLEXIO1.offset104)
  1563. #define FLEXIO1_SHIFTCFG2 (IMXRT_FLEXIO1.offset108)
  1564. #define FLEXIO1_SHIFTCFG3 (IMXRT_FLEXIO1.offset10C)
  1565. #define FLEXIO1_SHIFTBUF0 (IMXRT_FLEXIO1.offset200)
  1566. #define FLEXIO1_SHIFTBUF1 (IMXRT_FLEXIO1.offset204)
  1567. #define FLEXIO1_SHIFTBUF2 (IMXRT_FLEXIO1.offset208)
  1568. #define FLEXIO1_SHIFTBUF3 (IMXRT_FLEXIO1.offset20C)
  1569. #define FLEXIO1_SHIFTBUFBIS0 (IMXRT_FLEXIO1.offset280)
  1570. #define FLEXIO1_SHIFTBUFBIS1 (IMXRT_FLEXIO1.offset284)
  1571. #define FLEXIO1_SHIFTBUFBIS2 (IMXRT_FLEXIO1.offset288)
  1572. #define FLEXIO1_SHIFTBUFBIS3 (IMXRT_FLEXIO1.offset28C)
  1573. #define FLEXIO1_SHIFTBUFBYS0 (IMXRT_FLEXIO1.offset300)
  1574. #define FLEXIO1_SHIFTBUFBYS1 (IMXRT_FLEXIO1.offset304)
  1575. #define FLEXIO1_SHIFTBUFBYS2 (IMXRT_FLEXIO1.offset308)
  1576. #define FLEXIO1_SHIFTBUFBYS3 (IMXRT_FLEXIO1.offset30C)
  1577. #define FLEXIO1_SHIFTBUFBBS0 (IMXRT_FLEXIO1.offset380)
  1578. #define FLEXIO1_SHIFTBUFBBS1 (IMXRT_FLEXIO1.offset384)
  1579. #define FLEXIO1_SHIFTBUFBBS2 (IMXRT_FLEXIO1.offset388)
  1580. #define FLEXIO1_SHIFTBUFBBS3 (IMXRT_FLEXIO1.offset38C)
  1581. #define FLEXIO1_TIMCTL0 (IMXRT_FLEXIO1_b.offset000)
  1582. #define FLEXIO1_TIMCTL1 (IMXRT_FLEXIO1_b.offset004)
  1583. #define FLEXIO1_TIMCTL2 (IMXRT_FLEXIO1_b.offset008)
  1584. #define FLEXIO1_TIMCTL3 (IMXRT_FLEXIO1_b.offset00C)
  1585. #define FLEXIO1_TIMCFG0 (IMXRT_FLEXIO1_b.offset080)
  1586. #define FLEXIO1_TIMCFG1 (IMXRT_FLEXIO1_b.offset084)
  1587. #define FLEXIO1_TIMCFG2 (IMXRT_FLEXIO1_b.offset088)
  1588. #define FLEXIO1_TIMCFG3 (IMXRT_FLEXIO1_b.offset08C)
  1589. #define FLEXIO1_TIMCMP0 (IMXRT_FLEXIO1_b.offset100)
  1590. #define FLEXIO1_TIMCMP1 (IMXRT_FLEXIO1_b.offset104)
  1591. #define FLEXIO1_TIMCMP2 (IMXRT_FLEXIO1_b.offset108)
  1592. #define FLEXIO1_TIMCMP3 (IMXRT_FLEXIO1_b.offset10C)
  1593. #define FLEXIO1_SHIFTBUFNBS0 (IMXRT_FLEXIO1_b.offset280)
  1594. #define FLEXIO1_SHIFTBUFNBS1 (IMXRT_FLEXIO1_b.offset284)
  1595. #define FLEXIO1_SHIFTBUFNBS2 (IMXRT_FLEXIO1_b.offset288)
  1596. #define FLEXIO1_SHIFTBUFNBS3 (IMXRT_FLEXIO1_b.offset28C)
  1597. #define FLEXIO1_SHIFTBUFHWS0 (IMXRT_FLEXIO1_b.offset300)
  1598. #define FLEXIO1_SHIFTBUFHWS1 (IMXRT_FLEXIO1_b.offset304)
  1599. #define FLEXIO1_SHIFTBUFHWS2 (IMXRT_FLEXIO1_b.offset308)
  1600. #define FLEXIO1_SHIFTBUFHWS3 (IMXRT_FLEXIO1_b.offset30C)
  1601. #define FLEXIO1_SHIFTBUFNIS0 (IMXRT_FLEXIO1_b.offset380)
  1602. #define FLEXIO1_SHIFTBUFNIS1 (IMXRT_FLEXIO1_b.offset384)
  1603. #define FLEXIO1_SHIFTBUFNIS2 (IMXRT_FLEXIO1_b.offset388)
  1604. #define FLEXIO1_SHIFTBUFNIS3 (IMXRT_FLEXIO1_b.offset38C)
  1605. #define IMXRT_FLEXIO2 (*(IMXRT_REGISTER32_t *)0x401B0000)
  1606. #define IMXRT_FLEXIO2_b (*(IMXRT_REGISTER32_t *)0x401B0400)
  1607. #define FLEXIO2_VERID (IMXRT_FLEXIO2.offset000)
  1608. #define FLEXIO2_PARAM (IMXRT_FLEXIO2.offset004)
  1609. #define FLEXIO2_CTRL (IMXRT_FLEXIO2.offset008)
  1610. #define FLEXIO2_PIN (IMXRT_FLEXIO2.offset00C)
  1611. #define FLEXIO2_SHIFTSTAT (IMXRT_FLEXIO2.offset010)
  1612. #define FLEXIO2_SHIFTERR (IMXRT_FLEXIO2.offset014)
  1613. #define FLEXIO2_TIMSTAT (IMXRT_FLEXIO2.offset018)
  1614. #define FLEXIO2_SHIFTSIEN (IMXRT_FLEXIO2.offset020)
  1615. #define FLEXIO2_SHIFTEIEN (IMXRT_FLEXIO2.offset024)
  1616. #define FLEXIO2_TIMIEN (IMXRT_FLEXIO2.offset028)
  1617. #define FLEXIO2_SHIFTSDEN (IMXRT_FLEXIO2.offset030)
  1618. #define FLEXIO2_SHIFTSTATE (IMXRT_FLEXIO2.offset040)
  1619. #define FLEXIO2_SHIFTCTL0 (IMXRT_FLEXIO2.offset080)
  1620. #define FLEXIO2_SHIFTCTL1 (IMXRT_FLEXIO2.offset084)
  1621. #define FLEXIO2_SHIFTCTL2 (IMXRT_FLEXIO2.offset088)
  1622. #define FLEXIO2_SHIFTCTL3 (IMXRT_FLEXIO2.offset08C)
  1623. #define FLEXIO2_SHIFTCFG0 (IMXRT_FLEXIO2.offset100)
  1624. #define FLEXIO2_SHIFTCFG1 (IMXRT_FLEXIO2.offset104)
  1625. #define FLEXIO2_SHIFTCFG2 (IMXRT_FLEXIO2.offset108)
  1626. #define FLEXIO2_SHIFTCFG3 (IMXRT_FLEXIO2.offset10C)
  1627. #define FLEXIO2_SHIFTBUF0 (IMXRT_FLEXIO2.offset200)
  1628. #define FLEXIO2_SHIFTBUF1 (IMXRT_FLEXIO2.offset204)
  1629. #define FLEXIO2_SHIFTBUF2 (IMXRT_FLEXIO2.offset208)
  1630. #define FLEXIO2_SHIFTBUF3 (IMXRT_FLEXIO2.offset20C)
  1631. #define FLEXIO2_SHIFTBUFBIS0 (IMXRT_FLEXIO2.offset280)
  1632. #define FLEXIO2_SHIFTBUFBIS1 (IMXRT_FLEXIO2.offset284)
  1633. #define FLEXIO2_SHIFTBUFBIS2 (IMXRT_FLEXIO2.offset288)
  1634. #define FLEXIO2_SHIFTBUFBIS3 (IMXRT_FLEXIO2.offset28C)
  1635. #define FLEXIO2_SHIFTBUFBYS0 (IMXRT_FLEXIO2.offset300)
  1636. #define FLEXIO2_SHIFTBUFBYS1 (IMXRT_FLEXIO2.offset304)
  1637. #define FLEXIO2_SHIFTBUFBYS2 (IMXRT_FLEXIO2.offset308)
  1638. #define FLEXIO2_SHIFTBUFBYS3 (IMXRT_FLEXIO2.offset30C)
  1639. #define FLEXIO2_SHIFTBUFBBS0 (IMXRT_FLEXIO2.offset380)
  1640. #define FLEXIO2_SHIFTBUFBBS1 (IMXRT_FLEXIO2.offset384)
  1641. #define FLEXIO2_SHIFTBUFBBS2 (IMXRT_FLEXIO2.offset388)
  1642. #define FLEXIO2_SHIFTBUFBBS3 (IMXRT_FLEXIO2.offset38C)
  1643. #define FLEXIO2_TIMCTL0 (IMXRT_FLEXIO2_b.offset000)
  1644. #define FLEXIO2_TIMCTL1 (IMXRT_FLEXIO2_b.offset004)
  1645. #define FLEXIO2_TIMCTL2 (IMXRT_FLEXIO2_b.offset008)
  1646. #define FLEXIO2_TIMCTL3 (IMXRT_FLEXIO2_b.offset00C)
  1647. #define FLEXIO2_TIMCFG0 (IMXRT_FLEXIO2_b.offset080)
  1648. #define FLEXIO2_TIMCFG1 (IMXRT_FLEXIO2_b.offset084)
  1649. #define FLEXIO2_TIMCFG2 (IMXRT_FLEXIO2_b.offset088)
  1650. #define FLEXIO2_TIMCFG3 (IMXRT_FLEXIO2_b.offset08C)
  1651. #define FLEXIO2_TIMCMP0 (IMXRT_FLEXIO2_b.offset100)
  1652. #define FLEXIO2_TIMCMP1 (IMXRT_FLEXIO2_b.offset104)
  1653. #define FLEXIO2_TIMCMP2 (IMXRT_FLEXIO2_b.offset108)
  1654. #define FLEXIO2_TIMCMP3 (IMXRT_FLEXIO2_b.offset10C)
  1655. #define FLEXIO2_SHIFTBUFNBS0 (IMXRT_FLEXIO2_b.offset280)
  1656. #define FLEXIO2_SHIFTBUFNBS1 (IMXRT_FLEXIO2_b.offset284)
  1657. #define FLEXIO2_SHIFTBUFNBS2 (IMXRT_FLEXIO2_b.offset288)
  1658. #define FLEXIO2_SHIFTBUFNBS3 (IMXRT_FLEXIO2_b.offset28C)
  1659. #define FLEXIO2_SHIFTBUFHWS0 (IMXRT_FLEXIO2_b.offset300)
  1660. #define FLEXIO2_SHIFTBUFHWS1 (IMXRT_FLEXIO2_b.offset304)
  1661. #define FLEXIO2_SHIFTBUFHWS2 (IMXRT_FLEXIO2_b.offset308)
  1662. #define FLEXIO2_SHIFTBUFHWS3 (IMXRT_FLEXIO2_b.offset30C)
  1663. #define FLEXIO2_SHIFTBUFNIS0 (IMXRT_FLEXIO2_b.offset380)
  1664. #define FLEXIO2_SHIFTBUFNIS1 (IMXRT_FLEXIO2_b.offset384)
  1665. #define FLEXIO2_SHIFTBUFNIS2 (IMXRT_FLEXIO2_b.offset388)
  1666. #define FLEXIO2_SHIFTBUFNIS3 (IMXRT_FLEXIO2_b.offset38C)
  1667. // page 1382
  1668. #define IMXRT_FLEXPWM1 (*(IMXRT_REGISTER16_t *)0x403DC000)
  1669. #define FLEXPWM1_SM0CNT (IMXRT_FLEXPWM1.offset000)
  1670. #define FLEXPWM1_SM0INIT (IMXRT_FLEXPWM1.offset002)
  1671. #define FLEXPWM1_SM0CTRL2 (IMXRT_FLEXPWM1.offset004)
  1672. #define FLEXPWM1_SM0CTRL (IMXRT_FLEXPWM1.offset006)
  1673. #define FLEXPWM1_SM0VAL0 (IMXRT_FLEXPWM1.offset008)
  1674. #define FLEXPWM1_SM0FRACVAL1 (IMXRT_FLEXPWM1.offset00A)
  1675. #define FLEXPWM1_SM0VAL1 (IMXRT_FLEXPWM1.offset00C)
  1676. #define FLEXPWM1_SM0FRACVAL2 (IMXRT_FLEXPWM1.offset00E)
  1677. #define FLEXPWM1_SM0VAL2 (IMXRT_FLEXPWM1.offset010)
  1678. #define FLEXPWM1_SM0FRACVAL3 (IMXRT_FLEXPWM1.offset012)
  1679. #define FLEXPWM1_SM0VAL3 (IMXRT_FLEXPWM1.offset014)
  1680. #define FLEXPWM1_SM0FRACVAL4 (IMXRT_FLEXPWM1.offset016)
  1681. #define FLEXPWM1_SM0VAL4 (IMXRT_FLEXPWM1.offset018)
  1682. #define FLEXPWM1_SM0FRACVAL5 (IMXRT_FLEXPWM1.offset01A)
  1683. #define FLEXPWM1_SM0VAL5 (IMXRT_FLEXPWM1.offset01C)
  1684. #define FLEXPWM1_SM0FRCTRL (IMXRT_FLEXPWM1.offset01E)
  1685. #define FLEXPWM1_SM0OCTRL (IMXRT_FLEXPWM1.offset020)
  1686. #define FLEXPWM1_SM0STS (IMXRT_FLEXPWM1.offset022)
  1687. #define FLEXPWM1_SM0INTEN (IMXRT_FLEXPWM1.offset024)
  1688. #define FLEXPWM1_SM0DMAEN (IMXRT_FLEXPWM1.offset026)
  1689. #define FLEXPWM1_SM0TCTRL (IMXRT_FLEXPWM1.offset028)
  1690. #define FLEXPWM1_SM0DISMAP0 (IMXRT_FLEXPWM1.offset02A)
  1691. #define FLEXPWM1_SM0DISMAP1 (IMXRT_FLEXPWM1.offset02C)
  1692. #define FLEXPWM1_SM0DTCNT0 (IMXRT_FLEXPWM1.offset02E)
  1693. #define FLEXPWM1_SM0DTCNT1 (IMXRT_FLEXPWM1.offset030)
  1694. #define FLEXPWM1_SM0CAPTCTRLA (IMXRT_FLEXPWM1.offset032)
  1695. #define FLEXPWM1_SM0CAPTCOMPA (IMXRT_FLEXPWM1.offset034)
  1696. #define FLEXPWM1_SM0CAPTCTRLB (IMXRT_FLEXPWM1.offset036)
  1697. #define FLEXPWM1_SM0CAPTCOMPB (IMXRT_FLEXPWM1.offset038)
  1698. #define FLEXPWM1_SM0CAPTCTRLX (IMXRT_FLEXPWM1.offset03A)
  1699. #define FLEXPWM1_SM0CAPTCOMPX (IMXRT_FLEXPWM1.offset03C)
  1700. #define FLEXPWM1_SM0CVAL0 (IMXRT_FLEXPWM1.offset03E)
  1701. #define FLEXPWM1_SM0CVAL0CYC (IMXRT_FLEXPWM1.offset040)
  1702. #define FLEXPWM1_SM0CVAL1 (IMXRT_FLEXPWM1.offset042)
  1703. #define FLEXPWM1_SM0CVAL1CYC (IMXRT_FLEXPWM1.offset044)
  1704. #define FLEXPWM1_SM0CVAL2 (IMXRT_FLEXPWM1.offset046)
  1705. #define FLEXPWM1_SM0CVAL2CYC (IMXRT_FLEXPWM1.offset048)
  1706. #define FLEXPWM1_SM0CVAL3 (IMXRT_FLEXPWM1.offset04A)
  1707. #define FLEXPWM1_SM0CVAL3CYC (IMXRT_FLEXPWM1.offset04C)
  1708. #define FLEXPWM1_SM0CVAL4 (IMXRT_FLEXPWM1.offset04E)
  1709. #define FLEXPWM1_SM0CVAL4CYC (IMXRT_FLEXPWM1.offset050)
  1710. #define FLEXPWM1_SM0CVAL5 (IMXRT_FLEXPWM1.offset052)
  1711. #define FLEXPWM1_SM0CVAL5CYC (IMXRT_FLEXPWM1.offset054)
  1712. #define FLEXPWM1_SM1CNT (IMXRT_FLEXPWM1.offset060)
  1713. #define FLEXPWM1_SM1INIT (IMXRT_FLEXPWM1.offset062)
  1714. #define FLEXPWM1_SM1CTRL2 (IMXRT_FLEXPWM1.offset064)
  1715. #define FLEXPWM1_SM1CTRL (IMXRT_FLEXPWM1.offset066)
  1716. #define FLEXPWM1_SM1VAL0 (IMXRT_FLEXPWM1.offset068)
  1717. #define FLEXPWM1_SM1FRACVAL1 (IMXRT_FLEXPWM1.offset06A)
  1718. #define FLEXPWM1_SM1VAL1 (IMXRT_FLEXPWM1.offset06C)
  1719. #define FLEXPWM1_SM1FRACVAL2 (IMXRT_FLEXPWM1.offset06E)
  1720. #define FLEXPWM1_SM1VAL2 (IMXRT_FLEXPWM1.offset070)
  1721. #define FLEXPWM1_SM1FRACVAL3 (IMXRT_FLEXPWM1.offset072)
  1722. #define FLEXPWM1_SM1VAL3 (IMXRT_FLEXPWM1.offset074)
  1723. #define FLEXPWM1_SM1FRACVAL4 (IMXRT_FLEXPWM1.offset076)
  1724. #define FLEXPWM1_SM1VAL4 (IMXRT_FLEXPWM1.offset078)
  1725. #define FLEXPWM1_SM1FRACVAL5 (IMXRT_FLEXPWM1.offset07A)
  1726. #define FLEXPWM1_SM1VAL5 (IMXRT_FLEXPWM1.offset07C)
  1727. #define FLEXPWM1_SM1FRCTRL (IMXRT_FLEXPWM1.offset07E)
  1728. #define FLEXPWM1_SM1OCTRL (IMXRT_FLEXPWM1.offset080)
  1729. #define FLEXPWM1_SM1STS (IMXRT_FLEXPWM1.offset082)
  1730. #define FLEXPWM1_SM1INTEN (IMXRT_FLEXPWM1.offset084)
  1731. #define FLEXPWM1_SM1DMAEN (IMXRT_FLEXPWM1.offset086)
  1732. #define FLEXPWM1_SM1TCTRL (IMXRT_FLEXPWM1.offset088)
  1733. #define FLEXPWM1_SM1DISMAP0 (IMXRT_FLEXPWM1.offset08A)
  1734. #define FLEXPWM1_SM1DISMAP1 (IMXRT_FLEXPWM1.offset08C)
  1735. #define FLEXPWM1_SM1DTCNT0 (IMXRT_FLEXPWM1.offset08E)
  1736. #define FLEXPWM1_SM1DTCNT1 (IMXRT_FLEXPWM1.offset090)
  1737. #define FLEXPWM1_SM1CAPTCTRLA (IMXRT_FLEXPWM1.offset092)
  1738. #define FLEXPWM1_SM1CAPTCOMPA (IMXRT_FLEXPWM1.offset094)
  1739. #define FLEXPWM1_SM1CAPTCTRLB (IMXRT_FLEXPWM1.offset096)
  1740. #define FLEXPWM1_SM1CAPTCOMPB (IMXRT_FLEXPWM1.offset098)
  1741. #define FLEXPWM1_SM1CAPTCTRLX (IMXRT_FLEXPWM1.offset09A)
  1742. #define FLEXPWM1_SM1CAPTCOMPX (IMXRT_FLEXPWM1.offset09C)
  1743. #define FLEXPWM1_SM1CVAL0 (IMXRT_FLEXPWM1.offset09E)
  1744. #define FLEXPWM1_SM1CVAL0CYC (IMXRT_FLEXPWM1.offset0A0)
  1745. #define FLEXPWM1_SM1CVAL1 (IMXRT_FLEXPWM1.offset0A2)
  1746. #define FLEXPWM1_SM1CVAL1CYC (IMXRT_FLEXPWM1.offset0A4)
  1747. #define FLEXPWM1_SM1CVAL2 (IMXRT_FLEXPWM1.offset0A6)
  1748. #define FLEXPWM1_SM1CVAL2CYC (IMXRT_FLEXPWM1.offset0A8)
  1749. #define FLEXPWM1_SM1CVAL3 (IMXRT_FLEXPWM1.offset0AA)
  1750. #define FLEXPWM1_SM1CVAL3CYC (IMXRT_FLEXPWM1.offset0AC)
  1751. #define FLEXPWM1_SM1CVAL4 (IMXRT_FLEXPWM1.offset0AE)
  1752. #define FLEXPWM1_SM1CVAL4CYC (IMXRT_FLEXPWM1.offset0B0)
  1753. #define FLEXPWM1_SM1CVAL5 (IMXRT_FLEXPWM1.offset0B2)
  1754. #define FLEXPWM1_SM1CVAL5CYC (IMXRT_FLEXPWM1.offset0B4)
  1755. #define FLEXPWM1_SM2CNT (IMXRT_FLEXPWM1.offset0C0)
  1756. #define FLEXPWM1_SM2INIT (IMXRT_FLEXPWM1.offset0C2)
  1757. #define FLEXPWM1_SM2CTRL2 (IMXRT_FLEXPWM1.offset0C4)
  1758. #define FLEXPWM1_SM2CTRL (IMXRT_FLEXPWM1.offset0C6)
  1759. #define FLEXPWM1_SM2VAL0 (IMXRT_FLEXPWM1.offset0C8)
  1760. #define FLEXPWM1_SM2FRACVAL1 (IMXRT_FLEXPWM1.offset0CA)
  1761. #define FLEXPWM1_SM2VAL1 (IMXRT_FLEXPWM1.offset0CC)
  1762. #define FLEXPWM1_SM2FRACVAL2 (IMXRT_FLEXPWM1.offset0CE)
  1763. #define FLEXPWM1_SM2VAL2 (IMXRT_FLEXPWM1.offset0D0)
  1764. #define FLEXPWM1_SM2FRACVAL3 (IMXRT_FLEXPWM1.offset0D2)
  1765. #define FLEXPWM1_SM2VAL3 (IMXRT_FLEXPWM1.offset0D4)
  1766. #define FLEXPWM1_SM2FRACVAL4 (IMXRT_FLEXPWM1.offset0D6)
  1767. #define FLEXPWM1_SM2VAL4 (IMXRT_FLEXPWM1.offset0D8)
  1768. #define FLEXPWM1_SM2FRACVAL5 (IMXRT_FLEXPWM1.offset0DA)
  1769. #define FLEXPWM1_SM2VAL5 (IMXRT_FLEXPWM1.offset0DC)
  1770. #define FLEXPWM1_SM2FRCTRL (IMXRT_FLEXPWM1.offset0DE)
  1771. #define FLEXPWM1_SM2OCTRL (IMXRT_FLEXPWM1.offset0E0)
  1772. #define FLEXPWM1_SM2STS (IMXRT_FLEXPWM1.offset0E2)
  1773. #define FLEXPWM1_SM2INTEN (IMXRT_FLEXPWM1.offset0E4)
  1774. #define FLEXPWM1_SM2DMAEN (IMXRT_FLEXPWM1.offset0E6)
  1775. #define FLEXPWM1_SM2TCTRL (IMXRT_FLEXPWM1.offset0E8)
  1776. #define FLEXPWM1_SM2DISMAP0 (IMXRT_FLEXPWM1.offset0EA)
  1777. #define FLEXPWM1_SM2DISMAP1 (IMXRT_FLEXPWM1.offset0EC)
  1778. #define FLEXPWM1_SM2DTCNT0 (IMXRT_FLEXPWM1.offset0EE)
  1779. #define FLEXPWM1_SM2DTCNT1 (IMXRT_FLEXPWM1.offset0F0)
  1780. #define FLEXPWM1_SM2CAPTCTRLA (IMXRT_FLEXPWM1.offset0F2)
  1781. #define FLEXPWM1_SM2CAPTCOMPA (IMXRT_FLEXPWM1.offset0F4)
  1782. #define FLEXPWM1_SM2CAPTCTRLB (IMXRT_FLEXPWM1.offset0F6)
  1783. #define FLEXPWM1_SM2CAPTCOMPB (IMXRT_FLEXPWM1.offset0F8)
  1784. #define FLEXPWM1_SM2CAPTCTRLX (IMXRT_FLEXPWM1.offset0FA)
  1785. #define FLEXPWM1_SM2CAPTCOMPX (IMXRT_FLEXPWM1.offset0FC)
  1786. #define FLEXPWM1_SM2CVAL0 (IMXRT_FLEXPWM1.offset0FE)
  1787. #define FLEXPWM1_SM2CVAL0CYC (IMXRT_FLEXPWM1.offset100)
  1788. #define FLEXPWM1_SM2CVAL1 (IMXRT_FLEXPWM1.offset102)
  1789. #define FLEXPWM1_SM2CVAL1CYC (IMXRT_FLEXPWM1.offset104)
  1790. #define FLEXPWM1_SM2CVAL2 (IMXRT_FLEXPWM1.offset106)
  1791. #define FLEXPWM1_SM2CVAL2CYC (IMXRT_FLEXPWM1.offset108)
  1792. #define FLEXPWM1_SM2CVAL3 (IMXRT_FLEXPWM1.offset10A)
  1793. #define FLEXPWM1_SM2CVAL3CYC (IMXRT_FLEXPWM1.offset10C)
  1794. #define FLEXPWM1_SM2CVAL4 (IMXRT_FLEXPWM1.offset10E)
  1795. #define FLEXPWM1_SM2CVAL4CYC (IMXRT_FLEXPWM1.offset110)
  1796. #define FLEXPWM1_SM2CVAL5 (IMXRT_FLEXPWM1.offset112)
  1797. #define FLEXPWM1_SM2CVAL5CYC (IMXRT_FLEXPWM1.offset114)
  1798. #define FLEXPWM1_SM3CNT (IMXRT_FLEXPWM1.offset120)
  1799. #define FLEXPWM1_SM3INIT (IMXRT_FLEXPWM1.offset122)
  1800. #define FLEXPWM1_SM3CTRL2 (IMXRT_FLEXPWM1.offset124)
  1801. #define FLEXPWM1_SM3CTRL (IMXRT_FLEXPWM1.offset126)
  1802. #define FLEXPWM1_SM3VAL0 (IMXRT_FLEXPWM1.offset128)
  1803. #define FLEXPWM1_SM3FRACVAL1 (IMXRT_FLEXPWM1.offset12A)
  1804. #define FLEXPWM1_SM3VAL1 (IMXRT_FLEXPWM1.offset12C)
  1805. #define FLEXPWM1_SM3FRACVAL2 (IMXRT_FLEXPWM1.offset12E)
  1806. #define FLEXPWM1_SM3VAL2 (IMXRT_FLEXPWM1.offset130)
  1807. #define FLEXPWM1_SM3FRACVAL3 (IMXRT_FLEXPWM1.offset132)
  1808. #define FLEXPWM1_SM3VAL3 (IMXRT_FLEXPWM1.offset134)
  1809. #define FLEXPWM1_SM3FRACVAL4 (IMXRT_FLEXPWM1.offset136)
  1810. #define FLEXPWM1_SM3VAL4 (IMXRT_FLEXPWM1.offset138)
  1811. #define FLEXPWM1_SM3FRACVAL5 (IMXRT_FLEXPWM1.offset13A)
  1812. #define FLEXPWM1_SM3VAL5 (IMXRT_FLEXPWM1.offset13C)
  1813. #define FLEXPWM1_SM3FRCTRL (IMXRT_FLEXPWM1.offset13E)
  1814. #define FLEXPWM1_SM3OCTRL (IMXRT_FLEXPWM1.offset140)
  1815. #define FLEXPWM1_SM3STS (IMXRT_FLEXPWM1.offset142)
  1816. #define FLEXPWM1_SM3INTEN (IMXRT_FLEXPWM1.offset144)
  1817. #define FLEXPWM1_SM3DMAEN (IMXRT_FLEXPWM1.offset146)
  1818. #define FLEXPWM1_SM3TCTRL (IMXRT_FLEXPWM1.offset148)
  1819. #define FLEXPWM1_SM3DISMAP0 (IMXRT_FLEXPWM1.offset14A)
  1820. #define FLEXPWM1_SM3DISMAP1 (IMXRT_FLEXPWM1.offset14C)
  1821. #define FLEXPWM1_SM3DTCNT0 (IMXRT_FLEXPWM1.offset15E)
  1822. #define FLEXPWM1_SM3DTCNT1 (IMXRT_FLEXPWM1.offset150)
  1823. #define FLEXPWM1_SM3CAPTCTRLA (IMXRT_FLEXPWM1.offset152)
  1824. #define FLEXPWM1_SM3CAPTCOMPA (IMXRT_FLEXPWM1.offset154)
  1825. #define FLEXPWM1_SM3CAPTCTRLB (IMXRT_FLEXPWM1.offset156)
  1826. #define FLEXPWM1_SM3CAPTCOMPB (IMXRT_FLEXPWM1.offset158)
  1827. #define FLEXPWM1_SM3CAPTCTRLX (IMXRT_FLEXPWM1.offset15A)
  1828. #define FLEXPWM1_SM3CAPTCOMPX (IMXRT_FLEXPWM1.offset15C)
  1829. #define FLEXPWM1_SM3CVAL0 (IMXRT_FLEXPWM1.offset15E)
  1830. #define FLEXPWM1_SM3CVAL0CYC (IMXRT_FLEXPWM1.offset160)
  1831. #define FLEXPWM1_SM3CVAL1 (IMXRT_FLEXPWM1.offset162)
  1832. #define FLEXPWM1_SM3CVAL1CYC (IMXRT_FLEXPWM1.offset164)
  1833. #define FLEXPWM1_SM3CVAL2 (IMXRT_FLEXPWM1.offset166)
  1834. #define FLEXPWM1_SM3CVAL2CYC (IMXRT_FLEXPWM1.offset168)
  1835. #define FLEXPWM1_SM3CVAL3 (IMXRT_FLEXPWM1.offset16A)
  1836. #define FLEXPWM1_SM3CVAL3CYC (IMXRT_FLEXPWM1.offset16C)
  1837. #define FLEXPWM1_SM3CVAL4 (IMXRT_FLEXPWM1.offset16E)
  1838. #define FLEXPWM1_SM3CVAL4CYC (IMXRT_FLEXPWM1.offset170)
  1839. #define FLEXPWM1_SM3CVAL5 (IMXRT_FLEXPWM1.offset172)
  1840. #define FLEXPWM1_SM3CVAL5CYC (IMXRT_FLEXPWM1.offset174)
  1841. #define FLEXPWM1_OUTEN (IMXRT_FLEXPWM1.offset180)
  1842. #define FLEXPWM1_MASK (IMXRT_FLEXPWM1.offset182)
  1843. #define FLEXPWM1_SWCOUT (IMXRT_FLEXPWM1.offset184)
  1844. #define FLEXPWM1_DTSRCSEL (IMXRT_FLEXPWM1.offset186)
  1845. #define FLEXPWM1_MCTRL (IMXRT_FLEXPWM1.offset188)
  1846. #define FLEXPWM1_MCTRL2 (IMXRT_FLEXPWM1.offset18A)
  1847. #define FLEXPWM1_FCTRL0 (IMXRT_FLEXPWM1.offset18C)
  1848. #define FLEXPWM1_FSTS0 (IMXRT_FLEXPWM1.offset18E)
  1849. #define FLEXPWM1_FFILT0 (IMXRT_FLEXPWM1.offset190)
  1850. #define FLEXPWM1_FTST0 (IMXRT_FLEXPWM1.offset192)
  1851. #define FLEXPWM1_FCTRL20 (IMXRT_FLEXPWM1.offset194)
  1852. #define IMXRT_FLEXPWM2 (*(IMXRT_REGISTER16_t *)0x403E0000)
  1853. #define FLEXPWM2_SM0CNT (IMXRT_FLEXPWM2.offset000)
  1854. #define FLEXPWM2_SM0INIT (IMXRT_FLEXPWM2.offset002)
  1855. #define FLEXPWM2_SM0CTRL2 (IMXRT_FLEXPWM2.offset004)
  1856. #define FLEXPWM2_SM0CTRL (IMXRT_FLEXPWM2.offset006)
  1857. #define FLEXPWM2_SM0VAL0 (IMXRT_FLEXPWM2.offset008)
  1858. #define FLEXPWM2_SM0FRACVAL1 (IMXRT_FLEXPWM2.offset00A)
  1859. #define FLEXPWM2_SM0VAL1 (IMXRT_FLEXPWM2.offset00C)
  1860. #define FLEXPWM2_SM0FRACVAL2 (IMXRT_FLEXPWM2.offset00E)
  1861. #define FLEXPWM2_SM0VAL2 (IMXRT_FLEXPWM2.offset010)
  1862. #define FLEXPWM2_SM0FRACVAL3 (IMXRT_FLEXPWM2.offset012)
  1863. #define FLEXPWM2_SM0VAL3 (IMXRT_FLEXPWM2.offset014)
  1864. #define FLEXPWM2_SM0FRACVAL4 (IMXRT_FLEXPWM2.offset016)
  1865. #define FLEXPWM2_SM0VAL4 (IMXRT_FLEXPWM2.offset018)
  1866. #define FLEXPWM2_SM0FRACVAL5 (IMXRT_FLEXPWM2.offset01A)
  1867. #define FLEXPWM2_SM0VAL5 (IMXRT_FLEXPWM2.offset01C)
  1868. #define FLEXPWM2_SM0FRCTRL (IMXRT_FLEXPWM2.offset01E)
  1869. #define FLEXPWM2_SM0OCTRL (IMXRT_FLEXPWM2.offset020)
  1870. #define FLEXPWM2_SM0STS (IMXRT_FLEXPWM2.offset022)
  1871. #define FLEXPWM2_SM0INTEN (IMXRT_FLEXPWM2.offset024)
  1872. #define FLEXPWM2_SM0DMAEN (IMXRT_FLEXPWM2.offset026)
  1873. #define FLEXPWM2_SM0TCTRL (IMXRT_FLEXPWM2.offset028)
  1874. #define FLEXPWM2_SM0DISMAP0 (IMXRT_FLEXPWM2.offset02A)
  1875. #define FLEXPWM2_SM0DISMAP1 (IMXRT_FLEXPWM2.offset02C)
  1876. #define FLEXPWM2_SM0DTCNT0 (IMXRT_FLEXPWM2.offset02E)
  1877. #define FLEXPWM2_SM0DTCNT1 (IMXRT_FLEXPWM2.offset030)
  1878. #define FLEXPWM2_SM0CAPTCTRLA (IMXRT_FLEXPWM2.offset032)
  1879. #define FLEXPWM2_SM0CAPTCOMPA (IMXRT_FLEXPWM2.offset034)
  1880. #define FLEXPWM2_SM0CAPTCTRLB (IMXRT_FLEXPWM2.offset036)
  1881. #define FLEXPWM2_SM0CAPTCOMPB (IMXRT_FLEXPWM2.offset038)
  1882. #define FLEXPWM2_SM0CAPTCTRLX (IMXRT_FLEXPWM2.offset03A)
  1883. #define FLEXPWM2_SM0CAPTCOMPX (IMXRT_FLEXPWM2.offset03C)
  1884. #define FLEXPWM2_SM0CVAL0 (IMXRT_FLEXPWM2.offset03E)
  1885. #define FLEXPWM2_SM0CVAL0CYC (IMXRT_FLEXPWM2.offset040)
  1886. #define FLEXPWM2_SM0CVAL1 (IMXRT_FLEXPWM2.offset042)
  1887. #define FLEXPWM2_SM0CVAL1CYC (IMXRT_FLEXPWM2.offset044)
  1888. #define FLEXPWM2_SM0CVAL2 (IMXRT_FLEXPWM2.offset046)
  1889. #define FLEXPWM2_SM0CVAL2CYC (IMXRT_FLEXPWM2.offset048)
  1890. #define FLEXPWM2_SM0CVAL3 (IMXRT_FLEXPWM2.offset04A)
  1891. #define FLEXPWM2_SM0CVAL3CYC (IMXRT_FLEXPWM2.offset04C)
  1892. #define FLEXPWM2_SM0CVAL4 (IMXRT_FLEXPWM2.offset04E)
  1893. #define FLEXPWM2_SM0CVAL4CYC (IMXRT_FLEXPWM2.offset050)
  1894. #define FLEXPWM2_SM0CVAL5 (IMXRT_FLEXPWM2.offset052)
  1895. #define FLEXPWM2_SM0CVAL5CYC (IMXRT_FLEXPWM2.offset054)
  1896. #define FLEXPWM2_SM1CNT (IMXRT_FLEXPWM2.offset060)
  1897. #define FLEXPWM2_SM1INIT (IMXRT_FLEXPWM2.offset062)
  1898. #define FLEXPWM2_SM1CTRL2 (IMXRT_FLEXPWM2.offset064)
  1899. #define FLEXPWM2_SM1CTRL (IMXRT_FLEXPWM2.offset066)
  1900. #define FLEXPWM2_SM1VAL0 (IMXRT_FLEXPWM2.offset068)
  1901. #define FLEXPWM2_SM1FRACVAL1 (IMXRT_FLEXPWM2.offset06A)
  1902. #define FLEXPWM2_SM1VAL1 (IMXRT_FLEXPWM2.offset06C)
  1903. #define FLEXPWM2_SM1FRACVAL2 (IMXRT_FLEXPWM2.offset06E)
  1904. #define FLEXPWM2_SM1VAL2 (IMXRT_FLEXPWM2.offset070)
  1905. #define FLEXPWM2_SM1FRACVAL3 (IMXRT_FLEXPWM2.offset072)
  1906. #define FLEXPWM2_SM1VAL3 (IMXRT_FLEXPWM2.offset074)
  1907. #define FLEXPWM2_SM1FRACVAL4 (IMXRT_FLEXPWM2.offset076)
  1908. #define FLEXPWM2_SM1VAL4 (IMXRT_FLEXPWM2.offset078)
  1909. #define FLEXPWM2_SM1FRACVAL5 (IMXRT_FLEXPWM2.offset07A)
  1910. #define FLEXPWM2_SM1VAL5 (IMXRT_FLEXPWM2.offset07C)
  1911. #define FLEXPWM2_SM1FRCTRL (IMXRT_FLEXPWM2.offset07E)
  1912. #define FLEXPWM2_SM1OCTRL (IMXRT_FLEXPWM2.offset080)
  1913. #define FLEXPWM2_SM1STS (IMXRT_FLEXPWM2.offset082)
  1914. #define FLEXPWM2_SM1INTEN (IMXRT_FLEXPWM2.offset084)
  1915. #define FLEXPWM2_SM1DMAEN (IMXRT_FLEXPWM2.offset086)
  1916. #define FLEXPWM2_SM1TCTRL (IMXRT_FLEXPWM2.offset088)
  1917. #define FLEXPWM2_SM1DISMAP0 (IMXRT_FLEXPWM2.offset08A)
  1918. #define FLEXPWM2_SM1DISMAP1 (IMXRT_FLEXPWM2.offset08C)
  1919. #define FLEXPWM2_SM1DTCNT0 (IMXRT_FLEXPWM2.offset08E)
  1920. #define FLEXPWM2_SM1DTCNT1 (IMXRT_FLEXPWM2.offset090)
  1921. #define FLEXPWM2_SM1CAPTCTRLA (IMXRT_FLEXPWM2.offset092)
  1922. #define FLEXPWM2_SM1CAPTCOMPA (IMXRT_FLEXPWM2.offset094)
  1923. #define FLEXPWM2_SM1CAPTCTRLB (IMXRT_FLEXPWM2.offset096)
  1924. #define FLEXPWM2_SM1CAPTCOMPB (IMXRT_FLEXPWM2.offset098)
  1925. #define FLEXPWM2_SM1CAPTCTRLX (IMXRT_FLEXPWM2.offset09A)
  1926. #define FLEXPWM2_SM1CAPTCOMPX (IMXRT_FLEXPWM2.offset09C)
  1927. #define FLEXPWM2_SM1CVAL0 (IMXRT_FLEXPWM2.offset09E)
  1928. #define FLEXPWM2_SM1CVAL0CYC (IMXRT_FLEXPWM2.offset0A0)
  1929. #define FLEXPWM2_SM1CVAL1 (IMXRT_FLEXPWM2.offset0A2)
  1930. #define FLEXPWM2_SM1CVAL1CYC (IMXRT_FLEXPWM2.offset0A4)
  1931. #define FLEXPWM2_SM1CVAL2 (IMXRT_FLEXPWM2.offset0A6)
  1932. #define FLEXPWM2_SM1CVAL2CYC (IMXRT_FLEXPWM2.offset0A8)
  1933. #define FLEXPWM2_SM1CVAL3 (IMXRT_FLEXPWM2.offset0AA)
  1934. #define FLEXPWM2_SM1CVAL3CYC (IMXRT_FLEXPWM2.offset0AC)
  1935. #define FLEXPWM2_SM1CVAL4 (IMXRT_FLEXPWM2.offset0AE)
  1936. #define FLEXPWM2_SM1CVAL4CYC (IMXRT_FLEXPWM2.offset0B0)
  1937. #define FLEXPWM2_SM1CVAL5 (IMXRT_FLEXPWM2.offset0B2)
  1938. #define FLEXPWM2_SM1CVAL5CYC (IMXRT_FLEXPWM2.offset0B4)
  1939. #define FLEXPWM2_SM2CNT (IMXRT_FLEXPWM2.offset0C0)
  1940. #define FLEXPWM2_SM2INIT (IMXRT_FLEXPWM2.offset0C2)
  1941. #define FLEXPWM2_SM2CTRL2 (IMXRT_FLEXPWM2.offset0C4)
  1942. #define FLEXPWM2_SM2CTRL (IMXRT_FLEXPWM2.offset0C6)
  1943. #define FLEXPWM2_SM2VAL0 (IMXRT_FLEXPWM2.offset0C8)
  1944. #define FLEXPWM2_SM2FRACVAL1 (IMXRT_FLEXPWM2.offset0CA)
  1945. #define FLEXPWM2_SM2VAL1 (IMXRT_FLEXPWM2.offset0CC)
  1946. #define FLEXPWM2_SM2FRACVAL2 (IMXRT_FLEXPWM2.offset0CE)
  1947. #define FLEXPWM2_SM2VAL2 (IMXRT_FLEXPWM2.offset0D0)
  1948. #define FLEXPWM2_SM2FRACVAL3 (IMXRT_FLEXPWM2.offset0D2)
  1949. #define FLEXPWM2_SM2VAL3 (IMXRT_FLEXPWM2.offset0D4)
  1950. #define FLEXPWM2_SM2FRACVAL4 (IMXRT_FLEXPWM2.offset0D6)
  1951. #define FLEXPWM2_SM2VAL4 (IMXRT_FLEXPWM2.offset0D8)
  1952. #define FLEXPWM2_SM2FRACVAL5 (IMXRT_FLEXPWM2.offset0DA)
  1953. #define FLEXPWM2_SM2VAL5 (IMXRT_FLEXPWM2.offset0DC)
  1954. #define FLEXPWM2_SM2FRCTRL (IMXRT_FLEXPWM2.offset0DE)
  1955. #define FLEXPWM2_SM2OCTRL (IMXRT_FLEXPWM2.offset0E0)
  1956. #define FLEXPWM2_SM2STS (IMXRT_FLEXPWM2.offset0E2)
  1957. #define FLEXPWM2_SM2INTEN (IMXRT_FLEXPWM2.offset0E4)
  1958. #define FLEXPWM2_SM2DMAEN (IMXRT_FLEXPWM2.offset0E6)
  1959. #define FLEXPWM2_SM2TCTRL (IMXRT_FLEXPWM2.offset0E8)
  1960. #define FLEXPWM2_SM2DISMAP0 (IMXRT_FLEXPWM2.offset0EA)
  1961. #define FLEXPWM2_SM2DISMAP1 (IMXRT_FLEXPWM2.offset0EC)
  1962. #define FLEXPWM2_SM2DTCNT0 (IMXRT_FLEXPWM2.offset0EE)
  1963. #define FLEXPWM2_SM2DTCNT1 (IMXRT_FLEXPWM2.offset0F0)
  1964. #define FLEXPWM2_SM2CAPTCTRLA (IMXRT_FLEXPWM2.offset0F2)
  1965. #define FLEXPWM2_SM2CAPTCOMPA (IMXRT_FLEXPWM2.offset0F4)
  1966. #define FLEXPWM2_SM2CAPTCTRLB (IMXRT_FLEXPWM2.offset0F6)
  1967. #define FLEXPWM2_SM2CAPTCOMPB (IMXRT_FLEXPWM2.offset0F8)
  1968. #define FLEXPWM2_SM2CAPTCTRLX (IMXRT_FLEXPWM2.offset0FA)
  1969. #define FLEXPWM2_SM2CAPTCOMPX (IMXRT_FLEXPWM2.offset0FC)
  1970. #define FLEXPWM2_SM2CVAL0 (IMXRT_FLEXPWM2.offset0FE)
  1971. #define FLEXPWM2_SM2CVAL0CYC (IMXRT_FLEXPWM2.offset100)
  1972. #define FLEXPWM2_SM2CVAL1 (IMXRT_FLEXPWM2.offset102)
  1973. #define FLEXPWM2_SM2CVAL1CYC (IMXRT_FLEXPWM2.offset104)
  1974. #define FLEXPWM2_SM2CVAL2 (IMXRT_FLEXPWM2.offset106)
  1975. #define FLEXPWM2_SM2CVAL2CYC (IMXRT_FLEXPWM2.offset108)
  1976. #define FLEXPWM2_SM2CVAL3 (IMXRT_FLEXPWM2.offset10A)
  1977. #define FLEXPWM2_SM2CVAL3CYC (IMXRT_FLEXPWM2.offset10C)
  1978. #define FLEXPWM2_SM2CVAL4 (IMXRT_FLEXPWM2.offset10E)
  1979. #define FLEXPWM2_SM2CVAL4CYC (IMXRT_FLEXPWM2.offset110)
  1980. #define FLEXPWM2_SM2CVAL5 (IMXRT_FLEXPWM2.offset112)
  1981. #define FLEXPWM2_SM2CVAL5CYC (IMXRT_FLEXPWM2.offset114)
  1982. #define FLEXPWM2_SM3CNT (IMXRT_FLEXPWM2.offset120)
  1983. #define FLEXPWM2_SM3INIT (IMXRT_FLEXPWM2.offset122)
  1984. #define FLEXPWM2_SM3CTRL2 (IMXRT_FLEXPWM2.offset124)
  1985. #define FLEXPWM2_SM3CTRL (IMXRT_FLEXPWM2.offset126)
  1986. #define FLEXPWM2_SM3VAL0 (IMXRT_FLEXPWM2.offset128)
  1987. #define FLEXPWM2_SM3FRACVAL1 (IMXRT_FLEXPWM2.offset12A)
  1988. #define FLEXPWM2_SM3VAL1 (IMXRT_FLEXPWM2.offset12C)
  1989. #define FLEXPWM2_SM3FRACVAL2 (IMXRT_FLEXPWM2.offset12E)
  1990. #define FLEXPWM2_SM3VAL2 (IMXRT_FLEXPWM2.offset130)
  1991. #define FLEXPWM2_SM3FRACVAL3 (IMXRT_FLEXPWM2.offset132)
  1992. #define FLEXPWM2_SM3VAL3 (IMXRT_FLEXPWM2.offset134)
  1993. #define FLEXPWM2_SM3FRACVAL4 (IMXRT_FLEXPWM2.offset136)
  1994. #define FLEXPWM2_SM3VAL4 (IMXRT_FLEXPWM2.offset138)
  1995. #define FLEXPWM2_SM3FRACVAL5 (IMXRT_FLEXPWM2.offset13A)
  1996. #define FLEXPWM2_SM3VAL5 (IMXRT_FLEXPWM2.offset13C)
  1997. #define FLEXPWM2_SM3FRCTRL (IMXRT_FLEXPWM2.offset13E)
  1998. #define FLEXPWM2_SM3OCTRL (IMXRT_FLEXPWM2.offset140)
  1999. #define FLEXPWM2_SM3STS (IMXRT_FLEXPWM2.offset142)
  2000. #define FLEXPWM2_SM3INTEN (IMXRT_FLEXPWM2.offset144)
  2001. #define FLEXPWM2_SM3DMAEN (IMXRT_FLEXPWM2.offset146)
  2002. #define FLEXPWM2_SM3TCTRL (IMXRT_FLEXPWM2.offset148)
  2003. #define FLEXPWM2_SM3DISMAP0 (IMXRT_FLEXPWM2.offset14A)
  2004. #define FLEXPWM2_SM3DISMAP1 (IMXRT_FLEXPWM2.offset14C)
  2005. #define FLEXPWM2_SM3DTCNT0 (IMXRT_FLEXPWM2.offset15E)
  2006. #define FLEXPWM2_SM3DTCNT1 (IMXRT_FLEXPWM2.offset150)
  2007. #define FLEXPWM2_SM3CAPTCTRLA (IMXRT_FLEXPWM2.offset152)
  2008. #define FLEXPWM2_SM3CAPTCOMPA (IMXRT_FLEXPWM2.offset154)
  2009. #define FLEXPWM2_SM3CAPTCTRLB (IMXRT_FLEXPWM2.offset156)
  2010. #define FLEXPWM2_SM3CAPTCOMPB (IMXRT_FLEXPWM2.offset158)
  2011. #define FLEXPWM2_SM3CAPTCTRLX (IMXRT_FLEXPWM2.offset15A)
  2012. #define FLEXPWM2_SM3CAPTCOMPX (IMXRT_FLEXPWM2.offset15C)
  2013. #define FLEXPWM2_SM3CVAL0 (IMXRT_FLEXPWM2.offset15E)
  2014. #define FLEXPWM2_SM3CVAL0CYC (IMXRT_FLEXPWM2.offset160)
  2015. #define FLEXPWM2_SM3CVAL1 (IMXRT_FLEXPWM2.offset162)
  2016. #define FLEXPWM2_SM3CVAL1CYC (IMXRT_FLEXPWM2.offset164)
  2017. #define FLEXPWM2_SM3CVAL2 (IMXRT_FLEXPWM2.offset166)
  2018. #define FLEXPWM2_SM3CVAL2CYC (IMXRT_FLEXPWM2.offset168)
  2019. #define FLEXPWM2_SM3CVAL3 (IMXRT_FLEXPWM2.offset16A)
  2020. #define FLEXPWM2_SM3CVAL3CYC (IMXRT_FLEXPWM2.offset16C)
  2021. #define FLEXPWM2_SM3CVAL4 (IMXRT_FLEXPWM2.offset16E)
  2022. #define FLEXPWM2_SM3CVAL4CYC (IMXRT_FLEXPWM2.offset170)
  2023. #define FLEXPWM2_SM3CVAL5 (IMXRT_FLEXPWM2.offset172)
  2024. #define FLEXPWM2_SM3CVAL5CYC (IMXRT_FLEXPWM2.offset174)
  2025. #define FLEXPWM2_OUTEN (IMXRT_FLEXPWM2.offset180)
  2026. #define FLEXPWM2_MASK (IMXRT_FLEXPWM2.offset182)
  2027. #define FLEXPWM2_SWCOUT (IMXRT_FLEXPWM2.offset184)
  2028. #define FLEXPWM2_DTSRCSEL (IMXRT_FLEXPWM2.offset186)
  2029. #define FLEXPWM2_MCTRL (IMXRT_FLEXPWM2.offset188)
  2030. #define FLEXPWM2_MCTRL2 (IMXRT_FLEXPWM2.offset18A)
  2031. #define FLEXPWM2_FCTRL0 (IMXRT_FLEXPWM2.offset18C)
  2032. #define FLEXPWM2_FSTS0 (IMXRT_FLEXPWM2.offset18E)
  2033. #define FLEXPWM2_FFILT0 (IMXRT_FLEXPWM2.offset190)
  2034. #define FLEXPWM2_FTST0 (IMXRT_FLEXPWM2.offset192)
  2035. #define FLEXPWM2_FCTRL20 (IMXRT_FLEXPWM2.offset194)
  2036. #define IMXRT_FLEXPWM3 (*(IMXRT_REGISTER16_t *)0x403E4000)
  2037. #define FLEXPWM3_SM0CNT (IMXRT_FLEXPWM3.offset000)
  2038. #define FLEXPWM3_SM0INIT (IMXRT_FLEXPWM3.offset002)
  2039. #define FLEXPWM3_SM0CTRL2 (IMXRT_FLEXPWM3.offset004)
  2040. #define FLEXPWM3_SM0CTRL (IMXRT_FLEXPWM3.offset006)
  2041. #define FLEXPWM3_SM0VAL0 (IMXRT_FLEXPWM3.offset008)
  2042. #define FLEXPWM3_SM0FRACVAL1 (IMXRT_FLEXPWM3.offset00A)
  2043. #define FLEXPWM3_SM0VAL1 (IMXRT_FLEXPWM3.offset00C)
  2044. #define FLEXPWM3_SM0FRACVAL2 (IMXRT_FLEXPWM3.offset00E)
  2045. #define FLEXPWM3_SM0VAL2 (IMXRT_FLEXPWM3.offset010)
  2046. #define FLEXPWM3_SM0FRACVAL3 (IMXRT_FLEXPWM3.offset012)
  2047. #define FLEXPWM3_SM0VAL3 (IMXRT_FLEXPWM3.offset014)
  2048. #define FLEXPWM3_SM0FRACVAL4 (IMXRT_FLEXPWM3.offset016)
  2049. #define FLEXPWM3_SM0VAL4 (IMXRT_FLEXPWM3.offset018)
  2050. #define FLEXPWM3_SM0FRACVAL5 (IMXRT_FLEXPWM3.offset01A)
  2051. #define FLEXPWM3_SM0VAL5 (IMXRT_FLEXPWM3.offset01C)
  2052. #define FLEXPWM3_SM0FRCTRL (IMXRT_FLEXPWM3.offset01E)
  2053. #define FLEXPWM3_SM0OCTRL (IMXRT_FLEXPWM3.offset020)
  2054. #define FLEXPWM3_SM0STS (IMXRT_FLEXPWM3.offset022)
  2055. #define FLEXPWM3_SM0INTEN (IMXRT_FLEXPWM3.offset024)
  2056. #define FLEXPWM3_SM0DMAEN (IMXRT_FLEXPWM3.offset026)
  2057. #define FLEXPWM3_SM0TCTRL (IMXRT_FLEXPWM3.offset028)
  2058. #define FLEXPWM3_SM0DISMAP0 (IMXRT_FLEXPWM3.offset02A)
  2059. #define FLEXPWM3_SM0DISMAP1 (IMXRT_FLEXPWM3.offset02C)
  2060. #define FLEXPWM3_SM0DTCNT0 (IMXRT_FLEXPWM3.offset02E)
  2061. #define FLEXPWM3_SM0DTCNT1 (IMXRT_FLEXPWM3.offset030)
  2062. #define FLEXPWM3_SM0CAPTCTRLA (IMXRT_FLEXPWM3.offset032)
  2063. #define FLEXPWM3_SM0CAPTCOMPA (IMXRT_FLEXPWM3.offset034)
  2064. #define FLEXPWM3_SM0CAPTCTRLB (IMXRT_FLEXPWM3.offset036)
  2065. #define FLEXPWM3_SM0CAPTCOMPB (IMXRT_FLEXPWM3.offset038)
  2066. #define FLEXPWM3_SM0CAPTCTRLX (IMXRT_FLEXPWM3.offset03A)
  2067. #define FLEXPWM3_SM0CAPTCOMPX (IMXRT_FLEXPWM3.offset03C)
  2068. #define FLEXPWM3_SM0CVAL0 (IMXRT_FLEXPWM3.offset03E)
  2069. #define FLEXPWM3_SM0CVAL0CYC (IMXRT_FLEXPWM3.offset040)
  2070. #define FLEXPWM3_SM0CVAL1 (IMXRT_FLEXPWM3.offset042)
  2071. #define FLEXPWM3_SM0CVAL1CYC (IMXRT_FLEXPWM3.offset044)
  2072. #define FLEXPWM3_SM0CVAL2 (IMXRT_FLEXPWM3.offset046)
  2073. #define FLEXPWM3_SM0CVAL2CYC (IMXRT_FLEXPWM3.offset048)
  2074. #define FLEXPWM3_SM0CVAL3 (IMXRT_FLEXPWM3.offset04A)
  2075. #define FLEXPWM3_SM0CVAL3CYC (IMXRT_FLEXPWM3.offset04C)
  2076. #define FLEXPWM3_SM0CVAL4 (IMXRT_FLEXPWM3.offset04E)
  2077. #define FLEXPWM3_SM0CVAL4CYC (IMXRT_FLEXPWM3.offset050)
  2078. #define FLEXPWM3_SM0CVAL5 (IMXRT_FLEXPWM3.offset052)
  2079. #define FLEXPWM3_SM0CVAL5CYC (IMXRT_FLEXPWM3.offset054)
  2080. #define FLEXPWM3_SM1CNT (IMXRT_FLEXPWM3.offset060)
  2081. #define FLEXPWM3_SM1INIT (IMXRT_FLEXPWM3.offset062)
  2082. #define FLEXPWM3_SM1CTRL2 (IMXRT_FLEXPWM3.offset064)
  2083. #define FLEXPWM3_SM1CTRL (IMXRT_FLEXPWM3.offset066)
  2084. #define FLEXPWM3_SM1VAL0 (IMXRT_FLEXPWM3.offset068)
  2085. #define FLEXPWM3_SM1FRACVAL1 (IMXRT_FLEXPWM3.offset06A)
  2086. #define FLEXPWM3_SM1VAL1 (IMXRT_FLEXPWM3.offset06C)
  2087. #define FLEXPWM3_SM1FRACVAL2 (IMXRT_FLEXPWM3.offset06E)
  2088. #define FLEXPWM3_SM1VAL2 (IMXRT_FLEXPWM3.offset070)
  2089. #define FLEXPWM3_SM1FRACVAL3 (IMXRT_FLEXPWM3.offset072)
  2090. #define FLEXPWM3_SM1VAL3 (IMXRT_FLEXPWM3.offset074)
  2091. #define FLEXPWM3_SM1FRACVAL4 (IMXRT_FLEXPWM3.offset076)
  2092. #define FLEXPWM3_SM1VAL4 (IMXRT_FLEXPWM3.offset078)
  2093. #define FLEXPWM3_SM1FRACVAL5 (IMXRT_FLEXPWM3.offset07A)
  2094. #define FLEXPWM3_SM1VAL5 (IMXRT_FLEXPWM3.offset07C)
  2095. #define FLEXPWM3_SM1FRCTRL (IMXRT_FLEXPWM3.offset07E)
  2096. #define FLEXPWM3_SM1OCTRL (IMXRT_FLEXPWM3.offset080)
  2097. #define FLEXPWM3_SM1STS (IMXRT_FLEXPWM3.offset082)
  2098. #define FLEXPWM3_SM1INTEN (IMXRT_FLEXPWM3.offset084)
  2099. #define FLEXPWM3_SM1DMAEN (IMXRT_FLEXPWM3.offset086)
  2100. #define FLEXPWM3_SM1TCTRL (IMXRT_FLEXPWM3.offset088)
  2101. #define FLEXPWM3_SM1DISMAP0 (IMXRT_FLEXPWM3.offset08A)
  2102. #define FLEXPWM3_SM1DISMAP1 (IMXRT_FLEXPWM3.offset08C)
  2103. #define FLEXPWM3_SM1DTCNT0 (IMXRT_FLEXPWM3.offset08E)
  2104. #define FLEXPWM3_SM1DTCNT1 (IMXRT_FLEXPWM3.offset090)
  2105. #define FLEXPWM3_SM1CAPTCTRLA (IMXRT_FLEXPWM3.offset092)
  2106. #define FLEXPWM3_SM1CAPTCOMPA (IMXRT_FLEXPWM3.offset094)
  2107. #define FLEXPWM3_SM1CAPTCTRLB (IMXRT_FLEXPWM3.offset096)
  2108. #define FLEXPWM3_SM1CAPTCOMPB (IMXRT_FLEXPWM3.offset098)
  2109. #define FLEXPWM3_SM1CAPTCTRLX (IMXRT_FLEXPWM3.offset09A)
  2110. #define FLEXPWM3_SM1CAPTCOMPX (IMXRT_FLEXPWM3.offset09C)
  2111. #define FLEXPWM3_SM1CVAL0 (IMXRT_FLEXPWM3.offset09E)
  2112. #define FLEXPWM3_SM1CVAL0CYC (IMXRT_FLEXPWM3.offset0A0)
  2113. #define FLEXPWM3_SM1CVAL1 (IMXRT_FLEXPWM3.offset0A2)
  2114. #define FLEXPWM3_SM1CVAL1CYC (IMXRT_FLEXPWM3.offset0A4)
  2115. #define FLEXPWM3_SM1CVAL2 (IMXRT_FLEXPWM3.offset0A6)
  2116. #define FLEXPWM3_SM1CVAL2CYC (IMXRT_FLEXPWM3.offset0A8)
  2117. #define FLEXPWM3_SM1CVAL3 (IMXRT_FLEXPWM3.offset0AA)
  2118. #define FLEXPWM3_SM1CVAL3CYC (IMXRT_FLEXPWM3.offset0AC)
  2119. #define FLEXPWM3_SM1CVAL4 (IMXRT_FLEXPWM3.offset0AE)
  2120. #define FLEXPWM3_SM1CVAL4CYC (IMXRT_FLEXPWM3.offset0B0)
  2121. #define FLEXPWM3_SM1CVAL5 (IMXRT_FLEXPWM3.offset0B2)
  2122. #define FLEXPWM3_SM1CVAL5CYC (IMXRT_FLEXPWM3.offset0B4)
  2123. #define FLEXPWM3_SM2CNT (IMXRT_FLEXPWM3.offset0C0)
  2124. #define FLEXPWM3_SM2INIT (IMXRT_FLEXPWM3.offset0C2)
  2125. #define FLEXPWM3_SM2CTRL2 (IMXRT_FLEXPWM3.offset0C4)
  2126. #define FLEXPWM3_SM2CTRL (IMXRT_FLEXPWM3.offset0C6)
  2127. #define FLEXPWM3_SM2VAL0 (IMXRT_FLEXPWM3.offset0C8)
  2128. #define FLEXPWM3_SM2FRACVAL1 (IMXRT_FLEXPWM3.offset0CA)
  2129. #define FLEXPWM3_SM2VAL1 (IMXRT_FLEXPWM3.offset0CC)
  2130. #define FLEXPWM3_SM2FRACVAL2 (IMXRT_FLEXPWM3.offset0CE)
  2131. #define FLEXPWM3_SM2VAL2 (IMXRT_FLEXPWM3.offset0D0)
  2132. #define FLEXPWM3_SM2FRACVAL3 (IMXRT_FLEXPWM3.offset0D2)
  2133. #define FLEXPWM3_SM2VAL3 (IMXRT_FLEXPWM3.offset0D4)
  2134. #define FLEXPWM3_SM2FRACVAL4 (IMXRT_FLEXPWM3.offset0D6)
  2135. #define FLEXPWM3_SM2VAL4 (IMXRT_FLEXPWM3.offset0D8)
  2136. #define FLEXPWM3_SM2FRACVAL5 (IMXRT_FLEXPWM3.offset0DA)
  2137. #define FLEXPWM3_SM2VAL5 (IMXRT_FLEXPWM3.offset0DC)
  2138. #define FLEXPWM3_SM2FRCTRL (IMXRT_FLEXPWM3.offset0DE)
  2139. #define FLEXPWM3_SM2OCTRL (IMXRT_FLEXPWM3.offset0E0)
  2140. #define FLEXPWM3_SM2STS (IMXRT_FLEXPWM3.offset0E2)
  2141. #define FLEXPWM3_SM2INTEN (IMXRT_FLEXPWM3.offset0E4)
  2142. #define FLEXPWM3_SM2DMAEN (IMXRT_FLEXPWM3.offset0E6)
  2143. #define FLEXPWM3_SM2TCTRL (IMXRT_FLEXPWM3.offset0E8)
  2144. #define FLEXPWM3_SM2DISMAP0 (IMXRT_FLEXPWM3.offset0EA)
  2145. #define FLEXPWM3_SM2DISMAP1 (IMXRT_FLEXPWM3.offset0EC)
  2146. #define FLEXPWM3_SM2DTCNT0 (IMXRT_FLEXPWM3.offset0EE)
  2147. #define FLEXPWM3_SM2DTCNT1 (IMXRT_FLEXPWM3.offset0F0)
  2148. #define FLEXPWM3_SM2CAPTCTRLA (IMXRT_FLEXPWM3.offset0F2)
  2149. #define FLEXPWM3_SM2CAPTCOMPA (IMXRT_FLEXPWM3.offset0F4)
  2150. #define FLEXPWM3_SM2CAPTCTRLB (IMXRT_FLEXPWM3.offset0F6)
  2151. #define FLEXPWM3_SM2CAPTCOMPB (IMXRT_FLEXPWM3.offset0F8)
  2152. #define FLEXPWM3_SM2CAPTCTRLX (IMXRT_FLEXPWM3.offset0FA)
  2153. #define FLEXPWM3_SM2CAPTCOMPX (IMXRT_FLEXPWM3.offset0FC)
  2154. #define FLEXPWM3_SM2CVAL0 (IMXRT_FLEXPWM3.offset0FE)
  2155. #define FLEXPWM3_SM2CVAL0CYC (IMXRT_FLEXPWM3.offset100)
  2156. #define FLEXPWM3_SM2CVAL1 (IMXRT_FLEXPWM3.offset102)
  2157. #define FLEXPWM3_SM2CVAL1CYC (IMXRT_FLEXPWM3.offset104)
  2158. #define FLEXPWM3_SM2CVAL2 (IMXRT_FLEXPWM3.offset106)
  2159. #define FLEXPWM3_SM2CVAL2CYC (IMXRT_FLEXPWM3.offset108)
  2160. #define FLEXPWM3_SM2CVAL3 (IMXRT_FLEXPWM3.offset10A)
  2161. #define FLEXPWM3_SM2CVAL3CYC (IMXRT_FLEXPWM3.offset10C)
  2162. #define FLEXPWM3_SM2CVAL4 (IMXRT_FLEXPWM3.offset10E)
  2163. #define FLEXPWM3_SM2CVAL4CYC (IMXRT_FLEXPWM3.offset110)
  2164. #define FLEXPWM3_SM2CVAL5 (IMXRT_FLEXPWM3.offset112)
  2165. #define FLEXPWM3_SM2CVAL5CYC (IMXRT_FLEXPWM3.offset114)
  2166. #define FLEXPWM3_SM3CNT (IMXRT_FLEXPWM3.offset120)
  2167. #define FLEXPWM3_SM3INIT (IMXRT_FLEXPWM3.offset122)
  2168. #define FLEXPWM3_SM3CTRL2 (IMXRT_FLEXPWM3.offset124)
  2169. #define FLEXPWM3_SM3CTRL (IMXRT_FLEXPWM3.offset126)
  2170. #define FLEXPWM3_SM3VAL0 (IMXRT_FLEXPWM3.offset128)
  2171. #define FLEXPWM3_SM3FRACVAL1 (IMXRT_FLEXPWM3.offset12A)
  2172. #define FLEXPWM3_SM3VAL1 (IMXRT_FLEXPWM3.offset12C)
  2173. #define FLEXPWM3_SM3FRACVAL2 (IMXRT_FLEXPWM3.offset12E)
  2174. #define FLEXPWM3_SM3VAL2 (IMXRT_FLEXPWM3.offset130)
  2175. #define FLEXPWM3_SM3FRACVAL3 (IMXRT_FLEXPWM3.offset132)
  2176. #define FLEXPWM3_SM3VAL3 (IMXRT_FLEXPWM3.offset134)
  2177. #define FLEXPWM3_SM3FRACVAL4 (IMXRT_FLEXPWM3.offset136)
  2178. #define FLEXPWM3_SM3VAL4 (IMXRT_FLEXPWM3.offset138)
  2179. #define FLEXPWM3_SM3FRACVAL5 (IMXRT_FLEXPWM3.offset13A)
  2180. #define FLEXPWM3_SM3VAL5 (IMXRT_FLEXPWM3.offset13C)
  2181. #define FLEXPWM3_SM3FRCTRL (IMXRT_FLEXPWM3.offset13E)
  2182. #define FLEXPWM3_SM3OCTRL (IMXRT_FLEXPWM3.offset140)
  2183. #define FLEXPWM3_SM3STS (IMXRT_FLEXPWM3.offset142)
  2184. #define FLEXPWM3_SM3INTEN (IMXRT_FLEXPWM3.offset144)
  2185. #define FLEXPWM3_SM3DMAEN (IMXRT_FLEXPWM3.offset146)
  2186. #define FLEXPWM3_SM3TCTRL (IMXRT_FLEXPWM3.offset148)
  2187. #define FLEXPWM3_SM3DISMAP0 (IMXRT_FLEXPWM3.offset14A)
  2188. #define FLEXPWM3_SM3DISMAP1 (IMXRT_FLEXPWM3.offset14C)
  2189. #define FLEXPWM3_SM3DTCNT0 (IMXRT_FLEXPWM3.offset15E)
  2190. #define FLEXPWM3_SM3DTCNT1 (IMXRT_FLEXPWM3.offset150)
  2191. #define FLEXPWM3_SM3CAPTCTRLA (IMXRT_FLEXPWM3.offset152)
  2192. #define FLEXPWM3_SM3CAPTCOMPA (IMXRT_FLEXPWM3.offset154)
  2193. #define FLEXPWM3_SM3CAPTCTRLB (IMXRT_FLEXPWM3.offset156)
  2194. #define FLEXPWM3_SM3CAPTCOMPB (IMXRT_FLEXPWM3.offset158)
  2195. #define FLEXPWM3_SM3CAPTCTRLX (IMXRT_FLEXPWM3.offset15A)
  2196. #define FLEXPWM3_SM3CAPTCOMPX (IMXRT_FLEXPWM3.offset15C)
  2197. #define FLEXPWM3_SM3CVAL0 (IMXRT_FLEXPWM3.offset15E)
  2198. #define FLEXPWM3_SM3CVAL0CYC (IMXRT_FLEXPWM3.offset160)
  2199. #define FLEXPWM3_SM3CVAL1 (IMXRT_FLEXPWM3.offset162)
  2200. #define FLEXPWM3_SM3CVAL1CYC (IMXRT_FLEXPWM3.offset164)
  2201. #define FLEXPWM3_SM3CVAL2 (IMXRT_FLEXPWM3.offset166)
  2202. #define FLEXPWM3_SM3CVAL2CYC (IMXRT_FLEXPWM3.offset168)
  2203. #define FLEXPWM3_SM3CVAL3 (IMXRT_FLEXPWM3.offset16A)
  2204. #define FLEXPWM3_SM3CVAL3CYC (IMXRT_FLEXPWM3.offset16C)
  2205. #define FLEXPWM3_SM3CVAL4 (IMXRT_FLEXPWM3.offset16E)
  2206. #define FLEXPWM3_SM3CVAL4CYC (IMXRT_FLEXPWM3.offset170)
  2207. #define FLEXPWM3_SM3CVAL5 (IMXRT_FLEXPWM3.offset172)
  2208. #define FLEXPWM3_SM3CVAL5CYC (IMXRT_FLEXPWM3.offset174)
  2209. #define FLEXPWM3_OUTEN (IMXRT_FLEXPWM3.offset180)
  2210. #define FLEXPWM3_MASK (IMXRT_FLEXPWM3.offset182)
  2211. #define FLEXPWM3_SWCOUT (IMXRT_FLEXPWM3.offset184)
  2212. #define FLEXPWM3_DTSRCSEL (IMXRT_FLEXPWM3.offset186)
  2213. #define FLEXPWM3_MCTRL (IMXRT_FLEXPWM3.offset188)
  2214. #define FLEXPWM3_MCTRL2 (IMXRT_FLEXPWM3.offset18A)
  2215. #define FLEXPWM3_FCTRL0 (IMXRT_FLEXPWM3.offset18C)
  2216. #define FLEXPWM3_FSTS0 (IMXRT_FLEXPWM3.offset18E)
  2217. #define FLEXPWM3_FFILT0 (IMXRT_FLEXPWM3.offset190)
  2218. #define FLEXPWM3_FTST0 (IMXRT_FLEXPWM3.offset192)
  2219. #define FLEXPWM3_FCTRL20 (IMXRT_FLEXPWM3.offset194)
  2220. #define IMXRT_FLEXPWM4 (*(IMXRT_REGISTER16_t *)0x403E8000)
  2221. #define FLEXPWM4_SM0CNT (IMXRT_FLEXPWM4.offset000)
  2222. #define FLEXPWM4_SM0INIT (IMXRT_FLEXPWM4.offset002)
  2223. #define FLEXPWM4_SM0CTRL2 (IMXRT_FLEXPWM4.offset004)
  2224. #define FLEXPWM4_SM0CTRL (IMXRT_FLEXPWM4.offset006)
  2225. #define FLEXPWM4_SM0VAL0 (IMXRT_FLEXPWM4.offset008)
  2226. #define FLEXPWM4_SM0FRACVAL1 (IMXRT_FLEXPWM4.offset00A)
  2227. #define FLEXPWM4_SM0VAL1 (IMXRT_FLEXPWM4.offset00C)
  2228. #define FLEXPWM4_SM0FRACVAL2 (IMXRT_FLEXPWM4.offset00E)
  2229. #define FLEXPWM4_SM0VAL2 (IMXRT_FLEXPWM4.offset010)
  2230. #define FLEXPWM4_SM0FRACVAL3 (IMXRT_FLEXPWM4.offset012)
  2231. #define FLEXPWM4_SM0VAL3 (IMXRT_FLEXPWM4.offset014)
  2232. #define FLEXPWM4_SM0FRACVAL4 (IMXRT_FLEXPWM4.offset016)
  2233. #define FLEXPWM4_SM0VAL4 (IMXRT_FLEXPWM4.offset018)
  2234. #define FLEXPWM4_SM0FRACVAL5 (IMXRT_FLEXPWM4.offset01A)
  2235. #define FLEXPWM4_SM0VAL5 (IMXRT_FLEXPWM4.offset01C)
  2236. #define FLEXPWM4_SM0FRCTRL (IMXRT_FLEXPWM4.offset01E)
  2237. #define FLEXPWM4_SM0OCTRL (IMXRT_FLEXPWM4.offset020)
  2238. #define FLEXPWM4_SM0STS (IMXRT_FLEXPWM4.offset022)
  2239. #define FLEXPWM4_SM0INTEN (IMXRT_FLEXPWM4.offset024)
  2240. #define FLEXPWM4_SM0DMAEN (IMXRT_FLEXPWM4.offset026)
  2241. #define FLEXPWM4_SM0TCTRL (IMXRT_FLEXPWM4.offset028)
  2242. #define FLEXPWM4_SM0DISMAP0 (IMXRT_FLEXPWM4.offset02A)
  2243. #define FLEXPWM4_SM0DISMAP1 (IMXRT_FLEXPWM4.offset02C)
  2244. #define FLEXPWM4_SM0DTCNT0 (IMXRT_FLEXPWM4.offset02E)
  2245. #define FLEXPWM4_SM0DTCNT1 (IMXRT_FLEXPWM4.offset030)
  2246. #define FLEXPWM4_SM0CAPTCTRLA (IMXRT_FLEXPWM4.offset032)
  2247. #define FLEXPWM4_SM0CAPTCOMPA (IMXRT_FLEXPWM4.offset034)
  2248. #define FLEXPWM4_SM0CAPTCTRLB (IMXRT_FLEXPWM4.offset036)
  2249. #define FLEXPWM4_SM0CAPTCOMPB (IMXRT_FLEXPWM4.offset038)
  2250. #define FLEXPWM4_SM0CAPTCTRLX (IMXRT_FLEXPWM4.offset03A)
  2251. #define FLEXPWM4_SM0CAPTCOMPX (IMXRT_FLEXPWM4.offset03C)
  2252. #define FLEXPWM4_SM0CVAL0 (IMXRT_FLEXPWM4.offset03E)
  2253. #define FLEXPWM4_SM0CVAL0CYC (IMXRT_FLEXPWM4.offset040)
  2254. #define FLEXPWM4_SM0CVAL1 (IMXRT_FLEXPWM4.offset042)
  2255. #define FLEXPWM4_SM0CVAL1CYC (IMXRT_FLEXPWM4.offset044)
  2256. #define FLEXPWM4_SM0CVAL2 (IMXRT_FLEXPWM4.offset046)
  2257. #define FLEXPWM4_SM0CVAL2CYC (IMXRT_FLEXPWM4.offset048)
  2258. #define FLEXPWM4_SM0CVAL3 (IMXRT_FLEXPWM4.offset04A)
  2259. #define FLEXPWM4_SM0CVAL3CYC (IMXRT_FLEXPWM4.offset04C)
  2260. #define FLEXPWM4_SM0CVAL4 (IMXRT_FLEXPWM4.offset04E)
  2261. #define FLEXPWM4_SM0CVAL4CYC (IMXRT_FLEXPWM4.offset050)
  2262. #define FLEXPWM4_SM0CVAL5 (IMXRT_FLEXPWM4.offset052)
  2263. #define FLEXPWM4_SM0CVAL5CYC (IMXRT_FLEXPWM4.offset054)
  2264. #define FLEXPWM4_SM1CNT (IMXRT_FLEXPWM4.offset060)
  2265. #define FLEXPWM4_SM1INIT (IMXRT_FLEXPWM4.offset062)
  2266. #define FLEXPWM4_SM1CTRL2 (IMXRT_FLEXPWM4.offset064)
  2267. #define FLEXPWM4_SM1CTRL (IMXRT_FLEXPWM4.offset066)
  2268. #define FLEXPWM4_SM1VAL0 (IMXRT_FLEXPWM4.offset068)
  2269. #define FLEXPWM4_SM1FRACVAL1 (IMXRT_FLEXPWM4.offset06A)
  2270. #define FLEXPWM4_SM1VAL1 (IMXRT_FLEXPWM4.offset06C)
  2271. #define FLEXPWM4_SM1FRACVAL2 (IMXRT_FLEXPWM4.offset06E)
  2272. #define FLEXPWM4_SM1VAL2 (IMXRT_FLEXPWM4.offset070)
  2273. #define FLEXPWM4_SM1FRACVAL3 (IMXRT_FLEXPWM4.offset072)
  2274. #define FLEXPWM4_SM1VAL3 (IMXRT_FLEXPWM4.offset074)
  2275. #define FLEXPWM4_SM1FRACVAL4 (IMXRT_FLEXPWM4.offset076)
  2276. #define FLEXPWM4_SM1VAL4 (IMXRT_FLEXPWM4.offset078)
  2277. #define FLEXPWM4_SM1FRACVAL5 (IMXRT_FLEXPWM4.offset07A)
  2278. #define FLEXPWM4_SM1VAL5 (IMXRT_FLEXPWM4.offset07C)
  2279. #define FLEXPWM4_SM1FRCTRL (IMXRT_FLEXPWM4.offset07E)
  2280. #define FLEXPWM4_SM1OCTRL (IMXRT_FLEXPWM4.offset080)
  2281. #define FLEXPWM4_SM1STS (IMXRT_FLEXPWM4.offset082)
  2282. #define FLEXPWM4_SM1INTEN (IMXRT_FLEXPWM4.offset084)
  2283. #define FLEXPWM4_SM1DMAEN (IMXRT_FLEXPWM4.offset086)
  2284. #define FLEXPWM4_SM1TCTRL (IMXRT_FLEXPWM4.offset088)
  2285. #define FLEXPWM4_SM1DISMAP0 (IMXRT_FLEXPWM4.offset08A)
  2286. #define FLEXPWM4_SM1DISMAP1 (IMXRT_FLEXPWM4.offset08C)
  2287. #define FLEXPWM4_SM1DTCNT0 (IMXRT_FLEXPWM4.offset08E)
  2288. #define FLEXPWM4_SM1DTCNT1 (IMXRT_FLEXPWM4.offset090)
  2289. #define FLEXPWM4_SM1CAPTCTRLA (IMXRT_FLEXPWM4.offset092)
  2290. #define FLEXPWM4_SM1CAPTCOMPA (IMXRT_FLEXPWM4.offset094)
  2291. #define FLEXPWM4_SM1CAPTCTRLB (IMXRT_FLEXPWM4.offset096)
  2292. #define FLEXPWM4_SM1CAPTCOMPB (IMXRT_FLEXPWM4.offset098)
  2293. #define FLEXPWM4_SM1CAPTCTRLX (IMXRT_FLEXPWM4.offset09A)
  2294. #define FLEXPWM4_SM1CAPTCOMPX (IMXRT_FLEXPWM4.offset09C)
  2295. #define FLEXPWM4_SM1CVAL0 (IMXRT_FLEXPWM4.offset09E)
  2296. #define FLEXPWM4_SM1CVAL0CYC (IMXRT_FLEXPWM4.offset0A0)
  2297. #define FLEXPWM4_SM1CVAL1 (IMXRT_FLEXPWM4.offset0A2)
  2298. #define FLEXPWM4_SM1CVAL1CYC (IMXRT_FLEXPWM4.offset0A4)
  2299. #define FLEXPWM4_SM1CVAL2 (IMXRT_FLEXPWM4.offset0A6)
  2300. #define FLEXPWM4_SM1CVAL2CYC (IMXRT_FLEXPWM4.offset0A8)
  2301. #define FLEXPWM4_SM1CVAL3 (IMXRT_FLEXPWM4.offset0AA)
  2302. #define FLEXPWM4_SM1CVAL3CYC (IMXRT_FLEXPWM4.offset0AC)
  2303. #define FLEXPWM4_SM1CVAL4 (IMXRT_FLEXPWM4.offset0AE)
  2304. #define FLEXPWM4_SM1CVAL4CYC (IMXRT_FLEXPWM4.offset0B0)
  2305. #define FLEXPWM4_SM1CVAL5 (IMXRT_FLEXPWM4.offset0B2)
  2306. #define FLEXPWM4_SM1CVAL5CYC (IMXRT_FLEXPWM4.offset0B4)
  2307. #define FLEXPWM4_SM2CNT (IMXRT_FLEXPWM4.offset0C0)
  2308. #define FLEXPWM4_SM2INIT (IMXRT_FLEXPWM4.offset0C2)
  2309. #define FLEXPWM4_SM2CTRL2 (IMXRT_FLEXPWM4.offset0C4)
  2310. #define FLEXPWM4_SM2CTRL (IMXRT_FLEXPWM4.offset0C6)
  2311. #define FLEXPWM4_SM2VAL0 (IMXRT_FLEXPWM4.offset0C8)
  2312. #define FLEXPWM4_SM2FRACVAL1 (IMXRT_FLEXPWM4.offset0CA)
  2313. #define FLEXPWM4_SM2VAL1 (IMXRT_FLEXPWM4.offset0CC)
  2314. #define FLEXPWM4_SM2FRACVAL2 (IMXRT_FLEXPWM4.offset0CE)
  2315. #define FLEXPWM4_SM2VAL2 (IMXRT_FLEXPWM4.offset0D0)
  2316. #define FLEXPWM4_SM2FRACVAL3 (IMXRT_FLEXPWM4.offset0D2)
  2317. #define FLEXPWM4_SM2VAL3 (IMXRT_FLEXPWM4.offset0D4)
  2318. #define FLEXPWM4_SM2FRACVAL4 (IMXRT_FLEXPWM4.offset0D6)
  2319. #define FLEXPWM4_SM2VAL4 (IMXRT_FLEXPWM4.offset0D8)
  2320. #define FLEXPWM4_SM2FRACVAL5 (IMXRT_FLEXPWM4.offset0DA)
  2321. #define FLEXPWM4_SM2VAL5 (IMXRT_FLEXPWM4.offset0DC)
  2322. #define FLEXPWM4_SM2FRCTRL (IMXRT_FLEXPWM4.offset0DE)
  2323. #define FLEXPWM4_SM2OCTRL (IMXRT_FLEXPWM4.offset0E0)
  2324. #define FLEXPWM4_SM2STS (IMXRT_FLEXPWM4.offset0E2)
  2325. #define FLEXPWM4_SM2INTEN (IMXRT_FLEXPWM4.offset0E4)
  2326. #define FLEXPWM4_SM2DMAEN (IMXRT_FLEXPWM4.offset0E6)
  2327. #define FLEXPWM4_SM2TCTRL (IMXRT_FLEXPWM4.offset0E8)
  2328. #define FLEXPWM4_SM2DISMAP0 (IMXRT_FLEXPWM4.offset0EA)
  2329. #define FLEXPWM4_SM2DISMAP1 (IMXRT_FLEXPWM4.offset0EC)
  2330. #define FLEXPWM4_SM2DTCNT0 (IMXRT_FLEXPWM4.offset0EE)
  2331. #define FLEXPWM4_SM2DTCNT1 (IMXRT_FLEXPWM4.offset0F0)
  2332. #define FLEXPWM4_SM2CAPTCTRLA (IMXRT_FLEXPWM4.offset0F2)
  2333. #define FLEXPWM4_SM2CAPTCOMPA (IMXRT_FLEXPWM4.offset0F4)
  2334. #define FLEXPWM4_SM2CAPTCTRLB (IMXRT_FLEXPWM4.offset0F6)
  2335. #define FLEXPWM4_SM2CAPTCOMPB (IMXRT_FLEXPWM4.offset0F8)
  2336. #define FLEXPWM4_SM2CAPTCTRLX (IMXRT_FLEXPWM4.offset0FA)
  2337. #define FLEXPWM4_SM2CAPTCOMPX (IMXRT_FLEXPWM4.offset0FC)
  2338. #define FLEXPWM4_SM2CVAL0 (IMXRT_FLEXPWM4.offset0FE)
  2339. #define FLEXPWM4_SM2CVAL0CYC (IMXRT_FLEXPWM4.offset100)
  2340. #define FLEXPWM4_SM2CVAL1 (IMXRT_FLEXPWM4.offset102)
  2341. #define FLEXPWM4_SM2CVAL1CYC (IMXRT_FLEXPWM4.offset104)
  2342. #define FLEXPWM4_SM2CVAL2 (IMXRT_FLEXPWM4.offset106)
  2343. #define FLEXPWM4_SM2CVAL2CYC (IMXRT_FLEXPWM4.offset108)
  2344. #define FLEXPWM4_SM2CVAL3 (IMXRT_FLEXPWM4.offset10A)
  2345. #define FLEXPWM4_SM2CVAL3CYC (IMXRT_FLEXPWM4.offset10C)
  2346. #define FLEXPWM4_SM2CVAL4 (IMXRT_FLEXPWM4.offset10E)
  2347. #define FLEXPWM4_SM2CVAL4CYC (IMXRT_FLEXPWM4.offset110)
  2348. #define FLEXPWM4_SM2CVAL5 (IMXRT_FLEXPWM4.offset112)
  2349. #define FLEXPWM4_SM2CVAL5CYC (IMXRT_FLEXPWM4.offset114)
  2350. #define FLEXPWM4_SM3CNT (IMXRT_FLEXPWM4.offset120)
  2351. #define FLEXPWM4_SM3INIT (IMXRT_FLEXPWM4.offset122)
  2352. #define FLEXPWM4_SM3CTRL2 (IMXRT_FLEXPWM4.offset124)
  2353. #define FLEXPWM4_SM3CTRL (IMXRT_FLEXPWM4.offset126)
  2354. #define FLEXPWM4_SM3VAL0 (IMXRT_FLEXPWM4.offset128)
  2355. #define FLEXPWM4_SM3FRACVAL1 (IMXRT_FLEXPWM4.offset12A)
  2356. #define FLEXPWM4_SM3VAL1 (IMXRT_FLEXPWM4.offset12C)
  2357. #define FLEXPWM4_SM3FRACVAL2 (IMXRT_FLEXPWM4.offset12E)
  2358. #define FLEXPWM4_SM3VAL2 (IMXRT_FLEXPWM4.offset130)
  2359. #define FLEXPWM4_SM3FRACVAL3 (IMXRT_FLEXPWM4.offset132)
  2360. #define FLEXPWM4_SM3VAL3 (IMXRT_FLEXPWM4.offset134)
  2361. #define FLEXPWM4_SM3FRACVAL4 (IMXRT_FLEXPWM4.offset136)
  2362. #define FLEXPWM4_SM3VAL4 (IMXRT_FLEXPWM4.offset138)
  2363. #define FLEXPWM4_SM3FRACVAL5 (IMXRT_FLEXPWM4.offset13A)
  2364. #define FLEXPWM4_SM3VAL5 (IMXRT_FLEXPWM4.offset13C)
  2365. #define FLEXPWM4_SM3FRCTRL (IMXRT_FLEXPWM4.offset13E)
  2366. #define FLEXPWM4_SM3OCTRL (IMXRT_FLEXPWM4.offset140)
  2367. #define FLEXPWM4_SM3STS (IMXRT_FLEXPWM4.offset142)
  2368. #define FLEXPWM4_SM3INTEN (IMXRT_FLEXPWM4.offset144)
  2369. #define FLEXPWM4_SM3DMAEN (IMXRT_FLEXPWM4.offset146)
  2370. #define FLEXPWM4_SM3TCTRL (IMXRT_FLEXPWM4.offset148)
  2371. #define FLEXPWM4_SM3DISMAP0 (IMXRT_FLEXPWM4.offset14A)
  2372. #define FLEXPWM4_SM3DISMAP1 (IMXRT_FLEXPWM4.offset14C)
  2373. #define FLEXPWM4_SM3DTCNT0 (IMXRT_FLEXPWM4.offset15E)
  2374. #define FLEXPWM4_SM3DTCNT1 (IMXRT_FLEXPWM4.offset150)
  2375. #define FLEXPWM4_SM3CAPTCTRLA (IMXRT_FLEXPWM4.offset152)
  2376. #define FLEXPWM4_SM3CAPTCOMPA (IMXRT_FLEXPWM4.offset154)
  2377. #define FLEXPWM4_SM3CAPTCTRLB (IMXRT_FLEXPWM4.offset156)
  2378. #define FLEXPWM4_SM3CAPTCOMPB (IMXRT_FLEXPWM4.offset158)
  2379. #define FLEXPWM4_SM3CAPTCTRLX (IMXRT_FLEXPWM4.offset15A)
  2380. #define FLEXPWM4_SM3CAPTCOMPX (IMXRT_FLEXPWM4.offset15C)
  2381. #define FLEXPWM4_SM3CVAL0 (IMXRT_FLEXPWM4.offset15E)
  2382. #define FLEXPWM4_SM3CVAL0CYC (IMXRT_FLEXPWM4.offset160)
  2383. #define FLEXPWM4_SM3CVAL1 (IMXRT_FLEXPWM4.offset162)
  2384. #define FLEXPWM4_SM3CVAL1CYC (IMXRT_FLEXPWM4.offset164)
  2385. #define FLEXPWM4_SM3CVAL2 (IMXRT_FLEXPWM4.offset166)
  2386. #define FLEXPWM4_SM3CVAL2CYC (IMXRT_FLEXPWM4.offset168)
  2387. #define FLEXPWM4_SM3CVAL3 (IMXRT_FLEXPWM4.offset16A)
  2388. #define FLEXPWM4_SM3CVAL3CYC (IMXRT_FLEXPWM4.offset16C)
  2389. #define FLEXPWM4_SM3CVAL4 (IMXRT_FLEXPWM4.offset16E)
  2390. #define FLEXPWM4_SM3CVAL4CYC (IMXRT_FLEXPWM4.offset170)
  2391. #define FLEXPWM4_SM3CVAL5 (IMXRT_FLEXPWM4.offset172)
  2392. #define FLEXPWM4_SM3CVAL5CYC (IMXRT_FLEXPWM4.offset174)
  2393. #define FLEXPWM4_OUTEN (IMXRT_FLEXPWM4.offset180)
  2394. #define FLEXPWM4_MASK (IMXRT_FLEXPWM4.offset182)
  2395. #define FLEXPWM4_SWCOUT (IMXRT_FLEXPWM4.offset184)
  2396. #define FLEXPWM4_DTSRCSEL (IMXRT_FLEXPWM4.offset186)
  2397. #define FLEXPWM4_MCTRL (IMXRT_FLEXPWM4.offset188)
  2398. #define FLEXPWM4_MCTRL2 (IMXRT_FLEXPWM4.offset18A)
  2399. #define FLEXPWM4_FCTRL0 (IMXRT_FLEXPWM4.offset18C)
  2400. #define FLEXPWM4_FSTS0 (IMXRT_FLEXPWM4.offset18E)
  2401. #define FLEXPWM4_FFILT0 (IMXRT_FLEXPWM4.offset190)
  2402. #define FLEXPWM4_FTST0 (IMXRT_FLEXPWM4.offset192)
  2403. #define FLEXPWM4_FCTRL20 (IMXRT_FLEXPWM4.offset194)
  2404. // page 1496
  2405. #define IMXRT_FLEXRAM (*(IMXRT_REGISTER32_t *)0x400B0000)
  2406. #define FLEXRAM_TCM_CTRL (IMXRT_FLEXRAM.offset000)
  2407. #define FLEXRAM_OCRAM_MAGIC_ADDR (IMXRT_FLEXRAM.offset004)
  2408. #define FLEXRAM_DTCM_MAGIC_ADDR (IMXRT_FLEXRAM.offset008)
  2409. #define FLEXRAM_ITCM_MAGIC_ADDR (IMXRT_FLEXRAM.offset00C)
  2410. #define FLEXRAM_INT_STATUS (IMXRT_FLEXRAM.offset010)
  2411. #define FLEXRAM_INT_STAT_EN (IMXRT_FLEXRAM.offset014)
  2412. #define FLEXRAM_INT_SIG_EN (IMXRT_FLEXRAM.offset018)
  2413. // page 1583
  2414. #define IMXRT_FLEXSPI (*(IMXRT_REGISTER32_t *)0x400B0000)
  2415. #define FLEXSPI_MCR0 (IMXRT_FLEXSPI.offset000)
  2416. #define FLEXSPI_MCR1 (IMXRT_FLEXSPI.offset004)
  2417. #define FLEXSPI_MCR2 (IMXRT_FLEXSPI.offset008)
  2418. #define FLEXSPI_AHBCR (IMXRT_FLEXSPI.offset00C)
  2419. #define FLEXSPI_INTEN (IMXRT_FLEXSPI.offset010)
  2420. #define FLEXSPI_INTR (IMXRT_FLEXSPI.offset014)
  2421. #define FLEXSPI_LUTKEY (IMXRT_FLEXSPI.offset018)
  2422. #define FLEXSPI_LUTCR (IMXRT_FLEXSPI.offset01C)
  2423. #define FLEXSPI_AHBRXBUF0CR0 (IMXRT_FLEXSPI.offset020)
  2424. #define FLEXSPI_AHBRXBUF1CR0 (IMXRT_FLEXSPI.offset024)
  2425. #define FLEXSPI_AHBRXBUF2CR0 (IMXRT_FLEXSPI.offset028)
  2426. #define FLEXSPI_AHBRXBUF3CR0 (IMXRT_FLEXSPI.offset02C)
  2427. #define FLEXSPI_FLSHA1CR0 (IMXRT_FLEXSPI.offset060)
  2428. #define FLEXSPI_FLSHA2CR0 (IMXRT_FLEXSPI.offset064)
  2429. #define FLEXSPI_FLSHB1CR0 (IMXRT_FLEXSPI.offset068)
  2430. #define FLEXSPI_FLSHB2CR0 (IMXRT_FLEXSPI.offset06C)
  2431. #define FLEXSPI_FLSHA1CR1 (IMXRT_FLEXSPI.offset070)
  2432. #define FLEXSPI_FLSHA2CR1 (IMXRT_FLEXSPI.offset074)
  2433. #define FLEXSPI_FLSHB1CR1 (IMXRT_FLEXSPI.offset078)
  2434. #define FLEXSPI_FLSHB2CR1 (IMXRT_FLEXSPI.offset07C)
  2435. #define FLEXSPI_FLSHA1CR2 (IMXRT_FLEXSPI.offset080)
  2436. #define FLEXSPI_FLSHA2CR2 (IMXRT_FLEXSPI.offset084)
  2437. #define FLEXSPI_FLSHB1CR2 (IMXRT_FLEXSPI.offset088)
  2438. #define FLEXSPI_FLSHB2CR2 (IMXRT_FLEXSPI.offset08C)
  2439. #define FLEXSPI_IPCR0 (IMXRT_FLEXSPI.offset0A0)
  2440. #define FLEXSPI_IPCR1 (IMXRT_FLEXSPI.offset0A4)
  2441. #define FLEXSPI_IPCMD (IMXRT_FLEXSPI.offset0B0)
  2442. #define FLEXSPI_DLPR (IMXRT_FLEXSPI.offset0B4)
  2443. #define FLEXSPI_IPRXFCR (IMXRT_FLEXSPI.offset0B8)
  2444. #define FLEXSPI_IPTXFCR (IMXRT_FLEXSPI.offset0BC)
  2445. #define FLEXSPI_DLLACR (IMXRT_FLEXSPI.offset0C0)
  2446. #define FLEXSPI_DLLBCR (IMXRT_FLEXSPI.offset0C4)
  2447. #define FLEXSPI_STS0 (IMXRT_FLEXSPI.offset0E0)
  2448. #define FLEXSPI_STS1 (IMXRT_FLEXSPI.offset0E4)
  2449. #define FLEXSPI_STS2 (IMXRT_FLEXSPI.offset0E8)
  2450. #define FLEXSPI_AHBSPNDSTS (IMXRT_FLEXSPI.offset0EC)
  2451. #define FLEXSPI_IPRXFSTS (IMXRT_FLEXSPI.offset0F0)
  2452. #define FLEXSPI_IPTXFSTS (IMXRT_FLEXSPI.offset0F4)
  2453. #define FLEXSPI_RFDR0 (IMXRT_FLEXSPI.offset100)
  2454. #define FLEXSPI_RFDR1 (IMXRT_FLEXSPI.offset104)
  2455. #define FLEXSPI_RFDR2 (IMXRT_FLEXSPI.offset108)
  2456. #define FLEXSPI_RFDR3 (IMXRT_FLEXSPI.offset10C)
  2457. #define FLEXSPI_RFDR4 (IMXRT_FLEXSPI.offset110)
  2458. #define FLEXSPI_RFDR5 (IMXRT_FLEXSPI.offset114)
  2459. #define FLEXSPI_RFDR6 (IMXRT_FLEXSPI.offset118)
  2460. #define FLEXSPI_RFDR7 (IMXRT_FLEXSPI.offset11C)
  2461. #define FLEXSPI_RFDR8 (IMXRT_FLEXSPI.offset120)
  2462. #define FLEXSPI_RFDR9 (IMXRT_FLEXSPI.offset124)
  2463. #define FLEXSPI_RFDR10 (IMXRT_FLEXSPI.offset128)
  2464. #define FLEXSPI_RFDR11 (IMXRT_FLEXSPI.offset12C)
  2465. #define FLEXSPI_RFDR12 (IMXRT_FLEXSPI.offset130)
  2466. #define FLEXSPI_RFDR13 (IMXRT_FLEXSPI.offset134)
  2467. #define FLEXSPI_RFDR14 (IMXRT_FLEXSPI.offset138)
  2468. #define FLEXSPI_RFDR15 (IMXRT_FLEXSPI.offset13C)
  2469. #define FLEXSPI_RFDR16 (IMXRT_FLEXSPI.offset140)
  2470. #define FLEXSPI_RFDR17 (IMXRT_FLEXSPI.offset144)
  2471. #define FLEXSPI_RFDR18 (IMXRT_FLEXSPI.offset148)
  2472. #define FLEXSPI_RFDR19 (IMXRT_FLEXSPI.offset14C)
  2473. #define FLEXSPI_RFDR20 (IMXRT_FLEXSPI.offset150)
  2474. #define FLEXSPI_RFDR21 (IMXRT_FLEXSPI.offset154)
  2475. #define FLEXSPI_RFDR22 (IMXRT_FLEXSPI.offset158)
  2476. #define FLEXSPI_RFDR23 (IMXRT_FLEXSPI.offset15C)
  2477. #define FLEXSPI_RFDR24 (IMXRT_FLEXSPI.offset160)
  2478. #define FLEXSPI_RFDR25 (IMXRT_FLEXSPI.offset164)
  2479. #define FLEXSPI_RFDR26 (IMXRT_FLEXSPI.offset168)
  2480. #define FLEXSPI_RFDR27 (IMXRT_FLEXSPI.offset16C)
  2481. #define FLEXSPI_RFDR28 (IMXRT_FLEXSPI.offset170)
  2482. #define FLEXSPI_RFDR29 (IMXRT_FLEXSPI.offset174)
  2483. #define FLEXSPI_RFDR30 (IMXRT_FLEXSPI.offset178)
  2484. #define FLEXSPI_RFDR31 (IMXRT_FLEXSPI.offset17C)
  2485. #define FLEXSPI_TFDR0 (IMXRT_FLEXSPI.offset180)
  2486. #define FLEXSPI_TFDR1 (IMXRT_FLEXSPI.offset184)
  2487. #define FLEXSPI_TFDR2 (IMXRT_FLEXSPI.offset188)
  2488. #define FLEXSPI_TFDR3 (IMXRT_FLEXSPI.offset18C)
  2489. #define FLEXSPI_TFDR4 (IMXRT_FLEXSPI.offset190)
  2490. #define FLEXSPI_TFDR5 (IMXRT_FLEXSPI.offset194)
  2491. #define FLEXSPI_TFDR6 (IMXRT_FLEXSPI.offset198)
  2492. #define FLEXSPI_TFDR7 (IMXRT_FLEXSPI.offset19C)
  2493. #define FLEXSPI_TFDR8 (IMXRT_FLEXSPI.offset1A0)
  2494. #define FLEXSPI_TFDR9 (IMXRT_FLEXSPI.offset1A4)
  2495. #define FLEXSPI_TFDR10 (IMXRT_FLEXSPI.offset1A8)
  2496. #define FLEXSPI_TFDR11 (IMXRT_FLEXSPI.offset1AC)
  2497. #define FLEXSPI_TFDR12 (IMXRT_FLEXSPI.offset1B0)
  2498. #define FLEXSPI_TFDR13 (IMXRT_FLEXSPI.offset1B4)
  2499. #define FLEXSPI_TFDR14 (IMXRT_FLEXSPI.offset1B8)
  2500. #define FLEXSPI_TFDR15 (IMXRT_FLEXSPI.offset1BC)
  2501. #define FLEXSPI_TFDR16 (IMXRT_FLEXSPI.offset1C0)
  2502. #define FLEXSPI_TFDR17 (IMXRT_FLEXSPI.offset1C4)
  2503. #define FLEXSPI_TFDR18 (IMXRT_FLEXSPI.offset1C8)
  2504. #define FLEXSPI_TFDR19 (IMXRT_FLEXSPI.offset1CC)
  2505. #define FLEXSPI_TFDR20 (IMXRT_FLEXSPI.offset1D0)
  2506. #define FLEXSPI_TFDR21 (IMXRT_FLEXSPI.offset1D4)
  2507. #define FLEXSPI_TFDR22 (IMXRT_FLEXSPI.offset1D8)
  2508. #define FLEXSPI_TFDR23 (IMXRT_FLEXSPI.offset1DC)
  2509. #define FLEXSPI_TFDR24 (IMXRT_FLEXSPI.offset1E0)
  2510. #define FLEXSPI_TFDR25 (IMXRT_FLEXSPI.offset1E4)
  2511. #define FLEXSPI_TFDR26 (IMXRT_FLEXSPI.offset1E8)
  2512. #define FLEXSPI_TFDR27 (IMXRT_FLEXSPI.offset1EC)
  2513. #define FLEXSPI_TFDR28 (IMXRT_FLEXSPI.offset1F0)
  2514. #define FLEXSPI_TFDR29 (IMXRT_FLEXSPI.offset1F4)
  2515. #define FLEXSPI_TFDR30 (IMXRT_FLEXSPI.offset1F8)
  2516. #define FLEXSPI_TFDR31 (IMXRT_FLEXSPI.offset1FC)
  2517. #define FLEXSPI_LUT0 (IMXRT_FLEXSPI.offset200)
  2518. #define FLEXSPI_LUT1 (IMXRT_FLEXSPI.offset204)
  2519. #define FLEXSPI_LUT2 (IMXRT_FLEXSPI.offset208)
  2520. #define FLEXSPI_LUT3 (IMXRT_FLEXSPI.offset20C)
  2521. #define FLEXSPI_LUT4 (IMXRT_FLEXSPI.offset210)
  2522. #define FLEXSPI_LUT5 (IMXRT_FLEXSPI.offset214)
  2523. #define FLEXSPI_LUT6 (IMXRT_FLEXSPI.offset218)
  2524. #define FLEXSPI_LUT7 (IMXRT_FLEXSPI.offset21C)
  2525. #define FLEXSPI_LUT8 (IMXRT_FLEXSPI.offset220)
  2526. #define FLEXSPI_LUT9 (IMXRT_FLEXSPI.offset224)
  2527. #define FLEXSPI_LUT10 (IMXRT_FLEXSPI.offset228)
  2528. #define FLEXSPI_LUT11 (IMXRT_FLEXSPI.offset22C)
  2529. #define FLEXSPI_LUT12 (IMXRT_FLEXSPI.offset230)
  2530. #define FLEXSPI_LUT13 (IMXRT_FLEXSPI.offset234)
  2531. #define FLEXSPI_LUT14 (IMXRT_FLEXSPI.offset238)
  2532. #define FLEXSPI_LUT15 (IMXRT_FLEXSPI.offset23C)
  2533. #define FLEXSPI_LUT12 (IMXRT_FLEXSPI.offset240)
  2534. #define FLEXSPI_LUT17 (IMXRT_FLEXSPI.offset244)
  2535. #define FLEXSPI_LUT18 (IMXRT_FLEXSPI.offset248)
  2536. #define FLEXSPI_LUT19 (IMXRT_FLEXSPI.offset24C)
  2537. #define FLEXSPI_LUT20 (IMXRT_FLEXSPI.offset250)
  2538. #define FLEXSPI_LUT21 (IMXRT_FLEXSPI.offset254)
  2539. #define FLEXSPI_LUT22 (IMXRT_FLEXSPI.offset258)
  2540. #define FLEXSPI_LUT23 (IMXRT_FLEXSPI.offset25C)
  2541. #define FLEXSPI_LUT24 (IMXRT_FLEXSPI.offset260)
  2542. #define FLEXSPI_LUT25 (IMXRT_FLEXSPI.offset264)
  2543. #define FLEXSPI_LUT26 (IMXRT_FLEXSPI.offset268)
  2544. #define FLEXSPI_LUT27 (IMXRT_FLEXSPI.offset26C)
  2545. #define FLEXSPI_LUT28 (IMXRT_FLEXSPI.offset270)
  2546. #define FLEXSPI_LUT29 (IMXRT_FLEXSPI.offset274)
  2547. #define FLEXSPI_LUT30 (IMXRT_FLEXSPI.offset278)
  2548. #define FLEXSPI_LUT31 (IMXRT_FLEXSPI.offset27C)
  2549. #define FLEXSPI_LUT32 (IMXRT_FLEXSPI.offset280)
  2550. #define FLEXSPI_LUT33 (IMXRT_FLEXSPI.offset284)
  2551. #define FLEXSPI_LUT34 (IMXRT_FLEXSPI.offset288)
  2552. #define FLEXSPI_LUT35 (IMXRT_FLEXSPI.offset28C)
  2553. #define FLEXSPI_LUT36 (IMXRT_FLEXSPI.offset290)
  2554. #define FLEXSPI_LUT37 (IMXRT_FLEXSPI.offset294)
  2555. #define FLEXSPI_LUT38 (IMXRT_FLEXSPI.offset298)
  2556. #define FLEXSPI_LUT39 (IMXRT_FLEXSPI.offset29C)
  2557. #define FLEXSPI_LUT40 (IMXRT_FLEXSPI.offset2A0)
  2558. #define FLEXSPI_LUT41 (IMXRT_FLEXSPI.offset2A4)
  2559. #define FLEXSPI_LUT42 (IMXRT_FLEXSPI.offset2A8)
  2560. #define FLEXSPI_LUT43 (IMXRT_FLEXSPI.offset2AC)
  2561. #define FLEXSPI_LUT44 (IMXRT_FLEXSPI.offset2B0)
  2562. #define FLEXSPI_LUT45 (IMXRT_FLEXSPI.offset2B4)
  2563. #define FLEXSPI_LUT46 (IMXRT_FLEXSPI.offset2B8)
  2564. #define FLEXSPI_LUT47 (IMXRT_FLEXSPI.offset2BC)
  2565. #define FLEXSPI_LUT48 (IMXRT_FLEXSPI.offset2C0)
  2566. #define FLEXSPI_LUT49 (IMXRT_FLEXSPI.offset2C4)
  2567. #define FLEXSPI_LUT50 (IMXRT_FLEXSPI.offset2C8)
  2568. #define FLEXSPI_LUT51 (IMXRT_FLEXSPI.offset2CC)
  2569. #define FLEXSPI_LUT52 (IMXRT_FLEXSPI.offset2D0)
  2570. #define FLEXSPI_LUT53 (IMXRT_FLEXSPI.offset2D4)
  2571. #define FLEXSPI_LUT54 (IMXRT_FLEXSPI.offset2D8)
  2572. #define FLEXSPI_LUT55 (IMXRT_FLEXSPI.offset2DC)
  2573. #define FLEXSPI_LUT52 (IMXRT_FLEXSPI.offset2E0)
  2574. #define FLEXSPI_LUT57 (IMXRT_FLEXSPI.offset2E4)
  2575. #define FLEXSPI_LUT58 (IMXRT_FLEXSPI.offset2E8)
  2576. #define FLEXSPI_LUT59 (IMXRT_FLEXSPI.offset2EC)
  2577. #define FLEXSPI_LUT60 (IMXRT_FLEXSPI.offset2F0)
  2578. #define FLEXSPI_LUT61 (IMXRT_FLEXSPI.offset2F4)
  2579. #define FLEXSPI_LUT62 (IMXRT_FLEXSPI.offset2F8)
  2580. #define FLEXSPI_LUT63 (IMXRT_FLEXSPI.offset2FC)
  2581. // page 1629
  2582. #define IMXRT_GPC (*(IMXRT_REGISTER32_t *)0x400F4000)
  2583. #define GPC_CNTR (IMXRT_GPC.offset000)
  2584. #define GPC_PGR (IMXRT_GPC.offset004)
  2585. #define GPC_IMR1 (IMXRT_GPC.offset008)
  2586. #define GPC_IMR2 (IMXRT_GPC.offset00C)
  2587. #define GPC_IMR3 (IMXRT_GPC.offset010)
  2588. #define GPC_IMR4 (IMXRT_GPC.offset014)
  2589. #define GPC_ISR1 (IMXRT_GPC.offset018)
  2590. #define GPC_ISR2 (IMXRT_GPC.offset01C)
  2591. #define GPC_ISR3 (IMXRT_GPC.offset020)
  2592. #define GPC_ISR4 (IMXRT_GPC.offset024)
  2593. // page 1658
  2594. #define IMXRT_GPIO1 (*(IMXRT_REGISTER32_t *)0x401B8000)
  2595. #define GPIO1_DR (IMXRT_GPIO1.offset000)
  2596. #define GPIO1_GDIR (IMXRT_GPIO1.offset004)
  2597. #define GPIO1_PSR (IMXRT_GPIO1.offset008)
  2598. #define GPIO1_ICR1 (IMXRT_GPIO1.offset00C)
  2599. #define GPIO1_ICR2 (IMXRT_GPIO1.offset010)
  2600. #define GPIO1_IMR (IMXRT_GPIO1.offset014)
  2601. #define GPIO1_ISR (IMXRT_GPIO1.offset018)
  2602. #define GPIO1_EDGE_SEL (IMXRT_GPIO1.offset01C)
  2603. #define IMXRT_GPIO2 (*(IMXRT_REGISTER32_t *)0x401BC000)
  2604. #define GPIO2_DR (IMXRT_GPIO2.offset000)
  2605. #define GPIO2_GDIR (IMXRT_GPIO2.offset004)
  2606. #define GPIO2_PSR (IMXRT_GPIO2.offset008)
  2607. #define GPIO2_ICR1 (IMXRT_GPIO2.offset00C)
  2608. #define GPIO2_ICR2 (IMXRT_GPIO2.offset010)
  2609. #define GPIO2_IMR (IMXRT_GPIO2.offset014)
  2610. #define GPIO2_ISR (IMXRT_GPIO2.offset018)
  2611. #define GPIO2_EDGE_SEL (IMXRT_GPIO2.offset01C)
  2612. #define IMXRT_GPIO3 (*(IMXRT_REGISTER32_t *)0x401C0000)
  2613. #define GPIO3_DR (IMXRT_GPIO3.offset000)
  2614. #define GPIO3_GDIR (IMXRT_GPIO3.offset004)
  2615. #define GPIO3_PSR (IMXRT_GPIO3.offset008)
  2616. #define GPIO3_ICR1 (IMXRT_GPIO3.offset00C)
  2617. #define GPIO3_ICR2 (IMXRT_GPIO3.offset010)
  2618. #define GPIO3_IMR (IMXRT_GPIO3.offset014)
  2619. #define GPIO3_ISR (IMXRT_GPIO3.offset018)
  2620. #define GPIO3_EDGE_SEL (IMXRT_GPIO3.offset01C)
  2621. #define IMXRT_GPIO4 (*(IMXRT_REGISTER32_t *)0x401C4000)
  2622. #define GPIO4_DR (IMXRT_GPIO4.offset000)
  2623. #define GPIO4_GDIR (IMXRT_GPIO4.offset004)
  2624. #define GPIO4_PSR (IMXRT_GPIO4.offset008)
  2625. #define GPIO4_ICR1 (IMXRT_GPIO4.offset00C)
  2626. #define GPIO4_ICR2 (IMXRT_GPIO4.offset010)
  2627. #define GPIO4_IMR (IMXRT_GPIO4.offset014)
  2628. #define GPIO4_ISR (IMXRT_GPIO4.offset018)
  2629. #define GPIO4_EDGE_SEL (IMXRT_GPIO4.offset01C)
  2630. #define IMXRT_GPIO5 (*(IMXRT_REGISTER32_t *)0x400C0000)
  2631. #define GPIO5_DR (IMXRT_GPIO5.offset000)
  2632. #define GPIO5_GDIR (IMXRT_GPIO5.offset004)
  2633. #define GPIO5_PSR (IMXRT_GPIO5.offset008)
  2634. #define GPIO5_ICR1 (IMXRT_GPIO5.offset00C)
  2635. #define GPIO5_ICR2 (IMXRT_GPIO5.offset010)
  2636. #define GPIO5_IMR (IMXRT_GPIO5.offset014)
  2637. #define GPIO5_ISR (IMXRT_GPIO5.offset018)
  2638. #define GPIO5_EDGE_SEL (IMXRT_GPIO5.offset01C)
  2639. // page 1686
  2640. #define IMXRT_GPT1 (*(IMXRT_REGISTER32_t *)0x401EC000)
  2641. #define GPT1_CR (IMXRT_GPT1.offset000)
  2642. #define GPT1_PR (IMXRT_GPT1.offset004)
  2643. #define GPT1_SR (IMXRT_GPT1.offset008)
  2644. #define GPT1_IR (IMXRT_GPT1.offset00C)
  2645. #define GPT1_OCR1 (IMXRT_GPT1.offset010)
  2646. #define GPT1_OCR2 (IMXRT_GPT1.offset014)
  2647. #define GPT1_OCR3 (IMXRT_GPT1.offset018)
  2648. #define GPT1_ICR1 (IMXRT_GPT1.offset01C)
  2649. #define GPT1_ICR2 (IMXRT_GPT1.offset020)
  2650. #define GPT1_CNT (IMXRT_GPT1.offset024)
  2651. #define IMXRT_GPT2 (*(IMXRT_REGISTER32_t *)0x401F0000)
  2652. #define GPT2_CR (IMXRT_GPT2.offset000)
  2653. #define GPT2_PR (IMXRT_GPT2.offset004)
  2654. #define GPT2_SR (IMXRT_GPT2.offset008)
  2655. #define GPT2_IR (IMXRT_GPT2.offset00C)
  2656. #define GPT2_OCR1 (IMXRT_GPT2.offset010)
  2657. #define GPT2_OCR2 (IMXRT_GPT2.offset014)
  2658. #define GPT2_OCR3 (IMXRT_GPT2.offset018)
  2659. #define GPT2_ICR1 (IMXRT_GPT2.offset01C)
  2660. #define GPT2_ICR2 (IMXRT_GPT2.offset020)
  2661. #define GPT2_CNT (IMXRT_GPT2.offset024)
  2662. // page 1669
  2663. #define IMXRT_IOMUXC_GPR (*(IMXRT_REGISTER32_t *)0x400AC000)
  2664. #define IOMUXC_GPR_GPR0 (IMXRT_IOMUXC_GPR.offset000)
  2665. #define IOMUXC_GPR_GPR1 (IMXRT_IOMUXC_GPR.offset004)
  2666. #define IOMUXC_GPR_GPR2 (IMXRT_IOMUXC_GPR.offset008)
  2667. #define IOMUXC_GPR_GPR3 (IMXRT_IOMUXC_GPR.offset00C)
  2668. #define IOMUXC_GPR_GPR4 (IMXRT_IOMUXC_GPR.offset010)
  2669. #define IOMUXC_GPR_GPR5 (IMXRT_IOMUXC_GPR.offset014)
  2670. #define IOMUXC_GPR_GPR6 (IMXRT_IOMUXC_GPR.offset018)
  2671. #define IOMUXC_GPR_GPR7 (IMXRT_IOMUXC_GPR.offset01C)
  2672. #define IOMUXC_GPR_GPR8 (IMXRT_IOMUXC_GPR.offset020)
  2673. #define IOMUXC_GPR_GPR9 (IMXRT_IOMUXC_GPR.offset024)
  2674. #define IOMUXC_GPR_GPR10 (IMXRT_IOMUXC_GPR.offset028)
  2675. #define IOMUXC_GPR_GPR11 (IMXRT_IOMUXC_GPR.offset02C)
  2676. #define IOMUXC_GPR_GPR12 (IMXRT_IOMUXC_GPR.offset030)
  2677. #define IOMUXC_GPR_GPR13 (IMXRT_IOMUXC_GPR.offset034)
  2678. #define IOMUXC_GPR_GPR14 (IMXRT_IOMUXC_GPR.offset038)
  2679. #define IOMUXC_GPR_GPR15 (IMXRT_IOMUXC_GPR.offset03C)
  2680. #define IOMUXC_GPR_GPR16 (IMXRT_IOMUXC_GPR.offset040)
  2681. #define IOMUXC_GPR_GPR17 (IMXRT_IOMUXC_GPR.offset044)
  2682. #define IOMUXC_GPR_GPR18 (IMXRT_IOMUXC_GPR.offset048)
  2683. #define IOMUXC_GPR_GPR19 (IMXRT_IOMUXC_GPR.offset04C)
  2684. #define IOMUXC_GPR_GPR20 (IMXRT_IOMUXC_GPR.offset050)
  2685. #define IOMUXC_GPR_GPR21 (IMXRT_IOMUXC_GPR.offset054)
  2686. #define IOMUXC_GPR_GPR22 (IMXRT_IOMUXC_GPR.offset058)
  2687. #define IOMUXC_GPR_GPR23 (IMXRT_IOMUXC_GPR.offset05C)
  2688. #define IOMUXC_GPR_GPR24 (IMXRT_IOMUXC_GPR.offset060)
  2689. #define IOMUXC_GPR_GPR25 (IMXRT_IOMUXC_GPR.offset064)
  2690. #define IOMUXC_GPR_GPR1_CM7_FORCE_HCLK_EN ((uint32_t)0x80000000)
  2691. #define IOMUXC_GPR_GPR1_ENET_IPG_CLK_S_EN ((uint32_t)0x00800000)
  2692. #define IOMUXC_GPR_GPR1_EXC_MON ((uint32_t)0x00400000)
  2693. #define IOMUXC_GPR_GPR1_SAI3_MCLK_DIR ((uint32_t)0x00200000)
  2694. #define IOMUXC_GPR_GPR1_SAI2_MCLK_DIR ((uint32_t)0x00100000)
  2695. #define IOMUXC_GPR_GPR1_SAI1_MCLK_DIR ((uint32_t)0x00080000)
  2696. #define IOMUXC_GPR_GPR1_ENET1_TX_CLK_DIR ((uint32_t)0x00020000)
  2697. #define IOMUXC_GPR_GPR1_USB_EXP_MODE ((uint32_t)0x00008000)
  2698. #define IOMUXC_GPR_GPR1_ENET1_CLK_SEL ((uint32_t)0x00002000)
  2699. #define IOMUXC_GPR_GPR1_GINT ((uint32_t)0x00001000)
  2700. #define IOMUXC_GPR_GPR1_SAI3_MCLK3_SEL(n) ((uint32_t)(((n) & 0x03) << 10))
  2701. #define IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL(n) ((uint32_t)(((n) & 0x03) << 8))
  2702. #define IOMUXC_GPR_GPR1_SAI1_MCLK3_SEL(n) ((uint32_t)(((n) & 0x03) << 6))
  2703. #define IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL(n) ((uint32_t)(((n) & 0x07) << 3))
  2704. #define IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL(n) ((uint32_t)(((n) & 0x07) << 0))
  2705. #define IOMUXC_GPR_GPR1_SAI3_MCLK3_SEL_MASK IOMUXC_GPR_GPR1_SAI3_MCLK3_SEL(3)
  2706. #define IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL_MASK IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL(3)
  2707. #define IOMUXC_GPR_GPR1_SAI1_MCLK3_SEL_MASK IOMUXC_GPR_GPR1_SAI1_MCLK3_SEL(3)
  2708. #define IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL_MASK IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL(7)
  2709. #define IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL_MASK IOMUXC_GPR_GPR1_SAI1_MCLK2_SEL(7)
  2710. #define IOMUXC_GPR_GPR2_QTIMER4_TMR_CNTS_FREEZE ((uint32_t)0x80000000)
  2711. #define IOMUXC_GPR_GPR2_QTIMER3_TMR_CNTS_FREEZE ((uint32_t)0x40000000)
  2712. #define IOMUXC_GPR_GPR2_QTIMER2_TMR_CNTS_FREEZE ((uint32_t)0x20000000)
  2713. #define IOMUXC_GPR_GPR2_QTIMER1_TMR_CNTS_FREEZE ((uint32_t)0x10000000)
  2714. #define IOMUXC_GPR_GPR2_MQS_OVERSAMPLE ((uint32_t)0x04000000)
  2715. #define IOMUXC_GPR_GPR2_MQS_EN ((uint32_t)0x02000000)
  2716. #define IOMUXC_GPR_GPR2_MQS_SW_RST ((uint32_t)0x01000000)
  2717. #define IOMUXC_GPR_GPR2_MQS_CLK_DIV(n) ((uint32_t)(((n) & 0xFF) << 16))
  2718. #define IOMUXC_GPR_GPR2_L2_MEM_DEEPSLEEP ((uint32_t)0x00004000)
  2719. #define IOMUXC_GPR_GPR2_L2_MEM_EN_POWERSAVING ((uint32_t)0x00001000)
  2720. #define IOMUXC_GPR_GPR2_MQS_CLK_DIV_MASK IOMUXC_GPR_GPR2_MQS_CLK_DIV(255)
  2721. #define IOMUXC_GPR_GPR3_OCRAM_STATUS(n) ((uint32_t)(((n) & 0x0F) << 16))
  2722. #define IOMUXC_GPR_GPR3_DCP_KEY_SEL ((uint32_t)0x00000010)
  2723. #define IOMUXC_GPR_GPR3_OCRAM_CTL(n) ((uint32_t)(((n) & 0x0F) << 0))
  2724. #define IOMUXC_GPR_GPR4_FLEXIO2_STOP_ACK ((uint32_t)0x20000000)
  2725. #define IOMUXC_GPR_GPR4_FLEXIO1_STOP_ACK ((uint32_t)0x10000000)
  2726. #define IOMUXC_GPR_GPR4_FLEXSPI_STOP_ACK ((uint32_t)0x08000000)
  2727. #define IOMUXC_GPR_GPR4_PIT_STOP_ACK ((uint32_t)0x04000000)
  2728. #define IOMUXC_GPR_GPR4_SEMC_STOP_ACK ((uint32_t)0x02000000)
  2729. #define IOMUXC_GPR_GPR4_SAI3_STOP_ACK ((uint32_t)0x00800000)
  2730. #define IOMUXC_GPR_GPR4_SAI2_STOP_ACK ((uint32_t)0x00400000)
  2731. #define IOMUXC_GPR_GPR4_SAI1_STOP_ACK ((uint32_t)0x00200000)
  2732. #define IOMUXC_GPR_GPR4_ENET_STOP_ACK ((uint32_t)0x00100000)
  2733. #define IOMUXC_GPR_GPR4_TRNG_STOP_ACK ((uint32_t)0x00080000)
  2734. #define IOMUXC_GPR_GPR4_CAN2_STOP_ACK ((uint32_t)0x00040000)
  2735. #define IOMUXC_GPR_GPR4_CAN1_STOP_ACK ((uint32_t)0x00020000)
  2736. #define IOMUXC_GPR_GPR4_EDMA_STOP_ACK ((uint32_t)0x00010000)
  2737. #define IOMUXC_GPR_GPR4_FLEXIO2_STOP_REQ ((uint32_t)0x00002000)
  2738. #define IOMUXC_GPR_GPR4_FLEXIO1_STOP_REQ ((uint32_t)0x00001000)
  2739. #define IOMUXC_GPR_GPR4_FLEXSPI_STOP_REQ ((uint32_t)0x00000800)
  2740. #define IOMUXC_GPR_GPR4_PIT_STOP_REQ ((uint32_t)0x00000400)
  2741. #define IOMUXC_GPR_GPR4_SEMC_STOP_REQ ((uint32_t)0x00000200)
  2742. #define IOMUXC_GPR_GPR4_SAI3_STOP_REQ ((uint32_t)0x00000080)
  2743. #define IOMUXC_GPR_GPR4_SAI2_STOP_REQ ((uint32_t)0x00000040)
  2744. #define IOMUXC_GPR_GPR4_SAI1_STOP_REQ ((uint32_t)0x00000020)
  2745. #define IOMUXC_GPR_GPR4_ENET_STOP_REQ ((uint32_t)0x00000010)
  2746. #define IOMUXC_GPR_GPR4_TRNG_STOP_REQ ((uint32_t)0x00000008)
  2747. #define IOMUXC_GPR_GPR4_CAN2_STOP_REQ ((uint32_t)0x00000004)
  2748. #define IOMUXC_GPR_GPR4_CAN1_STOP_REQ ((uint32_t)0x00000002)
  2749. #define IOMUXC_GPR_GPR4_EDMA_STOP_REQ ((uint32_t)0x00000001)
  2750. #define IOMUXC_GPR_GPR5_VREF_1M_CLK_GPT2 ((uint32_t)0x20000000)
  2751. #define IOMUXC_GPR_GPR5_VREF_1M_CLK_GPT1 ((uint32_t)0x10000000)
  2752. #define IOMUXC_GPR_GPR5_ENET_EVENT3IN_SEL ((uint32_t)0x02000000)
  2753. #define IOMUXC_GPR_GPR5_GPT2_CAPIN2_SEL ((uint32_t)0x01000000)
  2754. #define IOMUXC_GPR_GPR5_GPT2_CAPIN1_SEL ((uint32_t)0x00800000)
  2755. #define IOMUXC_GPR_GPR5_WDOG2_MASK ((uint32_t)0x00000080)
  2756. #define IOMUXC_GPR_GPR5_WDOG1_MASK ((uint32_t)0x00000040)
  2757. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_19 ((uint32_t)0x80000000)
  2758. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_18 ((uint32_t)0x40000000)
  2759. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_17 ((uint32_t)0x20000000)
  2760. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_16 ((uint32_t)0x10000000)
  2761. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_15 ((uint32_t)0x08000000)
  2762. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_14 ((uint32_t)0x04000000)
  2763. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_13 ((uint32_t)0x02000000)
  2764. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_12 ((uint32_t)0x01000000)
  2765. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_11 ((uint32_t)0x00800000)
  2766. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_10 ((uint32_t)0x00400000)
  2767. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_9 ((uint32_t)0x00200000)
  2768. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_8 ((uint32_t)0x00100000)
  2769. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_7 ((uint32_t)0x00080000)
  2770. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_6 ((uint32_t)0x00040000)
  2771. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_5 ((uint32_t)0x00020000)
  2772. #define IOMUXC_GPR_GPR6_IOMUXC_XBAR_DIR_SEL_4 ((uint32_t)0x00010000)
  2773. #define IOMUXC_GPR_GPR6_QTIMER4_TRM3_INPUT_SEL ((uint32_t)0x00008000)
  2774. #define IOMUXC_GPR_GPR6_QTIMER4_TRM2_INPUT_SEL ((uint32_t)0x00004000)
  2775. #define IOMUXC_GPR_GPR6_QTIMER4_TRM1_INPUT_SEL ((uint32_t)0x00002000)
  2776. #define IOMUXC_GPR_GPR6_QTIMER4_TRM0_INPUT_SEL ((uint32_t)0x00001000)
  2777. #define IOMUXC_GPR_GPR6_QTIMER3_TRM3_INPUT_SEL ((uint32_t)0x00000800)
  2778. #define IOMUXC_GPR_GPR6_QTIMER3_TRM2_INPUT_SEL ((uint32_t)0x00000400)
  2779. #define IOMUXC_GPR_GPR6_QTIMER3_TRM1_INPUT_SEL ((uint32_t)0x00000200)
  2780. #define IOMUXC_GPR_GPR6_QTIMER3_TRM0_INPUT_SEL ((uint32_t)0x00000100)
  2781. #define IOMUXC_GPR_GPR6_QTIMER2_TRM3_INPUT_SEL ((uint32_t)0x00000080)
  2782. #define IOMUXC_GPR_GPR6_QTIMER2_TRM2_INPUT_SEL ((uint32_t)0x00000040)
  2783. #define IOMUXC_GPR_GPR6_QTIMER2_TRM1_INPUT_SEL ((uint32_t)0x00000020)
  2784. #define IOMUXC_GPR_GPR6_QTIMER2_TRM0_INPUT_SEL ((uint32_t)0x00000010)
  2785. #define IOMUXC_GPR_GPR6_QTIMER1_TRM3_INPUT_SEL ((uint32_t)0x00000008)
  2786. #define IOMUXC_GPR_GPR6_QTIMER1_TRM2_INPUT_SEL ((uint32_t)0x00000004)
  2787. #define IOMUXC_GPR_GPR6_QTIMER1_TRM1_INPUT_SEL ((uint32_t)0x00000002)
  2788. #define IOMUXC_GPR_GPR6_QTIMER1_TRM0_INPUT_SEL ((uint32_t)0x00000001)
  2789. #define IOMUXC_GPR_GPR7_LPUART8_STOP_ACK ((uint32_t)0x80000000)
  2790. #define IOMUXC_GPR_GPR7_LPUART7_STOP_ACK ((uint32_t)0x40000000)
  2791. #define IOMUXC_GPR_GPR7_LPUART6_STOP_ACK ((uint32_t)0x20000000)
  2792. #define IOMUXC_GPR_GPR7_LPUART5_STOP_ACK ((uint32_t)0x10000000)
  2793. #define IOMUXC_GPR_GPR7_LPUART4_STOP_ACK ((uint32_t)0x08000000)
  2794. #define IOMUXC_GPR_GPR7_LPUART3_STOP_ACK ((uint32_t)0x04000000)
  2795. #define IOMUXC_GPR_GPR7_LPUART2_STOP_ACK ((uint32_t)0x02000000)
  2796. #define IOMUXC_GPR_GPR7_LPUART1_STOP_ACK ((uint32_t)0x01000000)
  2797. #define IOMUXC_GPR_GPR7_LPSPI4_STOP_ACK ((uint32_t)0x00800000)
  2798. #define IOMUXC_GPR_GPR7_LPSPI3_STOP_ACK ((uint32_t)0x00400000)
  2799. #define IOMUXC_GPR_GPR7_LPSPI2_STOP_ACK ((uint32_t)0x00200000)
  2800. #define IOMUXC_GPR_GPR7_LPSPI1_STOP_ACK ((uint32_t)0x00100000)
  2801. #define IOMUXC_GPR_GPR7_LPI2C4_STOP_ACK ((uint32_t)0x00080000)
  2802. #define IOMUXC_GPR_GPR7_LPI2C3_STOP_ACK ((uint32_t)0x00040000)
  2803. #define IOMUXC_GPR_GPR7_LPI2C2_STOP_ACK ((uint32_t)0x00020000)
  2804. #define IOMUXC_GPR_GPR7_LPI2C1_STOP_ACK ((uint32_t)0x00010000)
  2805. #define IOMUXC_GPR_GPR7_LPUART8_STOP_REQ ((uint32_t)0x00008000)
  2806. #define IOMUXC_GPR_GPR7_LPUART7_STOP_REQ ((uint32_t)0x00004000)
  2807. #define IOMUXC_GPR_GPR7_LPUART6_STOP_REQ ((uint32_t)0x00002000)
  2808. #define IOMUXC_GPR_GPR7_LPUART5_STOP_REQ ((uint32_t)0x00001000)
  2809. #define IOMUXC_GPR_GPR7_LPUART4_STOP_REQ ((uint32_t)0x00000800)
  2810. #define IOMUXC_GPR_GPR7_LPUART3_STOP_REQ ((uint32_t)0x00000400)
  2811. #define IOMUXC_GPR_GPR7_LPUART2_STOP_REQ ((uint32_t)0x00000200)
  2812. #define IOMUXC_GPR_GPR7_LPUART1_STOP_REQ ((uint32_t)0x00000100)
  2813. #define IOMUXC_GPR_GPR7_LPSPI4_STOP_REQ ((uint32_t)0x00000080)
  2814. #define IOMUXC_GPR_GPR7_LPSPI3_STOP_REQ ((uint32_t)0x00000040)
  2815. #define IOMUXC_GPR_GPR7_LPSPI2_STOP_REQ ((uint32_t)0x00000020)
  2816. #define IOMUXC_GPR_GPR7_LPSPI1_STOP_REQ ((uint32_t)0x00000010)
  2817. #define IOMUXC_GPR_GPR7_LPI2C4_STOP_REQ ((uint32_t)0x00000008)
  2818. #define IOMUXC_GPR_GPR7_LPI2C3_STOP_REQ ((uint32_t)0x00000004)
  2819. #define IOMUXC_GPR_GPR7_LPI2C2_STOP_REQ ((uint32_t)0x00000002)
  2820. #define IOMUXC_GPR_GPR7_LPI2C1_STOP_REQ ((uint32_t)0x00000001)
  2821. #define IOMUXC_GPR_GPR8_LPUART8_IPG_DOZE ((uint32_t)0x80000000)
  2822. #define IOMUXC_GPR_GPR8_LPUART8_IPG_STOP_MODE ((uint32_t)0x40000000)
  2823. #define IOMUXC_GPR_GPR8_LPUART7_IPG_DOZE ((uint32_t)0x20000000)
  2824. #define IOMUXC_GPR_GPR8_LPUART7_IPG_STOP_MODE ((uint32_t)0x10000000)
  2825. #define IOMUXC_GPR_GPR8_LPUART6_IPG_DOZE ((uint32_t)0x08000000)
  2826. #define IOMUXC_GPR_GPR8_LPUART6_IPG_STOP_MODE ((uint32_t)0x04000000)
  2827. #define IOMUXC_GPR_GPR8_LPUART5_IPG_DOZE ((uint32_t)0x02000000)
  2828. #define IOMUXC_GPR_GPR8_LPUART5_IPG_STOP_MODE ((uint32_t)0x01000000)
  2829. #define IOMUXC_GPR_GPR8_LPUART4_IPG_DOZE ((uint32_t)0x00800000)
  2830. #define IOMUXC_GPR_GPR8_LPUART4_IPG_STOP_MODE ((uint32_t)0x00400000)
  2831. #define IOMUXC_GPR_GPR8_LPUART3_IPG_DOZE ((uint32_t)0x00200000)
  2832. #define IOMUXC_GPR_GPR8_LPUART3_IPG_STOP_MODE ((uint32_t)0x00100000)
  2833. #define IOMUXC_GPR_GPR8_LPUART2_IPG_DOZE ((uint32_t)0x00080000)
  2834. #define IOMUXC_GPR_GPR8_LPUART2_IPG_STOP_MODE ((uint32_t)0x00040000)
  2835. #define IOMUXC_GPR_GPR8_LPUART1_IPG_DOZE ((uint32_t)0x00020000)
  2836. #define IOMUXC_GPR_GPR8_LPUART1_IPG_STOP_MODE ((uint32_t)0x00010000)
  2837. #define IOMUXC_GPR_GPR8_LPSPI4_IPG_DOZE ((uint32_t)0x00008000)
  2838. #define IOMUXC_GPR_GPR8_LPSPI4_IPG_STOP_MODE ((uint32_t)0x00004000)
  2839. #define IOMUXC_GPR_GPR8_LPSPI3_IPG_DOZE ((uint32_t)0x00002000)
  2840. #define IOMUXC_GPR_GPR8_LPSPI3_IPG_STOP_MODE ((uint32_t)0x00001000)
  2841. #define IOMUXC_GPR_GPR8_LPSPI2_IPG_DOZE ((uint32_t)0x00000800)
  2842. #define IOMUXC_GPR_GPR8_LPSPI2_IPG_STOP_MODE ((uint32_t)0x00000400)
  2843. #define IOMUXC_GPR_GPR8_LPSPI1_IPG_DOZE ((uint32_t)0x00000200)
  2844. #define IOMUXC_GPR_GPR8_LPSPI1_IPG_STOP_MODE ((uint32_t)0x00000100)
  2845. #define IOMUXC_GPR_GPR8_LPI2C4_IPG_DOZE ((uint32_t)0x00000080)
  2846. #define IOMUXC_GPR_GPR8_LPI2C4_IPG_STOP_MODE ((uint32_t)0x00000040)
  2847. #define IOMUXC_GPR_GPR8_LPI2C3_IPG_DOZE ((uint32_t)0x00000020)
  2848. #define IOMUXC_GPR_GPR8_LPI2C3_IPG_STOP_MODE ((uint32_t)0x00000010)
  2849. #define IOMUXC_GPR_GPR8_LPI2C2_IPG_DOZE ((uint32_t)0x00000008)
  2850. #define IOMUXC_GPR_GPR8_LPI2C2_IPG_STOP_MODE ((uint32_t)0x00000004)
  2851. #define IOMUXC_GPR_GPR8_LPI2C1_IPG_DOZE ((uint32_t)0x00000002)
  2852. #define IOMUXC_GPR_GPR8_LPI2C1_IPG_STOP_MODE ((uint32_t)0x00000001)
  2853. #define IOMUXC_GPR_GPR10_LOCK_OCRAM_TZ_ADDR(n) ((uint32_t)(((n) & 0x7F) << 25))
  2854. #define IOMUXC_GPR_GPR10_LOCK_OCRAM_TZ_EN ((uint32_t)0x01000000)
  2855. #define IOMUXC_GPR_GPR10_LOCK_DCPKEY_OCOTP_OR_KEYMUX ((uint32_t)0x00100000)
  2856. #define IOMUXC_GPR_GPR10_LOCK_SEC_ERR_RESP ((uint32_t)0x00040000)
  2857. #define IOMUXC_GPR_GPR10_LOCK_DBG_EN ((uint32_t)0x00020000)
  2858. #define IOMUXC_GPR_GPR10_LOCK_NIDEN ((uint32_t)0x00010000)
  2859. #define IOMUXC_GPR_GPR10_OCRAM_TZ_ADDR(n) ((uint32_t)(((n) & 0x7F) << 9))
  2860. #define IOMUXC_GPR_GPR10_OCRAM_TZ_EN ((uint32_t)0x00000100)
  2861. #define IOMUXC_GPR_GPR10_DCPKEY_OCOTP_OR_KEYMUX ((uint32_t)0x00000010)
  2862. #define IOMUXC_GPR_GPR10_SEC_ERR_RESP ((uint32_t)0x00000004)
  2863. #define IOMUXC_GPR_GPR10_DBG_EN ((uint32_t)0x00000002)
  2864. #define IOMUXC_GPR_GPR10_NIDEN ((uint32_t)0x00000001)
  2865. #define IOMUXC_GPR_GPR11_LOCK_BEE_DE_RX_EN(n) ((uint32_t)(((n) & 0x0F) << 24))
  2866. #define IOMUXC_GPR_GPR11_LOCK_M7_APC_AC_R3_CTRL(n) ((uint32_t)(((n) & 0x03) << 22))
  2867. #define IOMUXC_GPR_GPR11_LOCK_M7_APC_AC_R2_CTRL(n) ((uint32_t)(((n) & 0x03) << 20))
  2868. #define IOMUXC_GPR_GPR11_LOCK_M7_APC_AC_R1_CTRL(n) ((uint32_t)(((n) & 0x03) << 18))
  2869. #define IOMUXC_GPR_GPR11_LOCK_M7_APC_AC_R0_CTRL(n) ((uint32_t)(((n) & 0x03) << 16))
  2870. #define IOMUXC_GPR_GPR11_BEE_DE_RX_EN(n) ((uint32_t)(((n) & 0x0F) << 8))
  2871. #define IOMUXC_GPR_GPR11_M7_APC_AC_R3_CTRL(n) ((uint32_t)(((n) & 0x03) << 6))
  2872. #define IOMUXC_GPR_GPR11_M7_APC_AC_R2_CTRL(n) ((uint32_t)(((n) & 0x03) << 4))
  2873. #define IOMUXC_GPR_GPR11_M7_APC_AC_R1_CTRL(n) ((uint32_t)(((n) & 0x03) << 2))
  2874. #define IOMUXC_GPR_GPR11_M7_APC_AC_R0_CTRL(n) ((uint32_t)(((n) & 0x03) << 0))
  2875. #define IOMUXC_GPR_GPR12_ACMP_IPG_STOP_MODE ((uint32_t)0x00000010)
  2876. #define IOMUXC_GPR_GPR12_FLEXIO2_IPG_DOZE ((uint32_t)0x00000008)
  2877. #define IOMUXC_GPR_GPR12_FLEXIO2_IPG_STOP_MODE ((uint32_t)0x00000004)
  2878. #define IOMUXC_GPR_GPR12_FLEXIO1_IPG_DOZE ((uint32_t)0x00000002)
  2879. #define IOMUXC_GPR_GPR12_FLEXIO1_IPG_STOP_MODE ((uint32_t)0x00000001)
  2880. #define IOMUXC_GPR_GPR13_CACHE_USB ((uint32_t)0x00002000)
  2881. #define IOMUXC_GPR_GPR13_CACHE_ENET ((uint32_t)0x00000080)
  2882. #define IOMUXC_GPR_GPR13_AWCACHE_USDHC ((uint32_t)0x00000002)
  2883. #define IOMUXC_GPR_GPR13_ARCACHE_USDHC ((uint32_t)0x00000001)
  2884. #define IOMUXC_GPR_GPR14_CM7_MX6RT_CFGDTCMSZ(n) ((uint32_t)(((n) & 0x0F) << 20))
  2885. #define IOMUXC_GPR_GPR14_CM7_MX6RT_CFGITCMSZ(n) ((uint32_t)(((n) & 0x0F) << 16))
  2886. #define IOMUXC_GPR_GPR14_ACMP4_SAMPLE_SYNC_EN ((uint32_t)0x00000800)
  2887. #define IOMUXC_GPR_GPR14_ACMP3_SAMPLE_SYNC_EN ((uint32_t)0x00000400)
  2888. #define IOMUXC_GPR_GPR14_ACMP2_SAMPLE_SYNC_EN ((uint32_t)0x00000200)
  2889. #define IOMUXC_GPR_GPR14_ACMP1_SAMPLE_SYNC_EN ((uint32_t)0x00000100)
  2890. #define IOMUXC_GPR_GPR14_ACMP4_CMP_IGEN_TRIM_UP ((uint32_t)0x00000080)
  2891. #define IOMUXC_GPR_GPR14_ACMP3_CMP_IGEN_TRIM_UP ((uint32_t)0x00000040)
  2892. #define IOMUXC_GPR_GPR14_ACMP2_CMP_IGEN_TRIM_UP ((uint32_t)0x00000020)
  2893. #define IOMUXC_GPR_GPR14_ACMP1_CMP_IGEN_TRIM_UP ((uint32_t)0x00000010)
  2894. #define IOMUXC_GPR_GPR14_ACMP4_CMP_IGEN_TRIM_DN ((uint32_t)0x00000008)
  2895. #define IOMUXC_GPR_GPR14_ACMP3_CMP_IGEN_TRIM_DN ((uint32_t)0x00000004)
  2896. #define IOMUXC_GPR_GPR14_ACMP2_CMP_IGEN_TRIM_DN ((uint32_t)0x00000002)
  2897. #define IOMUXC_GPR_GPR14_ACMP1_CMP_IGEN_TRIM_DN ((uint32_t)0x00000001)
  2898. #define IOMUXC_GPR_GPR16_CM7_INIT_VTOR(n) ((uint32_t)(((n) & 0x1FFFFFF) << 7))
  2899. #define IOMUXC_GPR_GPR16_FLEXRAM_BANK_CFG_SEL ((uint32_t)0x00000004)
  2900. #define IOMUXC_GPR_GPR16_INIT_DTCM_EN ((uint32_t)0x00000002)
  2901. #define IOMUXC_GPR_GPR16_INIT_ITCM_EN ((uint32_t)0x00000001)
  2902. #define IOMUXC_GPR_GPR18_M7_APC_AC_R0_BOT(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2903. #define IOMUXC_GPR_GPR18_LOCK_M7_APC_AC_R0_BOT ((uint32_t)0x00000001)
  2904. #define IOMUXC_GPR_GPR19_M7_APC_AC_R0_TOP(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2905. #define IOMUXC_GPR_GPR19_LOCK_M7_APC_AC_R0_TOP ((uint32_t)0x00000001)
  2906. #define IOMUXC_GPR_GPR20_M7_APC_AC_R1_BOT(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2907. #define IOMUXC_GPR_GPR20_LOCK_M7_APC_AC_R1_BOT ((uint32_t)0x00000001)
  2908. #define IOMUXC_GPR_GPR21_M7_APC_AC_R1_TOP(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2909. #define IOMUXC_GPR_GPR21_LOCK_M7_APC_AC_R1_TOP ((uint32_t)0x00000001)
  2910. #define IOMUXC_GPR_GPR22_M7_APC_AC_R2_BOT(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2911. #define IOMUXC_GPR_GPR22_LOCK_M7_APC_AC_R2_BOT ((uint32_t)0x00000001)
  2912. #define IOMUXC_GPR_GPR23_M7_APC_AC_R2_TOP(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2913. #define IOMUXC_GPR_GPR23_LOCK_M7_APC_AC_R2_TOP ((uint32_t)0x00000001)
  2914. #define IOMUXC_GPR_GPR24_M7_APC_AC_R3_BOT(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2915. #define IOMUXC_GPR_GPR24_LOCK_M7_APC_AC_R3_BOT ((uint32_t)0x00000001)
  2916. #define IOMUXC_GPR_GPR25_M7_APC_AC_R3_TOP(n) ((uint32_t)(((n) & 0x1FFFFFFF) << 3))
  2917. #define IOMUXC_GPR_GPR25_LOCK_M7_APC_AC_R3_TOP ((uint32_t)0x00000001)
  2918. // page 1750
  2919. #define IMXRT_IOMUXC_SNVS (*(IMXRT_REGISTER32_t *)0x400A8000)
  2920. #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP (IMXRT_IOMUXC_SNVS.offset000)
  2921. #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ (IMXRT_IOMUXC_SNVS.offset004)
  2922. #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ (IMXRT_IOMUXC_SNVS.offset008)
  2923. #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE (IMXRT_IOMUXC_SNVS.offset00C)
  2924. #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B (IMXRT_IOMUXC_SNVS.offset010)
  2925. #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF (IMXRT_IOMUXC_SNVS.offset014)
  2926. #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP (IMXRT_IOMUXC_SNVS.offset018)
  2927. #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ (IMXRT_IOMUXC_SNVS.offset01C)
  2928. #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ (IMXRT_IOMUXC_SNVS.offset020)
  2929. // page 1765
  2930. #define IMXRT_IOMUXC_SNVS_GPR (*(IMXRT_REGISTER32_t *)0x400A4000)
  2931. #define IOMUXC_SNVS_GPR_GPR0 (IMXRT_IOMUXC_SNVS_GPR.offset000)
  2932. #define IOMUXC_SNVS_GPR_GPR1 (IMXRT_IOMUXC_SNVS_GPR.offset004)
  2933. #define IOMUXC_SNVS_GPR_GPR2 (IMXRT_IOMUXC_SNVS_GPR.offset008)
  2934. #define IOMUXC_SNVS_GPR_GPR3 (IMXRT_IOMUXC_SNVS_GPR.offset00C)
  2935. // page 1769
  2936. #define IMXRT_IOMUXC (*(IMXRT_REGISTER32_t *)0x401F8000)
  2937. #define IMXRT_IOMUXC_b (*(IMXRT_REGISTER32_t *)0x401F8400)
  2938. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_00 (IMXRT_IOMUXC.offset014)
  2939. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_01 (IMXRT_IOMUXC.offset018)
  2940. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_02 (IMXRT_IOMUXC.offset01C)
  2941. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_03 (IMXRT_IOMUXC.offset020)
  2942. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_04 (IMXRT_IOMUXC.offset024)
  2943. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_05 (IMXRT_IOMUXC.offset028)
  2944. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_06 (IMXRT_IOMUXC.offset02C)
  2945. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_07 (IMXRT_IOMUXC.offset030)
  2946. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_08 (IMXRT_IOMUXC.offset034)
  2947. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_09 (IMXRT_IOMUXC.offset038)
  2948. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_10 (IMXRT_IOMUXC.offset03C)
  2949. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_11 (IMXRT_IOMUXC.offset040)
  2950. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_12 (IMXRT_IOMUXC.offset044)
  2951. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_13 (IMXRT_IOMUXC.offset048)
  2952. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_14 (IMXRT_IOMUXC.offset04C)
  2953. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_15 (IMXRT_IOMUXC.offset050)
  2954. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_16 (IMXRT_IOMUXC.offset054)
  2955. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_17 (IMXRT_IOMUXC.offset058)
  2956. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_18 (IMXRT_IOMUXC.offset05C)
  2957. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_19 (IMXRT_IOMUXC.offset060)
  2958. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_20 (IMXRT_IOMUXC.offset064)
  2959. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_21 (IMXRT_IOMUXC.offset068)
  2960. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_22 (IMXRT_IOMUXC.offset06C)
  2961. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_23 (IMXRT_IOMUXC.offset070)
  2962. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_24 (IMXRT_IOMUXC.offset074)
  2963. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_25 (IMXRT_IOMUXC.offset078)
  2964. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_26 (IMXRT_IOMUXC.offset07C)
  2965. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_27 (IMXRT_IOMUXC.offset080)
  2966. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_28 (IMXRT_IOMUXC.offset084)
  2967. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_29 (IMXRT_IOMUXC.offset088)
  2968. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_30 (IMXRT_IOMUXC.offset08C)
  2969. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_31 (IMXRT_IOMUXC.offset090)
  2970. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_32 (IMXRT_IOMUXC.offset094)
  2971. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_33 (IMXRT_IOMUXC.offset098)
  2972. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_34 (IMXRT_IOMUXC.offset09C)
  2973. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_35 (IMXRT_IOMUXC.offset0A0)
  2974. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_36 (IMXRT_IOMUXC.offset0A4)
  2975. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_37 (IMXRT_IOMUXC.offset0A8)
  2976. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_38 (IMXRT_IOMUXC.offset0AC)
  2977. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_39 (IMXRT_IOMUXC.offset0B0)
  2978. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_40 (IMXRT_IOMUXC.offset0B4)
  2979. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_41 (IMXRT_IOMUXC.offset0B8)
  2980. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_00 (IMXRT_IOMUXC.offset0BC)
  2981. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_01 (IMXRT_IOMUXC.offset0C0)
  2982. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_02 (IMXRT_IOMUXC.offset0C4)
  2983. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_03 (IMXRT_IOMUXC.offset0C8)
  2984. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_04 (IMXRT_IOMUXC.offset0CC)
  2985. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_05 (IMXRT_IOMUXC.offset0D0)
  2986. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_06 (IMXRT_IOMUXC.offset0D4)
  2987. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_07 (IMXRT_IOMUXC.offset0D8)
  2988. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_08 (IMXRT_IOMUXC.offset0DC)
  2989. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_09 (IMXRT_IOMUXC.offset0E0)
  2990. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_10 (IMXRT_IOMUXC.offset0E4)
  2991. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_11 (IMXRT_IOMUXC.offset0E8)
  2992. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_12 (IMXRT_IOMUXC.offset0EC)
  2993. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_13 (IMXRT_IOMUXC.offset0F0)
  2994. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_14 (IMXRT_IOMUXC.offset0F4)
  2995. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_15 (IMXRT_IOMUXC.offset0F8)
  2996. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_00 (IMXRT_IOMUXC.offset0FC)
  2997. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_01 (IMXRT_IOMUXC.offset100)
  2998. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_02 (IMXRT_IOMUXC.offset104)
  2999. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_03 (IMXRT_IOMUXC.offset108)
  3000. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_04 (IMXRT_IOMUXC.offset10C)
  3001. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_05 (IMXRT_IOMUXC.offset110)
  3002. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_06 (IMXRT_IOMUXC.offset114)
  3003. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_07 (IMXRT_IOMUXC.offset118)
  3004. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_08 (IMXRT_IOMUXC.offset11C)
  3005. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_09 (IMXRT_IOMUXC.offset120)
  3006. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_10 (IMXRT_IOMUXC.offset124)
  3007. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_11 (IMXRT_IOMUXC.offset128)
  3008. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_12 (IMXRT_IOMUXC.offset12C)
  3009. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_13 (IMXRT_IOMUXC.offset130)
  3010. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_14 (IMXRT_IOMUXC.offset134)
  3011. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_15 (IMXRT_IOMUXC.offset138)
  3012. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_00 (IMXRT_IOMUXC.offset13C)
  3013. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_01 (IMXRT_IOMUXC.offset140)
  3014. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_02 (IMXRT_IOMUXC.offset144)
  3015. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_03 (IMXRT_IOMUXC.offset148)
  3016. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_04 (IMXRT_IOMUXC.offset14C)
  3017. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_05 (IMXRT_IOMUXC.offset150)
  3018. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_06 (IMXRT_IOMUXC.offset154)
  3019. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_07 (IMXRT_IOMUXC.offset158)
  3020. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_08 (IMXRT_IOMUXC.offset15C)
  3021. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_09 (IMXRT_IOMUXC.offset160)
  3022. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_10 (IMXRT_IOMUXC.offset164)
  3023. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_11 (IMXRT_IOMUXC.offset168)
  3024. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_12 (IMXRT_IOMUXC.offset16C)
  3025. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_13 (IMXRT_IOMUXC.offset170)
  3026. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_14 (IMXRT_IOMUXC.offset174)
  3027. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_15 (IMXRT_IOMUXC.offset178)
  3028. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_00 (IMXRT_IOMUXC.offset17C)
  3029. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_01 (IMXRT_IOMUXC.offset180)
  3030. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_02 (IMXRT_IOMUXC.offset184)
  3031. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_03 (IMXRT_IOMUXC.offset188)
  3032. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_04 (IMXRT_IOMUXC.offset18C)
  3033. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_05 (IMXRT_IOMUXC.offset190)
  3034. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_06 (IMXRT_IOMUXC.offset194)
  3035. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_07 (IMXRT_IOMUXC.offset198)
  3036. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_08 (IMXRT_IOMUXC.offset19C)
  3037. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_09 (IMXRT_IOMUXC.offset1A0)
  3038. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_10 (IMXRT_IOMUXC.offset1A4)
  3039. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_11 (IMXRT_IOMUXC.offset1A8)
  3040. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_12 (IMXRT_IOMUXC.offset1AC)
  3041. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_13 (IMXRT_IOMUXC.offset1B0)
  3042. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_14 (IMXRT_IOMUXC.offset1B4)
  3043. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_B1_15 (IMXRT_IOMUXC.offset1B8)
  3044. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B0_00 (IMXRT_IOMUXC.offset1BC)
  3045. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B0_01 (IMXRT_IOMUXC.offset1C0)
  3046. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B0_02 (IMXRT_IOMUXC.offset1C4)
  3047. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B0_03 (IMXRT_IOMUXC.offset1C8)
  3048. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B0_04 (IMXRT_IOMUXC.offset1CC)
  3049. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B0_05 (IMXRT_IOMUXC.offset1D0)
  3050. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_00 (IMXRT_IOMUXC.offset1D4)
  3051. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_01 (IMXRT_IOMUXC.offset1D8)
  3052. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_02 (IMXRT_IOMUXC.offset1DC)
  3053. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_03 (IMXRT_IOMUXC.offset1E0)
  3054. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_04 (IMXRT_IOMUXC.offset1E4)
  3055. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_05 (IMXRT_IOMUXC.offset1E8)
  3056. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_06 (IMXRT_IOMUXC.offset1EC)
  3057. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_07 (IMXRT_IOMUXC.offset1F0)
  3058. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_08 (IMXRT_IOMUXC.offset1F4)
  3059. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_09 (IMXRT_IOMUXC.offset1F8)
  3060. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_10 (IMXRT_IOMUXC.offset1FC)
  3061. #define IOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_11 (IMXRT_IOMUXC.offset200)
  3062. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_00 (IMXRT_IOMUXC.offset204)
  3063. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_01 (IMXRT_IOMUXC.offset208)
  3064. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_02 (IMXRT_IOMUXC.offset20C)
  3065. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_03 (IMXRT_IOMUXC.offset210)
  3066. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_04 (IMXRT_IOMUXC.offset214)
  3067. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_05 (IMXRT_IOMUXC.offset218)
  3068. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_06 (IMXRT_IOMUXC.offset21C)
  3069. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_07 (IMXRT_IOMUXC.offset220)
  3070. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_08 (IMXRT_IOMUXC.offset224)
  3071. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_09 (IMXRT_IOMUXC.offset228)
  3072. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_10 (IMXRT_IOMUXC.offset22C)
  3073. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_11 (IMXRT_IOMUXC.offset230)
  3074. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_12 (IMXRT_IOMUXC.offset234)
  3075. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_13 (IMXRT_IOMUXC.offset238)
  3076. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_14 (IMXRT_IOMUXC.offset23C)
  3077. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_15 (IMXRT_IOMUXC.offset240)
  3078. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_16 (IMXRT_IOMUXC.offset244)
  3079. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_17 (IMXRT_IOMUXC.offset248)
  3080. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_18 (IMXRT_IOMUXC.offset24C)
  3081. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_19 (IMXRT_IOMUXC.offset250)
  3082. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_20 (IMXRT_IOMUXC.offset254)
  3083. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_21 (IMXRT_IOMUXC.offset258)
  3084. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_22 (IMXRT_IOMUXC.offset25C)
  3085. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_23 (IMXRT_IOMUXC.offset260)
  3086. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_24 (IMXRT_IOMUXC.offset264)
  3087. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_25 (IMXRT_IOMUXC.offset268)
  3088. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_26 (IMXRT_IOMUXC.offset26C)
  3089. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_27 (IMXRT_IOMUXC.offset270)
  3090. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_28 (IMXRT_IOMUXC.offset274)
  3091. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_29 (IMXRT_IOMUXC.offset278)
  3092. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_30 (IMXRT_IOMUXC.offset27C)
  3093. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_31 (IMXRT_IOMUXC.offset280)
  3094. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_32 (IMXRT_IOMUXC.offset284)
  3095. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_33 (IMXRT_IOMUXC.offset288)
  3096. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_34 (IMXRT_IOMUXC.offset28C)
  3097. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_35 (IMXRT_IOMUXC.offset290)
  3098. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_36 (IMXRT_IOMUXC.offset294)
  3099. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_37 (IMXRT_IOMUXC.offset298)
  3100. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_38 (IMXRT_IOMUXC.offset29C)
  3101. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_39 (IMXRT_IOMUXC.offset2A0)
  3102. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_40 (IMXRT_IOMUXC.offset2A4)
  3103. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_41 (IMXRT_IOMUXC.offset2A8)
  3104. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_00 (IMXRT_IOMUXC.offset2AC)
  3105. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_01 (IMXRT_IOMUXC.offset2B0)
  3106. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_02 (IMXRT_IOMUXC.offset2B4)
  3107. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_03 (IMXRT_IOMUXC.offset2B8)
  3108. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_04 (IMXRT_IOMUXC.offset2BC)
  3109. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_05 (IMXRT_IOMUXC.offset2C0)
  3110. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_06 (IMXRT_IOMUXC.offset2C4)
  3111. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_07 (IMXRT_IOMUXC.offset2C8)
  3112. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_08 (IMXRT_IOMUXC.offset2CC)
  3113. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_09 (IMXRT_IOMUXC.offset2D0)
  3114. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_10 (IMXRT_IOMUXC.offset2D4)
  3115. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_11 (IMXRT_IOMUXC.offset2D8)
  3116. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_12 (IMXRT_IOMUXC.offset2DC)
  3117. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_13 (IMXRT_IOMUXC.offset2E0)
  3118. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_14 (IMXRT_IOMUXC.offset2E4)
  3119. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_15 (IMXRT_IOMUXC.offset2E8)
  3120. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_00 (IMXRT_IOMUXC.offset2EC)
  3121. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_01 (IMXRT_IOMUXC.offset2F0)
  3122. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_02 (IMXRT_IOMUXC.offset2F4)
  3123. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_03 (IMXRT_IOMUXC.offset2F8)
  3124. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_04 (IMXRT_IOMUXC.offset2FC)
  3125. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_05 (IMXRT_IOMUXC.offset300)
  3126. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_06 (IMXRT_IOMUXC.offset304)
  3127. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_07 (IMXRT_IOMUXC.offset308)
  3128. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_08 (IMXRT_IOMUXC.offset30C)
  3129. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_09 (IMXRT_IOMUXC.offset310)
  3130. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_10 (IMXRT_IOMUXC.offset314)
  3131. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_11 (IMXRT_IOMUXC.offset318)
  3132. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_12 (IMXRT_IOMUXC.offset31C)
  3133. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_13 (IMXRT_IOMUXC.offset320)
  3134. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_14 (IMXRT_IOMUXC.offset324)
  3135. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_15 (IMXRT_IOMUXC.offset328)
  3136. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_00 (IMXRT_IOMUXC.offset32C)
  3137. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_01 (IMXRT_IOMUXC.offset330)
  3138. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_02 (IMXRT_IOMUXC.offset334)
  3139. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_03 (IMXRT_IOMUXC.offset338)
  3140. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_04 (IMXRT_IOMUXC.offset33C)
  3141. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_05 (IMXRT_IOMUXC.offset340)
  3142. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_06 (IMXRT_IOMUXC.offset344)
  3143. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_07 (IMXRT_IOMUXC.offset348)
  3144. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_08 (IMXRT_IOMUXC.offset34C)
  3145. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_09 (IMXRT_IOMUXC.offset350)
  3146. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_10 (IMXRT_IOMUXC.offset354)
  3147. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_11 (IMXRT_IOMUXC.offset358)
  3148. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_12 (IMXRT_IOMUXC.offset35C)
  3149. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_13 (IMXRT_IOMUXC.offset360)
  3150. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_14 (IMXRT_IOMUXC.offset364)
  3151. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_15 (IMXRT_IOMUXC.offset368)
  3152. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_00 (IMXRT_IOMUXC.offset36C)
  3153. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_01 (IMXRT_IOMUXC.offset370)
  3154. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_02 (IMXRT_IOMUXC.offset374)
  3155. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_03 (IMXRT_IOMUXC.offset378)
  3156. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_04 (IMXRT_IOMUXC.offset37C)
  3157. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_05 (IMXRT_IOMUXC.offset380)
  3158. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_06 (IMXRT_IOMUXC.offset384)
  3159. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_07 (IMXRT_IOMUXC.offset388)
  3160. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_08 (IMXRT_IOMUXC.offset38C)
  3161. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_09 (IMXRT_IOMUXC.offset390)
  3162. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_10 (IMXRT_IOMUXC.offset394)
  3163. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_11 (IMXRT_IOMUXC.offset398)
  3164. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_12 (IMXRT_IOMUXC.offset39C)
  3165. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_13 (IMXRT_IOMUXC.offset3A0)
  3166. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_14 (IMXRT_IOMUXC.offset3A4)
  3167. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_B1_15 (IMXRT_IOMUXC.offset3A8)
  3168. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B0_00 (IMXRT_IOMUXC.offset3AC)
  3169. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B0_01 (IMXRT_IOMUXC.offset3B0)
  3170. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B0_02 (IMXRT_IOMUXC.offset3B4)
  3171. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B0_03 (IMXRT_IOMUXC.offset3B8)
  3172. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B0_04 (IMXRT_IOMUXC.offset3BC)
  3173. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B0_05 (IMXRT_IOMUXC.offset3C0)
  3174. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_00 (IMXRT_IOMUXC.offset3C4)
  3175. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_01 (IMXRT_IOMUXC.offset3C8)
  3176. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_02 (IMXRT_IOMUXC.offset3CC)
  3177. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_03 (IMXRT_IOMUXC.offset3D0)
  3178. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_04 (IMXRT_IOMUXC.offset3D4)
  3179. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_05 (IMXRT_IOMUXC.offset3D8)
  3180. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_06 (IMXRT_IOMUXC.offset3DC)
  3181. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_07 (IMXRT_IOMUXC.offset3E0)
  3182. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_08 (IMXRT_IOMUXC.offset3E4)
  3183. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_09 (IMXRT_IOMUXC.offset3E8)
  3184. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_10 (IMXRT_IOMUXC.offset3EC)
  3185. #define IOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_11 (IMXRT_IOMUXC.offset3F0)
  3186. #define IOMUXC_ANATOP_USB_OTG_ID_SELECT_INPUT (IMXRT_IOMUXC.offset3F4)
  3187. #define IOMUXC_ANATOP_USB_UH1_ID_SELECT_INPUT (IMXRT_IOMUXC.offset3F8)
  3188. #define IOMUXC_CCM_PMIC_READY_SELECT_INPUT (IMXRT_IOMUXC.offset3FC)
  3189. #define IOMUXC_CSI_DATA02_SELECT_INPUT (IMXRT_IOMUXC_b.offset000)
  3190. #define IOMUXC_CSI_DATA03_SELECT_INPUT (IMXRT_IOMUXC_b.offset004)
  3191. #define IOMUXC_CSI_DATA04_SELECT_INPUT (IMXRT_IOMUXC_b.offset008)
  3192. #define IOMUXC_CSI_DATA05_SELECT_INPUT (IMXRT_IOMUXC_b.offset00C)
  3193. #define IOMUXC_CSI_DATA06_SELECT_INPUT (IMXRT_IOMUXC_b.offset010)
  3194. #define IOMUXC_CSI_DATA07_SELECT_INPUT (IMXRT_IOMUXC_b.offset014)
  3195. #define IOMUXC_CSI_DATA08_SELECT_INPUT (IMXRT_IOMUXC_b.offset018)
  3196. #define IOMUXC_CSI_DATA09_SELECT_INPUT (IMXRT_IOMUXC_b.offset01C)
  3197. #define IOMUXC_CSI_HSYNC_SELECT_INPUT (IMXRT_IOMUXC_b.offset020)
  3198. #define IOMUXC_CSI_PIXCLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset024)
  3199. #define IOMUXC_CSI_VSYNC_SELECT_INPUT (IMXRT_IOMUXC_b.offset028)
  3200. #define IOMUXC_ENET_IPG_CLK_RMII_SELECT_INPUT (IMXRT_IOMUXC_b.offset02C)
  3201. #define IOMUXC_ENET_MDIO_SELECT_INPUT (IMXRT_IOMUXC_b.offset030)
  3202. #define IOMUXC_ENET0_RXDATA_SELECT_INPUT (IMXRT_IOMUXC_b.offset034)
  3203. #define IOMUXC_ENET1_RXDATA_SELECT_INPUT (IMXRT_IOMUXC_b.offset038)
  3204. #define IOMUXC_ENET_RXEN_SELECT_INPUT (IMXRT_IOMUXC_b.offset03C)
  3205. #define IOMUXC_ENET_RXERR_SELECT_INPUT (IMXRT_IOMUXC_b.offset040)
  3206. #define IOMUXC_ENET0_TIMER_SELECT_INPUT (IMXRT_IOMUXC_b.offset044)
  3207. #define IOMUXC_ENET_TXCLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset048)
  3208. #define IOMUXC_FLEXCAN1_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset04C)
  3209. #define IOMUXC_FLEXCAN2_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset050)
  3210. #define IOMUXC_FLEXPWM1_PWMA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset054)
  3211. #define IOMUXC_FLEXPWM1_PWMA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset058)
  3212. #define IOMUXC_FLEXPWM1_PWMA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset05C)
  3213. #define IOMUXC_FLEXPWM1_PWMA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset060)
  3214. #define IOMUXC_FLEXPWM1_PWMB3_SELECT_INPUT (IMXRT_IOMUXC_b.offset064)
  3215. #define IOMUXC_FLEXPWM1_PWMB0_SELECT_INPUT (IMXRT_IOMUXC_b.offset068)
  3216. #define IOMUXC_FLEXPWM1_PWMB1_SELECT_INPUT (IMXRT_IOMUXC_b.offset06C)
  3217. #define IOMUXC_FLEXPWM1_PWMB2_SELECT_INPUT (IMXRT_IOMUXC_b.offset070)
  3218. #define IOMUXC_FLEXPWM2_PWMA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset074)
  3219. #define IOMUXC_FLEXPWM2_PWMA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset078)
  3220. #define IOMUXC_FLEXPWM2_PWMA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset07C)
  3221. #define IOMUXC_FLEXPWM2_PWMA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset080)
  3222. #define IOMUXC_FLEXPWM2_PWMB3_SELECT_INPUT (IMXRT_IOMUXC_b.offset084)
  3223. #define IOMUXC_FLEXPWM2_PWMB0_SELECT_INPUT (IMXRT_IOMUXC_b.offset088)
  3224. #define IOMUXC_FLEXPWM2_PWMB1_SELECT_INPUT (IMXRT_IOMUXC_b.offset09C)
  3225. #define IOMUXC_FLEXPWM2_PWMB2_SELECT_INPUT (IMXRT_IOMUXC_b.offset090)
  3226. #define IOMUXC_FLEXPWM4_PWMA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset094)
  3227. #define IOMUXC_FLEXPWM4_PWMA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset098)
  3228. #define IOMUXC_FLEXPWM4_PWMA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset09C)
  3229. #define IOMUXC_FLEXPWM4_PWMA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset0A0)
  3230. #define IOMUXC_FLEXSPIA_DQS_SELECT_INPUT (IMXRT_IOMUXC_b.offset0A4)
  3231. #define IOMUXC_FLEXSPIA_DATA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset0A8)
  3232. #define IOMUXC_FLEXSPIA_DATA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset0AC)
  3233. #define IOMUXC_FLEXSPIA_DATA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset0B0)
  3234. #define IOMUXC_FLEXSPIA_DATA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset0B4)
  3235. #define IOMUXC_FLEXSPIB_DATA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset0B8)
  3236. #define IOMUXC_FLEXSPIB_DATA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset0BC)
  3237. #define IOMUXC_FLEXSPIB_DATA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset0C0)
  3238. #define IOMUXC_FLEXSPIB_DATA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset0C4)
  3239. #define IOMUXC_FLEXSPIA_SCK_SELECT_INPUT (IMXRT_IOMUXC_b.offset0C8)
  3240. #define IOMUXC_LPI2C1_SCL_SELECT_INPUT (IMXRT_IOMUXC_b.offset0CC)
  3241. #define IOMUXC_LPI2C1_SDA_SELECT_INPUT (IMXRT_IOMUXC_b.offset0D0)
  3242. #define IOMUXC_LPI2C2_SCL_SELECT_INPUT (IMXRT_IOMUXC_b.offset0D4)
  3243. #define IOMUXC_LPI2C2_SDA_SELECT_INPUT (IMXRT_IOMUXC_b.offset0D8)
  3244. #define IOMUXC_LPI2C3_SCL_SELECT_INPUT (IMXRT_IOMUXC_b.offset0DC)
  3245. #define IOMUXC_LPI2C3_SDA_SELECT_INPUT (IMXRT_IOMUXC_b.offset0E0)
  3246. #define IOMUXC_LPI2C4_SCL_SELECT_INPUT (IMXRT_IOMUXC_b.offset0E4)
  3247. #define IOMUXC_LPI2C4_SDA_SELECT_INPUT (IMXRT_IOMUXC_b.offset0E8)
  3248. #define IOMUXC_LPSPI1_PCS0_SELECT_INPUT (IMXRT_IOMUXC_b.offset0EC)
  3249. #define IOMUXC_LPSPI1_SCK_SELECT_INPUT (IMXRT_IOMUXC_b.offset0F0)
  3250. #define IOMUXC_LPSPI1_SDI_SELECT_INPUT (IMXRT_IOMUXC_b.offset0F4)
  3251. #define IOMUXC_LPSPI1_SDO_SELECT_INPUT (IMXRT_IOMUXC_b.offset0F8)
  3252. #define IOMUXC_LPSPI2_PCS0_SELECT_INPUT (IMXRT_IOMUXC_b.offset0FC)
  3253. #define IOMUXC_LPSPI2_SCK_SELECT_INPUT (IMXRT_IOMUXC_b.offset100)
  3254. #define IOMUXC_LPSPI2_SDI_SELECT_INPUT (IMXRT_IOMUXC_b.offset104)
  3255. #define IOMUXC_LPSPI2_SDO_SELECT_INPUT (IMXRT_IOMUXC_b.offset108)
  3256. #define IOMUXC_LPSPI3_PCS0_SELECT_INPUT (IMXRT_IOMUXC_b.offset10C)
  3257. #define IOMUXC_LPSPI3_SCK_SELECT_INPUT (IMXRT_IOMUXC_b.offset110)
  3258. #define IOMUXC_LPSPI3_SDI_SELECT_INPUT (IMXRT_IOMUXC_b.offset114)
  3259. #define IOMUXC_LPSPI3_SDO_SELECT_INPUT (IMXRT_IOMUXC_b.offset118)
  3260. #define IOMUXC_LPSPI4_PCS0_SELECT_INPUT (IMXRT_IOMUXC_b.offset11C)
  3261. #define IOMUXC_LPSPI4_SCK_SELECT_INPUT (IMXRT_IOMUXC_b.offset120)
  3262. #define IOMUXC_LPSPI4_SDI_SELECT_INPUT (IMXRT_IOMUXC_b.offset124)
  3263. #define IOMUXC_LPSPI4_SDO_SELECT_INPUT (IMXRT_IOMUXC_b.offset128)
  3264. #define IOMUXC_LPUART2_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset12C)
  3265. #define IOMUXC_LPUART2_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset130)
  3266. #define IOMUXC_LPUART3_CTS_B_SELECT_INPUT (IMXRT_IOMUXC_b.offset134)
  3267. #define IOMUXC_LPUART3_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset138)
  3268. #define IOMUXC_LPUART3_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset13C)
  3269. #define IOMUXC_LPUART4_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset140)
  3270. #define IOMUXC_LPUART4_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset144)
  3271. #define IOMUXC_LPUART5_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset148)
  3272. #define IOMUXC_LPUART5_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset14C)
  3273. #define IOMUXC_LPUART6_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset150)
  3274. #define IOMUXC_LPUART6_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset154)
  3275. #define IOMUXC_LPUART7_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset158)
  3276. #define IOMUXC_LPUART7_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset15C)
  3277. #define IOMUXC_LPUART8_RX_SELECT_INPUT (IMXRT_IOMUXC_b.offset160)
  3278. #define IOMUXC_LPUART8_TX_SELECT_INPUT (IMXRT_IOMUXC_b.offset164)
  3279. #define IOMUXC_NMI_GLUE_NMI_SELECT_INPUT (IMXRT_IOMUXC_b.offset168)
  3280. #define IOMUXC_QTIMER2_TIMER0_SELECT_INPUT (IMXRT_IOMUXC_b.offset16C)
  3281. #define IOMUXC_QTIMER2_TIMER1_SELECT_INPUT (IMXRT_IOMUXC_b.offset170)
  3282. #define IOMUXC_QTIMER2_TIMER2_SELECT_INPUT (IMXRT_IOMUXC_b.offset174)
  3283. #define IOMUXC_QTIMER2_TIMER3_SELECT_INPUT (IMXRT_IOMUXC_b.offset178)
  3284. #define IOMUXC_QTIMER3_TIMER0_SELECT_INPUT (IMXRT_IOMUXC_b.offset17C)
  3285. #define IOMUXC_QTIMER3_TIMER1_SELECT_INPUT (IMXRT_IOMUXC_b.offset180)
  3286. #define IOMUXC_QTIMER3_TIMER2_SELECT_INPUT (IMXRT_IOMUXC_b.offset184)
  3287. #define IOMUXC_QTIMER3_TIMER3_SELECT_INPUT (IMXRT_IOMUXC_b.offset188)
  3288. #define IOMUXC_SAI1_MCLK2_SELECT_INPUT (IMXRT_IOMUXC_b.offset18C)
  3289. #define IOMUXC_SAI1_RX_BCLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset190)
  3290. #define IOMUXC_SAI1_RX_DATA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset194)
  3291. #define IOMUXC_SAI1_RX_DATA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset198)
  3292. #define IOMUXC_SAI1_RX_DATA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset19C)
  3293. #define IOMUXC_SAI1_RX_DATA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset1A0)
  3294. #define IOMUXC_SAI1_RX_SYNC_SELECT_INPUT (IMXRT_IOMUXC_b.offset1A4)
  3295. #define IOMUXC_SAI1_TX_BCLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset1A8)
  3296. #define IOMUXC_SAI1_TX_SYNC_SELECT_INPUT (IMXRT_IOMUXC_b.offset1AC)
  3297. #define IOMUXC_SAI2_MCLK2_SELECT_INPUT (IMXRT_IOMUXC_b.offset1B0)
  3298. #define IOMUXC_SAI2_RX_BCLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset1B4)
  3299. #define IOMUXC_SAI2_RX_DATA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset1B8)
  3300. #define IOMUXC_SAI2_RX_SYNC_SELECT_INPUT (IMXRT_IOMUXC_b.offset1BC)
  3301. #define IOMUXC_SAI2_TX_BCLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset1C0)
  3302. #define IOMUXC_SAI2_TX_SYNC_SELECT_INPUT (IMXRT_IOMUXC_b.offset1C4)
  3303. #define IOMUXC_SPDIF_IN_SELECT_INPUT (IMXRT_IOMUXC_b.offset1C8)
  3304. #define IOMUXC_USB_OTG2_OC_SELECT_INPUT (IMXRT_IOMUXC_b.offset1CC)
  3305. #define IOMUXC_USB_OTG1_OC_SELECT_INPUT (IMXRT_IOMUXC_b.offset1D0)
  3306. #define IOMUXC_USDHC1_CD_B_SELECT_INPUT (IMXRT_IOMUXC_b.offset1D4)
  3307. #define IOMUXC_USDHC1_WP_SELECT_INPUT (IMXRT_IOMUXC_b.offset1D8)
  3308. #define IOMUXC_USDHC2_CLK_SELECT_INPUT (IMXRT_IOMUXC_b.offset1DC)
  3309. #define IOMUXC_USDHC2_CD_B_SELECT_INPUT (IMXRT_IOMUXC_b.offset1E0)
  3310. #define IOMUXC_USDHC2_CMD_SELECT_INPUT (IMXRT_IOMUXC_b.offset1E4)
  3311. #define IOMUXC_USDHC2_DATA0_SELECT_INPUT (IMXRT_IOMUXC_b.offset1E8)
  3312. #define IOMUXC_USDHC2_DATA1_SELECT_INPUT (IMXRT_IOMUXC_b.offset1EC)
  3313. #define IOMUXC_USDHC2_DATA2_SELECT_INPUT (IMXRT_IOMUXC_b.offset1F0)
  3314. #define IOMUXC_USDHC2_DATA3_SELECT_INPUT (IMXRT_IOMUXC_b.offset1F4)
  3315. #define IOMUXC_USDHC2_DATA4_SELECT_INPUT (IMXRT_IOMUXC_b.offset1F8)
  3316. #define IOMUXC_USDHC2_DATA5_SELECT_INPUT (IMXRT_IOMUXC_b.offset1FC)
  3317. #define IOMUXC_USDHC2_DATA6_SELECT_INPUT (IMXRT_IOMUXC_b.offset200)
  3318. #define IOMUXC_USDHC2_DATA7_SELECT_INPUT (IMXRT_IOMUXC_b.offset204)
  3319. #define IOMUXC_USDHC2_WP_SELECT_INPUT (IMXRT_IOMUXC_b.offset208)
  3320. #define IOMUXC_XBAR1_IN02_SELECT_INPUT (IMXRT_IOMUXC_b.offset20C)
  3321. #define IOMUXC_XBAR1_IN03_SELECT_INPUT (IMXRT_IOMUXC_b.offset210)
  3322. #define IOMUXC_XBAR1_IN04_SELECT_INPUT (IMXRT_IOMUXC_b.offset214)
  3323. #define IOMUXC_XBAR1_IN05_SELECT_INPUT (IMXRT_IOMUXC_b.offset218)
  3324. #define IOMUXC_XBAR1_IN06_SELECT_INPUT (IMXRT_IOMUXC_b.offset21C)
  3325. #define IOMUXC_XBAR1_IN07_SELECT_INPUT (IMXRT_IOMUXC_b.offset220)
  3326. #define IOMUXC_XBAR1_IN08_SELECT_INPUT (IMXRT_IOMUXC_b.offset224)
  3327. #define IOMUXC_XBAR1_IN09_SELECT_INPUT (IMXRT_IOMUXC_b.offset228)
  3328. #define IOMUXC_XBAR1_IN17_SELECT_INPUT (IMXRT_IOMUXC_b.offset22C)
  3329. #define IOMUXC_XBAR1_IN18_SELECT_INPUT (IMXRT_IOMUXC_b.offset230)
  3330. #define IOMUXC_XBAR1_IN20_SELECT_INPUT (IMXRT_IOMUXC_b.offset234)
  3331. #define IOMUXC_XBAR1_IN22_SELECT_INPUT (IMXRT_IOMUXC_b.offset238)
  3332. #define IOMUXC_XBAR1_IN23_SELECT_INPUT (IMXRT_IOMUXC_b.offset23C)
  3333. #define IOMUXC_XBAR1_IN24_SELECT_INPUT (IMXRT_IOMUXC_b.offset240)
  3334. #define IOMUXC_XBAR1_IN14_SELECT_INPUT (IMXRT_IOMUXC_b.offset244)
  3335. #define IOMUXC_XBAR1_IN15_SELECT_INPUT (IMXRT_IOMUXC_b.offset248)
  3336. #define IOMUXC_XBAR1_IN16_SELECT_INPUT (IMXRT_IOMUXC_b.offset24C)
  3337. #define IOMUXC_XBAR1_IN25_SELECT_INPUT (IMXRT_IOMUXC_b.offset250)
  3338. #define IOMUXC_XBAR1_IN19_SELECT_INPUT (IMXRT_IOMUXC_b.offset254)
  3339. #define IOMUXC_XBAR1_IN23_SELECT_INPUT (IMXRT_IOMUXC_b.offset258)
  3340. // page 2356
  3341. #define IMXRT_KPP (*(IMXRT_REGISTER16_t *)0x401FC000)
  3342. #define KPP_KPCR (IMXRT_KPP.offset000)
  3343. #define KPP_KPSR (IMXRT_KPP.offset002)
  3344. #define KPP_KDDR (IMXRT_KPP.offset004)
  3345. #define KPP_KPDR (IMXRT_KPP.offset006)
  3346. // page 2380
  3347. #define IMXRT_LCDIF (*(IMXRT_REGISTER32_t *)0x402B8000)
  3348. #define LCDIF_CTRL (IMXRT_LCDIF.offset000)
  3349. #define LCDIF_CTRL_SET (IMXRT_LCDIF.offset004)
  3350. #define LCDIF_CTRL_CLR (IMXRT_LCDIF.offset008)
  3351. #define LCDIF_CTRL_TOG (IMXRT_LCDIF.offset00C)
  3352. #define LCDIF_CTRL1 (IMXRT_LCDIF.offset010)
  3353. #define LCDIF_CTRL1_SET (IMXRT_LCDIF.offset014)
  3354. #define LCDIF_CTRL1_CLR (IMXRT_LCDIF.offset018)
  3355. #define LCDIF_CTRL1_TOG (IMXRT_LCDIF.offset01C)
  3356. #define LCDIF_CTRL2 (IMXRT_LCDIF.offset020)
  3357. #define LCDIF_CTRL2_SET (IMXRT_LCDIF.offset024)
  3358. #define LCDIF_CTRL2_CLR (IMXRT_LCDIF.offset028)
  3359. #define LCDIF_CTRL2_TOG (IMXRT_LCDIF.offset02C)
  3360. #define LCDIF_TRANSFER_COUNT (IMXRT_LCDIF.offset030)
  3361. #define LCDIF_CUR_BUF (IMXRT_LCDIF.offset040)
  3362. #define LCDIF_NEXT_BUF (IMXRT_LCDIF.offset050)
  3363. #define LCDIF_VDCTRL0 (IMXRT_LCDIF.offset070)
  3364. #define LCDIF_VDCTRL0_SET (IMXRT_LCDIF.offset074)
  3365. #define LCDIF_VDCTRL0_CLR (IMXRT_LCDIF.offset078)
  3366. #define LCDIF_VDCTRL0_TOG (IMXRT_LCDIF.offset07C)
  3367. #define LCDIF_VDCTRL1 (IMXRT_LCDIF.offset080)
  3368. #define LCDIF_VDCTRL2 (IMXRT_LCDIF.offset090)
  3369. #define LCDIF_VDCTRL3 (IMXRT_LCDIF.offset0A0)
  3370. #define LCDIF_VDCTRL4 (IMXRT_LCDIF.offset0B0)
  3371. #define LCDIF_BM_ERROR_STAT (IMXRT_LCDIF.offset190)
  3372. #define LCDIF_CRC_STAT (IMXRT_LCDIF.offset1A0)
  3373. #define LCDIF_STAT (IMXRT_LCDIF.offset1B0)
  3374. #define LCDIF_THRES (IMXRT_LCDIF.offset200)
  3375. #define LCDIF_AS_CTRL (IMXRT_LCDIF.offset210)
  3376. #define LCDIF_AS_BUF (IMXRT_LCDIF.offset220)
  3377. #define LCDIF_AS_NEXT_BUF (IMXRT_LCDIF.offset230)
  3378. #define LCDIF_AS_CLRKEYLOW (IMXRT_LCDIF.offset240)
  3379. #define LCDIF_AS_CLRKEYHIGH (IMXRT_LCDIF.offset250)
  3380. #define LCDIF_PIGEONCTRL0 (IMXRT_LCDIF.offset380)
  3381. #define LCDIF_PIGEONCTRL0_SET (IMXRT_LCDIF.offset384)
  3382. #define LCDIF_PIGEONCTRL0_CLR (IMXRT_LCDIF.offset388)
  3383. #define LCDIF_PIGEONCTRL0_TOG (IMXRT_LCDIF.offset38C)
  3384. #define LCDIF_PIGEONCTRL1 (IMXRT_LCDIF.offset390)
  3385. #define LCDIF_PIGEONCTRL1_SET (IMXRT_LCDIF.offset394)
  3386. #define LCDIF_PIGEONCTRL1_CLR (IMXRT_LCDIF.offset398)
  3387. #define LCDIF_PIGEONCTRL1_TOG (IMXRT_LCDIF.offset39C)
  3388. #define LCDIF_PIGEONCTRL2 (IMXRT_LCDIF.offset3A0)
  3389. #define LCDIF_PIGEONCTRL2_SET (IMXRT_LCDIF.offset3A4)
  3390. #define LCDIF_PIGEONCTRL2_CLR (IMXRT_LCDIF.offset3A8)
  3391. #define LCDIF_PIGEONCTRL2_TOG (IMXRT_LCDIF.offset3AC)
  3392. #define IMXRT_LCDIF_b (*(IMXRT_REGISTER32_t *)0x402B8800)
  3393. #define LCDIF_PIGEON_0_0 (IMXRT_LCDIF_b.offset000)
  3394. #define LCDIF_PIGEON_0_1 (IMXRT_LCDIF_b.offset010)
  3395. #define LCDIF_PIGEON_0_2 (IMXRT_LCDIF_b.offset020)
  3396. #define LCDIF_PIGEON_1_0 (IMXRT_LCDIF_b.offset040)
  3397. #define LCDIF_PIGEON_1_1 (IMXRT_LCDIF_b.offset050)
  3398. #define LCDIF_PIGEON_1_2 (IMXRT_LCDIF_b.offset060)
  3399. #define LCDIF_PIGEON_2_0 (IMXRT_LCDIF_b.offset080)
  3400. #define LCDIF_PIGEON_2_1 (IMXRT_LCDIF_b.offset090)
  3401. #define LCDIF_PIGEON_2_2 (IMXRT_LCDIF_b.offset0A0)
  3402. #define LCDIF_PIGEON_3_0 (IMXRT_LCDIF_b.offset0C0)
  3403. #define LCDIF_PIGEON_3_1 (IMXRT_LCDIF_b.offset0D0)
  3404. #define LCDIF_PIGEON_3_2 (IMXRT_LCDIF_b.offset0E0)
  3405. #define LCDIF_PIGEON_4_0 (IMXRT_LCDIF_b.offset100)
  3406. #define LCDIF_PIGEON_4_1 (IMXRT_LCDIF_b.offset110)
  3407. #define LCDIF_PIGEON_4_2 (IMXRT_LCDIF_b.offset120)
  3408. #define LCDIF_PIGEON_5_0 (IMXRT_LCDIF_b.offset140)
  3409. #define LCDIF_PIGEON_5_1 (IMXRT_LCDIF_b.offset150)
  3410. #define LCDIF_PIGEON_5_2 (IMXRT_LCDIF_b.offset160)
  3411. #define LCDIF_PIGEON_6_0 (IMXRT_LCDIF_b.offset180)
  3412. #define LCDIF_PIGEON_6_1 (IMXRT_LCDIF_b.offset190)
  3413. #define LCDIF_PIGEON_6_2 (IMXRT_LCDIF_b.offset1A0)
  3414. #define LCDIF_PIGEON_7_0 (IMXRT_LCDIF_b.offset1C0)
  3415. #define LCDIF_PIGEON_7_1 (IMXRT_LCDIF_b.offset1D0)
  3416. #define LCDIF_PIGEON_7_2 (IMXRT_LCDIF_b.offset1E0)
  3417. #define LCDIF_PIGEON_8_0 (IMXRT_LCDIF_b.offset200)
  3418. #define LCDIF_PIGEON_8_1 (IMXRT_LCDIF_b.offset210)
  3419. #define LCDIF_PIGEON_8_2 (IMXRT_LCDIF_b.offset220)
  3420. #define LCDIF_PIGEON_9_0 (IMXRT_LCDIF_b.offset240)
  3421. #define LCDIF_PIGEON_9_1 (IMXRT_LCDIF_b.offset250)
  3422. #define LCDIF_PIGEON_9_2 (IMXRT_LCDIF_b.offset260)
  3423. #define LCDIF_PIGEON_10_0 (IMXRT_LCDIF_b.offset280)
  3424. #define LCDIF_PIGEON_10_1 (IMXRT_LCDIF_b.offset290)
  3425. #define LCDIF_PIGEON_10_2 (IMXRT_LCDIF_b.offset2A0)
  3426. #define LCDIF_PIGEON_11_0 (IMXRT_LCDIF_b.offset2C0)
  3427. #define LCDIF_PIGEON_11_1 (IMXRT_LCDIF_b.offset2D0)
  3428. #define LCDIF_PIGEON_11_2 (IMXRT_LCDIF_b.offset2E0)
  3429. // page 2415
  3430. #define IMXRT_LPI2C1 (*(IMXRT_REGISTER32_t *)0x403F0000)
  3431. #define LPI2C1_VERID (IMXRT_LPI2C1.offset000)
  3432. #define LPI2C1_PARAM (IMXRT_LPI2C1.offset004)
  3433. #define LPI2C1_MCR (IMXRT_LPI2C1.offset010)
  3434. #define LPI2C1_MSR (IMXRT_LPI2C1.offset014)
  3435. #define LPI2C1_MIER (IMXRT_LPI2C1.offset018)
  3436. #define LPI2C1_MDER (IMXRT_LPI2C1.offset01C)
  3437. #define LPI2C1_MCFGR0 (IMXRT_LPI2C1.offset020)
  3438. #define LPI2C1_MCFGR1 (IMXRT_LPI2C1.offset024)
  3439. #define LPI2C1_MCFGR2 (IMXRT_LPI2C1.offset028)
  3440. #define LPI2C1_MCFGR3 (IMXRT_LPI2C1.offset02C)
  3441. #define LPI2C1_MDMR (IMXRT_LPI2C1.offset040)
  3442. #define LPI2C1_MCCR0 (IMXRT_LPI2C1.offset048)
  3443. #define LPI2C1_MCCR1 (IMXRT_LPI2C1.offset050)
  3444. #define LPI2C1_MFCR (IMXRT_LPI2C1.offset058)
  3445. #define LPI2C1_MFSR (IMXRT_LPI2C1.offset05C)
  3446. #define LPI2C1_MTDR (IMXRT_LPI2C1.offset060)
  3447. #define LPI2C1_MRDR (IMXRT_LPI2C1.offset070)
  3448. #define LPI2C1_SCR (IMXRT_LPI2C1.offset110)
  3449. #define LPI2C1_SSR (IMXRT_LPI2C1.offset114)
  3450. #define LPI2C1_SIER (IMXRT_LPI2C1.offset118)
  3451. #define LPI2C1_SDER (IMXRT_LPI2C1.offset11C)
  3452. #define LPI2C1_SCFGR1 (IMXRT_LPI2C1.offset124)
  3453. #define LPI2C1_SCFGR2 (IMXRT_LPI2C1.offset128)
  3454. #define LPI2C1_SAMR (IMXRT_LPI2C1.offset140)
  3455. #define LPI2C1_SASR (IMXRT_LPI2C1.offset150)
  3456. #define LPI2C1_STAR (IMXRT_LPI2C1.offset154)
  3457. #define LPI2C1_STDR (IMXRT_LPI2C1.offset160)
  3458. #define LPI2C1_SRDR (IMXRT_LPI2C1.offset170)
  3459. #define IMXRT_LPI2C2 (*(IMXRT_REGISTER32_t *)0x403F4000)
  3460. #define LPI2C2_VERID (IMXRT_LPI2C2.offset000)
  3461. #define LPI2C2_PARAM (IMXRT_LPI2C2.offset004)
  3462. #define LPI2C2_MCR (IMXRT_LPI2C2.offset010)
  3463. #define LPI2C2_MSR (IMXRT_LPI2C2.offset014)
  3464. #define LPI2C2_MIER (IMXRT_LPI2C2.offset018)
  3465. #define LPI2C2_MDER (IMXRT_LPI2C2.offset01C)
  3466. #define LPI2C2_MCFGR0 (IMXRT_LPI2C2.offset020)
  3467. #define LPI2C2_MCFGR1 (IMXRT_LPI2C2.offset024)
  3468. #define LPI2C2_MCFGR2 (IMXRT_LPI2C2.offset028)
  3469. #define LPI2C2_MCFGR3 (IMXRT_LPI2C2.offset02C)
  3470. #define LPI2C2_MDMR (IMXRT_LPI2C2.offset040)
  3471. #define LPI2C2_MCCR0 (IMXRT_LPI2C2.offset048)
  3472. #define LPI2C2_MCCR1 (IMXRT_LPI2C2.offset050)
  3473. #define LPI2C2_MFCR (IMXRT_LPI2C2.offset058)
  3474. #define LPI2C2_MFSR (IMXRT_LPI2C2.offset05C)
  3475. #define LPI2C2_MTDR (IMXRT_LPI2C2.offset060)
  3476. #define LPI2C2_MRDR (IMXRT_LPI2C2.offset070)
  3477. #define LPI2C2_SCR (IMXRT_LPI2C2.offset110)
  3478. #define LPI2C2_SSR (IMXRT_LPI2C2.offset114)
  3479. #define LPI2C2_SIER (IMXRT_LPI2C2.offset118)
  3480. #define LPI2C2_SDER (IMXRT_LPI2C2.offset11C)
  3481. #define LPI2C2_SCFGR1 (IMXRT_LPI2C2.offset124)
  3482. #define LPI2C2_SCFGR2 (IMXRT_LPI2C2.offset128)
  3483. #define LPI2C2_SAMR (IMXRT_LPI2C2.offset140)
  3484. #define LPI2C2_SASR (IMXRT_LPI2C2.offset150)
  3485. #define LPI2C2_STAR (IMXRT_LPI2C2.offset154)
  3486. #define LPI2C2_STDR (IMXRT_LPI2C2.offset160)
  3487. #define LPI2C2_SRDR (IMXRT_LPI2C2.offset170)
  3488. #define IMXRT_LPI2C3 (*(IMXRT_REGISTER32_t *)0x403F8000)
  3489. #define LPI2C3_VERID (IMXRT_LPI2C3.offset000)
  3490. #define LPI2C3_PARAM (IMXRT_LPI2C3.offset004)
  3491. #define LPI2C3_MCR (IMXRT_LPI2C3.offset010)
  3492. #define LPI2C3_MSR (IMXRT_LPI2C3.offset014)
  3493. #define LPI2C3_MIER (IMXRT_LPI2C3.offset018)
  3494. #define LPI2C3_MDER (IMXRT_LPI2C3.offset01C)
  3495. #define LPI2C3_MCFGR0 (IMXRT_LPI2C3.offset020)
  3496. #define LPI2C3_MCFGR1 (IMXRT_LPI2C3.offset024)
  3497. #define LPI2C3_MCFGR2 (IMXRT_LPI2C3.offset028)
  3498. #define LPI2C3_MCFGR3 (IMXRT_LPI2C3.offset02C)
  3499. #define LPI2C3_MDMR (IMXRT_LPI2C3.offset040)
  3500. #define LPI2C3_MCCR0 (IMXRT_LPI2C3.offset048)
  3501. #define LPI2C3_MCCR1 (IMXRT_LPI2C3.offset050)
  3502. #define LPI2C3_MFCR (IMXRT_LPI2C3.offset058)
  3503. #define LPI2C3_MFSR (IMXRT_LPI2C3.offset05C)
  3504. #define LPI2C3_MTDR (IMXRT_LPI2C3.offset060)
  3505. #define LPI2C3_MRDR (IMXRT_LPI2C3.offset070)
  3506. #define LPI2C3_SCR (IMXRT_LPI2C3.offset110)
  3507. #define LPI2C3_SSR (IMXRT_LPI2C3.offset114)
  3508. #define LPI2C3_SIER (IMXRT_LPI2C3.offset118)
  3509. #define LPI2C3_SDER (IMXRT_LPI2C3.offset11C)
  3510. #define LPI2C3_SCFGR1 (IMXRT_LPI2C3.offset124)
  3511. #define LPI2C3_SCFGR2 (IMXRT_LPI2C3.offset128)
  3512. #define LPI2C3_SAMR (IMXRT_LPI2C3.offset140)
  3513. #define LPI2C3_SASR (IMXRT_LPI2C3.offset150)
  3514. #define LPI2C3_STAR (IMXRT_LPI2C3.offset154)
  3515. #define LPI2C3_STDR (IMXRT_LPI2C3.offset160)
  3516. #define LPI2C3_SRDR (IMXRT_LPI2C3.offset170)
  3517. #define IMXRT_LPI2C4 (*(IMXRT_REGISTER32_t *)0x403FC000)
  3518. #define LPI2C4_VERID (IMXRT_LPI2C4.offset000)
  3519. #define LPI2C4_PARAM (IMXRT_LPI2C4.offset004)
  3520. #define LPI2C4_MCR (IMXRT_LPI2C4.offset010)
  3521. #define LPI2C4_MSR (IMXRT_LPI2C4.offset014)
  3522. #define LPI2C4_MIER (IMXRT_LPI2C4.offset018)
  3523. #define LPI2C4_MDER (IMXRT_LPI2C4.offset01C)
  3524. #define LPI2C4_MCFGR0 (IMXRT_LPI2C4.offset020)
  3525. #define LPI2C4_MCFGR1 (IMXRT_LPI2C4.offset024)
  3526. #define LPI2C4_MCFGR2 (IMXRT_LPI2C4.offset028)
  3527. #define LPI2C4_MCFGR3 (IMXRT_LPI2C4.offset02C)
  3528. #define LPI2C4_MDMR (IMXRT_LPI2C4.offset040)
  3529. #define LPI2C4_MCCR0 (IMXRT_LPI2C4.offset048)
  3530. #define LPI2C4_MCCR1 (IMXRT_LPI2C4.offset050)
  3531. #define LPI2C4_MFCR (IMXRT_LPI2C4.offset058)
  3532. #define LPI2C4_MFSR (IMXRT_LPI2C4.offset05C)
  3533. #define LPI2C4_MTDR (IMXRT_LPI2C4.offset060)
  3534. #define LPI2C4_MRDR (IMXRT_LPI2C4.offset070)
  3535. #define LPI2C4_SCR (IMXRT_LPI2C4.offset110)
  3536. #define LPI2C4_SSR (IMXRT_LPI2C4.offset114)
  3537. #define LPI2C4_SIER (IMXRT_LPI2C4.offset118)
  3538. #define LPI2C4_SDER (IMXRT_LPI2C4.offset11C)
  3539. #define LPI2C4_SCFGR1 (IMXRT_LPI2C4.offset124)
  3540. #define LPI2C4_SCFGR2 (IMXRT_LPI2C4.offset128)
  3541. #define LPI2C4_SAMR (IMXRT_LPI2C4.offset140)
  3542. #define LPI2C4_SASR (IMXRT_LPI2C4.offset150)
  3543. #define LPI2C4_STAR (IMXRT_LPI2C4.offset154)
  3544. #define LPI2C4_STDR (IMXRT_LPI2C4.offset160)
  3545. #define LPI2C4_SRDR (IMXRT_LPI2C4.offset170)
  3546. // page 2479
  3547. #define IMXRT_LPSPI1 (*(IMXRT_REGISTER32_t *)0x40394000)
  3548. #define LPSPI1_VERID (IMXRT_LPSPI1.offset000)
  3549. #define LPSPI1_PARAM (IMXRT_LPSPI1.offset004)
  3550. #define LPSPI1_CR (IMXRT_LPSPI1.offset010)
  3551. #define LPSPI1_SR (IMXRT_LPSPI1.offset014)
  3552. #define LPSPI1_IER (IMXRT_LPSPI1.offset018)
  3553. #define LPSPI1_DER (IMXRT_LPSPI1.offset01C)
  3554. #define LPSPI1_CFGR0 (IMXRT_LPSPI1.offset020)
  3555. #define LPSPI1_CFGR1 (IMXRT_LPSPI1.offset024)
  3556. #define LPSPI1_DMR0 (IMXRT_LPSPI1.offset030)
  3557. #define LPSPI1_DMR1 (IMXRT_LPSPI1.offset034)
  3558. #define LPSPI1_CCR (IMXRT_LPSPI1.offset040)
  3559. #define LPSPI1_FCR (IMXRT_LPSPI1.offset058)
  3560. #define LPSPI1_FSR (IMXRT_LPSPI1.offset05C)
  3561. #define LPSPI1_TCR (IMXRT_LPSPI1.offset060)
  3562. #define LPSPI1_TDR (IMXRT_LPSPI1.offset064)
  3563. #define LPSPI1_RSR (IMXRT_LPSPI1.offset070)
  3564. #define LPSPI1_RDR (IMXRT_LPSPI1.offset074)
  3565. #define IMXRT_LPSPI2 (*(IMXRT_REGISTER32_t *)0x40398000)
  3566. #define LPSPI2_VERID (IMXRT_LPSPI2.offset000)
  3567. #define LPSPI2_PARAM (IMXRT_LPSPI2.offset004)
  3568. #define LPSPI2_CR (IMXRT_LPSPI2.offset010)
  3569. #define LPSPI2_SR (IMXRT_LPSPI2.offset014)
  3570. #define LPSPI2_IER (IMXRT_LPSPI2.offset018)
  3571. #define LPSPI2_DER (IMXRT_LPSPI2.offset01C)
  3572. #define LPSPI2_CFGR0 (IMXRT_LPSPI2.offset020)
  3573. #define LPSPI2_CFGR1 (IMXRT_LPSPI2.offset024)
  3574. #define LPSPI2_DMR0 (IMXRT_LPSPI2.offset030)
  3575. #define LPSPI2_DMR1 (IMXRT_LPSPI2.offset034)
  3576. #define LPSPI2_CCR (IMXRT_LPSPI2.offset040)
  3577. #define LPSPI2_FCR (IMXRT_LPSPI2.offset058)
  3578. #define LPSPI2_FSR (IMXRT_LPSPI2.offset05C)
  3579. #define LPSPI2_TCR (IMXRT_LPSPI2.offset060)
  3580. #define LPSPI2_TDR (IMXRT_LPSPI2.offset064)
  3581. #define LPSPI2_RSR (IMXRT_LPSPI2.offset070)
  3582. #define LPSPI2_RDR (IMXRT_LPSPI2.offset074)
  3583. #define IMXRT_LPSPI3 (*(IMXRT_REGISTER32_t *)0x4039C000)
  3584. #define LPSPI3_VERID (IMXRT_LPSPI3.offset000)
  3585. #define LPSPI3_PARAM (IMXRT_LPSPI3.offset004)
  3586. #define LPSPI3_CR (IMXRT_LPSPI3.offset010)
  3587. #define LPSPI3_SR (IMXRT_LPSPI3.offset014)
  3588. #define LPSPI3_IER (IMXRT_LPSPI3.offset018)
  3589. #define LPSPI3_DER (IMXRT_LPSPI3.offset01C)
  3590. #define LPSPI3_CFGR0 (IMXRT_LPSPI3.offset020)
  3591. #define LPSPI3_CFGR1 (IMXRT_LPSPI3.offset024)
  3592. #define LPSPI3_DMR0 (IMXRT_LPSPI3.offset030)
  3593. #define LPSPI3_DMR1 (IMXRT_LPSPI3.offset034)
  3594. #define LPSPI3_CCR (IMXRT_LPSPI3.offset040)
  3595. #define LPSPI3_FCR (IMXRT_LPSPI3.offset058)
  3596. #define LPSPI3_FSR (IMXRT_LPSPI3.offset05C)
  3597. #define LPSPI3_TCR (IMXRT_LPSPI3.offset060)
  3598. #define LPSPI3_TDR (IMXRT_LPSPI3.offset064)
  3599. #define LPSPI3_RSR (IMXRT_LPSPI3.offset070)
  3600. #define LPSPI3_RDR (IMXRT_LPSPI3.offset074)
  3601. #define IMXRT_LPSPI4 (*(IMXRT_REGISTER32_t *)0x403A0000)
  3602. #define LPSPI4_VERID (IMXRT_LPSPI4.offset000)
  3603. #define LPSPI4_PARAM (IMXRT_LPSPI4.offset004)
  3604. #define LPSPI4_CR (IMXRT_LPSPI4.offset010)
  3605. #define LPSPI4_SR (IMXRT_LPSPI4.offset014)
  3606. #define LPSPI4_IER (IMXRT_LPSPI4.offset018)
  3607. #define LPSPI4_DER (IMXRT_LPSPI4.offset01C)
  3608. #define LPSPI4_CFGR0 (IMXRT_LPSPI4.offset020)
  3609. #define LPSPI4_CFGR1 (IMXRT_LPSPI4.offset024)
  3610. #define LPSPI4_DMR0 (IMXRT_LPSPI4.offset030)
  3611. #define LPSPI4_DMR1 (IMXRT_LPSPI4.offset034)
  3612. #define LPSPI4_CCR (IMXRT_LPSPI4.offset040)
  3613. #define LPSPI4_FCR (IMXRT_LPSPI4.offset058)
  3614. #define LPSPI4_FSR (IMXRT_LPSPI4.offset05C)
  3615. #define LPSPI4_TCR (IMXRT_LPSPI4.offset060)
  3616. #define LPSPI4_TDR (IMXRT_LPSPI4.offset064)
  3617. #define LPSPI4_RSR (IMXRT_LPSPI4.offset070)
  3618. #define LPSPI4_RDR (IMXRT_LPSPI4.offset074)
  3619. // page 2520
  3620. #define IMXRT_LPUART1 (*(IMXRT_REGISTER32_t *)0x40184000)
  3621. #define LPUART1_VERID (IMXRT_LPUART1.offset000)
  3622. #define LPUART1_PARAM (IMXRT_LPUART1.offset004)
  3623. #define LPUART1_GLOBAL (IMXRT_LPUART1.offset008)
  3624. #define LPUART1_PINCFG (IMXRT_LPUART1.offset00C)
  3625. #define LPUART1_BAUD (IMXRT_LPUART1.offset010)
  3626. #define LPUART1_STAT (IMXRT_LPUART1.offset014)
  3627. #define LPUART1_CTRL (IMXRT_LPUART1.offset018)
  3628. #define LPUART1_DATA (IMXRT_LPUART1.offset01C)
  3629. #define LPUART1_MATCH (IMXRT_LPUART1.offset020)
  3630. #define LPUART1_MODIR (IMXRT_LPUART1.offset024)
  3631. #define LPUART1_FIFO (IMXRT_LPUART1.offset028)
  3632. #define LPUART1_WATER (IMXRT_LPUART1.offset02C)
  3633. #define IMXRT_LPUART2 (*(IMXRT_REGISTER32_t *)0x40188000)
  3634. #define LPUART2_VERID (IMXRT_LPUART2.offset000)
  3635. #define LPUART2_PARAM (IMXRT_LPUART2.offset004)
  3636. #define LPUART2_GLOBAL (IMXRT_LPUART2.offset008)
  3637. #define LPUART2_PINCFG (IMXRT_LPUART2.offset00C)
  3638. #define LPUART2_BAUD (IMXRT_LPUART2.offset010)
  3639. #define LPUART2_STAT (IMXRT_LPUART2.offset014)
  3640. #define LPUART2_CTRL (IMXRT_LPUART2.offset018)
  3641. #define LPUART2_DATA (IMXRT_LPUART2.offset01C)
  3642. #define LPUART2_MATCH (IMXRT_LPUART2.offset020)
  3643. #define LPUART2_MODIR (IMXRT_LPUART2.offset024)
  3644. #define LPUART2_FIFO (IMXRT_LPUART2.offset028)
  3645. #define LPUART2_WATER (IMXRT_LPUART2.offset02C)
  3646. #define IMXRT_LPUART3 (*(IMXRT_REGISTER32_t *)0x4018C000)
  3647. #define LPUART3_VERID (IMXRT_LPUART3.offset000)
  3648. #define LPUART3_PARAM (IMXRT_LPUART3.offset004)
  3649. #define LPUART3_GLOBAL (IMXRT_LPUART3.offset008)
  3650. #define LPUART3_PINCFG (IMXRT_LPUART3.offset00C)
  3651. #define LPUART3_BAUD (IMXRT_LPUART3.offset010)
  3652. #define LPUART3_STAT (IMXRT_LPUART3.offset014)
  3653. #define LPUART3_CTRL (IMXRT_LPUART3.offset018)
  3654. #define LPUART3_DATA (IMXRT_LPUART3.offset01C)
  3655. #define LPUART3_MATCH (IMXRT_LPUART3.offset020)
  3656. #define LPUART3_MODIR (IMXRT_LPUART3.offset024)
  3657. #define LPUART3_FIFO (IMXRT_LPUART3.offset028)
  3658. #define LPUART3_WATER (IMXRT_LPUART3.offset02C)
  3659. #define IMXRT_LPUART4 (*(IMXRT_REGISTER32_t *)0x40190000)
  3660. #define LPUART4_VERID (IMXRT_LPUART4.offset000)
  3661. #define LPUART4_PARAM (IMXRT_LPUART4.offset004)
  3662. #define LPUART4_GLOBAL (IMXRT_LPUART4.offset008)
  3663. #define LPUART4_PINCFG (IMXRT_LPUART4.offset00C)
  3664. #define LPUART4_BAUD (IMXRT_LPUART4.offset010)
  3665. #define LPUART4_STAT (IMXRT_LPUART4.offset014)
  3666. #define LPUART4_CTRL (IMXRT_LPUART4.offset018)
  3667. #define LPUART4_DATA (IMXRT_LPUART4.offset01C)
  3668. #define LPUART4_MATCH (IMXRT_LPUART4.offset020)
  3669. #define LPUART4_MODIR (IMXRT_LPUART4.offset024)
  3670. #define LPUART4_FIFO (IMXRT_LPUART4.offset028)
  3671. #define LPUART4_WATER (IMXRT_LPUART4.offset02C)
  3672. #define IMXRT_LPUART5 (*(IMXRT_REGISTER32_t *)0x40194000)
  3673. #define LPUART5_VERID (IMXRT_LPUART5.offset000)
  3674. #define LPUART5_PARAM (IMXRT_LPUART5.offset004)
  3675. #define LPUART5_GLOBAL (IMXRT_LPUART5.offset008)
  3676. #define LPUART5_PINCFG (IMXRT_LPUART5.offset00C)
  3677. #define LPUART5_BAUD (IMXRT_LPUART5.offset010)
  3678. #define LPUART5_STAT (IMXRT_LPUART5.offset014)
  3679. #define LPUART5_CTRL (IMXRT_LPUART5.offset018)
  3680. #define LPUART5_DATA (IMXRT_LPUART5.offset01C)
  3681. #define LPUART5_MATCH (IMXRT_LPUART5.offset020)
  3682. #define LPUART5_MODIR (IMXRT_LPUART5.offset024)
  3683. #define LPUART5_FIFO (IMXRT_LPUART5.offset028)
  3684. #define LPUART5_WATER (IMXRT_LPUART5.offset02C)
  3685. #define IMXRT_LPUART6 (*(IMXRT_REGISTER32_t *)0x40198000)
  3686. #define LPUART6_VERID (IMXRT_LPUART6.offset000)
  3687. #define LPUART6_PARAM (IMXRT_LPUART6.offset004)
  3688. #define LPUART6_GLOBAL (IMXRT_LPUART6.offset008)
  3689. #define LPUART6_PINCFG (IMXRT_LPUART6.offset00C)
  3690. #define LPUART6_BAUD (IMXRT_LPUART6.offset010)
  3691. #define LPUART6_STAT (IMXRT_LPUART6.offset014)
  3692. #define LPUART6_CTRL (IMXRT_LPUART6.offset018)
  3693. #define LPUART6_DATA (IMXRT_LPUART6.offset01C)
  3694. #define LPUART6_MATCH (IMXRT_LPUART6.offset020)
  3695. #define LPUART6_MODIR (IMXRT_LPUART6.offset024)
  3696. #define LPUART6_FIFO (IMXRT_LPUART6.offset028)
  3697. #define LPUART6_WATER (IMXRT_LPUART6.offset02C)
  3698. #define IMXRT_LPUART7 (*(IMXRT_REGISTER32_t *)0x4019C000)
  3699. #define LPUART7_VERID (IMXRT_LPUART7.offset000)
  3700. #define LPUART7_PARAM (IMXRT_LPUART7.offset004)
  3701. #define LPUART7_GLOBAL (IMXRT_LPUART7.offset008)
  3702. #define LPUART7_PINCFG (IMXRT_LPUART7.offset00C)
  3703. #define LPUART7_BAUD (IMXRT_LPUART7.offset010)
  3704. #define LPUART7_STAT (IMXRT_LPUART7.offset014)
  3705. #define LPUART7_CTRL (IMXRT_LPUART7.offset018)
  3706. #define LPUART7_DATA (IMXRT_LPUART7.offset01C)
  3707. #define LPUART7_MATCH (IMXRT_LPUART7.offset020)
  3708. #define LPUART7_MODIR (IMXRT_LPUART7.offset024)
  3709. #define LPUART7_FIFO (IMXRT_LPUART7.offset028)
  3710. #define LPUART7_WATER (IMXRT_LPUART7.offset02C)
  3711. #define IMXRT_LPUART8 (*(IMXRT_REGISTER32_t *)0x401A0000)
  3712. #define LPUART8_VERID (IMXRT_LPUART8.offset000)
  3713. #define LPUART8_PARAM (IMXRT_LPUART8.offset004)
  3714. #define LPUART8_GLOBAL (IMXRT_LPUART8.offset008)
  3715. #define LPUART8_PINCFG (IMXRT_LPUART8.offset00C)
  3716. #define LPUART8_BAUD (IMXRT_LPUART8.offset010)
  3717. #define LPUART8_STAT (IMXRT_LPUART8.offset014)
  3718. #define LPUART8_CTRL (IMXRT_LPUART8.offset018)
  3719. #define LPUART8_DATA (IMXRT_LPUART8.offset01C)
  3720. #define LPUART8_MATCH (IMXRT_LPUART8.offset020)
  3721. #define LPUART8_MODIR (IMXRT_LPUART8.offset024)
  3722. #define LPUART8_FIFO (IMXRT_LPUART8.offset028)
  3723. #define LPUART8_WATER (IMXRT_LPUART8.offset02C)
  3724. // page 2558
  3725. #define IMXRT_OCOTP (*(IMXRT_REGISTER32_t *)0x401F4000)
  3726. #define HW_OCOTP_CTRL (IMXRT_OCOTP.offset000)
  3727. #define HW_OCOTP_CTRL_SET (IMXRT_OCOTP.offset004)
  3728. #define HW_OCOTP_CTRL_CLR (IMXRT_OCOTP.offset008)
  3729. #define HW_OCOTP_CTRL_TOG (IMXRT_OCOTP.offset00C)
  3730. #define HW_OCOTP_TIMING (IMXRT_OCOTP.offset010)
  3731. #define HW_OCOTP_DATA (IMXRT_OCOTP.offset020)
  3732. #define HW_OCOTP_READ_CTRL (IMXRT_OCOTP.offset030)
  3733. #define HW_OCOTP_READ_FUSE_DATA (IMXRT_OCOTP.offset040)
  3734. #define HW_OCOTP_SW_STICKY (IMXRT_OCOTP.offset050)
  3735. #define HW_OCOTP_SCS (IMXRT_OCOTP.offset060)
  3736. #define HW_OCOTP_SCS_SET (IMXRT_OCOTP.offset064)
  3737. #define HW_OCOTP_SCS_CLR (IMXRT_OCOTP.offset068)
  3738. #define HW_OCOTP_SCS_TOG (IMXRT_OCOTP.offset06C)
  3739. #define HW_OCOTP_VERSION (IMXRT_OCOTP.offset090)
  3740. #define HW_OCOTP_TIMING2 (IMXRT_OCOTP.offset100)
  3741. #define IMXRT_OCOTP_VALUE (*(IMXRT_REGISTER32_t *)0x401F4400)
  3742. #define HW_OCOTP_LOCK (IMXRT_OCOTP_VALUE.offset000)
  3743. #define HW_OCOTP_CFG0 (IMXRT_OCOTP_VALUE.offset010)
  3744. #define HW_OCOTP_CFG1 (IMXRT_OCOTP_VALUE.offset020)
  3745. #define HW_OCOTP_CFG2 (IMXRT_OCOTP_VALUE.offset030)
  3746. #define HW_OCOTP_CFG3 (IMXRT_OCOTP_VALUE.offset040)
  3747. #define HW_OCOTP_CFG4 (IMXRT_OCOTP_VALUE.offset050)
  3748. #define HW_OCOTP_CFG5 (IMXRT_OCOTP_VALUE.offset060)
  3749. #define HW_OCOTP_CFG6 (IMXRT_OCOTP_VALUE.offset070)
  3750. #define HW_OCOTP_MEM0 (IMXRT_OCOTP_VALUE.offset080)
  3751. #define HW_OCOTP MEM1 (IMXRT_OCOTP_VALUE.offset090)
  3752. #define HW_OCOTP_MEM2 (IMXRT_OCOTP_VALUE.offset0A0)
  3753. #define HW_OCOTP_MEM3 (IMXRT_OCOTP_VALUE.offset0B0)
  3754. #define HW_OCOTP_MEM4 (IMXRT_OCOTP_VALUE.offset0C0)
  3755. #define HW_OCOTP_ANA0 (IMXRT_OCOTP_VALUE.offset0D0)
  3756. #define HW_OCOTP_ANA1 (IMXRT_OCOTP_VALUE.offset0E0)
  3757. #define HW_OCOTP_ANA2 (IMXRT_OCOTP_VALUE.offset0F0)
  3758. #define HW_OCOTP_SRK0 (IMXRT_OCOTP_VALUE.offset180)
  3759. #define HW_OCOTP_SRK1 (IMXRT_OCOTP_VALUE.offset190)
  3760. #define HW_OCOTP_SRK2 (IMXRT_OCOTP_VALUE.offset1A0)
  3761. #define HW_OCOTP_SRK3 (IMXRT_OCOTP_VALUE.offset1B0)
  3762. #define HW_OCOTP_SRK4 (IMXRT_OCOTP_VALUE.offset1C0)
  3763. #define HW_OCOTP_SRK5 (IMXRT_OCOTP_VALUE.offset1D0)
  3764. #define HW_OCOTP_SRK6 (IMXRT_OCOTP_VALUE.offset1E0)
  3765. #define HW_OCOTP_SRK7 (IMXRT_OCOTP_VALUE.offset1F0)
  3766. #define HW_OCOTP_SJC_RESP0 (IMXRT_OCOTP_VALUE.offset200)
  3767. #define HW_OCOTP_SJC_RESP1 (IMXRT_OCOTP_VALUE.offset210)
  3768. #define HW_OCOTP_MAC0 (IMXRT_OCOTP_VALUE.offset220)
  3769. #define HW_OCOTP_MAC1 (IMXRT_OCOTP_VALUE.offset230)
  3770. #define HW_OCOTP_GP3 (IMXRT_OCOTP_VALUE.offset240)
  3771. #define HW_OCOTP_GP1 (IMXRT_OCOTP_VALUE.offset260)
  3772. #define HW_OCOTP_GP2 (IMXRT_OCOTP_VALUE.offset270)
  3773. #define HW_OCOTP_SW_GP1 (IMXRT_OCOTP_VALUE.offset280)
  3774. #define HW_OCOTP_SW_GP20 (IMXRT_OCOTP_VALUE.offset290)
  3775. #define HW_OCOTP_SW_GP21 (IMXRT_OCOTP_VALUE.offset2A0)
  3776. #define HW_OCOTP_SW_GP22 (IMXRT_OCOTP_VALUE.offset2B0)
  3777. #define HW_OCOTP_SW_GP23 (IMXRT_OCOTP_VALUE.offset2C0)
  3778. #define HW_OCOTP_MISC_CONF0 (IMXRT_OCOTP_VALUE.offset2D0)
  3779. #define HW_OCOTP_MISC_CONF1 (IMXRT_OCOTP_VALUE.offset2E0)
  3780. #define HW_OCOTP_SRK_REVOKE (IMXRT_OCOTP_VALUE.offset2F0)
  3781. // page 2631
  3782. #define IMXRT_PIT (*(IMXRT_REGISTER32_t *)0x40084000)
  3783. #define PIT_MCR (IMXRT_PIT.offset000)
  3784. #define PIT_LTMR64H (IMXRT_PIT.offset0E0)
  3785. #define PIT_LTMR64L (IMXRT_PIT.offset0E4)
  3786. #define PIT_LDVAL0 (IMXRT_PIT.offset100)
  3787. #define PIT_CVAL0 (IMXRT_PIT.offset104)
  3788. #define PIT_TCTRL0 (IMXRT_PIT.offset108)
  3789. #define PIT_TFLG0 (IMXRT_PIT.offset10C)
  3790. #define PIT_LDVAL1 (IMXRT_PIT.offset110)
  3791. #define PIT_CVAL1 (IMXRT_PIT.offset114)
  3792. #define PIT_TCTRL1 (IMXRT_PIT.offset118)
  3793. #define PIT_TFLG1 (IMXRT_PIT.offset11C)
  3794. #define PIT_LDVAL2 (IMXRT_PIT.offset120)
  3795. #define PIT_CVAL2 (IMXRT_PIT.offset124)
  3796. #define PIT_TCTRL2 (IMXRT_PIT.offset128)
  3797. #define PIT_TFLG2 (IMXRT_PIT.offset12C)
  3798. #define PIT_LDVAL3 (IMXRT_PIT.offset130)
  3799. #define PIT_CVAL3 (IMXRT_PIT.offset134)
  3800. #define PIT_TCTRL3 (IMXRT_PIT.offset138)
  3801. #define PIT_TFLG3 (IMXRT_PIT.offset13C)
  3802. // page 2646
  3803. #define IMXRT_PMU (*(IMXRT_REGISTER32_t *)0x400D8000)
  3804. #define PMU_REG_1P1 (IMXRT_PMU.offset110)
  3805. #define PMU_REG_1P1_SET (IMXRT_PMU.offset114)
  3806. #define PMU_REG_1P1_CLR (IMXRT_PMU.offset118)
  3807. #define PMU_REG_1P1_TOG (IMXRT_PMU.offset11C)
  3808. #define PMU_REG_3P0 (IMXRT_PMU.offset120)
  3809. #define PMU_REG_3P0_SET (IMXRT_PMU.offset124)
  3810. #define PMU_REG_3P0_CLR (IMXRT_PMU.offset128)
  3811. #define PMU_REG_3P0_TOG (IMXRT_PMU.offset12C)
  3812. #define PMU_REG_2P5 (IMXRT_PMU.offset130)
  3813. #define PMU_REG_2P5_SET (IMXRT_PMU.offset134)
  3814. #define PMU_REG_2P5_CLR (IMXRT_PMU.offset138)
  3815. #define PMU_REG_2P5_TOG (IMXRT_PMU.offset13C)
  3816. #define PMU_REG_CORE (IMXRT_PMU.offset140)
  3817. #define PMU_REG_CORE_SET (IMXRT_PMU.offset144)
  3818. #define PMU_REG_CORE_CLR (IMXRT_PMU.offset148)
  3819. #define PMU_REG_CORE_TOG (IMXRT_PMU.offset14C)
  3820. #define PMU_MISC0 (IMXRT_PMU.offset150)
  3821. #define PMU_MISC0_SET (IMXRT_PMU.offset154)
  3822. #define PMU_MISC0_CLR (IMXRT_PMU.offset158)
  3823. #define PMU_MISC0_TOG (IMXRT_PMU.offset15C)
  3824. #define PMU_MISC1 (IMXRT_PMU.offset160)
  3825. #define PMU_MISC1_SET (IMXRT_PMU.offset164)
  3826. #define PMU_MISC1_CLR (IMXRT_PMU.offset168)
  3827. #define PMU_MISC1_TOG (IMXRT_PMU.offset16C)
  3828. #define PMU_MISC2 (IMXRT_PMU.offset170)
  3829. #define PMU_MISC2_SET (IMXRT_PMU.offset174)
  3830. #define PMU_MISC2_CLR (IMXRT_PMU.offset178)
  3831. #define PMU_MISC2_TOG (IMXRT_PMU.offset17C)
  3832. // page 2728
  3833. #define IMXRT_PMU (*(IMXRT_REGISTER32_t *)0x402B4000)
  3834. #define PXP_HW_PXP_CTRL
  3835. #define PXP_HW_PXP_CTRL_SET
  3836. #define PXP_HW_PXP_CTRL_CLR
  3837. #define PXP_HW_PXP_CTRL_TOG
  3838. #define PXP_HW_PXP_STAT
  3839. #define PXP_HW_PXP_STAT_SET
  3840. #define PXP_HW_PXP_STAT_CLR
  3841. #define PXP_HW_PXP_STAT_TOG
  3842. #define PXP_HW_PXP_OUT_CTRL
  3843. #define PXP_HW_PXP_OUT_CTRL_SET
  3844. #define PXP_HW_PXP_OUT_CTRL_CLR
  3845. #define PXP_HW_PXP_OUT_CTRL_TOG
  3846. #define PXP_HW_PXP_OUT_BUF
  3847. #define PXP_HW_PXP_OUT_BUF2
  3848. #define PXP_HW_PXP_OUT_PITCH
  3849. #define PXP_HW_PXP_OUT_LRC
  3850. #define PXP_HW_PXP_OUT_PS_ULC
  3851. #define PXP_HW_PXP_OUT_PS_LRC
  3852. #define PXP_HW_PXP_OUT_AS_ULC
  3853. #define PXP_HW_PXP_OUT_AS_LRC
  3854. #define PXP_HW_PXP_PS_CTRL
  3855. #define PXP_HW_PXP_PS_CTRL_SET
  3856. #define PXP_HW_PXP_PS_CTRL_CLR
  3857. #define PXP_HW_PXP_PS_CTRL_TOG
  3858. #define PXP_HW_PXP_PS_BUF
  3859. #define PXP_HW_PXP_PS_UBUF
  3860. #define PXP_HW_PXP_PS_VBUF
  3861. #define PXP_HW_PXP_PS_PITCH
  3862. #define PXP_HW_PXP_PS_BACKGROUND_0
  3863. #define PXP_HW_PXP_PS_SCALE
  3864. #define PXP_HW_PXP_PS_OFFSET
  3865. #define PXP_HW_PXP_PS_CLRKEYLOW_0
  3866. #define PXP_HW_PXP_PS_CLRKEYHIGH_0
  3867. #define PXP_HW_PXP_AS_CTRL
  3868. #define PXP_HW_PXP_AS_BUF
  3869. #define PXP_HW_PXP_AS_PITCH
  3870. #define PXP_HW_PXP_AS_CLRKEYLOW_0
  3871. #define PXP_HW_PXP_AS_CLRKEYHIGH_0
  3872. #define PXP_HW_PXP_CSC1_COEF0
  3873. #define PXP_HW_PXP_CSC1_COEF1
  3874. #define PXP_HW_PXP_CSC1_COEF2
  3875. #define PXP_HW_PXP_CSC2_CTRL
  3876. #define PXP_HW_PXP_CSC2_COEF0
  3877. #define PXP_HW_PXP_CSC2_COEF1
  3878. #define PXP_HW_PXP_CSC2_COEF2
  3879. #define PXP_HW_PXP_CSC2_COEF3
  3880. #define PXP_HW_PXP_CSC2_COEF4
  3881. #define PXP_HW_PXP_CSC2_COEF5
  3882. #define PXP_HW_PXP_LUT_CTRL
  3883. #define PXP_HW_PXP_LUT_ADDR
  3884. #define PXP_HW_PXP_LUT_DATA
  3885. #define PXP_HW_PXP_LUT_EXTMEM
  3886. #define PXP_HW_PXP_CFA
  3887. #define PXP_HW_PXP_ALPHA_A_CTRL
  3888. #define PXP_HW_PXP_PS_BACKGROUND_1
  3889. #define PXP_HW_PXP_PS_CLRKEYLOW_1
  3890. #define PXP_HW_PXP_PS_CLRKEYHIGH_1
  3891. #define PXP_HW_PXP_AS_CLRKEYLOW_1
  3892. #define PXP_HW_PXP_AS_CLRKEYHIGH_1
  3893. #define PXP_HW_PXP_CTRL2
  3894. #define PXP_HW_PXP_CTRL2_SET
  3895. #define PXP_HW_PXP_CTRL2_CLR
  3896. #define PXP_HW_PXP_CTRL2_TOG
  3897. #define PXP_HW_PXP_POWER_REG0
  3898. #define PXP_HW_PXP_POWER_REG1
  3899. #define PXP_HW_PXP_DATA_PATH_CTRL0
  3900. #define PXP_HW_PXP_DATA_PATH_CTRL0_SET
  3901. #define PXP_HW_PXP_DATA_PATH_CTRL0_CLR
  3902. #define PXP_HW_PXP_DATA_PATH_CTRL0_TOG
  3903. #define PXP_HW_PXP_DATA_PATH_CTRL1
  3904. #define PXP_HW_PXP_DATA_PATH_CTRL1_SET
  3905. #define PXP_HW_PXP_DATA_PATH_CTRL1_CLR
  3906. #define PXP_HW_PXP_DATA_PATH_CTRL1_TOG
  3907. #define PXP_HW_PXP_INIT_MEM_CTRL
  3908. #define PXP_HW_PXP_INIT_MEM_CTRL_SET
  3909. #define PXP_HW_PXP_INIT_MEM_CTRL_CLR
  3910. #define PXP_HW_PXP_INIT_MEM_CTRL_TOG
  3911. #define PXP_HW_PXP_INIT_MEM_DATA
  3912. #define PXP_HW_PXP_INIT_MEM_DATA_HIGH
  3913. #define PXP_HW_PXP_IRQ_MASK
  3914. #define PXP_HW_PXP_IRQ_MASK_SET
  3915. #define PXP_HW_PXP_IRQ_MASK_CLR
  3916. #define PXP_HW_PXP_IRQ_MASK_TOG
  3917. #define PXP_HW_PXP_IRQ
  3918. #define PXP_HW_PXP_IRQ_SET
  3919. #define PXP_HW_PXP_IRQ_CLR
  3920. #define PXP_HW_PXP_IRQ_TOG
  3921. #define PXP_HW_PXP_NEXT_EN
  3922. #define PXP_HW_PXP_NEXT_EN_SET
  3923. #define PXP_HW_PXP_NEXT_EN_CLR
  3924. #define PXP_HW_PXP_NEXT_EN_TOG
  3925. #define PXP_HW_PXP_NEXT
  3926. #define PXP_HW_PXP_DEBUGCTRL
  3927. #define PXP_HW_PXP_DEBUG
  3928. #define PXP_HW_PXP_VERSION
  3929. #define PXP_HW_PXP_DITHER_STORE_SIZE_CH0
  3930. #define PXP_HW_PXP_WFB_FETCH_CTRL
  3931. #define PXP_HW_PXP_WFB_FETCH_CTRL_SET
  3932. #define PXP_HW_PXP_WFB_FETCH_CTRL_CLR
  3933. #define PXP_HW_PXP_WFB_FETCH_CTRL_TOG
  3934. #define PXP_HW_PXP_WFB_FETCH_BUF1_ADDR
  3935. #define PXP_HW_PXP_WFB_FETCH_BUF1_PITCH
  3936. #define PXP_HW_PXP_WFB_FETCH_BUF1_SIZE
  3937. #define PXP_HW_PXP_WFB_FETCH_BUF2_ADDR
  3938. #define PXP_HW_PXP_WFB_FETCH_BUF2_PITCH
  3939. #define PXP_HW_PXP_WFB_FETCH_BUF2_SIZE
  3940. #define PXP_HW_PXP_WFB_ARRAY_PIXEL0_MASK
  3941. #define PXP_HW_PXP_WFB_ARRAY_PIXEL1_MASK
  3942. #define PXP_HW_PXP_WFB_ARRAY_PIXEL2_MASK
  3943. #define PXP_HW_PXP_WFB_ARRAY_PIXEL3_MASK
  3944. #define PXP_HW_PXP_WFB_ARRAY_PIXEL4_MASK
  3945. #define PXP_HW_PXP_WFB_ARRAY_PIXEL5_MASK
  3946. #define PXP_HW_PXP_WFB_ARRAY_PIXEL6_MASK
  3947. #define PXP_HW_PXP_WFB_ARRAY_PIXEL7_MASK
  3948. #define PXP_HW_PXP_WFB_ARRAY_FLAG0_MASK
  3949. #define PXP_HW_PXP_WFB_ARRAY_FLAG1_MASK
  3950. #define PXP_HW_PXP_WFB_ARRAY_FLAG2_MASK
  3951. #define PXP_HW_PXP_WFB_ARRAY_FLAG3_MASK
  3952. #define PXP_HW_PXP_WFB_ARRAY_FLAG4_MASK
  3953. #define PXP_HW_PXP_WFB_ARRAY_FLAG5_MASK
  3954. #define PXP_HW_PXP_WFB_ARRAY_FLAG6_MASK
  3955. #define PXP_HW_PXP_WFB_ARRAY_FLAG7_MASK
  3956. #define PXP_HW_PXP_WFB_FETCH_BUF1_CORD
  3957. #define PXP_HW_PXP_WFB_FETCH_BUF2_CORD
  3958. #define PXP_HW_PXP_WFB_ARRAY_FLAG8_MASK
  3959. #define PXP_HW_PXP_WFB_ARRAY_FLAG9_MASK
  3960. #define PXP_HW_PXP_WFB_ARRAY_FLAG10_MASK
  3961. #define PXP_HW_PXP_WFB_ARRAY_FLAG11_MASK
  3962. #define PXP_HW_PXP_WFB_ARRAY_FLAG12_MASK
  3963. #define PXP_HW_PXP_WFB_ARRAY_FLAG13_MASK
  3964. #define PXP_HW_PXP_WFB_ARRAY_FLAG14_MASK
  3965. #define PXP_HW_PXP_WFB_ARRAY_FLAG15_MASK
  3966. #define PXP_HW_PXP_WFB_ARRAY_REG0
  3967. #define PXP_HW_PXP_WFB_ARRAY_REG1
  3968. #define PXP_HW_PXP_WFB_ARRAY_REG2
  3969. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH0
  3970. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH0_SET
  3971. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH0_CLR
  3972. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH0_TOG
  3973. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH1
  3974. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH1_SET
  3975. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH1_CLR
  3976. #define PXP_HW_PXP_WFE_B_STORE_CTRL_CH1_TOG
  3977. #define PXP_HW_PXP_WFE_B_STORE_STATUS_CH0
  3978. #define PXP_HW_PXP_WFE_B_STORE_STATUS_CH1
  3979. #define PXP_HW_PXP_WFE_B_STORE_SIZE_CH0
  3980. #define PXP_HW_PXP_WFE_B_STORE_SIZE_CH1
  3981. #define PXP_HW_PXP_WFE_B_STORE_PITCH
  3982. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH0
  3983. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH0_SET
  3984. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH0_CLR
  3985. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH0_TOG
  3986. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH1
  3987. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH1_SET
  3988. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH1_CLR
  3989. #define PXP_HW_PXP_WFE_B_STORE_SHIFT_CTRL_CH1_TOG
  3990. #define PXP_HW_PXP_WFE_B_STORE_ADDR_0_CH0
  3991. #define PXP_HW_PXP_WFE_B_STORE_ADDR_1_CH0
  3992. #define PXP_HW_PXP_WFE_B_STORE_FILL_DATA_CH0
  3993. #define PXP_HW_PXP_WFE_B_STORE_ADDR_0_CH1
  3994. #define PXP_HW_PXP_WFE_B_STORE_ADDR_1_CH1
  3995. #define PXP_HW_PXP_WFE_B_STORE_D_MASK0_H_CH0
  3996. #define PXP_HW_PXP_WFE_B_STORE_D_MASK0_L_CH0
  3997. #define PXP_HW_PXP_WFE_B_STORE_D_MASK1_H_CH0
  3998. #define PXP_HW_PXP_WFE_B_STORE_D_MASK1_L_CH0
  3999. #define PXP_HW_PXP_WFE_B_STORE_D_MASK2_H_CH0
  4000. #define PXP_HW_PXP_WFE_B_STORE_D_MASK2_L_CH0
  4001. #define PXP_HW_PXP_WFE_B_STORE_D_MASK3_H_CH0
  4002. #define PXP_HW_PXP_WFE_B_STORE_D_MASK3_L_CH0
  4003. #define PXP_HW_PXP_WFE_B_STORE_D_MASK4_H_CH0
  4004. #define PXP_HW_PXP_WFE_B_STORE_D_MASK4_L_CH0
  4005. #define PXP_HW_PXP_WFE_B_STORE_D_MASK5_H_CH0
  4006. #define PXP_HW_PXP_WFE_B_STORE_D_MASK5_L_CH0
  4007. #define PXP_HW_PXP_WFE_B_STORE_D_MASK6_H_CH0
  4008. #define PXP_HW_PXP_WFE_B_STORE_D_MASK6_L_CH0
  4009. #define PXP_HW_PXP_WFE_B_STORE_D_MASK7_H_CH0
  4010. #define PXP_HW_PXP_WFE_B_STORE_D_MASK7_L_CH0
  4011. #define PXP_HW_PXP_WFE_B_STORE_D_SHIFT_L_CH0
  4012. #define PXP_HW_PXP_WFE_B_STORE_D_SHIFT_H_CH0
  4013. #define PXP_HW_PXP_WFE_B_STORE_F_SHIFT_L_CH0
  4014. #define PXP_HW_PXP_WFE_B_STORE_F_SHIFT_H_CH0
  4015. #define PXP_HW_PXP_WFE_B_STORE_F_MASK_L_CH0
  4016. #define PXP_HW_PXP_WFE_B_STORE_F_MASK_H_CH0
  4017. #define PXP_HW_PXP_FETCH_WFE_B_DEBUG
  4018. #define PXP_HW_PXP_DITHER_CTRL
  4019. #define PXP_HW_PXP_DITHER_CTRL_SET
  4020. #define PXP_HW_PXP_DITHER_CTRL_CLR
  4021. #define PXP_HW_PXP_DITHER_CTRL_TOG
  4022. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA0
  4023. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA0_SET
  4024. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA0_CLR
  4025. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA0_TOG
  4026. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA1
  4027. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA1_SET
  4028. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA1_CLR
  4029. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA1_TOG
  4030. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA2
  4031. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA2_SET
  4032. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA2_CLR
  4033. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA2_TOG
  4034. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA3
  4035. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA3_SET
  4036. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA3_CLR
  4037. #define PXP_HW_PXP_DITHER_FINAL_LUT_DATA3_TOG
  4038. #define PXP_HW_PXP_WFE_B_CTRL
  4039. #define PXP_HW_PXP_WFE_B_CTRL_SET
  4040. #define PXP_HW_PXP_WFE_B_CTRL_CLR
  4041. #define PXP_HW_PXP_WFE_B_CTRL_TOG
  4042. #define PXP_HW_PXP_WFE_B_DIMENSIONS
  4043. #define PXP_HW_PXP_WFE_B_OFFSET
  4044. #define PXP_HW_PXP_WFE_B_SW_DATA_REGS
  4045. #define PXP_HW_PXP_WFE_B_SW_FLAG_REGS
  4046. #define PXP_HW_PXP_WFE_B_STAGE1_MUX0
  4047. #define PXP_HW_PXP_WFE_B_STAGE1_MUX0_SET
  4048. #define PXP_HW_PXP_WFE_B_STAGE1_MUX0_CLR
  4049. #define PXP_HW_PXP_WFE_B_STAGE1_MUX0_TOG
  4050. #define PXP_HW_PXP_WFE_B_STAGE1_MUX1
  4051. #define PXP_HW_PXP_WFE_B_STAGE1_MUX1_SET
  4052. #define PXP_HW_PXP_WFE_B_STAGE1_MUX1_CLR
  4053. #define PXP_HW_PXP_WFE_B_STAGE1_MUX1_TOG
  4054. #define PXP_HW_PXP_WFE_B_STAGE1_MUX2
  4055. #define PXP_HW_PXP_WFE_B_STAGE1_MUX2_SET
  4056. #define PXP_HW_PXP_WFE_B_STAGE1_MUX2_CLR
  4057. #define PXP_HW_PXP_WFE_B_STAGE1_MUX2_TOG
  4058. #define PXP_HW_PXP_WFE_B_STAGE1_MUX3
  4059. #define PXP_HW_PXP_WFE_B_STAGE1_MUX3_SET
  4060. #define PXP_HW_PXP_WFE_B_STAGE1_MUX3_CLR
  4061. #define PXP_HW_PXP_WFE_B_STAGE1_MUX3_TOG
  4062. #define PXP_HW_PXP_WFE_B_STAGE1_MUX4
  4063. #define PXP_HW_PXP_WFE_B_STAGE1_MUX4_SET
  4064. #define PXP_HW_PXP_WFE_B_STAGE1_MUX4_CLR
  4065. #define PXP_HW_PXP_WFE_B_STAGE1_MUX4_TOG
  4066. #define PXP_HW_PXP_WFE_B_STAGE1_MUX5
  4067. #define PXP_HW_PXP_WFE_B_STAGE1_MUX5_SET
  4068. #define PXP_HW_PXP_WFE_B_STAGE1_MUX5_CLR
  4069. #define PXP_HW_PXP_WFE_B_STAGE1_MUX5_TOG
  4070. #define PXP_HW_PXP_WFE_B_STAGE1_MUX6
  4071. #define PXP_HW_PXP_WFE_B_STAGE1_MUX6_SET
  4072. #define PXP_HW_PXP_WFE_B_STAGE1_MUX6_CLR
  4073. #define PXP_HW_PXP_WFE_B_STAGE1_MUX6_TOG
  4074. #define PXP_HW_PXP_WFE_B_STAGE1_MUX7
  4075. #define PXP_HW_PXP_WFE_B_STAGE1_MUX7_SET
  4076. #define PXP_HW_PXP_WFE_B_STAGE1_MUX7_CLR
  4077. #define PXP_HW_PXP_WFE_B_STAGE1_MUX7_TOG
  4078. #define PXP_HW_PXP_WFE_B_STAGE1_MUX8
  4079. #define PXP_HW_PXP_WFE_B_STAGE1_MUX8_SET
  4080. #define PXP_HW_PXP_WFE_B_STAGE1_MUX8_CLR
  4081. #define PXP_HW_PXP_WFE_B_STAGE1_MUX8_TOG
  4082. #define PXP_HW_PXP_WFE_B_STAGE2_MUX0
  4083. #define PXP_HW_PXP_WFE_B_STAGE2_MUX0_SET
  4084. #define PXP_HW_PXP_WFE_B_STAGE2_MUX0_CLR
  4085. #define PXP_HW_PXP_WFE_B_STAGE2_MUX0_TOG
  4086. #define PXP_HW_PXP_WFE_B_STAGE2_MUX1
  4087. #define PXP_HW_PXP_WFE_B_STAGE2_MUX1_SET
  4088. #define PXP_HW_PXP_WFE_B_STAGE2_MUX1_CLR
  4089. #define PXP_HW_PXP_WFE_B_STAGE2_MUX1_TOG
  4090. #define PXP_HW_PXP_WFE_B_STAGE2_MUX2
  4091. #define PXP_HW_PXP_WFE_B_STAGE2_MUX2_SET
  4092. #define PXP_HW_PXP_WFE_B_STAGE2_MUX2_CLR
  4093. #define PXP_HW_PXP_WFE_B_STAGE2_MUX2_TOG
  4094. #define PXP_HW_PXP_WFE_B_STAGE2_MUX3
  4095. #define PXP_HW_PXP_WFE_B_STAGE2_MUX3_SET
  4096. #define PXP_HW_PXP_WFE_B_STAGE2_MUX3_CLR
  4097. #define PXP_HW_PXP_WFE_B_STAGE2_MUX3_TOG
  4098. #define PXP_HW_PXP_WFE_B_STAGE2_MUX4
  4099. #define PXP_HW_PXP_WFE_B_STAGE2_MUX4_SET
  4100. #define PXP_HW_PXP_WFE_B_STAGE2_MUX4_CLR
  4101. #define PXP_HW_PXP_WFE_B_STAGE2_MUX4_TOG
  4102. #define PXP_HW_PXP_WFE_B_STAGE2_MUX5
  4103. #define PXP_HW_PXP_WFE_B_STAGE2_MUX5_SET
  4104. #define PXP_HW_PXP_WFE_B_STAGE2_MUX5_CLR
  4105. #define PXP_HW_PXP_WFE_B_STAGE2_MUX5_TOG
  4106. #define PXP_HW_PXP_WFE_B_STAGE2_MUX6
  4107. #define PXP_HW_PXP_WFE_B_STAGE2_MUX6_SET
  4108. #define PXP_HW_PXP_WFE_B_STAGE2_MUX6_CLR
  4109. #define PXP_HW_PXP_WFE_B_STAGE2_MUX6_TOG
  4110. #define PXP_HW_PXP_WFE_B_STAGE2_MUX7
  4111. #define PXP_HW_PXP_WFE_B_STAGE2_MUX7_SET
  4112. #define PXP_HW_PXP_WFE_B_STAGE2_MUX7_CLR
  4113. #define PXP_HW_PXP_WFE_B_STAGE2_MUX7_TOG
  4114. #define PXP_HW_PXP_WFE_B_STAGE2_MUX8
  4115. #define PXP_HW_PXP_WFE_B_STAGE2_MUX8_SET
  4116. #define PXP_HW_PXP_WFE_B_STAGE2_MUX8_CLR
  4117. #define PXP_HW_PXP_WFE_B_STAGE2_MUX8_TOG
  4118. #define PXP_HW_PXP_WFE_B_STAGE2_MUX9
  4119. #define PXP_HW_PXP_WFE_B_STAGE2_MUX9_SET
  4120. #define PXP_HW_PXP_WFE_B_STAGE2_MUX9_CLR
  4121. #define PXP_HW_PXP_WFE_B_STAGE2_MUX9_TOG
  4122. #define PXP_HW_PXP_WFE_B_STAGE2_MUX10
  4123. #define PXP_HW_PXP_WFE_B_STAGE2_MUX10_SET
  4124. #define PXP_HW_PXP_WFE_B_STAGE2_MUX10_CLR
  4125. #define PXP_HW_PXP_WFE_B_STAGE2_MUX10_TOG
  4126. #define PXP_HW_PXP_WFE_B_STAGE2_MUX11
  4127. #define PXP_HW_PXP_WFE_B_STAGE2_MUX11_SET
  4128. #define PXP_HW_PXP_WFE_B_STAGE2_MUX11_CLR
  4129. #define PXP_HW_PXP_WFE_B_STAGE2_MUX11_TOG
  4130. #define PXP_HW_PXP_WFE_B_STAGE2_MUX12
  4131. #define PXP_HW_PXP_WFE_B_STAGE2_MUX12_SET
  4132. #define PXP_HW_PXP_WFE_B_STAGE2_MUX12_CLR
  4133. #define PXP_HW_PXP_WFE_B_STAGE2_MUX12_TOG
  4134. #define PXP_HW_PXP_WFE_B_STAGE3_MUX0
  4135. #define PXP_HW_PXP_WFE_B_STAGE3_MUX0_SET
  4136. #define PXP_HW_PXP_WFE_B_STAGE3_MUX0_CLR
  4137. #define PXP_HW_PXP_WFE_B_STAGE3_MUX0_TOG
  4138. #define PXP_HW_PXP_WFE_B_STAGE3_MUX1
  4139. #define PXP_HW_PXP_WFE_B_STAGE3_MUX1_SET
  4140. #define PXP_HW_PXP_WFE_B_STAGE3_MUX1_CLR
  4141. #define PXP_HW_PXP_WFE_B_STAGE3_MUX1_TOG
  4142. #define PXP_HW_PXP_WFE_B_STAGE3_MUX2
  4143. #define PXP_HW_PXP_WFE_B_STAGE3_MUX2_SET
  4144. #define PXP_HW_PXP_WFE_B_STAGE3_MUX2_CLR
  4145. #define PXP_HW_PXP_WFE_B_STAGE3_MUX2_TOG
  4146. #define PXP_HW_PXP_WFE_B_STAGE3_MUX3
  4147. #define PXP_HW_PXP_WFE_B_STAGE3_MUX3_SET
  4148. #define PXP_HW_PXP_WFE_B_STAGE3_MUX3_CLR
  4149. #define PXP_HW_PXP_WFE_B_STAGE3_MUX3_TOG
  4150. #define PXP_HW_PXP_WFE_B_STAGE3_MUX4
  4151. #define PXP_HW_PXP_WFE_B_STAGE3_MUX4_SET
  4152. #define PXP_HW_PXP_WFE_B_STAGE3_MUX4_CLR
  4153. #define PXP_HW_PXP_WFE_B_STAGE3_MUX4_TOG
  4154. #define PXP_HW_PXP_WFE_B_STAGE3_MUX5
  4155. #define PXP_HW_PXP_WFE_B_STAGE3_MUX5_SET
  4156. #define PXP_HW_PXP_WFE_B_STAGE3_MUX5_CLR
  4157. #define PXP_HW_PXP_WFE_B_STAGE3_MUX5_TOG
  4158. #define PXP_HW_PXP_WFE_B_STAGE3_MUX6
  4159. #define PXP_HW_PXP_WFE_B_STAGE3_MUX6_SET
  4160. #define PXP_HW_PXP_WFE_B_STAGE3_MUX6_CLR
  4161. #define PXP_HW_PXP_WFE_B_STAGE3_MUX6_TOG
  4162. #define PXP_HW_PXP_WFE_B_STAGE3_MUX7
  4163. #define PXP_HW_PXP_WFE_B_STAGE3_MUX7_SET
  4164. #define PXP_HW_PXP_WFE_B_STAGE3_MUX7_CLR
  4165. #define PXP_HW_PXP_WFE_B_STAGE3_MUX7_TOG
  4166. #define PXP_HW_PXP_WFE_B_STAGE3_MUX8
  4167. #define PXP_HW_PXP_WFE_B_STAGE3_MUX8_SET
  4168. #define PXP_HW_PXP_WFE_B_STAGE3_MUX8_CLR
  4169. #define PXP_HW_PXP_WFE_B_STAGE3_MUX8_TOG
  4170. #define PXP_HW_PXP_WFE_B_STAGE3_MUX9
  4171. #define PXP_HW_PXP_WFE_B_STAGE3_MUX9_SET
  4172. #define PXP_HW_PXP_WFE_B_STAGE3_MUX9_CLR
  4173. #define PXP_HW_PXP_WFE_B_STAGE3_MUX9_TOG
  4174. #define PXP_HW_PXP_WFE_B_STAGE3_MUX10
  4175. #define PXP_HW_PXP_WFE_B_STAGE3_MUX10_SET
  4176. #define PXP_HW_PXP_WFE_B_STAGE3_MUX10_CLR
  4177. #define PXP_HW_PXP_WFE_B_STAGE3_MUX10_TOG
  4178. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_0
  4179. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_1
  4180. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_2
  4181. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_3
  4182. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_4
  4183. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_5
  4184. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_6
  4185. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT0_7
  4186. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_0
  4187. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_1
  4188. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_2
  4189. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_3
  4190. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_4
  4191. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_5
  4192. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_6
  4193. #define PXP_HW_PXP_WFE_B_STG1_5X8_OUT1_7
  4194. #define PXP_HW_PXP_WFE_B_STAGE1_5X8_MASKS_0
  4195. #define PXP_HW_PXP_WFE_B_STG1_5X1_OUT0
  4196. #define PXP_HW_PXP_WFE_B_STG1_5X1_MASKS
  4197. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_0
  4198. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_1
  4199. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_2
  4200. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_3
  4201. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_4
  4202. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_5
  4203. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_6
  4204. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT0_7
  4205. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_0
  4206. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_1
  4207. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_2
  4208. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_3
  4209. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_4
  4210. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_5
  4211. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_6
  4212. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT1_7
  4213. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_0
  4214. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_1
  4215. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_2
  4216. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_3
  4217. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_4
  4218. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_5
  4219. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_6
  4220. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT2_7
  4221. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_0
  4222. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_1
  4223. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_2
  4224. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_3
  4225. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_4
  4226. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_5
  4227. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_6
  4228. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT3_7
  4229. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_0
  4230. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_1
  4231. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_2
  4232. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_3
  4233. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_4
  4234. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_5
  4235. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_6
  4236. #define PXP_HW_PXP_WFE_B_STG1_8X1_OUT4_7
  4237. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_0
  4238. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_1
  4239. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_2
  4240. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_3
  4241. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_4
  4242. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_5
  4243. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_6
  4244. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT0_7
  4245. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_0
  4246. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_1
  4247. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_2
  4248. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_3
  4249. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_4
  4250. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_5
  4251. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_6
  4252. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT1_7
  4253. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_0
  4254. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_1
  4255. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_2
  4256. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_3
  4257. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_4
  4258. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_5
  4259. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_6
  4260. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT2_7
  4261. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_0
  4262. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_1
  4263. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_2
  4264. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_3
  4265. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_4
  4266. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_5
  4267. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_6
  4268. #define PXP_HW_PXP_WFE_B_STG2_5X6_OUT3_7
  4269. #define PXP_HW_PXP_WFE_B_STAGE2_5X6_MASKS_0
  4270. #define PXP_HW_PXP_WFE_B_STAGE2_5X6_ADDR_0
  4271. #define PXP_HW_PXP_WFE_B_STG2_5X1_OUT0
  4272. #define PXP_HW_PXP_WFE_B_STG2_5X1_OUT1
  4273. #define PXP_HW_PXP_WFE_B_STG2_5X1_OUT2
  4274. #define PXP_HW_PXP_WFE_B_STG2_5X1_OUT3
  4275. #define PXP_HW_PXP_WFE_B_STG2_5X1_MASKS
  4276. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_0
  4277. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_1
  4278. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_2
  4279. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_3
  4280. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_4
  4281. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_5
  4282. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_6
  4283. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT0_7
  4284. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_0
  4285. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_1
  4286. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_2
  4287. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_3
  4288. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_4
  4289. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_5
  4290. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_6
  4291. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT1_7
  4292. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_0
  4293. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_1
  4294. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_2
  4295. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_3
  4296. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_4
  4297. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_5
  4298. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_6
  4299. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT2_7
  4300. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_0
  4301. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_1
  4302. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_2
  4303. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_3
  4304. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_4
  4305. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_5
  4306. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_6
  4307. #define PXP_HW_PXP_WFE_B_STG3_F8X1_OUT3_7
  4308. #define PXP_HW_PXP_WFE_B_STG3_F8X1_MASKS
  4309. #define PXP_HW_PXP_ALU_B_CTRL
  4310. #define PXP_HW_PXP_ALU_B_CTRL_SET
  4311. #define PXP_HW_PXP_ALU_B_CTRL_CLR
  4312. #define PXP_HW_PXP_ALU_B_CTRL_TOG
  4313. #define PXP_HW_PXP_ALU_B_BUF_SIZE
  4314. #define PXP_HW_PXP_ALU_B_INST_ENTRY
  4315. #define PXP_HW_PXP_ALU_B_PARAM
  4316. #define PXP_HW_PXP_ALU_B_CONFIG
  4317. #define PXP_HW_PXP_ALU_B_LUT_CONFIG
  4318. #define PXP_HW_PXP_ALU_B_LUT_CONFIG_SET
  4319. #define PXP_HW_PXP_ALU_B_LUT_CONFIG_CLR
  4320. #define PXP_HW_PXP_ALU_B_LUT_CONFIG_TOG
  4321. #define PXP_HW_PXP_ALU_B_LUT_DATA0
  4322. #define PXP_HW_PXP_ALU_B_LUT_DATA1
  4323. #define PXP_HW_PXP_ALU_B_DBG
  4324. #define PXP_HW_PXP_HIST_A_CTRL
  4325. #define PXP_HW_PXP_HIST_A_MASK
  4326. #define PXP_HW_PXP_HIST_A_BUF_SIZE
  4327. #define PXP_HW_PXP_HIST_A_TOTAL_PIXEL
  4328. #define PXP_HW_PXP_HIST_A_ACTIVE_AREA_X
  4329. #define PXP_HW_PXP_HIST_A_ACTIVE_AREA_Y
  4330. #define PXP_HW_PXP_HIST_A_RAW_STAT0
  4331. #define PXP_HW_PXP_HIST_A_RAW_STAT1
  4332. #define PXP_HW_PXP_HIST_B_CTRL
  4333. #define PXP_HW_PXP_HIST_B_MASK
  4334. #define PXP_HW_PXP_HIST_B_BUF_SIZE
  4335. #define PXP_HW_PXP_HIST_B_TOTAL_PIXEL
  4336. #define PXP_HW_PXP_HIST_B_ACTIVE_AREA_X
  4337. #define PXP_HW_PXP_HIST_B_ACTIVE_AREA_Y
  4338. #define PXP_HW_PXP_HIST_B_RAW_STAT0
  4339. #define PXP_HW_PXP_HIST_B_RAW_STAT1
  4340. #define PXP_HW_PXP_HIST2_PARAM
  4341. #define PXP_HW_PXP_HIST4_PARAM
  4342. #define PXP_HW_PXP_HIST8_PARAM0
  4343. #define PXP_HW_PXP_HIST8_PARAM1
  4344. #define PXP_HW_PXP_HIST16_PARAM0
  4345. #define PXP_HW_PXP_HIST16_PARAM1
  4346. #define PXP_HW_PXP_HIST16_PARAM2
  4347. #define PXP_HW_PXP_HIST16_PARAM3
  4348. #define PXP_HW_PXP_HIST32_PARAM0
  4349. #define PXP_HW_PXP_HIST32_PARAM1
  4350. #define PXP_HW_PXP_HIST32_PARAM2
  4351. #define PXP_HW_PXP_HIST32_PARAM3
  4352. #define PXP_HW_PXP_HIST32_PARAM4
  4353. #define PXP_HW_PXP_HIST32_PARAM5
  4354. #define PXP_HW_PXP_HIST32_PARAM6
  4355. #define PXP_HW_PXP_HIST32_PARAM7
  4356. #define PXP_HW_PXP_HANDSHAKE_READY_MUX0
  4357. #define PXP_HW_PXP_HANDSHAKE_DONE_MUX0
  4358. // page 3147
  4359. #define IMXRT_TMR1 (*(IMXRT_REGISTER16_t *)0x401DC000)
  4360. #define TMR1_COMP10 (IMXRT_TMR1.offset000)
  4361. #define TMR1_COMP20 (IMXRT_TMR1.offset002)
  4362. #define TMR1_CAPT0 (IMXRT_TMR1.offset004)
  4363. #define TMR1_LOAD0 (IMXRT_TMR1.offset006)
  4364. #define TMR1_HOLD0 (IMXRT_TMR1.offset008)
  4365. #define TMR1_CNTR0 (IMXRT_TMR1.offset00A)
  4366. #define TMR1_CTRL0 (IMXRT_TMR1.offset00C)
  4367. #define TMR1_SCTRL0 (IMXRT_TMR1.offset00E)
  4368. #define TMR1_CMPLD10 (IMXRT_TMR1.offset010)
  4369. #define TMR1_CMPLD20 (IMXRT_TMR1.offset012)
  4370. #define TMR1_CSCTRL0 (IMXRT_TMR1.offset014)
  4371. #define TMR1_FILT0 (IMXRT_TMR1.offset016)
  4372. #define TMR1_DMA0 (IMXRT_TMR1.offset018)
  4373. #define TMR1_ENBL (IMXRT_TMR1.offset01E)
  4374. #define TMR1_COMP11 (IMXRT_TMR1.offset020)
  4375. #define TMR1_COMP21 (IMXRT_TMR1.offset022)
  4376. #define TMR1_CAPT1 (IMXRT_TMR1.offset024)
  4377. #define TMR1_LOAD1 (IMXRT_TMR1.offset026)
  4378. #define TMR1_HOLD1 (IMXRT_TMR1.offset028)
  4379. #define TMR1_CNTR1 (IMXRT_TMR1.offset02A)
  4380. #define TMR1_CTRL1 (IMXRT_TMR1.offset02C)
  4381. #define TMR1_SCTRL1 (IMXRT_TMR1.offset02E)
  4382. #define TMR1_CMPLD11 (IMXRT_TMR1.offset030)
  4383. #define TMR1_CMPLD21 (IMXRT_TMR1.offset032)
  4384. #define TMR1_CSCTRL1 (IMXRT_TMR1.offset034)
  4385. #define TMR1_FILT1 (IMXRT_TMR1.offset036)
  4386. #define TMR1_DMA1 (IMXRT_TMR1.offset038)
  4387. #define TMR1_COMP12 (IMXRT_TMR1.offset040)
  4388. #define TMR1_COMP22 (IMXRT_TMR1.offset042)
  4389. #define TMR1_CAPT2 (IMXRT_TMR1.offset044)
  4390. #define TMR1_LOAD2 (IMXRT_TMR1.offset046)
  4391. #define TMR1_HOLD2 (IMXRT_TMR1.offset048)
  4392. #define TMR1_CNTR2 (IMXRT_TMR1.offset04A)
  4393. #define TMR1_CTRL2 (IMXRT_TMR1.offset04C)
  4394. #define TMR1_SCTRL2 (IMXRT_TMR1.offset04E)
  4395. #define TMR1_CMPLD12 (IMXRT_TMR1.offset050)
  4396. #define TMR1_CMPLD22 (IMXRT_TMR1.offset052)
  4397. #define TMR1_CSCTRL2 (IMXRT_TMR1.offset054)
  4398. #define TMR1_FILT2 (IMXRT_TMR1.offset056)
  4399. #define TMR1_DMA2 (IMXRT_TMR1.offset058)
  4400. #define TMR1_COMP13 (IMXRT_TMR1.offset060)
  4401. #define TMR1_COMP23 (IMXRT_TMR1.offset062)
  4402. #define TMR1_CAPT3 (IMXRT_TMR1.offset064)
  4403. #define TMR1_LOAD3 (IMXRT_TMR1.offset066)
  4404. #define TMR1_HOLD3 (IMXRT_TMR1.offset068)
  4405. #define TMR1_CNTR3 (IMXRT_TMR1.offset06A)
  4406. #define TMR1_CTRL3 (IMXRT_TMR1.offset06C)
  4407. #define TMR1_SCTRL3 (IMXRT_TMR1.offset06E)
  4408. #define TMR1_CMPLD13 (IMXRT_TMR1.offset070)
  4409. #define TMR1_CMPLD23 (IMXRT_TMR1.offset072)
  4410. #define TMR1_CSCTRL3 (IMXRT_TMR1.offset074)
  4411. #define TMR1_FILT3 (IMXRT_TMR1.offset076)
  4412. #define TMR1_DMA3 (IMXRT_TMR1.offset078)
  4413. #define IMXRT_TMR2 (*(IMXRT_REGISTER16_t *)0x401E0000)
  4414. #define TMR2_COMP10 (IMXRT_TMR2.offset000)
  4415. #define TMR2_COMP20 (IMXRT_TMR2.offset002)
  4416. #define TMR2_CAPT0 (IMXRT_TMR2.offset004)
  4417. #define TMR2_LOAD0 (IMXRT_TMR2.offset006)
  4418. #define TMR2_HOLD0 (IMXRT_TMR2.offset008)
  4419. #define TMR2_CNTR0 (IMXRT_TMR2.offset00A)
  4420. #define TMR2_CTRL0 (IMXRT_TMR2.offset00C)
  4421. #define TMR2_SCTRL0 (IMXRT_TMR2.offset00E)
  4422. #define TMR2_CMPLD10 (IMXRT_TMR2.offset010)
  4423. #define TMR2_CMPLD20 (IMXRT_TMR2.offset012)
  4424. #define TMR2_CSCTRL0 (IMXRT_TMR2.offset014)
  4425. #define TMR2_FILT0 (IMXRT_TMR2.offset016)
  4426. #define TMR2_DMA0 (IMXRT_TMR2.offset018)
  4427. #define TMR2_ENBL (IMXRT_TMR2.offset01E)
  4428. #define TMR2_COMP11 (IMXRT_TMR2.offset020)
  4429. #define TMR2_COMP21 (IMXRT_TMR2.offset022)
  4430. #define TMR2_CAPT1 (IMXRT_TMR2.offset024)
  4431. #define TMR2_LOAD1 (IMXRT_TMR2.offset026)
  4432. #define TMR2_HOLD1 (IMXRT_TMR2.offset028)
  4433. #define TMR2_CNTR1 (IMXRT_TMR2.offset02A)
  4434. #define TMR2_CTRL1 (IMXRT_TMR2.offset02C)
  4435. #define TMR2_SCTRL1 (IMXRT_TMR2.offset02E)
  4436. #define TMR2_CMPLD11 (IMXRT_TMR2.offset030)
  4437. #define TMR2_CMPLD21 (IMXRT_TMR2.offset032)
  4438. #define TMR2_CSCTRL1 (IMXRT_TMR2.offset034)
  4439. #define TMR2_FILT1 (IMXRT_TMR2.offset036)
  4440. #define TMR2_DMA1 (IMXRT_TMR2.offset038)
  4441. #define TMR2_COMP12 (IMXRT_TMR2.offset040)
  4442. #define TMR2_COMP22 (IMXRT_TMR2.offset042)
  4443. #define TMR2_CAPT2 (IMXRT_TMR2.offset044)
  4444. #define TMR2_LOAD2 (IMXRT_TMR2.offset046)
  4445. #define TMR2_HOLD2 (IMXRT_TMR2.offset048)
  4446. #define TMR2_CNTR2 (IMXRT_TMR2.offset04A)
  4447. #define TMR2_CTRL2 (IMXRT_TMR2.offset04C)
  4448. #define TMR2_SCTRL2 (IMXRT_TMR2.offset04E)
  4449. #define TMR2_CMPLD12 (IMXRT_TMR2.offset050)
  4450. #define TMR2_CMPLD22 (IMXRT_TMR2.offset052)
  4451. #define TMR2_CSCTRL2 (IMXRT_TMR2.offset054)
  4452. #define TMR2_FILT2 (IMXRT_TMR2.offset056)
  4453. #define TMR2_DMA2 (IMXRT_TMR2.offset058)
  4454. #define TMR2_COMP13 (IMXRT_TMR2.offset060)
  4455. #define TMR2_COMP23 (IMXRT_TMR2.offset062)
  4456. #define TMR2_CAPT3 (IMXRT_TMR2.offset064)
  4457. #define TMR2_LOAD3 (IMXRT_TMR2.offset066)
  4458. #define TMR2_HOLD3 (IMXRT_TMR2.offset068)
  4459. #define TMR2_CNTR3 (IMXRT_TMR2.offset06A)
  4460. #define TMR2_CTRL3 (IMXRT_TMR2.offset06C)
  4461. #define TMR2_SCTRL3 (IMXRT_TMR2.offset06E)
  4462. #define TMR2_CMPLD13 (IMXRT_TMR2.offset070)
  4463. #define TMR2_CMPLD23 (IMXRT_TMR2.offset072)
  4464. #define TMR2_CSCTRL3 (IMXRT_TMR2.offset074)
  4465. #define TMR2_FILT3 (IMXRT_TMR2.offset076)
  4466. #define TMR2_DMA3 (IMXRT_TMR2.offset078)
  4467. #define IMXRT_TMR3 (*(IMXRT_REGISTER16_t *)0x401E4000)
  4468. #define TMR3_COMP10 (IMXRT_TMR3.offset000)
  4469. #define TMR3_COMP20 (IMXRT_TMR3.offset002)
  4470. #define TMR3_CAPT0 (IMXRT_TMR3.offset004)
  4471. #define TMR3_LOAD0 (IMXRT_TMR3.offset006)
  4472. #define TMR3_HOLD0 (IMXRT_TMR3.offset008)
  4473. #define TMR3_CNTR0 (IMXRT_TMR3.offset00A)
  4474. #define TMR3_CTRL0 (IMXRT_TMR3.offset00C)
  4475. #define TMR3_SCTRL0 (IMXRT_TMR3.offset00E)
  4476. #define TMR3_CMPLD10 (IMXRT_TMR3.offset010)
  4477. #define TMR3_CMPLD20 (IMXRT_TMR3.offset012)
  4478. #define TMR3_CSCTRL0 (IMXRT_TMR3.offset014)
  4479. #define TMR3_FILT0 (IMXRT_TMR3.offset016)
  4480. #define TMR3_DMA0 (IMXRT_TMR3.offset018)
  4481. #define TMR3_ENBL (IMXRT_TMR3.offset01E)
  4482. #define TMR3_COMP11 (IMXRT_TMR3.offset020)
  4483. #define TMR3_COMP21 (IMXRT_TMR3.offset022)
  4484. #define TMR3_CAPT1 (IMXRT_TMR3.offset024)
  4485. #define TMR3_LOAD1 (IMXRT_TMR3.offset026)
  4486. #define TMR3_HOLD1 (IMXRT_TMR3.offset028)
  4487. #define TMR3_CNTR1 (IMXRT_TMR3.offset02A)
  4488. #define TMR3_CTRL1 (IMXRT_TMR3.offset02C)
  4489. #define TMR3_SCTRL1 (IMXRT_TMR3.offset02E)
  4490. #define TMR3_CMPLD11 (IMXRT_TMR3.offset030)
  4491. #define TMR3_CMPLD21 (IMXRT_TMR3.offset032)
  4492. #define TMR3_CSCTRL1 (IMXRT_TMR3.offset034)
  4493. #define TMR3_FILT1 (IMXRT_TMR3.offset036)
  4494. #define TMR3_DMA1 (IMXRT_TMR3.offset038)
  4495. #define TMR3_COMP12 (IMXRT_TMR3.offset040)
  4496. #define TMR3_COMP22 (IMXRT_TMR3.offset042)
  4497. #define TMR3_CAPT2 (IMXRT_TMR3.offset044)
  4498. #define TMR3_LOAD2 (IMXRT_TMR3.offset046)
  4499. #define TMR3_HOLD2 (IMXRT_TMR3.offset048)
  4500. #define TMR3_CNTR2 (IMXRT_TMR3.offset04A)
  4501. #define TMR3_CTRL2 (IMXRT_TMR3.offset04C)
  4502. #define TMR3_SCTRL2 (IMXRT_TMR3.offset04E)
  4503. #define TMR3_CMPLD12 (IMXRT_TMR3.offset050)
  4504. #define TMR3_CMPLD22 (IMXRT_TMR3.offset052)
  4505. #define TMR3_CSCTRL2 (IMXRT_TMR3.offset054)
  4506. #define TMR3_FILT2 (IMXRT_TMR3.offset056)
  4507. #define TMR3_DMA2 (IMXRT_TMR3.offset058)
  4508. #define TMR3_COMP13 (IMXRT_TMR3.offset060)
  4509. #define TMR3_COMP23 (IMXRT_TMR3.offset062)
  4510. #define TMR3_CAPT3 (IMXRT_TMR3.offset064)
  4511. #define TMR3_LOAD3 (IMXRT_TMR3.offset066)
  4512. #define TMR3_HOLD3 (IMXRT_TMR3.offset068)
  4513. #define TMR3_CNTR3 (IMXRT_TMR3.offset06A)
  4514. #define TMR3_CTRL3 (IMXRT_TMR3.offset06C)
  4515. #define TMR3_SCTRL3 (IMXRT_TMR3.offset06E)
  4516. #define TMR3_CMPLD13 (IMXRT_TMR3.offset070)
  4517. #define TMR3_CMPLD23 (IMXRT_TMR3.offset072)
  4518. #define TMR3_CSCTRL3 (IMXRT_TMR3.offset074)
  4519. #define TMR3_FILT3 (IMXRT_TMR3.offset076)
  4520. #define TMR3_DMA3 (IMXRT_TMR3.offset078)
  4521. #define IMXRT_TMR4 (*(IMXRT_REGISTER16_t *)0x401E8000)
  4522. #define TMR4_COMP10 (IMXRT_TMR4.offset000)
  4523. #define TMR4_COMP20 (IMXRT_TMR4.offset002)
  4524. #define TMR4_CAPT0 (IMXRT_TMR4.offset004)
  4525. #define TMR4_LOAD0 (IMXRT_TMR4.offset006)
  4526. #define TMR4_HOLD0 (IMXRT_TMR4.offset008)
  4527. #define TMR4_CNTR0 (IMXRT_TMR4.offset00A)
  4528. #define TMR4_CTRL0 (IMXRT_TMR4.offset00C)
  4529. #define TMR4_SCTRL0 (IMXRT_TMR4.offset00E)
  4530. #define TMR4_CMPLD10 (IMXRT_TMR4.offset010)
  4531. #define TMR4_CMPLD20 (IMXRT_TMR4.offset012)
  4532. #define TMR4_CSCTRL0 (IMXRT_TMR4.offset014)
  4533. #define TMR4_FILT0 (IMXRT_TMR4.offset016)
  4534. #define TMR4_DMA0 (IMXRT_TMR4.offset018)
  4535. #define TMR4_ENBL (IMXRT_TMR4.offset01E)
  4536. #define TMR4_COMP11 (IMXRT_TMR4.offset020)
  4537. #define TMR4_COMP21 (IMXRT_TMR4.offset022)
  4538. #define TMR4_CAPT1 (IMXRT_TMR4.offset024)
  4539. #define TMR4_LOAD1 (IMXRT_TMR4.offset026)
  4540. #define TMR4_HOLD1 (IMXRT_TMR4.offset028)
  4541. #define TMR4_CNTR1 (IMXRT_TMR4.offset02A)
  4542. #define TMR4_CTRL1 (IMXRT_TMR4.offset02C)
  4543. #define TMR4_SCTRL1 (IMXRT_TMR4.offset02E)
  4544. #define TMR4_CMPLD11 (IMXRT_TMR4.offset030)
  4545. #define TMR4_CMPLD21 (IMXRT_TMR4.offset032)
  4546. #define TMR4_CSCTRL1 (IMXRT_TMR4.offset034)
  4547. #define TMR4_FILT1 (IMXRT_TMR4.offset036)
  4548. #define TMR4_DMA1 (IMXRT_TMR4.offset038)
  4549. #define TMR4_COMP12 (IMXRT_TMR4.offset040)
  4550. #define TMR4_COMP22 (IMXRT_TMR4.offset042)
  4551. #define TMR4_CAPT2 (IMXRT_TMR4.offset044)
  4552. #define TMR4_LOAD2 (IMXRT_TMR4.offset046)
  4553. #define TMR4_HOLD2 (IMXRT_TMR4.offset048)
  4554. #define TMR4_CNTR2 (IMXRT_TMR4.offset04A)
  4555. #define TMR4_CTRL2 (IMXRT_TMR4.offset04C)
  4556. #define TMR4_SCTRL2 (IMXRT_TMR4.offset04E)
  4557. #define TMR4_CMPLD12 (IMXRT_TMR4.offset050)
  4558. #define TMR4_CMPLD22 (IMXRT_TMR4.offset052)
  4559. #define TMR4_CSCTRL2 (IMXRT_TMR4.offset054)
  4560. #define TMR4_FILT2 (IMXRT_TMR4.offset056)
  4561. #define TMR4_DMA2 (IMXRT_TMR4.offset058)
  4562. #define TMR4_COMP13 (IMXRT_TMR4.offset060)
  4563. #define TMR4_COMP23 (IMXRT_TMR4.offset062)
  4564. #define TMR4_CAPT3 (IMXRT_TMR4.offset064)
  4565. #define TMR4_LOAD3 (IMXRT_TMR4.offset066)
  4566. #define TMR4_HOLD3 (IMXRT_TMR4.offset068)
  4567. #define TMR4_CNTR3 (IMXRT_TMR4.offset06A)
  4568. #define TMR4_CTRL3 (IMXRT_TMR4.offset06C)
  4569. #define TMR4_SCTRL3 (IMXRT_TMR4.offset06E)
  4570. #define TMR4_CMPLD13 (IMXRT_TMR4.offset070)
  4571. #define TMR4_CMPLD23 (IMXRT_TMR4.offset072)
  4572. #define TMR4_CSCTRL3 (IMXRT_TMR4.offset074)
  4573. #define TMR4_FILT3 (IMXRT_TMR4.offset076)
  4574. #define TMR4_DMA3 (IMXRT_TMR4.offset078)
  4575. #define IMXRT_ROMC (*(IMXRT_REGISTER32_t *)0x40180000)
  4576. #define ROMC_ROMPATCH7D (IMXRT_ROMC.offset0D4)
  4577. #define ROMC_ROMPATCH6D (IMXRT_ROMC.offset0D8)
  4578. #define ROMC_ROMPATCH5D (IMXRT_ROMC.offset0DC)
  4579. #define ROMC_ROMPATCH4D (IMXRT_ROMC.offset0E0)
  4580. #define ROMC_ROMPATCH3D (IMXRT_ROMC.offset0E4)
  4581. #define ROMC_ROMPATCH2D (IMXRT_ROMC.offset0E8)
  4582. #define ROMC_ROMPATCH1D (IMXRT_ROMC.offset0EC)
  4583. #define ROMC_ROMPATCH0D (IMXRT_ROMC.offset0F0)
  4584. #define ROMC_ROMPATCHCNTL (IMXRT_ROMC.offset0F4)
  4585. #define ROMC_ROMPATCHENH (IMXRT_ROMC.offset0F8)
  4586. #define ROMC_ROMPATCHENL (IMXRT_ROMC.offset0FC)
  4587. #define ROMC_ROMPATCH0A (IMXRT_ROMC.offset100)
  4588. #define ROMC_ROMPATCH1A (IMXRT_ROMC.offset104)
  4589. #define ROMC_ROMPATCH2A (IMXRT_ROMC.offset108)
  4590. #define ROMC_ROMPATCH3A (IMXRT_ROMC.offset10C)
  4591. #define ROMC_ROMPATCH4A (IMXRT_ROMC.offset110)
  4592. #define ROMC_ROMPATCH5A (IMXRT_ROMC.offset114)
  4593. #define ROMC_ROMPATCH6A (IMXRT_ROMC.offset118)
  4594. #define ROMC_ROMPATCH7A (IMXRT_ROMC.offset11C)
  4595. #define ROMC_ROMPATCH8A (IMXRT_ROMC.offset120)
  4596. #define ROMC_ROMPATCH9A (IMXRT_ROMC.offset124)
  4597. #define ROMC_ROMPATCH10A (IMXRT_ROMC.offset128)
  4598. #define ROMC_ROMPATCH11A (IMXRT_ROMC.offset12C)
  4599. #define ROMC_ROMPATCH12A (IMXRT_ROMC.offset130)
  4600. #define ROMC_ROMPATCH13A (IMXRT_ROMC.offset134)
  4601. #define ROMC_ROMPATCH14A (IMXRT_ROMC.offset138)
  4602. #define ROMC_ROMPATCH15A (IMXRT_ROMC.offset13C)
  4603. #define ROMC_ROMPATCHSR (IMXRT_ROMC.offset208)
  4604. // page 3216
  4605. #define IMXRT_I2S1 (*(IMXRT_REGISTER32_t *)0x40384000)
  4606. #define I2S1_VERID (IMXRT_I2S1.offset000)
  4607. #define I2S1_PARAM (IMXRT_I2S1.offset004)
  4608. #define I2S1_TCSR (IMXRT_I2S1.offset008)
  4609. #define I2S1_TCR1 (IMXRT_I2S1.offset00C)
  4610. #define I2S1_TCR2 (IMXRT_I2S1.offset010)
  4611. #define I2S1_TCR3 (IMXRT_I2S1.offset014)
  4612. #define I2S1_TCR4 (IMXRT_I2S1.offset018)
  4613. #define I2S1_TCR5 (IMXRT_I2S1.offset01C)
  4614. #define I2S1_TDR0 (IMXRT_I2S1.offset020)
  4615. #define I2S1_TDR1 (IMXRT_I2S1.offset024)
  4616. #define I2S1_TDR2 (IMXRT_I2S1.offset028)
  4617. #define I2S1_TDR3 (IMXRT_I2S1.offset02C)
  4618. #define I2S1_TFR0 (IMXRT_I2S1.offset040)
  4619. #define I2S1_TFR1 (IMXRT_I2S1.offset044)
  4620. #define I2S1_TFR2 (IMXRT_I2S1.offset048)
  4621. #define I2S1_TFR3 (IMXRT_I2S1.offset04C)
  4622. #define I2S1_TMR (IMXRT_I2S1.offset060)
  4623. #define I2S1_RCSR (IMXRT_I2S1.offset088)
  4624. #define I2S1_RCR1 (IMXRT_I2S1.offset08C)
  4625. #define I2S1_RCR2 (IMXRT_I2S1.offset090)
  4626. #define I2S1_RCR3 (IMXRT_I2S1.offset094)
  4627. #define I2S1_RCR4 (IMXRT_I2S1.offset098)
  4628. #define I2S1_RCR5 (IMXRT_I2S1.offset09C)
  4629. #define I2S1_RDR0 (IMXRT_I2S1.offset0A0)
  4630. #define I2S1_RDR1 (IMXRT_I2S1.offset0A4)
  4631. #define I2S1_RDR2 (IMXRT_I2S1.offset0A8)
  4632. #define I2S1_RDR3 (IMXRT_I2S1.offset0AC)
  4633. #define I2S1_RFR0 (IMXRT_I2S1.offset0C0)
  4634. #define I2S1_RFR1 (IMXRT_I2S1.offset0C4)
  4635. #define I2S1_RFR2 (IMXRT_I2S1.offset0C8)
  4636. #define I2S1_RFR3 (IMXRT_I2S1.offset0CC)
  4637. #define I2S1_RMR (IMXRT_I2S1.offset0E0)
  4638. #define IMXRT_I2S2 (*(IMXRT_REGISTER32_t *)0x40388000)
  4639. #define I2S2_VERID (IMXRT_I2S2.offset000)
  4640. #define I2S2_PARAM (IMXRT_I2S2.offset004)
  4641. #define I2S2_TCSR (IMXRT_I2S2.offset008)
  4642. #define I2S2_TCR1 (IMXRT_I2S2.offset00C)
  4643. #define I2S2_TCR2 (IMXRT_I2S2.offset010)
  4644. #define I2S2_TCR3 (IMXRT_I2S2.offset014)
  4645. #define I2S2_TCR4 (IMXRT_I2S2.offset018)
  4646. #define I2S2_TCR5 (IMXRT_I2S2.offset01C)
  4647. #define I2S2_TDR0 (IMXRT_I2S2.offset020)
  4648. #define I2S2_TDR1 (IMXRT_I2S2.offset024)
  4649. #define I2S2_TDR2 (IMXRT_I2S2.offset028)
  4650. #define I2S2_TDR3 (IMXRT_I2S2.offset02C)
  4651. #define I2S2_TFR0 (IMXRT_I2S2.offset040)
  4652. #define I2S2_TFR1 (IMXRT_I2S2.offset044)
  4653. #define I2S2_TFR2 (IMXRT_I2S2.offset048)
  4654. #define I2S2_TFR3 (IMXRT_I2S2.offset04C)
  4655. #define I2S2_TMR (IMXRT_I2S2.offset060)
  4656. #define I2S2_RCSR (IMXRT_I2S2.offset088)
  4657. #define I2S2_RCR1 (IMXRT_I2S2.offset08C)
  4658. #define I2S2_RCR2 (IMXRT_I2S2.offset090)
  4659. #define I2S2_RCR3 (IMXRT_I2S2.offset094)
  4660. #define I2S2_RCR4 (IMXRT_I2S2.offset098)
  4661. #define I2S2_RCR5 (IMXRT_I2S2.offset09C)
  4662. #define I2S2_RDR0 (IMXRT_I2S2.offset0A0)
  4663. #define I2S2_RDR1 (IMXRT_I2S2.offset0A4)
  4664. #define I2S2_RDR2 (IMXRT_I2S2.offset0A8)
  4665. #define I2S2_RDR3 (IMXRT_I2S2.offset0AC)
  4666. #define I2S2_RFR0 (IMXRT_I2S2.offset0C0)
  4667. #define I2S2_RFR1 (IMXRT_I2S2.offset0C4)
  4668. #define I2S2_RFR2 (IMXRT_I2S2.offset0C8)
  4669. #define I2S2_RFR3 (IMXRT_I2S2.offset0CC)
  4670. #define I2S2_RMR (IMXRT_I2S2.offset0E0)
  4671. #define IMXRT_I2S3 (*(IMXRT_REGISTER32_t *)0x4038C000)
  4672. #define I2S3_VERID (IMXRT_I2S3.offset000)
  4673. #define I2S3_PARAM (IMXRT_I2S3.offset004)
  4674. #define I2S3_TCSR (IMXRT_I2S3.offset008)
  4675. #define I2S3_TCR1 (IMXRT_I2S3.offset00C)
  4676. #define I2S3_TCR2 (IMXRT_I2S3.offset010)
  4677. #define I2S3_TCR3 (IMXRT_I2S3.offset014)
  4678. #define I2S3_TCR4 (IMXRT_I2S3.offset018)
  4679. #define I2S3_TCR5 (IMXRT_I2S3.offset01C)
  4680. #define I2S3_TDR0 (IMXRT_I2S3.offset020)
  4681. #define I2S3_TDR1 (IMXRT_I2S3.offset024)
  4682. #define I2S3_TDR2 (IMXRT_I2S3.offset028)
  4683. #define I2S3_TDR3 (IMXRT_I2S3.offset02C)
  4684. #define I2S3_TFR0 (IMXRT_I2S3.offset040)
  4685. #define I2S3_TFR1 (IMXRT_I2S3.offset044)
  4686. #define I2S3_TFR2 (IMXRT_I2S3.offset048)
  4687. #define I2S3_TFR3 (IMXRT_I2S3.offset04C)
  4688. #define I2S3_TMR (IMXRT_I2S3.offset060)
  4689. #define I2S3_RCSR (IMXRT_I2S3.offset088)
  4690. #define I2S3_RCR1 (IMXRT_I2S3.offset08C)
  4691. #define I2S3_RCR2 (IMXRT_I2S3.offset090)
  4692. #define I2S3_RCR3 (IMXRT_I2S3.offset094)
  4693. #define I2S3_RCR4 (IMXRT_I2S3.offset098)
  4694. #define I2S3_RCR5 (IMXRT_I2S3.offset09C)
  4695. #define I2S3_RDR0 (IMXRT_I2S3.offset0A0)
  4696. #define I2S3_RDR1 (IMXRT_I2S3.offset0A4)
  4697. #define I2S3_RDR2 (IMXRT_I2S3.offset0A8)
  4698. #define I2S3_RDR3 (IMXRT_I2S3.offset0AC)
  4699. #define I2S3_RFR0 (IMXRT_I2S3.offset0C0)
  4700. #define I2S3_RFR1 (IMXRT_I2S3.offset0C4)
  4701. #define I2S3_RFR2 (IMXRT_I2S3.offset0C8)
  4702. #define I2S3_RFR3 (IMXRT_I2S3.offset0CC)
  4703. #define I2S3_RMR (IMXRT_I2S3.offset0E0)
  4704. // page 3290
  4705. #define IMXRT_SEMC (*(IMXRT_REGISTER32_t *)0x402F0000)
  4706. #define SEMC_MCR (IMXRT_SEMC.offset000)
  4707. #define SEMC_IOCR (IMXRT_SEMC.offset004)
  4708. #define SEMC_BMCR0 (IMXRT_SEMC.offset008)
  4709. #define SEMC_BMCR1 (IMXRT_SEMC.offset00C)
  4710. #define SEMC_BR0 (IMXRT_SEMC.offset010)
  4711. #define SEMC_BR1 (IMXRT_SEMC.offset014)
  4712. #define SEMC_BR2 (IMXRT_SEMC.offset018)
  4713. #define SEMC_BR3 (IMXRT_SEMC.offset01C)
  4714. #define SEMC_BR4 (IMXRT_SEMC.offset020)
  4715. #define SEMC_BR5 (IMXRT_SEMC.offset024)
  4716. #define SEMC_BR6 (IMXRT_SEMC.offset028)
  4717. #define SEMC_BR7 (IMXRT_SEMC.offset02C)
  4718. #define SEMC_BR8 (IMXRT_SEMC.offset030)
  4719. #define SEMC_INTEN (IMXRT_SEMC.offset038)
  4720. #define SEMC_INTR (IMXRT_SEMC.offset03C)
  4721. #define SEMC_SDRAMCR0 (IMXRT_SEMC.offset040)
  4722. #define SEMC_SDRAMCR1 (IMXRT_SEMC.offset044)
  4723. #define SEMC_SDRAMCR2 (IMXRT_SEMC.offset048)
  4724. #define SEMC_SDRAMCR3 (IMXRT_SEMC.offset04C)
  4725. #define SEMC_NANDCR0 (IMXRT_SEMC.offset050)
  4726. #define SEMC_NANDCR1 (IMXRT_SEMC.offset054)
  4727. #define SEMC_NANDCR2 (IMXRT_SEMC.offset058)
  4728. #define SEMC_NANDCR3 (IMXRT_SEMC.offset05C)
  4729. #define SEMC_ORCR0 (IMXRT_SEMC.offset060)
  4730. #define SEMC_ORCR1 (IMXRT_SEMC.offset064)
  4731. #define SEMC_ORCR2 (IMXRT_SEMC.offset068)
  4732. #define SEMC_ORCR3 (IMXRT_SEMC.offset06C)
  4733. #define SEMC_SRAMCR0 (IMXRT_SEMC.offset070)
  4734. #define SEMC_SRAMCR1 (IMXRT_SEMC.offset074)
  4735. #define SEMC_SRAMCR2 (IMXRT_SEMC.offset078)
  4736. #define SEMC_SRAMCR3 (IMXRT_SEMC.offset07C)
  4737. #define SEMC_DBICR0 (IMXRT_SEMC.offset080)
  4738. #define SEMC_DBICR1 (IMXRT_SEMC.offset084)
  4739. #define SEMC_IPCR0 (IMXRT_SEMC.offset090)
  4740. #define SEMC_IPCR1 (IMXRT_SEMC.offset094)
  4741. #define SEMC_IPCR2 (IMXRT_SEMC.offset098)
  4742. #define SEMC_IPCMD (IMXRT_SEMC.offset09C)
  4743. #define SEMC_IPTXDAT (IMXRT_SEMC.offset0A0)
  4744. #define SEMC_IPRXDAT (IMXRT_SEMC.offset0B0)
  4745. #define SEMC_STS0 (IMXRT_SEMC.offset0C0)
  4746. #define SEMC_STS1 (IMXRT_SEMC.offset0C4)
  4747. #define SEMC_STS2 (IMXRT_SEMC.offset0C8)
  4748. #define SEMC_STS3 (IMXRT_SEMC.offset0CC)
  4749. #define SEMC_STS4 (IMXRT_SEMC.offset0D0)
  4750. #define SEMC_STS5 (IMXRT_SEMC.offset0D4)
  4751. #define SEMC_STS6 (IMXRT_SEMC.offset0D8)
  4752. #define SEMC_STS7 (IMXRT_SEMC.offset0DC)
  4753. #define SEMC_STS8 (IMXRT_SEMC.offset0E0)
  4754. #define SEMC_STS9 (IMXRT_SEMC.offset0E4)
  4755. #define SEMC_STS10 (IMXRT_SEMC.offset0E8)
  4756. #define SEMC_STS11 (IMXRT_SEMC.offset0EC)
  4757. #define SEMC_STS12 (IMXRT_SEMC.offset0F0)
  4758. #define SEMC_STS13 (IMXRT_SEMC.offset0F4)
  4759. #define SEMC_STS14 (IMXRT_SEMC.offset0F8)
  4760. #define SEMC_STS15 (IMXRT_SEMC.offset0FC)
  4761. // page 3398
  4762. #define IMXRT_SNVS (*(IMXRT_REGISTER32_t *)0x400D4000)
  4763. #define SNVS_HPLR (IMXRT_SNVS.offset000)
  4764. #define SNVS_HPCOMR (IMXRT_SNVS.offset004)
  4765. #define SNVS_HPCR (IMXRT_SNVS.offset008)
  4766. #define SNVS_HPSR (IMXRT_SNVS.offset014)
  4767. #define SNVS_HPRTCMR (IMXRT_SNVS.offset024)
  4768. #define SNVS_HPRTCLR (IMXRT_SNVS.offset028)
  4769. #define SNVS_HPTAMR (IMXRT_SNVS.offset02C)
  4770. #define SNVS_HPTALR (IMXRT_SNVS.offset030)
  4771. #define SNVS_LPLR (IMXRT_SNVS.offset034)
  4772. #define SNVS_LPCR (IMXRT_SNVS.offset038)
  4773. #define SNVS_LPSR (IMXRT_SNVS.offset04C)
  4774. #define SNVS_LPSMCMR (IMXRT_SNVS.offset05C)
  4775. #define SNVS_LPSMCLR (IMXRT_SNVS.offset060)
  4776. #define SNVS_LPGPR (IMXRT_SNVS.offset068)
  4777. #define IMXRT_SNVS_b (*(IMXRT_REGISTER32_t *)0x400D4800)
  4778. #define SNVS_HPVIDR1 (IMXRT_SNVS_b.offset3F8)
  4779. #define SNVS_HPVIDR2 (IMXRT_SNVS_b.offset3FC)
  4780. // page 3500
  4781. #define IMXRT_SPDIF (*(IMXRT_REGISTER32_t *)0x400D4000)
  4782. #define SPDIF_SCR (IMXRT_SPDIF.offset000)
  4783. #define SPDIF_SRCD (IMXRT_SPDIF.offset004)
  4784. #define SPDIF_SRPC (IMXRT_SPDIF.offset008)
  4785. #define SPDIF_SIE (IMXRT_SPDIF.offset00C)
  4786. #define SPDIF_SIS (IMXRT_SPDIF.offset010)
  4787. #define SPDIF_SIC (IMXRT_SPDIF.offset010)
  4788. #define SPDIF_SRL (IMXRT_SPDIF.offset014)
  4789. #define SPDIF_SRR (IMXRT_SPDIF.offset018)
  4790. #define SPDIF_SRCSH (IMXRT_SPDIF.offset01C)
  4791. #define SPDIF_SRCSL (IMXRT_SPDIF.offset020)
  4792. #define SPDIF_SRU (IMXRT_SPDIF.offset024)
  4793. #define SPDIF_SRQ (IMXRT_SPDIF.offset028)
  4794. #define SPDIF_STL (IMXRT_SPDIF.offset02C)
  4795. #define SPDIF_STR (IMXRT_SPDIF.offset030)
  4796. #define SPDIF_STCSCH (IMXRT_SPDIF.offset034)
  4797. #define SPDIF_STCSCL (IMXRT_SPDIF.offset038)
  4798. #define SPDIF_SRFM (IMXRT_SPDIF.offset044)
  4799. #define SPDIF_STC (IMXRT_SPDIF.offset050)
  4800. // page 3521
  4801. #define IMXRT_SRC (*(IMXRT_REGISTER32_t *)0x400F8000)
  4802. #define SRC_SCR (IMXRT_SRC.offset000)
  4803. #define SRC_SBMR1 (IMXRT_SRC.offset004)
  4804. #define SRC_SRSR (IMXRT_SRC.offset008)
  4805. #define SRC_SISR (IMXRT_SRC.offset014)
  4806. #define SRC_SBMR2 (IMXRT_SRC.offset01C)
  4807. #define SRC_GPR1 (IMXRT_SRC.offset020)
  4808. #define SRC_GPR2 (IMXRT_SRC.offset024)
  4809. #define SRC_GPR3 (IMXRT_SRC.offset028)
  4810. #define SRC_GPR4 (IMXRT_SRC.offset02C)
  4811. #define SRC_GPR5 (IMXRT_SRC.offset030)
  4812. #define SRC_GPR6 (IMXRT_SRC.offset034)
  4813. #define SRC_GPR7 (IMXRT_SRC.offset038)
  4814. #define SRC_GPR8 (IMXRT_SRC.offset03C)
  4815. #define SRC_GPR9 (IMXRT_SRC.offset040)
  4816. #define SRC_GPR10 (IMXRT_SRC.offset044)
  4817. // page 3554
  4818. #define IMXRT_TSC (*(IMXRT_REGISTER32_t *)0x400E0000)
  4819. #define TSC_BASIC_SETTING (IMXRT_TSC.offset000)
  4820. #define TSC_PS_INPUT_BUFFER_ADDR (IMXRT_TSC.offset010)
  4821. #define TSC_FLOW_CONTROL (IMXRT_TSC.offset020)
  4822. #define TSC_MEASEURE_VALUE (IMXRT_TSC.offset030)
  4823. #define TSC_INT_EN (IMXRT_TSC.offset040)
  4824. #define TSC_INT_SIG_EN (IMXRT_TSC.offset050)
  4825. #define TSC_INT_STATUS (IMXRT_TSC.offset060)
  4826. #define TSC_DEBUG_MODE (IMXRT_TSC.offset070)
  4827. #define TSC_DEBUG_MODE2 (IMXRT_TSC.offset080)
  4828. // page 3575
  4829. #define IMXRT_USB1 (*(IMXRT_REGISTER32_t *)0x402E0000)
  4830. #define USB1_ID (IMXRT_USB1.offset000)
  4831. #define USB1_HWGENERAL (IMXRT_USB1.offset004)
  4832. #define USB1_HWHOST (IMXRT_USB1.offset008)
  4833. #define USB1_HWDEVICE (IMXRT_USB1.offset00C)
  4834. #define USB1_HWTXBUF (IMXRT_USB1.offset010)
  4835. #define USB1_HWRXBUF (IMXRT_USB1.offset014)
  4836. #define USB1_GPTIMER0LD (IMXRT_USB1.offset080)
  4837. #define USB1_GPTIMER0CTRL (IMXRT_USB1.offset084)
  4838. #define USB1_GPTIMER1LD (IMXRT_USB1.offset088)
  4839. #define USB1_GPTIMER1CTRL (IMXRT_USB1.offset08C)
  4840. #define USB1_SBUSCFG (IMXRT_USB1.offset090)
  4841. #define USB1_HCIVERSION (IMXRT_USB1.offset100)
  4842. #define USB1_HCSPARAMS (IMXRT_USB1.offset104)
  4843. #define USB1_HCCPARAMS (IMXRT_USB1.offset108)
  4844. #define USB1_DCIVERSION (IMXRT_USB1.offset120)
  4845. #define USB1_DCCPARAMS (IMXRT_USB1.offset124)
  4846. #define USB1_USBCMD (IMXRT_USB1.offset140)
  4847. #define USB1_USBSTS (IMXRT_USB1.offset144)
  4848. #define USB1_USBINTR (IMXRT_USB1.offset148)
  4849. #define USB1_FRINDEX (IMXRT_USB1.offset14C)
  4850. #define USB1_PERIODICLISTBASE (IMXRT_USB1.offset154)
  4851. #define USB1_DEVICEADDR (IMXRT_USB1.offset154)
  4852. #define USB1_ASYNCLISTADDR (IMXRT_USB1.offset158)
  4853. #define USB1_ENDPOINTLISTADDR (IMXRT_USB1.offset158)
  4854. #define USB1_BURSTSIZE (IMXRT_USB1.offset160)
  4855. #define USB1_TXFILLTUNING (IMXRT_USB1.offset164)
  4856. #define USB1_ENDPTNAK (IMXRT_USB1.offset178)
  4857. #define USB1_ENDPTNAKEN (IMXRT_USB1.offset17C)
  4858. #define USB1_CONFIGFLAG (IMXRT_USB1.offset180)
  4859. #define USB1_PORTSC1 (IMXRT_USB1.offset184)
  4860. #define USB1_OTGSC (IMXRT_USB1.offset1A4)
  4861. #define USB1_USBMODE (IMXRT_USB1.offset1A8)
  4862. #define USB1_ENDPTSETUPSTAT (IMXRT_USB1.offset1AC)
  4863. #define USB1_ENDPTPRIME (IMXRT_USB1.offset1B0)
  4864. #define USB1_ENDPTFLUSH (IMXRT_USB1.offset1B4)
  4865. #define USB1_ENDPTSTATUS (IMXRT_USB1.offset1B8)
  4866. #define USB1_ENDPTCOMPLETE (IMXRT_USB1.offset1BC)
  4867. #define USB1_ENDPTCTRL0 (IMXRT_USB1.offset1C0)
  4868. #define USB1_ENDPTCTRL1 (IMXRT_USB1.offset1C4)
  4869. #define USB1_ENDPTCTRL2 (IMXRT_USB1.offset1C8)
  4870. #define USB1_ENDPTCTRL3 (IMXRT_USB1.offset1CC)
  4871. #define USB1_ENDPTCTRL4 (IMXRT_USB1.offset1D0)
  4872. #define USB1_ENDPTCTRL5 (IMXRT_USB1.offset1D4)
  4873. #define USB1_ENDPTCTRL6 (IMXRT_USB1.offset1D8)
  4874. #define USB1_ENDPTCTRL7 (IMXRT_USB1.offset1DC)
  4875. #define IMXRT_USB2 (*(IMXRT_REGISTER32_t *)0x402DC000)
  4876. #define USB2_ID (IMXRT_USB2.offset000)
  4877. #define USB2_HWGENERAL (IMXRT_USB2.offset004)
  4878. #define USB2_HWHOST (IMXRT_USB2.offset008)
  4879. #define USB2_HWDEVICE (IMXRT_USB2.offset00C)
  4880. #define USB2_HWTXBUF (IMXRT_USB2.offset010)
  4881. #define USB2_HWRXBUF (IMXRT_USB2.offset014)
  4882. #define USB2_GPTIMER0LD (IMXRT_USB2.offset080)
  4883. #define USB2_GPTIMER0CTRL (IMXRT_USB2.offset084)
  4884. #define USB2_GPTIMER1LD (IMXRT_USB2.offset088)
  4885. #define USB2_GPTIMER1CTRL (IMXRT_USB2.offset08C)
  4886. #define USB2_SBUSCFG (IMXRT_USB2.offset090)
  4887. #define USB2_HCIVERSION (IMXRT_USB2.offset100)
  4888. #define USB2_HCSPARAMS (IMXRT_USB2.offset104)
  4889. #define USB2_HCCPARAMS (IMXRT_USB2.offset108)
  4890. #define USB2_DCIVERSION (IMXRT_USB2.offset120)
  4891. #define USB2_DCCPARAMS (IMXRT_USB2.offset124)
  4892. #define USB2_USBCMD (IMXRT_USB2.offset140)
  4893. #define USB2_USBSTS (IMXRT_USB2.offset144)
  4894. #define USB2_USBINTR (IMXRT_USB2.offset148)
  4895. #define USB2_FRINDEX (IMXRT_USB2.offset14C)
  4896. #define USB2_PERIODICLISTBASE (IMXRT_USB2.offset154)
  4897. #define USB2_DEVICEADDR (IMXRT_USB2.offset154)
  4898. #define USB2_ASYNCLISTADDR (IMXRT_USB2.offset158)
  4899. #define USB2_ENDPOINTLISTADDR (IMXRT_USB2.offset158)
  4900. #define USB2_BURSTSIZE (IMXRT_USB2.offset160)
  4901. #define USB2_TXFILLTUNING (IMXRT_USB2.offset164)
  4902. #define USB2_ENDPTNAK (IMXRT_USB2.offset178)
  4903. #define USB2_ENDPTNAKEN (IMXRT_USB2.offset17C)
  4904. #define USB2_CONFIGFLAG (IMXRT_USB2.offset180)
  4905. #define USB2_PORTSC1 (IMXRT_USB2.offset184)
  4906. #define USB2_OTGSC (IMXRT_USB2.offset1A4)
  4907. #define USB2_USBMODE (IMXRT_USB2.offset1A8)
  4908. #define USB2_ENDPTSETUPSTAT (IMXRT_USB2.offset1AC)
  4909. #define USB2_ENDPTPRIME (IMXRT_USB2.offset1B0)
  4910. #define USB2_ENDPTFLUSH (IMXRT_USB2.offset1B4)
  4911. #define USB2_ENDPTSTATUS (IMXRT_USB2.offset1B8)
  4912. #define USB2_ENDPTCOMPLETE (IMXRT_USB2.offset1BC)
  4913. #define USB2_ENDPTCTRL0 (IMXRT_USB2.offset1C0)
  4914. #define USB2_ENDPTCTRL1 (IMXRT_USB2.offset1C4)
  4915. #define USB2_ENDPTCTRL2 (IMXRT_USB2.offset1C8)
  4916. #define USB2_ENDPTCTRL3 (IMXRT_USB2.offset1CC)
  4917. #define USB2_ENDPTCTRL4 (IMXRT_USB2.offset1D0)
  4918. #define USB2_ENDPTCTRL5 (IMXRT_USB2.offset1D4)
  4919. #define USB2_ENDPTCTRL6 (IMXRT_USB2.offset1D8)
  4920. #define USB2_ENDPTCTRL7 (IMXRT_USB2.offset1DC)
  4921. // page 3835
  4922. #define IMXRT_USBPHY1 (*(IMXRT_REGISTER32_t *)0x400D9000)
  4923. #define USBPHY1_PWD (IMXRT_USBPHY1.offset000)
  4924. #define USBPHY1_PWD_SET (IMXRT_USBPHY1.offset004)
  4925. #define USBPHY1_PWD_CLR (IMXRT_USBPHY1.offset008)
  4926. #define USBPHY1_PWD_TOG (IMXRT_USBPHY1.offset00C)
  4927. #define USBPHY1_TX (IMXRT_USBPHY1.offset010)
  4928. #define USBPHY1_TX_SET (IMXRT_USBPHY1.offset014)
  4929. #define USBPHY1_TX_CLR (IMXRT_USBPHY1.offset018)
  4930. #define USBPHY1_TX_TOG (IMXRT_USBPHY1.offset01C)
  4931. #define USBPHY1_RX (IMXRT_USBPHY1.offset020)
  4932. #define USBPHY1_RX_SET (IMXRT_USBPHY1.offset024)
  4933. #define USBPHY1_RX_CLR (IMXRT_USBPHY1.offset028)
  4934. #define USBPHY1_RX_TOG (IMXRT_USBPHY1.offset02C)
  4935. #define USBPHY1_CTRL (IMXRT_USBPHY1.offset030)
  4936. #define USBPHY1_CTRL_SET (IMXRT_USBPHY1.offset034)
  4937. #define USBPHY1_CTRL_CLR (IMXRT_USBPHY1.offset038)
  4938. #define USBPHY1_CTRL_TOG (IMXRT_USBPHY1.offset03C)
  4939. #define USBPHY1_STATUS (IMXRT_USBPHY1.offset040)
  4940. #define USBPHY1_DEBUG (IMXRT_USBPHY1.offset050)
  4941. #define USBPHY1_DEBUG_SET (IMXRT_USBPHY1.offset054)
  4942. #define USBPHY1_DEBUG_CLR (IMXRT_USBPHY1.offset058)
  4943. #define USBPHY1_DEBUG_TOG (IMXRT_USBPHY1.offset05C)
  4944. #define USBPHY1_DEBUG0_STATUS (IMXRT_USBPHY1.offset060)
  4945. #define USBPHY1_DEBUG1 (IMXRT_USBPHY1.offset070)
  4946. #define USBPHY1_DEBUG1_SET (IMXRT_USBPHY1.offset074)
  4947. #define USBPHY1_DEBUG1_CLR (IMXRT_USBPHY1.offset078)
  4948. #define USBPHY1_DEBUG1_TOG (IMXRT_USBPHY1.offset07C)
  4949. #define USBPHY1_VERSION (IMXRT_USBPHY1.offset080)
  4950. #define IMXRT_USBPHY2 (*(IMXRT_REGISTER32_t *)0x400DA000)
  4951. #define USBPHY2_PWD (IMXRT_USBPHY2.offset000)
  4952. #define USBPHY2_PWD_SET (IMXRT_USBPHY2.offset004)
  4953. #define USBPHY2_PWD_CLR (IMXRT_USBPHY2.offset008)
  4954. #define USBPHY2_PWD_TOG (IMXRT_USBPHY2.offset00C)
  4955. #define USBPHY2_TX (IMXRT_USBPHY2.offset010)
  4956. #define USBPHY2_TX_SET (IMXRT_USBPHY2.offset014)
  4957. #define USBPHY2_TX_CLR (IMXRT_USBPHY2.offset018)
  4958. #define USBPHY2_TX_TOG (IMXRT_USBPHY2.offset01C)
  4959. #define USBPHY2_RX (IMXRT_USBPHY2.offset020)
  4960. #define USBPHY2_RX_SET (IMXRT_USBPHY2.offset024)
  4961. #define USBPHY2_RX_CLR (IMXRT_USBPHY2.offset028)
  4962. #define USBPHY2_RX_TOG (IMXRT_USBPHY2.offset02C)
  4963. #define USBPHY2_CTRL (IMXRT_USBPHY2.offset030)
  4964. #define USBPHY2_CTRL_SET (IMXRT_USBPHY2.offset034)
  4965. #define USBPHY2_CTRL_CLR (IMXRT_USBPHY2.offset038)
  4966. #define USBPHY2_CTRL_TOG (IMXRT_USBPHY2.offset03C)
  4967. #define USBPHY2_STATUS (IMXRT_USBPHY2.offset040)
  4968. #define USBPHY2_DEBUG (IMXRT_USBPHY2.offset050)
  4969. #define USBPHY2_DEBUG_SET (IMXRT_USBPHY2.offset054)
  4970. #define USBPHY2_DEBUG_CLR (IMXRT_USBPHY2.offset058)
  4971. #define USBPHY2_DEBUG_TOG (IMXRT_USBPHY2.offset05C)
  4972. #define USBPHY2_DEBUG0_STATUS (IMXRT_USBPHY2.offset060)
  4973. #define USBPHY2_DEBUG1 (IMXRT_USBPHY2.offset070)
  4974. #define USBPHY2_DEBUG1_SET (IMXRT_USBPHY2.offset074)
  4975. #define USBPHY2_DEBUG1_CLR (IMXRT_USBPHY2.offset078)
  4976. #define USBPHY2_DEBUG1_TOG (IMXRT_USBPHY2.offset07C)
  4977. #define USBPHY2_VERSION (IMXRT_USBPHY2.offset080)
  4978. // page 3926
  4979. #define IMXRT_USDHC1 (*(IMXRT_REGISTER32_t *)0x402C0000)
  4980. #define USDHC1_DS_ADDR (IMXRT_USDHC1.offset000)
  4981. #define USDHC1_BLK_ATT (IMXRT_USDHC1.offset004)
  4982. #define USDHC1_CMD_ARG (IMXRT_USDHC1.offset008)
  4983. #define USDHC1_CMD_XFR_TYP (IMXRT_USDHC1.offset00C)
  4984. #define USDHC1_CMD_RSP0 (IMXRT_USDHC1.offset010)
  4985. #define USDHC1_CMD_RSP1 (IMXRT_USDHC1.offset014)
  4986. #define USDHC1_CMD_RSP2 (IMXRT_USDHC1.offset018)
  4987. #define USDHC1_CMD_RSP3 (IMXRT_USDHC1.offset01C)
  4988. #define USDHC1_DATA_BUFF_ACC_PORT (IMXRT_USDHC1.offset020)
  4989. #define USDHC1_PRES_STATE (IMXRT_USDHC1.offset024)
  4990. #define USDHC1_PROT_CTRL (IMXRT_USDHC1.offset028)
  4991. #define USDHC1_SYS_CTRL (IMXRT_USDHC1.offset02C)
  4992. #define USDHC1_INT_STATUS (IMXRT_USDHC1.offset030)
  4993. #define USDHC1_INT_STATUS_EN (IMXRT_USDHC1.offset034)
  4994. #define USDHC1_INT_SIGNAL_EN (IMXRT_USDHC1.offset038)
  4995. #define USDHC1_AUTOCMD12_ERR_STATUS (IMXRT_USDHC1.offset03C)
  4996. #define USDHC1_HOST_CTRL_CAP (IMXRT_USDHC1.offset040)
  4997. #define USDHC1_WTMK_LVL (IMXRT_USDHC1.offset044)
  4998. #define USDHC1_MIX_CTRL (IMXRT_USDHC1.offset048)
  4999. #define USDHC1_FORCE_EVENT (IMXRT_USDHC1.offset050)
  5000. #define USDHC1_ADMA_ERR_STATUS (IMXRT_USDHC1.offset054)
  5001. #define USDHC1_ADMA_SYS_ADDR (IMXRT_USDHC1.offset058)
  5002. #define USDHC1_DLL_CTRL (IMXRT_USDHC1.offset060)
  5003. #define USDHC1_DLL_STATUS (IMXRT_USDHC1.offset064)
  5004. #define USDHC1_CLK_TUNE_CTRL_STATUS (IMXRT_USDHC1.offset068)
  5005. #define USDHC1_VEND_SPEC (IMXRT_USDHC1.offset0C0)
  5006. #define USDHC1_MMC_BOOT (IMXRT_USDHC1.offset0C4)
  5007. #define USDHC1_VEND_SPEC2 (IMXRT_USDHC1.offset0C8)
  5008. #define USDHC1_TUNING_CTRL (IMXRT_USDHC1.offset0CC)
  5009. #define IMXRT_USDHC2 (*(IMXRT_REGISTER32_t *)0x402C4000)
  5010. #define USDHC2_DS_ADDR (IMXRT_USDHC2.offset000)
  5011. #define USDHC2_BLK_ATT (IMXRT_USDHC2.offset004)
  5012. #define USDHC2_CMD_ARG (IMXRT_USDHC2.offset008)
  5013. #define USDHC2_CMD_XFR_TYP (IMXRT_USDHC2.offset00C)
  5014. #define USDHC2_CMD_RSP0 (IMXRT_USDHC2.offset010)
  5015. #define USDHC2_CMD_RSP1 (IMXRT_USDHC2.offset014)
  5016. #define USDHC2_CMD_RSP2 (IMXRT_USDHC2.offset018)
  5017. #define USDHC2_CMD_RSP3 (IMXRT_USDHC2.offset01C)
  5018. #define USDHC2_DATA_BUFF_ACC_PORT (IMXRT_USDHC2.offset020)
  5019. #define USDHC2_PRES_STATE (IMXRT_USDHC2.offset024)
  5020. #define USDHC2_PROT_CTRL (IMXRT_USDHC2.offset028)
  5021. #define USDHC2_SYS_CTRL (IMXRT_USDHC2.offset02C)
  5022. #define USDHC2_INT_STATUS (IMXRT_USDHC2.offset030)
  5023. #define USDHC2_INT_STATUS_EN (IMXRT_USDHC2.offset034)
  5024. #define USDHC2_INT_SIGNAL_EN (IMXRT_USDHC2.offset038)
  5025. #define USDHC2_AUTOCMD12_ERR_STATUS (IMXRT_USDHC2.offset03C)
  5026. #define USDHC2_HOST_CTRL_CAP (IMXRT_USDHC2.offset040)
  5027. #define USDHC2_WTMK_LVL (IMXRT_USDHC2.offset044)
  5028. #define USDHC2_MIX_CTRL (IMXRT_USDHC2.offset048)
  5029. #define USDHC2_FORCE_EVENT (IMXRT_USDHC2.offset050)
  5030. #define USDHC2_ADMA_ERR_STATUS (IMXRT_USDHC2.offset054)
  5031. #define USDHC2_ADMA_SYS_ADDR (IMXRT_USDHC2.offset058)
  5032. #define USDHC2_DLL_CTRL (IMXRT_USDHC2.offset060)
  5033. #define USDHC2_DLL_STATUS (IMXRT_USDHC2.offset064)
  5034. #define USDHC2_CLK_TUNE_CTRL_STATUS (IMXRT_USDHC2.offset068)
  5035. #define USDHC2_VEND_SPEC (IMXRT_USDHC2.offset0C0)
  5036. #define USDHC2_MMC_BOOT (IMXRT_USDHC2.offset0C4)
  5037. #define USDHC2_VEND_SPEC2 (IMXRT_USDHC2.offset0C8)
  5038. #define USDHC2_TUNING_CTRL (IMXRT_USDHC2.offset0CC)
  5039. // page 4009
  5040. #define IMXRT_WDOG1 (*(IMXRT_REGISTER16_t *)0x400B8000)
  5041. #define WDOG1_WCR (IMXRT_WDOG1.offset000)
  5042. #define WDOG1_WSR (IMXRT_WDOG1.offset002)
  5043. #define WDOG1_WRSR (IMXRT_WDOG1.offset004)
  5044. #define WDOG1_WICR (IMXRT_WDOG1.offset006)
  5045. #define WDOG1_WMCR (IMXRT_WDOG1.offset008)
  5046. #define IMXRT_WDOG2 (*(IMXRT_REGISTER16_t *)0x400D0000)
  5047. #define WDOG2_WCR (IMXRT_WDOG2.offset000)
  5048. #define WDOG2_WSR (IMXRT_WDOG2.offset002)
  5049. #define WDOG2_WRSR (IMXRT_WDOG2.offset004)
  5050. #define WDOG2_WICR (IMXRT_WDOG2.offset006)
  5051. #define WDOG2_WMCR (IMXRT_WDOG2.offset008)
  5052. // page 4017
  5053. #define IMXRT_WDOG3 (*(IMXRT_REGISTER32_t *)0x400BC000)
  5054. #define WDOG3_CS (IMXRT_WDOG3.offset000)
  5055. #define WDOG3_CNT (IMXRT_WDOG3.offset004)
  5056. #define WDOG3_TOVAL (IMXRT_WDOG3.offset008)
  5057. #define WDOG3_WIN (IMXRT_WDOG3.offset00C)
  5058. // page 4036
  5059. #define IMXRT_XBARA1 (*(IMXRT_REGISTER16_t *)0x403BC000)
  5060. #define XBARA1_SEL0 (IMXRT_XBARA1.offset000)
  5061. #define XBARA1_SEL1 (IMXRT_XBARA1.offset002)
  5062. #define XBARA1_SEL2 (IMXRT_XBARA1.offset004)
  5063. #define XBARA1_SEL3 (IMXRT_XBARA1.offset006)
  5064. #define XBARA1_SEL4 (IMXRT_XBARA1.offset008)
  5065. #define XBARA1_SEL5 (IMXRT_XBARA1.offset00A)
  5066. #define XBARA1_SEL6 (IMXRT_XBARA1.offset00C)
  5067. #define XBARA1_SEL7 (IMXRT_XBARA1.offset00E)
  5068. #define XBARA1_SEL8 (IMXRT_XBARA1.offset010)
  5069. #define XBARA1_SEL9 (IMXRT_XBARA1.offset012)
  5070. #define XBARA1_SEL10 (IMXRT_XBARA1.offset014)
  5071. #define XBARA1_SEL11 (IMXRT_XBARA1.offset016)
  5072. #define XBARA1_SEL12 (IMXRT_XBARA1.offset018)
  5073. #define XBARA1_SEL13 (IMXRT_XBARA1.offset01A)
  5074. #define XBARA1_SEL14 (IMXRT_XBARA1.offset01C)
  5075. #define XBARA1_SEL15 (IMXRT_XBARA1.offset01E)
  5076. #define XBARA1_SEL16 (IMXRT_XBARA1.offset020)
  5077. #define XBARA1_SEL17 (IMXRT_XBARA1.offset022)
  5078. #define XBARA1_SEL18 (IMXRT_XBARA1.offset024)
  5079. #define XBARA1_SEL19 (IMXRT_XBARA1.offset026)
  5080. #define XBARA1_SEL20 (IMXRT_XBARA1.offset028)
  5081. #define XBARA1_SEL21 (IMXRT_XBARA1.offset02A)
  5082. #define XBARA1_SEL22 (IMXRT_XBARA1.offset02C)
  5083. #define XBARA1_SEL23 (IMXRT_XBARA1.offset02E)
  5084. #define XBARA1_SEL24 (IMXRT_XBARA1.offset030)
  5085. #define XBARA1_SEL25 (IMXRT_XBARA1.offset032)
  5086. #define XBARA1_SEL26 (IMXRT_XBARA1.offset034)
  5087. #define XBARA1_SEL27 (IMXRT_XBARA1.offset036)
  5088. #define XBARA1_SEL28 (IMXRT_XBARA1.offset038)
  5089. #define XBARA1_SEL29 (IMXRT_XBARA1.offset03A)
  5090. #define XBARA1_CTRL0 (IMXRT_XBARA1.offset03C)
  5091. #define XBARA1_CTRL1 (IMXRT_XBARA1.offset03E)
  5092. // page 4059
  5093. #define IMXRT_XBARB2 (*(IMXRT_REGISTER16_t *)0x403C0000)
  5094. #define XBARB2_SEL0 (IMXRT_XBARB2.offset000)
  5095. #define XBARB2_SEL1 (IMXRT_XBARB2.offset002)
  5096. #define XBARB2_SEL2 (IMXRT_XBARB2.offset004)
  5097. #define XBARB2_SEL3 (IMXRT_XBARB2.offset006)
  5098. #define XBARB2_SEL4 (IMXRT_XBARB2.offset008)
  5099. #define XBARB2_SEL5 (IMXRT_XBARB2.offset00A)
  5100. #define XBARB2_SEL6 (IMXRT_XBARB2.offset00C)
  5101. #define XBARB2_SEL7 (IMXRT_XBARB2.offset00E)
  5102. #define IMXRT_XBARB3 (*(IMXRT_REGISTER16_t *)0x403C4000)
  5103. #define XBARB3_SEL0 (IMXRT_XBARB3.offset000)
  5104. #define XBARB3_SEL1 (IMXRT_XBARB3.offset002)
  5105. #define XBARB3_SEL2 (IMXRT_XBARB3.offset004)
  5106. #define XBARB3_SEL3 (IMXRT_XBARB3.offset006)
  5107. #define XBARB3_SEL4 (IMXRT_XBARB3.offset008)
  5108. #define XBARB3_SEL5 (IMXRT_XBARB3.offset00A)
  5109. #define XBARB3_SEL6 (IMXRT_XBARB3.offset00C)
  5110. #define XBARB3_SEL7 (IMXRT_XBARB3.offset00E)
  5111. // page 4069
  5112. #define IMXRT_XTALOSC24M (*(IMXRT_REGISTER32_t *)0x400D8000)
  5113. #define XTALOSC24M_MISC0 (IMXRT_XTALOSC24M.offset150)
  5114. #define XTALOSC24M_LOWPWR_CTRL (IMXRT_XTALOSC24M.offset270)
  5115. #define XTALOSC24M_LOWPWR_CTRL_SET (IMXRT_XTALOSC24M.offset274)
  5116. #define XTALOSC24M_LOWPWR_CTRL_CLR (IMXRT_XTALOSC24M.offset278)
  5117. #define XTALOSC24M_LOWPWR_CTRL_TOG (IMXRT_XTALOSC24M.offset27C)
  5118. #define XTALOSC24M_OSC_CONFIG0 (IMXRT_XTALOSC24M.offset2A0)
  5119. #define XTALOSC24M_OSC_CONFIG0_SET (IMXRT_XTALOSC24M.offset2A4)
  5120. #define XTALOSC24M_OSC_CONFIG0_CLR (IMXRT_XTALOSC24M.offset2A8)
  5121. #define XTALOSC24M_OSC_CONFIG0_TOG (IMXRT_XTALOSC24M.offset2AC)
  5122. #define XTALOSC24M_OSC_CONFIG1 (IMXRT_XTALOSC24M.offset2B0)
  5123. #define XTALOSC24M_OSC_CONFIG1_SET (IMXRT_XTALOSC24M.offset2B4)
  5124. #define XTALOSC24M_OSC_CONFIG1_CLR (IMXRT_XTALOSC24M.offset2B8)
  5125. #define XTALOSC24M_OSC_CONFIG1_TOG (IMXRT_XTALOSC24M.offset2BC)
  5126. #define XTALOSC24M_OSC_CONFIG2 (IMXRT_XTALOSC24M.offset2C0)
  5127. #define XTALOSC24M_OSC_CONFIG2_SET (IMXRT_XTALOSC24M.offset2C4)
  5128. #define XTALOSC24M_OSC_CONFIG2_CLR (IMXRT_XTALOSC24M.offset2C8)
  5129. #define XTALOSC24M_OSC_CONFIG2_TOG (IMXRT_XTALOSC24M.offset2CC)