mFrame
載入中...
搜尋中...
無符合項目
LPI2C.h
1
7#ifndef MCXA153_24487F57_5891_46B9_BC96_EB155B14D364
8#define MCXA153_24487F57_5891_46B9_BC96_EB155B14D364
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16#include "./../lpi2c/Mask.h"
17#include "./../lpi2c/Register.h"
18#include "./../lpi2c/Shift.h"
19
20//----------------------------------------------------------------------------------------
21
22/* ***************************************************************************************
23 * Namespace
24 */
26 class LPI2C;
27 extern Register &LPI2C0;
28} // namespace mcxa153::chip::lpi2c
29
30/* ***************************************************************************************
31 * Class/Interface/Struct/Enum
32 */
33
93 /* *************************************************************************************
94 * Variable
95 */
96
97 /* *************************************************************************************
98 * Abstract Method
99 */
100
101 /* *************************************************************************************
102 * Construct Method
103 */
104 protected:
109 virtual ~LPI2C(void) override = default;
110
111 /* *************************************************************************************
112 * Operator Method
113 */
114
115 /* *************************************************************************************
116 * Override Method
117 */
118
119 /* *************************************************************************************
120 * Public Method
121 */
122
123 /* *************************************************************************************
124 * Protected Method
125 */
126
127 /* *************************************************************************************
128 * Private Method
129 */
130
131 /* *************************************************************************************
132 * Static Variable
133 */
134
135 /* *************************************************************************************
136 * Static Method
137 */
138 public:
148 static inline constexpr uint32 VERID_FEATURE(uint32 value) {
149 return ((value << +Shift::VERID_FEATURE) & +Mask::VERID_FEATURE);
150 }
151
157 static inline constexpr uint32 VERID_MINOR(uint32 value) {
158 return ((value << +Shift::VERID_MINOR) & +Mask::VERID_MINOR);
159 }
160
166 static inline constexpr uint32 VERID_MAJOR(uint32 value) {
167 return ((value << +Shift::VERID_MAJOR) & +Mask::VERID_MAJOR);
168 }
169
175 static inline constexpr uint32 PARAM_MTXFIFO(uint32 value) {
176 return ((value << +Shift::PARAM_MTXFIFO) & +Mask::PARAM_MTXFIFO);
177 }
178
184 static inline constexpr uint32 PARAM_MRXFIFO(uint32 value) {
185 return ((value << +Shift::PARAM_MRXFIFO) & +Mask::PARAM_MRXFIFO);
186 }
187
197 static inline constexpr uint32 MCR_MEN(uint32 value) {
198 return ((value << +Shift::MCR_MEN) & +Mask::MCR_MEN);
199 }
200
210 static inline constexpr uint32 MCR_RST(uint32 value) {
211 return ((value << +Shift::MCR_RST) & +Mask::MCR_RST);
212 }
213
223 static inline constexpr uint32 MCR_DOZEN(uint32 value) {
224 return ((value << +Shift::MCR_DOZEN) & +Mask::MCR_DOZEN);
225 }
226
236 static inline constexpr uint32 MCR_DBGEN(uint32 value) {
237 return ((value << +Shift::MCR_DBGEN) & +Mask::MCR_DBGEN);
238 }
239
249 static inline constexpr uint32 MCR_RTF(uint32 value) {
250 return ((value << +Shift::MCR_RTF) & +Mask::MCR_RTF);
251 }
252
262 static inline constexpr uint32 MCR_RRF(uint32 value) {
263 return ((value << +Shift::MCR_RRF) & +Mask::MCR_RRF);
264 }
265
275 static inline constexpr uint32 MSR_TDF(uint32 value) {
276 return ((value << +Shift::MSR_TDF) & +Mask::MSR_TDF);
277 }
278
288 static inline constexpr uint32 MSR_RDF(uint32 value) {
289 return ((value << +Shift::MSR_RDF) & +Mask::MSR_RDF);
290 }
291
305 static inline constexpr uint32 MSR_EPF(uint32 value) {
306 return ((value << +Shift::MSR_EPF) & +Mask::MSR_EPF);
307 }
308
322 static inline constexpr uint32 MSR_SDF(uint32 value) {
323 return ((value << +Shift::MSR_SDF) & +Mask::MSR_SDF);
324 }
325
339 static inline constexpr uint32 MSR_NDF(uint32 value) {
340 return ((value << +Shift::MSR_NDF) & +Mask::MSR_NDF);
341 }
342
356 static inline constexpr uint32 MSR_ALF(uint32 value) {
357 return ((value << +Shift::MSR_ALF) & +Mask::MSR_ALF);
358 }
359
373 static inline constexpr uint32 MSR_FEF(uint32 value) {
374 return ((value << +Shift::MSR_FEF) & +Mask::MSR_FEF);
375 }
376
390 static inline constexpr uint32 MSR_PLTF(uint32 value) {
391 return ((value << +Shift::MSR_PLTF) & +Mask::MSR_PLTF);
392 }
393
407 static inline constexpr uint32 MSR_DMF(uint32 value) {
408 return ((value << +Shift::MSR_DMF) & +Mask::MSR_DMF);
409 }
410
424 static inline constexpr uint32 MSR_STF(uint32 value) {
425 return ((value << +Shift::MSR_STF) & +Mask::MSR_STF);
426 }
427
437 static inline constexpr uint32 MSR_MBF(uint32 value) {
438 return ((value << +Shift::MSR_MBF) & +Mask::MSR_MBF);
439 }
440
450 static inline constexpr uint32 MSR_BBF(uint32 value) {
451 return ((value << +Shift::MSR_BBF) & +Mask::MSR_BBF);
452 }
453
463 static inline constexpr uint32 MIER_TDIE(uint32 value) {
464 return ((value << +Shift::MIER_TDIE) & +Mask::MIER_TDIE);
465 }
466
476 static inline constexpr uint32 MIER_RDIE(uint32 value) {
477 return ((value << +Shift::MIER_RDIE) & +Mask::MIER_RDIE);
478 }
479
489 static inline constexpr uint32 MIER_EPIE(uint32 value) {
490 return ((value << +Shift::MIER_EPIE) & +Mask::MIER_EPIE);
491 }
492
502 static inline constexpr uint32 MIER_SDIE(uint32 value) {
503 return ((value << +Shift::MIER_SDIE) & +Mask::MIER_SDIE);
504 }
505
515 static inline constexpr uint32 MIER_NDIE(uint32 value) {
516 return ((value << +Shift::MIER_NDIE) & +Mask::MIER_NDIE);
517 }
518
528 static inline constexpr uint32 MIER_ALIE(uint32 value) {
529 return ((value << +Shift::MIER_ALIE) & +Mask::MIER_ALIE);
530 }
531
541 static inline constexpr uint32 MIER_FEIE(uint32 value) {
542 return ((value << +Shift::MIER_FEIE) & +Mask::MIER_FEIE);
543 }
544
554 static inline constexpr uint32 MIER_PLTIE(uint32 value) {
555 return ((value << +Shift::MIER_PLTIE) & +Mask::MIER_PLTIE);
556 }
557
567 static inline constexpr uint32 MIER_DMIE(uint32 value) {
568 return ((value << +Shift::MIER_DMIE) & +Mask::MIER_DMIE);
569 }
570
580 static inline constexpr uint32 MIER_STIE(uint32 value) {
581 return ((value << +Shift::MIER_STIE) & +Mask::MIER_STIE);
582 }
583
593 static inline constexpr uint32 MDER_TDDE(uint32 value) {
594 return ((value << +Shift::MDER_TDDE) & +Mask::MDER_TDDE);
595 }
596
606 static inline constexpr uint32 MDER_RDDE(uint32 value) {
607 return ((value << +Shift::MDER_RDDE) & +Mask::MDER_RDDE);
608 }
609
619 static inline constexpr uint32 MCFGR0_HREN(uint32 value) {
620 return ((value << +Shift::MCFGR0_HREN) & +Mask::MCFGR0_HREN);
621 }
622
632 static inline constexpr uint32 MCFGR0_HRPOL(uint32 value) {
633 return ((value << +Shift::MCFGR0_HRPOL) & +Mask::MCFGR0_HRPOL);
634 }
635
645 static inline constexpr uint32 MCFGR0_HRSEL(uint32 value) {
646 return ((value << +Shift::MCFGR0_HRSEL) & +Mask::MCFGR0_HRSEL);
647 }
648
658 static inline constexpr uint32 MCFGR0_HRDIR(uint32 value) {
659 return ((value << +Shift::MCFGR0_HRDIR) & +Mask::MCFGR0_HRDIR);
660 }
661
671 static inline constexpr uint32 MCFGR0_CIRFIFO(uint32 value) {
672 return ((value << +Shift::MCFGR0_CIRFIFO) & +Mask::MCFGR0_CIRFIFO);
673 }
674
684 static inline constexpr uint32 MCFGR0_RDMO(uint32 value) {
685 return ((value << +Shift::MCFGR0_RDMO) & +Mask::MCFGR0_RDMO);
686 }
687
697 static inline constexpr uint32 MCFGR0_RELAX(uint32 value) {
698 return ((value << +Shift::MCFGR0_RELAX) & +Mask::MCFGR0_RELAX);
699 }
700
710 static inline constexpr uint32 MCFGR0_ABORT(uint32 value) {
711 return ((value << +Shift::MCFGR0_ABORT) & +Mask::MCFGR0_ABORT);
712 }
713
735 static inline constexpr uint32 MCFGR1_PRESCALE(uint32 value) {
736 return ((value << +Shift::MCFGR1_PRESCALE) & +Mask::MCFGR1_PRESCALE);
737 }
738
748 static inline constexpr uint32 MCFGR1_AUTOSTOP(uint32 value) {
749 return ((value << +Shift::MCFGR1_AUTOSTOP) & +Mask::MCFGR1_AUTOSTOP);
750 }
751
761 static inline constexpr uint32 MCFGR1_IGNACK(uint32 value) {
762 return ((value << +Shift::MCFGR1_IGNACK) & +Mask::MCFGR1_IGNACK);
763 }
764
774 static inline constexpr uint32 MCFGR1_TIMECFG(uint32 value) {
775 return ((value << +Shift::MCFGR1_TIMECFG) & +Mask::MCFGR1_TIMECFG);
776 }
777
787 static inline constexpr uint32 MCFGR1_STOPCFG(uint32 value) {
788 return ((value << +Shift::MCFGR1_STOPCFG) & +Mask::MCFGR1_STOPCFG);
789 }
790
800 static inline constexpr uint32 MCFGR1_STARTCFG(uint32 value) {
801 return ((value << +Shift::MCFGR1_STARTCFG) & +Mask::MCFGR1_STARTCFG);
802 }
803
829 static inline constexpr uint32 MCFGR1_MATCFG(uint32 value) {
830 return ((value << +Shift::MCFGR1_MATCFG) & +Mask::MCFGR1_MATCFG);
831 }
832
854 static inline constexpr uint32 MCFGR1_PINCFG(uint32 value) {
855 return ((value << +Shift::MCFGR1_PINCFG) & +Mask::MCFGR1_PINCFG);
856 }
857
863 static inline constexpr uint32 MCFGR2_BUSIDLE(uint32 value) {
864 return ((value << +Shift::MCFGR2_BUSIDLE) & +Mask::MCFGR2_BUSIDLE);
865 }
866
872 static inline constexpr uint32 MCFGR2_FILTSCL(uint32 value) {
873 return ((value << +Shift::MCFGR2_FILTSCL) & +Mask::MCFGR2_FILTSCL);
874 }
875
881 static inline constexpr uint32 MCFGR2_FILTSDA(uint32 value) {
882 return ((value << +Shift::MCFGR2_FILTSDA) & +Mask::MCFGR2_FILTSDA);
883 }
884
890 static inline constexpr uint32 MCFGR3_PINLOW(uint32 value) {
891 return ((value << +Shift::MCFGR3_PINLOW) & +Mask::MCFGR3_PINLOW);
892 }
893
899 static inline constexpr uint32 MDMR_MATCH0(uint32 value) {
900 return ((value << +Shift::MDMR_MATCH0) & +Mask::MDMR_MATCH0);
901 }
902
908 static inline constexpr uint32 MDMR_MATCH1(uint32 value) {
909 return ((value << +Shift::MDMR_MATCH1) & +Mask::MDMR_MATCH1);
910 }
911
916 static inline constexpr uint32 MCCR0_CLKLO(uint32 value) {
917 return ((value << +Shift::MCCR0_CLKLO) & +Mask::MCCR0_CLKLO);
918 }
919
924 static inline constexpr uint32 MCCR0_CLKHI(uint32 value) {
925 return ((value << +Shift::MCCR0_CLKHI) & +Mask::MCCR0_CLKHI);
926 }
927
932 static inline constexpr uint32 MCCR0_SETHOLD(uint32 value) {
933 return ((value << +Shift::MCCR0_SETHOLD) & +Mask::MCCR0_SETHOLD);
934 }
935
940 static inline constexpr uint32 MCCR0_DATAVD(uint32 value) {
941 return ((value << +Shift::MCCR0_DATAVD) & +Mask::MCCR0_DATAVD);
942 }
943
948 static inline constexpr uint32 MCCR1_CLKLO(uint32 value) {
949 return ((value << +Shift::MCCR1_CLKLO) & +Mask::MCCR1_CLKLO);
950 }
951
956 static inline constexpr uint32 MCCR1_CLKHI(uint32 value) {
957 return ((value << +Shift::MCCR1_CLKHI) & +Mask::MCCR1_CLKHI);
958 }
959
964 static inline constexpr uint32 MCCR1_SETHOLD(uint32 value) {
965 return ((value << +Shift::MCCR1_SETHOLD) & +Mask::MCCR1_SETHOLD);
966 }
967
972 static inline constexpr uint32 MCCR1_DATAVD(uint32 value) {
973 return ((value << +Shift::MCCR1_DATAVD) & +Mask::MCCR1_DATAVD);
974 }
975
981 static inline constexpr uint32 MFCR_TXWATER(uint32 value) {
982 return ((value << +Shift::MFCR_TXWATER) & +Mask::MFCR_TXWATER);
983 }
984
990 static inline constexpr uint32 MFCR_RXWATER(uint32 value) {
991 return ((value << +Shift::MFCR_RXWATER) & +Mask::MFCR_RXWATER);
992 }
993
999 static inline constexpr uint32 MFSR_TXCOUNT(uint32 value) {
1000 return ((value << +Shift::MFSR_TXCOUNT) & +Mask::MFSR_TXCOUNT);
1001 }
1002
1008 static inline constexpr uint32 MFSR_RXCOUNT(uint32 value) {
1009 return ((value << +Shift::MFSR_RXCOUNT) & +Mask::MFSR_RXCOUNT);
1010 }
1011
1017 static inline constexpr uint32 MTDR_DATA(uint32 value) {
1018 return ((value << +Shift::MTDR_DATA) & +Mask::MTDR_DATA);
1019 }
1020
1046 static inline constexpr uint32 MTDR_CMD(uint32 value) {
1047 return ((value << +Shift::MTDR_CMD) & +Mask::MTDR_CMD);
1048 }
1049
1054 static inline constexpr uint32 MRDR_DATA(uint32 value) {
1055 return ((value << +Shift::MRDR_DATA) & +Mask::MRDR_DATA);
1056 }
1057
1067 static inline constexpr uint32 MRDR_RXEMPTY(uint32 value) {
1068 return ((value << +Shift::MRDR_RXEMPTY) & +Mask::MRDR_RXEMPTY);
1069 }
1070
1075 static inline constexpr uint32 MRDROR_DATA(uint32 value) {
1076 return ((value << +Shift::MRDROR_DATA) & +Mask::MRDROR_DATA);
1077 }
1078
1088 static inline constexpr uint32 MRDROR_RXEMPTY(uint32 value) {
1089 return ((value << +Shift::MRDROR_RXEMPTY) & +Mask::MRDROR_RXEMPTY);
1090 }
1091
1101 static inline constexpr uint32 SCR_SEN(uint32 value) {
1102 return ((value << +Shift::SCR_SEN) & +Mask::SCR_SEN);
1103 }
1104
1114 static inline constexpr uint32 SCR_RST(uint32 value) {
1115 return ((value << +Shift::SCR_RST) & +Mask::SCR_RST);
1116 }
1117
1127 static inline constexpr uint32 SCR_FILTEN(uint32 value) {
1128 return ((value << +Shift::SCR_FILTEN) & +Mask::SCR_FILTEN);
1129 }
1130
1140 static inline constexpr uint32 SCR_FILTDZ(uint32 value) {
1141 return ((value << +Shift::SCR_FILTDZ) & +Mask::SCR_FILTDZ);
1142 }
1143
1153 static inline constexpr uint32 SCR_RTF(uint32 value) {
1154 return ((value << +Shift::SCR_RTF) & +Mask::SCR_RTF);
1155 }
1156
1166 static inline constexpr uint32 SCR_RRF(uint32 value) {
1167 return ((value << +Shift::SCR_RRF) & +Mask::SCR_RRF);
1168 }
1169
1179 static inline constexpr uint32 SSR_TDF(uint32 value) {
1180 return ((value << +Shift::SSR_TDF) & +Mask::SSR_TDF);
1181 }
1182
1192 static inline constexpr uint32 SSR_RDF(uint32 value) {
1193 return ((value << +Shift::SSR_RDF) & +Mask::SSR_RDF);
1194 }
1195
1205 static inline constexpr uint32 SSR_AVF(uint32 value) {
1206 return ((value << +Shift::SSR_AVF) & +Mask::SSR_AVF);
1207 }
1208
1218 static inline constexpr uint32 SSR_TAF(uint32 value) {
1219 return ((value << +Shift::SSR_TAF) & +Mask::SSR_TAF);
1220 }
1221
1235 static inline constexpr uint32 SSR_RSF(uint32 value) {
1236 return ((value << +Shift::SSR_RSF) & +Mask::SSR_RSF);
1237 }
1238
1252 static inline constexpr uint32 SSR_SDF(uint32 value) {
1253 return ((value << +Shift::SSR_SDF) & +Mask::SSR_SDF);
1254 }
1255
1269 static inline constexpr uint32 SSR_BEF(uint32 value) {
1270 return ((value << +Shift::SSR_BEF) & +Mask::SSR_BEF);
1271 }
1272
1286 static inline constexpr uint32 SSR_FEF(uint32 value) {
1287 return ((value << +Shift::SSR_FEF) & +Mask::SSR_FEF);
1288 }
1289
1299 static inline constexpr uint32 SSR_AM0F(uint32 value) {
1300 return ((value << +Shift::SSR_AM0F) & +Mask::SSR_AM0F);
1301 }
1302
1312 static inline constexpr uint32 SSR_AM1F(uint32 value) {
1313 return ((value << +Shift::SSR_AM1F) & +Mask::SSR_AM1F);
1314 }
1315
1325 static inline constexpr uint32 SSR_GCF(uint32 value) {
1326 return ((value << +Shift::SSR_GCF) & +Mask::SSR_GCF);
1327 }
1328
1338 static inline constexpr uint32 SSR_SARF(uint32 value) {
1339 return ((value << +Shift::SSR_SARF) & +Mask::SSR_SARF);
1340 }
1341
1351 static inline constexpr uint32 SSR_SBF(uint32 value) {
1352 return ((value << +Shift::SSR_SBF) & +Mask::SSR_SBF);
1353 }
1354
1364 static inline constexpr uint32 SSR_BBF(uint32 value) {
1365 return ((value << +Shift::SSR_BBF) & +Mask::SSR_BBF);
1366 }
1367
1377 static inline constexpr uint32 SIER_TDIE(uint32 value) {
1378 return ((value << +Shift::SIER_TDIE) & +Mask::SIER_TDIE);
1379 }
1380
1390 static inline constexpr uint32 SIER_RDIE(uint32 value) {
1391 return ((value << +Shift::SIER_RDIE) & +Mask::SIER_RDIE);
1392 }
1393
1403 static inline constexpr uint32 SIER_AVIE(uint32 value) {
1404 return ((value << +Shift::SIER_AVIE) & +Mask::SIER_AVIE);
1405 }
1406
1416 static inline constexpr uint32 SIER_TAIE(uint32 value) {
1417 return ((value << +Shift::SIER_TAIE) & +Mask::SIER_TAIE);
1418 }
1419
1429 static inline constexpr uint32 SIER_RSIE(uint32 value) {
1430 return ((value << +Shift::SIER_RSIE) & +Mask::SIER_RSIE);
1431 }
1432
1442 static inline constexpr uint32 SIER_SDIE(uint32 value) {
1443 return ((value << +Shift::SIER_SDIE) & +Mask::SIER_SDIE);
1444 }
1445
1455 static inline constexpr uint32 SIER_BEIE(uint32 value) {
1456 return ((value << +Shift::SIER_BEIE) & +Mask::SIER_BEIE);
1457 }
1458
1468 static inline constexpr uint32 SIER_FEIE(uint32 value) {
1469 return ((value << +Shift::SIER_FEIE) & +Mask::SIER_FEIE);
1470 }
1471
1481 static inline constexpr uint32 SIER_AM0IE(uint32 value) {
1482 return ((value << +Shift::SIER_AM0IE) & +Mask::SIER_AM0IE);
1483 }
1484
1494 static inline constexpr uint32 SIER_AM1IE(uint32 value) {
1495 return ((value << +Shift::SIER_AM1IE) & +Mask::SIER_AM1IE);
1496 }
1497
1507 static inline constexpr uint32 SIER_GCIE(uint32 value) {
1508 return ((value << +Shift::SIER_GCIE) & +Mask::SIER_GCIE);
1509 }
1510
1520 static inline constexpr uint32 SIER_SARIE(uint32 value) {
1521 return ((value << +Shift::SIER_SARIE) & +Mask::SIER_SARIE);
1522 }
1523
1533 static inline constexpr uint32 SDER_TDDE(uint32 value) {
1534 return ((value << +Shift::SDER_TDDE) & +Mask::SDER_TDDE);
1535 }
1536
1546 static inline constexpr uint32 SDER_RDDE(uint32 value) {
1547 return ((value << +Shift::SDER_RDDE) & +Mask::SDER_RDDE);
1548 }
1549
1559 static inline constexpr uint32 SDER_AVDE(uint32 value) {
1560 return ((value << +Shift::SDER_AVDE) & +Mask::SDER_AVDE);
1561 }
1562
1572 static inline constexpr uint32 SDER_RSDE(uint32 value) {
1573 return ((value << +Shift::SDER_RSDE) & +Mask::SDER_RSDE);
1574 }
1575
1585 static inline constexpr uint32 SDER_SDDE(uint32 value) {
1586 return ((value << +Shift::SDER_SDDE) & +Mask::SDER_SDDE);
1587 }
1588
1598 static inline constexpr uint32 SCFGR0_RDREQ(uint32 value) {
1599 return ((value << +Shift::SCFGR0_RDREQ) & +Mask::SCFGR0_RDREQ);
1600 }
1601
1611 static inline constexpr uint32 SCFGR0_RDACK(uint32 value) {
1612 return ((value << +Shift::SCFGR0_RDACK) & +Mask::SCFGR0_RDACK);
1613 }
1614
1624 static inline constexpr uint32 SCFGR1_ADRSTALL(uint32 value) {
1625 return ((value << +Shift::SCFGR1_ADRSTALL) & +Mask::SCFGR1_ADRSTALL);
1626 }
1627
1637 static inline constexpr uint32 SCFGR1_RXSTALL(uint32 value) {
1638 return ((value << +Shift::SCFGR1_RXSTALL) & +Mask::SCFGR1_RXSTALL);
1639 }
1640
1650 static inline constexpr uint32 SCFGR1_TXDSTALL(uint32 value) {
1651 return ((value << +Shift::SCFGR1_TXDSTALL) & +Mask::SCFGR1_TXDSTALL);
1652 }
1653
1663 static inline constexpr uint32 SCFGR1_ACKSTALL(uint32 value) {
1664 return ((value << +Shift::SCFGR1_ACKSTALL) & +Mask::SCFGR1_ACKSTALL);
1665 }
1666
1677 static inline constexpr uint32 SCFGR1_RXNACK(uint32 value) {
1678 return ((value << +Shift::SCFGR1_RXNACK) & +Mask::SCFGR1_RXNACK);
1679 }
1680
1690 static inline constexpr uint32 SCFGR1_GCEN(uint32 value) {
1691 return ((value << +Shift::SCFGR1_GCEN) & +Mask::SCFGR1_GCEN);
1692 }
1693
1703 static inline constexpr uint32 SCFGR1_SAEN(uint32 value) {
1704 return ((value << +Shift::SCFGR1_SAEN) & +Mask::SCFGR1_SAEN);
1705 }
1706
1716 static inline constexpr uint32 SCFGR1_TXCFG(uint32 value) {
1717 return ((value << +Shift::SCFGR1_TXCFG) & +Mask::SCFGR1_TXCFG);
1718 }
1719
1730 static inline constexpr uint32 SCFGR1_RXCFG(uint32 value) {
1731 return ((value << +Shift::SCFGR1_RXCFG) & +Mask::SCFGR1_RXCFG);
1732 }
1733
1743 static inline constexpr uint32 SCFGR1_IGNACK(uint32 value) {
1744 return ((value << +Shift::SCFGR1_IGNACK) & +Mask::SCFGR1_IGNACK);
1745 }
1746
1756 static inline constexpr uint32 SCFGR1_HSMEN(uint32 value) {
1757 return ((value << +Shift::SCFGR1_HSMEN) & +Mask::SCFGR1_HSMEN);
1758 }
1759
1781 static inline constexpr uint32 SCFGR1_ADDRCFG(uint32 value) {
1782 return ((value << +Shift::SCFGR1_ADDRCFG) & +Mask::SCFGR1_ADDRCFG);
1783 }
1784
1794 static inline constexpr uint32 SCFGR1_RXALL(uint32 value) {
1795 return ((value << +Shift::SCFGR1_RXALL) & +Mask::SCFGR1_RXALL);
1796 }
1797
1807 static inline constexpr uint32 SCFGR1_RSCFG(uint32 value) {
1808 return ((value << +Shift::SCFGR1_RSCFG) & +Mask::SCFGR1_RSCFG);
1809 }
1810
1820 static inline constexpr uint32 SCFGR1_SDCFG(uint32 value) {
1821 return ((value << +Shift::SCFGR1_SDCFG) & +Mask::SCFGR1_SDCFG);
1822 }
1823
1829 static inline constexpr uint32 SCFGR2_CLKHOLD(uint32 value) {
1830 return ((value << +Shift::SCFGR2_CLKHOLD) & +Mask::SCFGR2_CLKHOLD);
1831 }
1832
1838 static inline constexpr uint32 SCFGR2_DATAVD(uint32 value) {
1839 return ((value << +Shift::SCFGR2_DATAVD) & +Mask::SCFGR2_DATAVD);
1840 }
1841
1847 static inline constexpr uint32 SCFGR2_FILTSCL(uint32 value) {
1848 return ((value << +Shift::SCFGR2_FILTSCL) & +Mask::SCFGR2_FILTSCL);
1849 }
1850
1856 static inline constexpr uint32 SCFGR2_FILTSDA(uint32 value) {
1857 return ((value << +Shift::SCFGR2_FILTSDA) & +Mask::SCFGR2_FILTSDA);
1858 }
1859
1865 static inline constexpr uint32 SAMR_ADDR0(uint32 value) {
1866 return ((value << +Shift::SAMR_ADDR0) & +Mask::SAMR_ADDR0);
1867 }
1868
1874 static inline constexpr uint32 SAMR_ADDR1(uint32 value) {
1875 return ((value << +Shift::SAMR_ADDR1) & +Mask::SAMR_ADDR1);
1876 }
1877
1883 static inline constexpr uint32 SASR_RADDR(uint32 value) {
1884 return ((value << +Shift::SASR_RADDR) & +Mask::SASR_RADDR);
1885 }
1886
1896 static inline constexpr uint32 SASR_ANV(uint32 value) {
1897 return ((value << +Shift::SASR_ANV) & +Mask::SASR_ANV);
1898 }
1899
1909 static inline constexpr uint32 STAR_TXNACK(uint32 value) {
1910 return ((value << +Shift::STAR_TXNACK) & +Mask::STAR_TXNACK);
1911 }
1912
1918 static inline constexpr uint32 STDR_DATA(uint32 value) {
1919 return ((value << +Shift::STDR_DATA) & +Mask::STDR_DATA);
1920 }
1921
1927 static inline constexpr uint32 SRDR_DATA(uint32 value) {
1928 return ((value << +Shift::SRDR_DATA) & +Mask::SRDR_DATA);
1929 }
1930
1936 static inline constexpr uint32 SRDR_RADDR(uint32 value) {
1937 return ((value << +Shift::SRDR_RADDR) & +Mask::SRDR_RADDR);
1938 }
1939
1949 static inline constexpr uint32 SRDR_RXEMPTY(uint32 value) {
1950 return ((value << +Shift::SRDR_RXEMPTY) & +Mask::SRDR_RXEMPTY);
1951 }
1952
1962 static inline constexpr uint32 SRDR_SOF(uint32 value) {
1963 return ((value << +Shift::SRDR_SOF) & +Mask::SRDR_SOF);
1964 }
1965
1971 static inline constexpr uint32 SRDROR_DATA(uint32 value) {
1972 return ((value << +Shift::SRDROR_DATA) & +Mask::SRDROR_DATA);
1973 }
1974
1980 static inline constexpr uint32 SRDROR_RADDR(uint32 value) {
1981 return ((value << +Shift::SRDROR_RADDR) & +Mask::SRDROR_RADDR);
1982 }
1983
1993 static inline constexpr uint32 SRDROR_RXEMPTY(uint32 value) {
1994 return ((value << +Shift::SRDROR_RXEMPTY) & +Mask::SRDROR_RXEMPTY);
1995 }
1996
2006 static inline constexpr uint32 SRDROR_SOF(uint32 value) {
2007 return ((value << +Shift::SRDROR_SOF) & +Mask::SRDROR_SOF);
2008 }
2009};
2010
2011/* ***************************************************************************************
2012 * End of file
2013 */
2014
2015#endif /* MCXA153_24487F57_5891_46B9_BC96_EB155B14D364 */
MCXA153 低功耗 I2C (Low Power I2C) 控制器靜態工具類別
Definition LPI2C.h:92
static constexpr uint32 MDER_RDDE(uint32 value)
MDER - RDDE.
Definition LPI2C.h:606
static constexpr uint32 SIER_RDIE(uint32 value)
SIER - RDIE.
Definition LPI2C.h:1390
static constexpr uint32 SCFGR1_HSMEN(uint32 value)
SCFGR1 - HSMEN.
Definition LPI2C.h:1756
static constexpr uint32 MSR_FEF(uint32 value)
MSR - FEF.
Definition LPI2C.h:373
static constexpr uint32 MCFGR1_PRESCALE(uint32 value)
MCFGR1 - PRESCALE.
Definition LPI2C.h:735
static constexpr uint32 MCFGR1_STOPCFG(uint32 value)
MCFGR1 - STOPCFG.
Definition LPI2C.h:787
static constexpr uint32 SSR_BEF(uint32 value)
SSR - BEF.
Definition LPI2C.h:1269
static constexpr uint32 SIER_SARIE(uint32 value)
SIER - SARIE.
Definition LPI2C.h:1520
static constexpr uint32 MCR_RRF(uint32 value)
MCR - RRF.
Definition LPI2C.h:262
static constexpr uint32 MCFGR1_IGNACK(uint32 value)
MCFGR1 - IGNACK.
Definition LPI2C.h:761
static constexpr uint32 MIER_EPIE(uint32 value)
MIER - EPIE.
Definition LPI2C.h:489
static constexpr uint32 MCFGR0_HRSEL(uint32 value)
MCFGR0 - HRSEL.
Definition LPI2C.h:645
static constexpr uint32 STDR_DATA(uint32 value)
STDR - DATA.
Definition LPI2C.h:1918
static constexpr uint32 STAR_TXNACK(uint32 value)
STAR - TXNACK.
Definition LPI2C.h:1909
static constexpr uint32 SSR_BBF(uint32 value)
SSR - BBF.
Definition LPI2C.h:1364
static constexpr uint32 SCFGR2_FILTSDA(uint32 value)
SCFGR2 - FILTSDA.
Definition LPI2C.h:1856
static constexpr uint32 SDER_TDDE(uint32 value)
SDER - TDDE.
Definition LPI2C.h:1533
static constexpr uint32 MCR_RTF(uint32 value)
MCR - RTF.
Definition LPI2C.h:249
static constexpr uint32 MCFGR1_PINCFG(uint32 value)
MCFGR1 - PINCFG.
Definition LPI2C.h:854
static constexpr uint32 MCR_RST(uint32 value)
MCR - RST.
Definition LPI2C.h:210
static constexpr uint32 MTDR_CMD(uint32 value)
MTDR - CMD.
Definition LPI2C.h:1046
static constexpr uint32 MCFGR0_HRPOL(uint32 value)
MCFGR0 - HRPOL.
Definition LPI2C.h:632
static constexpr uint32 VERID_MAJOR(uint32 value)
VERID - MAJOR.
Definition LPI2C.h:166
static constexpr uint32 SIER_FEIE(uint32 value)
SIER - FEIE.
Definition LPI2C.h:1468
static constexpr uint32 SSR_SBF(uint32 value)
SSR - SBF.
Definition LPI2C.h:1351
static constexpr uint32 SIER_TAIE(uint32 value)
SIER - TAIE.
Definition LPI2C.h:1416
static constexpr uint32 SAMR_ADDR0(uint32 value)
SAMR - ADDR0.
Definition LPI2C.h:1865
static constexpr uint32 SCFGR1_RSCFG(uint32 value)
SCFGR1 - RSCFG.
Definition LPI2C.h:1807
static constexpr uint32 MCCR0_CLKHI(uint32 value)
MCCR0 - CLKHI.
Definition LPI2C.h:924
static constexpr uint32 MFCR_TXWATER(uint32 value)
MFCR - TXWATER.
Definition LPI2C.h:981
static constexpr uint32 PARAM_MTXFIFO(uint32 value)
PARAM - MTXFIFO.
Definition LPI2C.h:175
static constexpr uint32 MCFGR2_BUSIDLE(uint32 value)
MCFGR2 - BUSIDLE.
Definition LPI2C.h:863
static constexpr uint32 MIER_NDIE(uint32 value)
MIER - NDIE.
Definition LPI2C.h:515
static constexpr uint32 SRDR_RXEMPTY(uint32 value)
SRDR - RXEMPTY.
Definition LPI2C.h:1949
static constexpr uint32 MCFGR2_FILTSCL(uint32 value)
MCFGR2 - FILTSCL.
Definition LPI2C.h:872
static constexpr uint32 SCFGR1_SDCFG(uint32 value)
SCFGR1 - SDCFG.
Definition LPI2C.h:1820
static constexpr uint32 SIER_BEIE(uint32 value)
SIER - BEIE.
Definition LPI2C.h:1455
static constexpr uint32 MCCR1_CLKLO(uint32 value)
MCCR1 - CLKLO.
Definition LPI2C.h:948
static constexpr uint32 SIER_RSIE(uint32 value)
SIER - RSIE.
Definition LPI2C.h:1429
static constexpr uint32 SCR_RRF(uint32 value)
SCR - RRF.
Definition LPI2C.h:1166
static constexpr uint32 SSR_SDF(uint32 value)
SSR - SDF.
Definition LPI2C.h:1252
static constexpr uint32 SCFGR1_TXDSTALL(uint32 value)
SCFGR1 - TXDSTALL.
Definition LPI2C.h:1650
static constexpr uint32 MCFGR0_HREN(uint32 value)
MCFGR0 - HREN.
Definition LPI2C.h:619
static constexpr uint32 MCCR0_DATAVD(uint32 value)
MCCR0 - DATAVD.
Definition LPI2C.h:940
static constexpr uint32 MIER_FEIE(uint32 value)
MIER - FEIE.
Definition LPI2C.h:541
static constexpr uint32 MCCR0_CLKLO(uint32 value)
MCCR0 - CLKLO.
Definition LPI2C.h:916
static constexpr uint32 SIER_SDIE(uint32 value)
SIER - SDIE.
Definition LPI2C.h:1442
static constexpr uint32 MCFGR3_PINLOW(uint32 value)
MCFGR3 - PINLOW.
Definition LPI2C.h:890
static constexpr uint32 MSR_TDF(uint32 value)
MSR - TDF.
Definition LPI2C.h:275
static constexpr uint32 SSR_RDF(uint32 value)
SSR - RDF.
Definition LPI2C.h:1192
static constexpr uint32 MSR_EPF(uint32 value)
MSR - EPF.
Definition LPI2C.h:305
static constexpr uint32 SSR_TAF(uint32 value)
SSR - TAF.
Definition LPI2C.h:1218
static constexpr uint32 SIER_AM1IE(uint32 value)
SIER - AM1IE.
Definition LPI2C.h:1494
static constexpr uint32 PARAM_MRXFIFO(uint32 value)
PARAM - MRXFIFO.
Definition LPI2C.h:184
static constexpr uint32 SAMR_ADDR1(uint32 value)
SAMR - ADDR1.
Definition LPI2C.h:1874
static constexpr uint32 MSR_STF(uint32 value)
MSR - STF.
Definition LPI2C.h:424
static constexpr uint32 SCFGR1_SAEN(uint32 value)
SCFGR1 - SAEN.
Definition LPI2C.h:1703
static constexpr uint32 MCFGR1_MATCFG(uint32 value)
MCFGR1 - MATCFG.
Definition LPI2C.h:829
static constexpr uint32 SIER_GCIE(uint32 value)
SIER - GCIE.
Definition LPI2C.h:1507
static constexpr uint32 SDER_AVDE(uint32 value)
SDER - AVDE.
Definition LPI2C.h:1559
static constexpr uint32 SSR_TDF(uint32 value)
SSR - TDF.
Definition LPI2C.h:1179
static constexpr uint32 MFSR_TXCOUNT(uint32 value)
MFSR - TXCOUNT.
Definition LPI2C.h:999
static constexpr uint32 SCFGR1_IGNACK(uint32 value)
SCFGR1 - IGNACK.
Definition LPI2C.h:1743
static constexpr uint32 SSR_AVF(uint32 value)
SSR - AVF.
Definition LPI2C.h:1205
static constexpr uint32 SCFGR1_RXCFG(uint32 value)
SCFGR1 - RXCFG.
Definition LPI2C.h:1730
static constexpr uint32 SCFGR1_RXALL(uint32 value)
SCFGR1 - RXALL.
Definition LPI2C.h:1794
static constexpr uint32 SCFGR2_DATAVD(uint32 value)
SCFGR2 - DATAVD.
Definition LPI2C.h:1838
static constexpr uint32 SCR_RST(uint32 value)
SCR - RST.
Definition LPI2C.h:1114
static constexpr uint32 SCR_FILTEN(uint32 value)
SCR - FILTEN.
Definition LPI2C.h:1127
static constexpr uint32 MIER_DMIE(uint32 value)
MIER - DMIE.
Definition LPI2C.h:567
static constexpr uint32 SSR_SARF(uint32 value)
SSR - SARF.
Definition LPI2C.h:1338
static constexpr uint32 MRDR_DATA(uint32 value)
MRDR - DATA.
Definition LPI2C.h:1054
static constexpr uint32 MFSR_RXCOUNT(uint32 value)
MFSR - RXCOUNT.
Definition LPI2C.h:1008
static constexpr uint32 SDER_SDDE(uint32 value)
SDER - SDDE.
Definition LPI2C.h:1585
static constexpr uint32 SRDR_RADDR(uint32 value)
SRDR - RADDR.
Definition LPI2C.h:1936
static constexpr uint32 SCR_FILTDZ(uint32 value)
SCR - FILTDZ.
Definition LPI2C.h:1140
static constexpr uint32 MCCR0_SETHOLD(uint32 value)
MCCR0 - SETHOLD.
Definition LPI2C.h:932
static constexpr uint32 MCCR1_DATAVD(uint32 value)
MCCR1 - DATAVD.
Definition LPI2C.h:972
static constexpr uint32 SCR_SEN(uint32 value)
SCR - SEN.
Definition LPI2C.h:1101
static constexpr uint32 MSR_ALF(uint32 value)
MSR - ALF.
Definition LPI2C.h:356
static constexpr uint32 MTDR_DATA(uint32 value)
MTDR - DATA.
Definition LPI2C.h:1017
static constexpr uint32 SCFGR1_ADDRCFG(uint32 value)
SCFGR1 - ADDRCFG.
Definition LPI2C.h:1781
static constexpr uint32 SRDROR_SOF(uint32 value)
SRDROR - SOF.
Definition LPI2C.h:2006
static constexpr uint32 MCFGR1_TIMECFG(uint32 value)
MCFGR1 - TIMECFG.
Definition LPI2C.h:774
static constexpr uint32 SCFGR1_TXCFG(uint32 value)
SCFGR1 - TXCFG.
Definition LPI2C.h:1716
static constexpr uint32 MCFGR0_ABORT(uint32 value)
MCFGR0 - ABORT.
Definition LPI2C.h:710
static constexpr uint32 MSR_RDF(uint32 value)
MSR - RDF.
Definition LPI2C.h:288
static constexpr uint32 SCFGR0_RDACK(uint32 value)
SCFGR0 - RDACK.
Definition LPI2C.h:1611
static constexpr uint32 MIER_RDIE(uint32 value)
MIER - RDIE.
Definition LPI2C.h:476
static constexpr uint32 SCFGR2_CLKHOLD(uint32 value)
SCFGR2 - CLKHOLD.
Definition LPI2C.h:1829
static constexpr uint32 SCFGR1_ADRSTALL(uint32 value)
SCFGR1 - ADRSTALL.
Definition LPI2C.h:1624
static constexpr uint32 SIER_AVIE(uint32 value)
SIER - AVIE.
Definition LPI2C.h:1403
static constexpr uint32 SCFGR1_RXNACK(uint32 value)
SCFGR1 - RXNACK.
Definition LPI2C.h:1677
static constexpr uint32 MCR_MEN(uint32 value)
MCR - MEN.
Definition LPI2C.h:197
static constexpr uint32 SIER_AM0IE(uint32 value)
SIER - AM0IE.
Definition LPI2C.h:1481
static constexpr uint32 SSR_GCF(uint32 value)
SSR - GCF.
Definition LPI2C.h:1325
static constexpr uint32 VERID_FEATURE(uint32 value)
VERID - FEATURE.
Definition LPI2C.h:148
static constexpr uint32 MCFGR2_FILTSDA(uint32 value)
MCFGR2 - FILTSDA.
Definition LPI2C.h:881
static constexpr uint32 MCCR1_CLKHI(uint32 value)
MCCR1 - CLKHI.
Definition LPI2C.h:956
static constexpr uint32 MCR_DOZEN(uint32 value)
MCR - DOZEN.
Definition LPI2C.h:223
static constexpr uint32 MSR_BBF(uint32 value)
MSR - BBF.
Definition LPI2C.h:450
static constexpr uint32 MFCR_RXWATER(uint32 value)
MFCR - RXWATER.
Definition LPI2C.h:990
static constexpr uint32 MDMR_MATCH0(uint32 value)
MDMR - MATCH0.
Definition LPI2C.h:899
static constexpr uint32 VERID_MINOR(uint32 value)
VERID - MINOR.
Definition LPI2C.h:157
static constexpr uint32 SASR_ANV(uint32 value)
SASR -ANV.
Definition LPI2C.h:1896
static constexpr uint32 MSR_PLTF(uint32 value)
MSR - PLTF.
Definition LPI2C.h:390
static constexpr uint32 MIER_ALIE(uint32 value)
MIER - ALIE.
Definition LPI2C.h:528
static constexpr uint32 SRDR_SOF(uint32 value)
SRDR - SOF.
Definition LPI2C.h:1962
static constexpr uint32 MSR_NDF(uint32 value)
MSR - NDF.
Definition LPI2C.h:339
static constexpr uint32 SDER_RDDE(uint32 value)
SDER - RDDE.
Definition LPI2C.h:1546
static constexpr uint32 SSR_AM1F(uint32 value)
SSR - AM1F.
Definition LPI2C.h:1312
static constexpr uint32 MIER_STIE(uint32 value)
MIER - STIE.
Definition LPI2C.h:580
static constexpr uint32 SRDROR_RXEMPTY(uint32 value)
SRDROR - RXEMPTY.
Definition LPI2C.h:1993
static constexpr uint32 MCR_DBGEN(uint32 value)
MCR - DBGEN.
Definition LPI2C.h:236
static constexpr uint32 MCFGR0_HRDIR(uint32 value)
MCFGR0 - HRDIR.
Definition LPI2C.h:658
static constexpr uint32 MIER_TDIE(uint32 value)
MIER - TDIE.
Definition LPI2C.h:463
static constexpr uint32 SIER_TDIE(uint32 value)
SIER - TDIE.
Definition LPI2C.h:1377
static constexpr uint32 SCFGR0_RDREQ(uint32 value)
SCFGR0 - RDREQ.
Definition LPI2C.h:1598
static constexpr uint32 SASR_RADDR(uint32 value)
SASR -RADDR.
Definition LPI2C.h:1883
static constexpr uint32 MIER_PLTIE(uint32 value)
MIER - PLTIE.
Definition LPI2C.h:554
virtual ~LPI2C(void) override=default
Destroy the object.
static constexpr uint32 MSR_SDF(uint32 value)
MSR - SDF.
Definition LPI2C.h:322
static constexpr uint32 SRDROR_RADDR(uint32 value)
SRDROR - RADDR.
Definition LPI2C.h:1980
static constexpr uint32 SRDR_DATA(uint32 value)
SRDR - DATA.
Definition LPI2C.h:1927
static constexpr uint32 MRDR_RXEMPTY(uint32 value)
MRDR - RXEMPTY.
Definition LPI2C.h:1067
static constexpr uint32 MCFGR0_RDMO(uint32 value)
MCFGR0 - RDMO.
Definition LPI2C.h:684
static constexpr uint32 MCFGR1_AUTOSTOP(uint32 value)
MCFGR1 - AUTOSTOP.
Definition LPI2C.h:748
static constexpr uint32 SDER_RSDE(uint32 value)
SDER - RSDE.
Definition LPI2C.h:1572
static constexpr uint32 MCFGR0_CIRFIFO(uint32 value)
MCFGR0 - CIRFIFO.
Definition LPI2C.h:671
static constexpr uint32 SCFGR2_FILTSCL(uint32 value)
SCFGR2 - FILTSCL.
Definition LPI2C.h:1847
static constexpr uint32 MRDROR_RXEMPTY(uint32 value)
MRDROR - RXEMPTY.
Definition LPI2C.h:1088
static constexpr uint32 MSR_DMF(uint32 value)
MSR - DMF.
Definition LPI2C.h:407
static constexpr uint32 SCFGR1_ACKSTALL(uint32 value)
SCFGR1 - ACKSTALL.
Definition LPI2C.h:1663
static constexpr uint32 MSR_MBF(uint32 value)
MSR - MBF.
Definition LPI2C.h:437
static constexpr uint32 MCFGR1_STARTCFG(uint32 value)
MCFGR1 - STARTCFG.
Definition LPI2C.h:800
static constexpr uint32 MCCR1_SETHOLD(uint32 value)
MCCR1 - SETHOLD.
Definition LPI2C.h:964
static constexpr uint32 MCFGR0_RELAX(uint32 value)
MCFGR0 - RELAX.
Definition LPI2C.h:697
static constexpr uint32 SSR_FEF(uint32 value)
SSR - FEF.
Definition LPI2C.h:1286
static constexpr uint32 SSR_AM0F(uint32 value)
SSR - AM0F.
Definition LPI2C.h:1299
static constexpr uint32 SCR_RTF(uint32 value)
SCR - RTF.
Definition LPI2C.h:1153
static constexpr uint32 MDMR_MATCH1(uint32 value)
MDMR - MATCH1.
Definition LPI2C.h:908
static constexpr uint32 MDER_TDDE(uint32 value)
MDER - TDDE.
Definition LPI2C.h:593
static constexpr uint32 MRDROR_DATA(uint32 value)
MRDROR - DATA.
Definition LPI2C.h:1075
static constexpr uint32 SCFGR1_GCEN(uint32 value)
SCFGR1 - GCEN.
Definition LPI2C.h:1690
static constexpr uint32 MIER_SDIE(uint32 value)
MIER - SDIE.
Definition LPI2C.h:502
static constexpr uint32 SRDROR_DATA(uint32 value)
SRDROR - DATA.
Definition LPI2C.h:1971
static constexpr uint32 SCFGR1_RXSTALL(uint32 value)
SCFGR1 - RXSTALL.
Definition LPI2C.h:1637
static constexpr uint32 SSR_RSF(uint32 value)
SSR - RSF.
Definition LPI2C.h:1235
Definition NonInstantiable.h:29
Definition LPI2C.h:25
@ SCFGR1_SDCFG
SCFGR1 - SDCFG.
@ SCFGR1_GCEN
SCFGR1 - GCEN.
@ MCFGR0_RELAX
MCFGR0 - RELAX.
@ MDMR_MATCH1
MDMR - MATCH1.
@ MCFGR0_HREN
MCFGR0 - HREN.
@ MCCR1_CLKHI
MCCR1 - CLKHI.
@ MRDROR_RXEMPTY
MRDROR - RXEMPTY.
@ VERID_MINOR
VERID - MINOR.
@ SRDR_RXEMPTY
SRDR - RXEMPTY.
@ MCFGR0_HRDIR
MCFGR0 - HRDIR.
@ SCFGR1_RXSTALL
SCFGR1 - RXSTALL.
@ MCFGR1_STARTCFG
MCFGR1 - STARTCFG.
@ SCFGR2_DATAVD
SCFGR2 - DATAVD.
@ MRDR_RXEMPTY
MRDR - RXEMPTY.
@ MCCR1_DATAVD
MCCR1 - DATAVD.
@ MFCR_RXWATER
MFCR - RXWATER.
@ SCFGR1_ADRSTALL
SCFGR1 - ADRSTALL.
@ SCFGR1_TXDSTALL
SCFGR1 - TXDSTALL.
@ SCFGR2_FILTSDA
SCFGR2 - FILTSDA.
@ MCFGR2_FILTSDA
MCFGR2 - FILTSDA.
@ MCFGR1_STOPCFG
MCFGR1 - STOPCFG.
@ MFSR_TXCOUNT
MFSR - TXCOUNT.
@ MCFGR0_ABORT
MCFGR0 - ABORT.
@ MCFGR0_HRSEL
MCFGR0 - HRSEL.
@ MCCR0_DATAVD
MCCR0 - DATAVD.
@ VERID_FEATURE
VERID - FEATURE.
@ SCFGR1_RXCFG
SCFGR1 - RXCFG.
@ MCFGR1_PRESCALE
MCFGR1 - PRESCALE.
@ SCFGR0_RDACK
SCFGR0 - RDACK.
@ MCCR1_CLKLO
MCCR1 - CLKLO.
@ MCFGR0_RDMO
MCFGR0 - RDMO.
@ SCFGR1_ADDRCFG
SCFGR1 - ADDRCFG.
@ MCFGR0_HRPOL
MCFGR0 - HRPOL.
@ MCFGR3_PINLOW
MCFGR3 - PINLOW.
@ MCFGR1_MATCFG
MCFGR1 - MATCFG.
@ SCFGR1_RSCFG
SCFGR1 - RSCFG.
@ MCFGR1_PINCFG
MCFGR1 - PINCFG.
@ SCFGR1_RXNACK
SCFGR1 - RXNACK.
@ SCFGR2_FILTSCL
SCFGR2 - FILTSCL.
@ SCFGR1_SAEN
SCFGR1 - SAEN.
@ MRDROR_DATA
MRDROR - DATA.
@ SCFGR2_CLKHOLD
SCFGR2 - CLKHOLD.
@ MCCR0_CLKHI
MCCR0 - CLKHI.
@ SCFGR0_RDREQ
SCFGR0 - RDREQ.
@ MCFGR1_AUTOSTOP
MCFGR1 - AUTOSTOP.
@ PARAM_MRXFIFO
PARAM - MRXFIFO.
@ MCFGR2_FILTSCL
MCFGR2 - FILTSCL.
@ SCFGR1_ACKSTALL
SCFGR1 - ACKSTALL.
@ VERID_MAJOR
VERID - MAJOR.
@ MCCR1_SETHOLD
MCCR1 - SETHOLD.
@ SRDROR_RADDR
SRDROR - RADDR.
@ PARAM_MTXFIFO
PARAM - MTXFIFO.
@ MDMR_MATCH0
MDMR - MATCH0.
@ SRDROR_DATA
SRDROR - DATA.
@ MFSR_RXCOUNT
MFSR - RXCOUNT.
@ SCFGR1_TXCFG
SCFGR1 - TXCFG.
@ SCFGR1_IGNACK
SCFGR1 - IGNACK.
@ MCCR0_SETHOLD
MCCR0 - SETHOLD.
@ MCFGR1_TIMECFG
MCFGR1 - TIMECFG.
@ MCFGR2_BUSIDLE
MCFGR2 - BUSIDLE.
@ SCFGR1_RXALL
SCFGR1 - RXALL.
@ MCFGR1_IGNACK
MCFGR1 - IGNACK.
@ SCFGR1_HSMEN
SCFGR1 - HSMEN.
@ MFCR_TXWATER
MFCR - TXWATER.
@ MCFGR0_CIRFIFO
MCFGR0 - CIRFIFO.
@ MCCR0_CLKLO
MCCR0 - CLKLO.
@ STAR_TXNACK
STAR - TXNACK.
@ SRDROR_RXEMPTY
SRDROR - RXEMPTY.
@ SCFGR1_SDCFG
SCFGR1 - SDCFG.
@ SCFGR1_GCEN
SCFGR1 - GCEN.
@ MCFGR0_RELAX
MCFGR0 - RELAX.
@ MDMR_MATCH1
MDMR - MATCH1.
@ MCFGR0_HREN
MCFGR0 - HREN.
@ MCCR1_CLKHI
MCCR1 - CLKHI.
@ MRDROR_RXEMPTY
MRDROR - RXEMPTY.
@ VERID_MINOR
VERID - MINOR.
@ SRDR_RXEMPTY
SRDR - RXEMPTY.
@ MCFGR0_HRDIR
MCFGR0 - HRDIR.
@ SCFGR1_RXSTALL
SCFGR1 - RXSTALL.
@ MCFGR1_STARTCFG
MCFGR1 - STARTCFG.
@ SCFGR2_DATAVD
SCFGR2 - DATAVD.
@ MRDR_RXEMPTY
MRDR - RXEMPTY.
@ MCCR1_DATAVD
MCCR1 - DATAVD.
@ MFCR_RXWATER
MFCR - RXWATER.
@ SCFGR1_ADRSTALL
SCFGR1 - ADRSTALL.
@ SCFGR1_TXDSTALL
SCFGR1 - TXDSTALL.
@ SCFGR2_FILTSDA
SCFGR2 - FILTSDA.
@ MCFGR2_FILTSDA
MCFGR2 - FILTSDA.
@ MCFGR1_STOPCFG
MCFGR1 - STOPCFG.
@ MFSR_TXCOUNT
MFSR - TXCOUNT.
@ MCFGR0_ABORT
MCFGR0 - ABORT.
@ MCFGR0_HRSEL
MCFGR0 - HRSEL.
@ MCCR0_DATAVD
MCCR0 - DATAVD.
@ VERID_FEATURE
VERID - FEATURE.
@ SCFGR1_RXCFG
SCFGR1 - RXCFG.
@ MCFGR1_PRESCALE
MCFGR1 - PRESCALE.
@ SCFGR0_RDACK
SCFGR0 - RDACK.
@ MCCR1_CLKLO
MCCR1 - CLKLO.
@ MCFGR0_RDMO
MCFGR0 - RDMO.
@ SCFGR1_ADDRCFG
SCFGR1 - ADDRCFG.
@ MCFGR0_HRPOL
MCFGR0 - HRPOL.
@ MCFGR3_PINLOW
MCFGR3 - PINLOW.
@ MCFGR1_MATCFG
MCFGR1 - MATCFG.
@ SCFGR1_RSCFG
SCFGR1 - RSCFG.
@ MCFGR1_PINCFG
MCFGR1 - PINCFG.
@ SCFGR1_RXNACK
SCFGR1 - RXNACK.
@ SCFGR2_FILTSCL
SCFGR2 - FILTSCL.
@ SCFGR1_SAEN
SCFGR1 - SAEN.
@ MRDROR_DATA
MRDROR - DATA.
@ SCFGR2_CLKHOLD
SCFGR2 - CLKHOLD.
@ MCCR0_CLKHI
MCCR0 - CLKHI.
@ SCFGR0_RDREQ
SCFGR0 - RDREQ.
@ MCFGR1_AUTOSTOP
MCFGR1 - AUTOSTOP.
@ PARAM_MRXFIFO
PARAM - MRXFIFO.
@ MCFGR2_FILTSCL
MCFGR2 - FILTSCL.
@ SCFGR1_ACKSTALL
SCFGR1 - ACKSTALL.
@ VERID_MAJOR
VERID - MAJOR.
@ MCCR1_SETHOLD
MCCR1 - SETHOLD.
@ SRDROR_RADDR
SRDROR - RADDR.
@ PARAM_MTXFIFO
PARAM - MTXFIFO.
@ MDMR_MATCH0
MDMR - MATCH0.
@ SRDROR_DATA
SRDROR - DATA.
@ MFSR_RXCOUNT
MFSR - RXCOUNT.
@ SCFGR1_TXCFG
SCFGR1 - TXCFG.
@ SCFGR1_IGNACK
SCFGR1 - IGNACK.
@ MCCR0_SETHOLD
MCCR0 - SETHOLD.
@ MCFGR1_TIMECFG
MCFGR1 - TIMECFG.
@ MCFGR2_BUSIDLE
MCFGR2 - BUSIDLE.
@ SCFGR1_RXALL
SCFGR1 - RXALL.
@ MCFGR1_IGNACK
MCFGR1 - IGNACK.
@ SCFGR1_HSMEN
SCFGR1 - HSMEN.
@ MFCR_TXWATER
MFCR - TXWATER.
@ MCFGR0_CIRFIFO
MCFGR0 - CIRFIFO.
@ MCCR0_CLKLO
MCCR0 - CLKLO.
@ STAR_TXNACK
STAR - TXNACK.
@ SRDROR_RXEMPTY
SRDROR - RXEMPTY.
LPI2C 週邊暫存器存取層
Definition lpi2c/Register.h:40