123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236 |
- #ifndef IFXCAN_REGDEF_H
- #define IFXCAN_REGDEF_H 1
- #if defined (__TASKING__)
- #pragma warning 586
- #endif
- #include "Ifx_TypesReg.h"
- typedef struct _Ifx_CAN_ACCEN0_Bits
- {
- unsigned int EN0:1;
- unsigned int EN1:1;
- unsigned int EN2:1;
- unsigned int EN3:1;
- unsigned int EN4:1;
- unsigned int EN5:1;
- unsigned int EN6:1;
- unsigned int EN7:1;
- unsigned int EN8:1;
- unsigned int EN9:1;
- unsigned int EN10:1;
- unsigned int EN11:1;
- unsigned int EN12:1;
- unsigned int EN13:1;
- unsigned int EN14:1;
- unsigned int EN15:1;
- unsigned int EN16:1;
- unsigned int EN17:1;
- unsigned int EN18:1;
- unsigned int EN19:1;
- unsigned int EN20:1;
- unsigned int EN21:1;
- unsigned int EN22:1;
- unsigned int EN23:1;
- unsigned int EN24:1;
- unsigned int EN25:1;
- unsigned int EN26:1;
- unsigned int EN27:1;
- unsigned int EN28:1;
- unsigned int EN29:1;
- unsigned int EN30:1;
- unsigned int EN31:1;
- } Ifx_CAN_ACCEN0_Bits;
- typedef struct _Ifx_CAN_ACCEN1_Bits
- {
- unsigned int reserved_0:32;
- } Ifx_CAN_ACCEN1_Bits;
- typedef struct _Ifx_CAN_CLC_Bits
- {
- unsigned int DISR:1;
- unsigned int DISS:1;
- unsigned int reserved_2:1;
- unsigned int EDIS:1;
- unsigned int reserved_4:28;
- } Ifx_CAN_CLC_Bits;
- typedef struct _Ifx_CAN_FDR_Bits
- {
- unsigned int STEP:10;
- unsigned int reserved_10:4;
- unsigned int DM:2;
- unsigned int reserved_16:16;
- } Ifx_CAN_FDR_Bits;
- typedef struct _Ifx_CAN_ID_Bits
- {
- unsigned int MODREV:8;
- unsigned int MODTYPE:8;
- unsigned int MODNUMBER:16;
- } Ifx_CAN_ID_Bits;
- typedef struct _Ifx_CAN_KRST0_Bits
- {
- unsigned int RST:1;
- unsigned int RSTSTAT:1;
- unsigned int reserved_2:30;
- } Ifx_CAN_KRST0_Bits;
- typedef struct _Ifx_CAN_KRST1_Bits
- {
- unsigned int RST:1;
- unsigned int reserved_1:31;
- } Ifx_CAN_KRST1_Bits;
- typedef struct _Ifx_CAN_KRSTCLR_Bits
- {
- unsigned int CLR:1;
- unsigned int reserved_1:31;
- } Ifx_CAN_KRSTCLR_Bits;
- typedef struct _Ifx_CAN_LIST_Bits
- {
- unsigned int BEGIN:8;
- unsigned int END:8;
- unsigned int SIZE:8;
- unsigned int EMPTY:1;
- unsigned int reserved_25:7;
- } Ifx_CAN_LIST_Bits;
- typedef struct _Ifx_CAN_MCR_Bits
- {
- unsigned int CLKSEL:4;
- unsigned int reserved_4:4;
- unsigned int DXCM:1;
- unsigned int reserved_9:3;
- unsigned int MPSEL:4;
- unsigned int reserved_16:16;
- } Ifx_CAN_MCR_Bits;
- typedef struct _Ifx_CAN_MECR_Bits
- {
- unsigned int TH:16;
- unsigned int INP:4;
- unsigned int NODE:3;
- unsigned int reserved_23:1;
- unsigned int ANYED:1;
- unsigned int CAPEIE:1;
- unsigned int reserved_26:1;
- unsigned int DEPTH:3;
- unsigned int SOF:1;
- unsigned int reserved_31:1;
- } Ifx_CAN_MECR_Bits;
- typedef struct _Ifx_CAN_MESTAT_Bits
- {
- unsigned int CAPT:16;
- unsigned int CAPRED:1;
- unsigned int CAPE:1;
- unsigned int reserved_18:14;
- } Ifx_CAN_MESTAT_Bits;
- typedef struct _Ifx_CAN_MITR_Bits
- {
- unsigned int IT:16;
- unsigned int reserved_16:16;
- } Ifx_CAN_MITR_Bits;
- typedef struct _Ifx_CAN_MO_AMR_Bits
- {
- unsigned int AM:29;
- unsigned int MIDE:1;
- unsigned int reserved_30:2;
- } Ifx_CAN_MO_AMR_Bits;
- typedef struct _Ifx_CAN_MO_AR_Bits
- {
- unsigned int ID:29;
- unsigned int IDE:1;
- unsigned int PRI:2;
- } Ifx_CAN_MO_AR_Bits;
- typedef struct _Ifx_CAN_MO_CTR_Bits
- {
- unsigned int RESRXPND:1;
- unsigned int RESTXPND:1;
- unsigned int RESRXUPD:1;
- unsigned int RESNEWDAT:1;
- unsigned int RESMSGLST:1;
- unsigned int RESMSGVAL:1;
- unsigned int RESRTSEL:1;
- unsigned int RESRXEN:1;
- unsigned int RESTXRQ:1;
- unsigned int RESTXEN0:1;
- unsigned int RESTXEN1:1;
- unsigned int RESDIR:1;
- unsigned int reserved_12:4;
- unsigned int SETRXPND:1;
- unsigned int SETTXPND:1;
- unsigned int SETRXUPD:1;
- unsigned int SETNEWDAT:1;
- unsigned int SETMSGLST:1;
- unsigned int SETMSGVAL:1;
- unsigned int SETRTSEL:1;
- unsigned int SETRXEN:1;
- unsigned int SETTXRQ:1;
- unsigned int SETTXEN0:1;
- unsigned int SETTXEN1:1;
- unsigned int SETDIR:1;
- unsigned int reserved_28:4;
- } Ifx_CAN_MO_CTR_Bits;
- typedef struct _Ifx_CAN_MO_DATAH_Bits
- {
- unsigned int DB4:8;
- unsigned int DB5:8;
- unsigned int DB6:8;
- unsigned int DB7:8;
- } Ifx_CAN_MO_DATAH_Bits;
- typedef struct _Ifx_CAN_MO_DATAL_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_DATAL_Bits;
- typedef struct _Ifx_CAN_MO_EDATA0_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA0_Bits;
- typedef struct _Ifx_CAN_MO_EDATA1_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA1_Bits;
- typedef struct _Ifx_CAN_MO_EDATA2_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA2_Bits;
- typedef struct _Ifx_CAN_MO_EDATA3_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA3_Bits;
- typedef struct _Ifx_CAN_MO_EDATA4_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA4_Bits;
- typedef struct _Ifx_CAN_MO_EDATA5_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA5_Bits;
- typedef struct _Ifx_CAN_MO_EDATA6_Bits
- {
- unsigned int DB0:8;
- unsigned int DB1:8;
- unsigned int DB2:8;
- unsigned int DB3:8;
- } Ifx_CAN_MO_EDATA6_Bits;
- typedef struct _Ifx_CAN_MO_FCR_Bits
- {
- unsigned int MMC:4;
- unsigned int RXTOE:1;
- unsigned int BRS:1;
- unsigned int FDF:1;
- unsigned int reserved_7:1;
- unsigned int GDFS:1;
- unsigned int IDC:1;
- unsigned int DLCC:1;
- unsigned int DATC:1;
- unsigned int reserved_12:4;
- unsigned int RXIE:1;
- unsigned int TXIE:1;
- unsigned int OVIE:1;
- unsigned int reserved_19:1;
- unsigned int FRREN:1;
- unsigned int RMM:1;
- unsigned int SDT:1;
- unsigned int STT:1;
- unsigned int DLC:4;
- unsigned int reserved_28:4;
- } Ifx_CAN_MO_FCR_Bits;
- typedef struct _Ifx_CAN_MO_FGPR_Bits
- {
- unsigned int BOT:8;
- unsigned int TOP:8;
- unsigned int CUR:8;
- unsigned int SEL:8;
- } Ifx_CAN_MO_FGPR_Bits;
- typedef struct _Ifx_CAN_MO_IPR_Bits
- {
- unsigned int RXINP:4;
- unsigned int TXINP:4;
- unsigned int MPN:8;
- unsigned int CFCVAL:16;
- } Ifx_CAN_MO_IPR_Bits;
- typedef struct _Ifx_CAN_MO_STAT_Bits
- {
- unsigned int RXPND:1;
- unsigned int TXPND:1;
- unsigned int RXUPD:1;
- unsigned int NEWDAT:1;
- unsigned int MSGLST:1;
- unsigned int MSGVAL:1;
- unsigned int RTSEL:1;
- unsigned int RXEN:1;
- unsigned int TXRQ:1;
- unsigned int TXEN0:1;
- unsigned int TXEN1:1;
- unsigned int DIR:1;
- unsigned int LIST:4;
- unsigned int PPREV:8;
- unsigned int PNEXT:8;
- } Ifx_CAN_MO_STAT_Bits;
- typedef struct _Ifx_CAN_MSID_Bits
- {
- unsigned int INDEX:6;
- unsigned int reserved_6:26;
- } Ifx_CAN_MSID_Bits;
- typedef struct _Ifx_CAN_MSIMASK_Bits
- {
- unsigned int IM:32;
- } Ifx_CAN_MSIMASK_Bits;
- typedef struct _Ifx_CAN_MSPND_Bits
- {
- unsigned int PND:32;
- } Ifx_CAN_MSPND_Bits;
- typedef struct _Ifx_CAN_N_BTEVR_Bits
- {
- unsigned int BRP:6;
- unsigned int reserved_6:2;
- unsigned int SJW:4;
- unsigned int reserved_12:3;
- unsigned int DIV8:1;
- unsigned int TSEG2:5;
- unsigned int reserved_21:1;
- unsigned int TSEG1:6;
- unsigned int reserved_28:4;
- } Ifx_CAN_N_BTEVR_Bits;
- typedef struct _Ifx_CAN_N_BTR_Bits
- {
- unsigned int BRP:6;
- unsigned int SJW:2;
- unsigned int TSEG1:4;
- unsigned int TSEG2:3;
- unsigned int DIV8:1;
- unsigned int reserved_16:16;
- } Ifx_CAN_N_BTR_Bits;
- typedef struct _Ifx_CAN_N_CR_Bits
- {
- unsigned int INIT:1;
- unsigned int TRIE:1;
- unsigned int LECIE:1;
- unsigned int ALIE:1;
- unsigned int CANDIS:1;
- unsigned int TXDIS:1;
- unsigned int CCE:1;
- unsigned int CALM:1;
- unsigned int SUSEN:1;
- unsigned int FDEN:1;
- unsigned int reserved_10:22;
- } Ifx_CAN_N_CR_Bits;
- typedef struct _Ifx_CAN_N_ECNT_Bits
- {
- unsigned int REC:8;
- unsigned int TEC:8;
- unsigned int EWRNLVL:8;
- unsigned int LETD:1;
- unsigned int LEINC:1;
- unsigned int reserved_26:6;
- } Ifx_CAN_N_ECNT_Bits;
- typedef struct _Ifx_CAN_N_FBTR_Bits
- {
- unsigned int FBRP:6;
- unsigned int FSJW:2;
- unsigned int FTSEG1:4;
- unsigned int FTSEG2:3;
- unsigned int reserved_15:17;
- } Ifx_CAN_N_FBTR_Bits;
- typedef struct _Ifx_CAN_N_FCR_Bits
- {
- unsigned int CFC:16;
- unsigned int CFSEL:3;
- unsigned int CFMOD:2;
- unsigned int reserved_21:1;
- unsigned int CFCIE:1;
- unsigned int CFCOV:1;
- unsigned int reserved_24:8;
- } Ifx_CAN_N_FCR_Bits;
- typedef struct _Ifx_CAN_N_IPR_Bits
- {
- unsigned int ALINP:4;
- unsigned int LECINP:4;
- unsigned int TRINP:4;
- unsigned int CFCINP:4;
- unsigned int TEINP:4;
- unsigned int reserved_20:12;
- } Ifx_CAN_N_IPR_Bits;
- typedef struct _Ifx_CAN_N_PCR_Bits
- {
- unsigned int RXSEL:3;
- unsigned int reserved_3:5;
- unsigned int LBM:1;
- unsigned int reserved_9:23;
- } Ifx_CAN_N_PCR_Bits;
- typedef struct _Ifx_CAN_N_SR_Bits
- {
- unsigned int LEC:3;
- unsigned int TXOK:1;
- unsigned int RXOK:1;
- unsigned int ALERT:1;
- unsigned int EWRN:1;
- unsigned int BOFF:1;
- unsigned int LLE:1;
- unsigned int LOE:1;
- unsigned int SUSACK:1;
- unsigned int RESI:1;
- unsigned int FLEC:3;
- unsigned int reserved_15:17;
- } Ifx_CAN_N_SR_Bits;
- typedef struct _Ifx_CAN_N_TCCR_Bits
- {
- unsigned int reserved_0:8;
- unsigned int TPSC:4;
- unsigned int reserved_12:6;
- unsigned int TRIGSRC:3;
- unsigned int reserved_21:11;
- } Ifx_CAN_N_TCCR_Bits;
- typedef struct _Ifx_CAN_N_TDCR_Bits
- {
- unsigned int TDCV:5;
- unsigned int reserved_5:3;
- unsigned int TDCO:4;
- unsigned int reserved_12:3;
- unsigned int TDC:1;
- unsigned int reserved_16:16;
- } Ifx_CAN_N_TDCR_Bits;
- typedef struct _Ifx_CAN_N_TRTR_Bits
- {
- unsigned int RELOAD:16;
- unsigned int reserved_16:6;
- unsigned int TEIE:1;
- unsigned int TE:1;
- unsigned int reserved_24:8;
- } Ifx_CAN_N_TRTR_Bits;
- typedef struct _Ifx_CAN_N_TTTR_Bits
- {
- unsigned int RELOAD:16;
- unsigned int TXMO:8;
- unsigned int STRT:1;
- unsigned int reserved_25:7;
- } Ifx_CAN_N_TTTR_Bits;
- typedef struct _Ifx_CAN_OCS_Bits
- {
- unsigned int TGS:2;
- unsigned int TGB:1;
- unsigned int TG_P:1;
- unsigned int reserved_4:20;
- unsigned int SUS:4;
- unsigned int SUS_P:1;
- unsigned int SUSSTA:1;
- unsigned int reserved_30:2;
- } Ifx_CAN_OCS_Bits;
- typedef struct _Ifx_CAN_PANCTR_Bits
- {
- unsigned int PANCMD:8;
- unsigned int BUSY:1;
- unsigned int RBUSY:1;
- unsigned int reserved_10:6;
- unsigned int PANAR1:8;
- unsigned int PANAR2:8;
- } Ifx_CAN_PANCTR_Bits;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_ACCEN0_Bits B;
- } Ifx_CAN_ACCEN0;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_ACCEN1_Bits B;
- } Ifx_CAN_ACCEN1;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_CLC_Bits B;
- } Ifx_CAN_CLC;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_FDR_Bits B;
- } Ifx_CAN_FDR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_ID_Bits B;
- } Ifx_CAN_ID;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_KRST0_Bits B;
- } Ifx_CAN_KRST0;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_KRST1_Bits B;
- } Ifx_CAN_KRST1;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_KRSTCLR_Bits B;
- } Ifx_CAN_KRSTCLR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_LIST_Bits B;
- } Ifx_CAN_LIST;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MCR_Bits B;
- } Ifx_CAN_MCR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MECR_Bits B;
- } Ifx_CAN_MECR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MESTAT_Bits B;
- } Ifx_CAN_MESTAT;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MITR_Bits B;
- } Ifx_CAN_MITR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_AMR_Bits B;
- } Ifx_CAN_MO_AMR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_AR_Bits B;
- } Ifx_CAN_MO_AR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_CTR_Bits B;
- } Ifx_CAN_MO_CTR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_DATAH_Bits B;
- } Ifx_CAN_MO_DATAH;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_DATAL_Bits B;
- } Ifx_CAN_MO_DATAL;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA0_Bits B;
- } Ifx_CAN_MO_EDATA0;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA1_Bits B;
- } Ifx_CAN_MO_EDATA1;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA2_Bits B;
- } Ifx_CAN_MO_EDATA2;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA3_Bits B;
- } Ifx_CAN_MO_EDATA3;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA4_Bits B;
- } Ifx_CAN_MO_EDATA4;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA5_Bits B;
- } Ifx_CAN_MO_EDATA5;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_EDATA6_Bits B;
- } Ifx_CAN_MO_EDATA6;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_FCR_Bits B;
- } Ifx_CAN_MO_FCR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_FGPR_Bits B;
- } Ifx_CAN_MO_FGPR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_IPR_Bits B;
- } Ifx_CAN_MO_IPR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MO_STAT_Bits B;
- } Ifx_CAN_MO_STAT;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MSID_Bits B;
- } Ifx_CAN_MSID;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MSIMASK_Bits B;
- } Ifx_CAN_MSIMASK;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_MSPND_Bits B;
- } Ifx_CAN_MSPND;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_BTEVR_Bits B;
- } Ifx_CAN_N_BTEVR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_BTR_Bits B;
- } Ifx_CAN_N_BTR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_CR_Bits B;
- } Ifx_CAN_N_CR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_ECNT_Bits B;
- } Ifx_CAN_N_ECNT;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_FBTR_Bits B;
- } Ifx_CAN_N_FBTR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_FCR_Bits B;
- } Ifx_CAN_N_FCR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_IPR_Bits B;
- } Ifx_CAN_N_IPR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_PCR_Bits B;
- } Ifx_CAN_N_PCR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_SR_Bits B;
- } Ifx_CAN_N_SR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_TCCR_Bits B;
- } Ifx_CAN_N_TCCR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_TDCR_Bits B;
- } Ifx_CAN_N_TDCR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_TRTR_Bits B;
- } Ifx_CAN_N_TRTR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_N_TTTR_Bits B;
- } Ifx_CAN_N_TTTR;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_OCS_Bits B;
- } Ifx_CAN_OCS;
- typedef union
- {
-
- unsigned int U;
-
- signed int I;
-
- Ifx_CAN_PANCTR_Bits B;
- } Ifx_CAN_PANCTR;
- typedef volatile struct _Ifx_CAN_MO
- {
- union
- {
- Ifx_CAN_MO_EDATA0 EDATA0;
- Ifx_CAN_MO_FCR FCR;
- };
- union
- {
- Ifx_CAN_MO_EDATA1 EDATA1;
- Ifx_CAN_MO_FGPR FGPR;
- };
- union
- {
- Ifx_CAN_MO_EDATA2 EDATA2;
- Ifx_CAN_MO_IPR IPR;
- };
- union
- {
- Ifx_CAN_MO_AMR AMR;
- Ifx_CAN_MO_EDATA3 EDATA3;
- };
- union
- {
- Ifx_CAN_MO_DATAL DATAL;
- Ifx_CAN_MO_EDATA4 EDATA4;
- };
- union
- {
- Ifx_CAN_MO_DATAH DATAH;
- Ifx_CAN_MO_EDATA5 EDATA5;
- };
- union
- {
- Ifx_CAN_MO_AR AR;
- Ifx_CAN_MO_EDATA6 EDATA6;
- };
- union
- {
- Ifx_CAN_MO_CTR CTR;
- Ifx_CAN_MO_STAT STAT;
- };
- } Ifx_CAN_MO;
- typedef volatile struct _Ifx_CAN_N
- {
- Ifx_CAN_N_CR CR;
- Ifx_CAN_N_SR SR;
- Ifx_CAN_N_IPR IPR;
- Ifx_CAN_N_PCR PCR;
- union
- {
- Ifx_CAN_N_BTEVR BTEVR;
- Ifx_CAN_N_BTR BTR;
- };
- Ifx_CAN_N_ECNT ECNT;
- Ifx_CAN_N_FCR FCR;
- Ifx_CAN_N_TCCR TCCR;
- Ifx_CAN_N_TRTR TRTR;
- Ifx_CAN_N_TTTR TATTR;
- Ifx_CAN_N_TTTR TBTTR;
- Ifx_CAN_N_TTTR TCTTR;
- unsigned char reserved_30[8];
- Ifx_CAN_N_FBTR FBTR;
- Ifx_CAN_N_TDCR TDCR;
- unsigned char reserved_40[192];
- } Ifx_CAN_N;
- typedef volatile struct _Ifx_CAN
- {
- Ifx_CAN_CLC CLC;
- unsigned char reserved_4[4];
- Ifx_CAN_ID ID;
- Ifx_CAN_FDR FDR;
- unsigned char reserved_10[216];
- Ifx_CAN_OCS OCS;
- Ifx_CAN_KRSTCLR KRSTCLR;
- Ifx_CAN_KRST1 KRST1;
- Ifx_CAN_KRST0 KRST0;
- Ifx_CAN_ACCEN1 ACCEN1;
- Ifx_CAN_ACCEN0 ACCEN0;
- Ifx_CAN_LIST LIST[16];
- Ifx_CAN_MSPND MSPND[8];
- unsigned char reserved_160[32];
- Ifx_CAN_MSID MSID[8];
- unsigned char reserved_1A0[32];
- Ifx_CAN_MSIMASK MSIMASK;
- Ifx_CAN_PANCTR PANCTR;
- Ifx_CAN_MCR MCR;
- Ifx_CAN_MITR MITR;
- Ifx_CAN_MECR MECR;
- Ifx_CAN_MESTAT MESTAT;
- unsigned char reserved_1D8[40];
- Ifx_CAN_N N[3];
- unsigned char reserved_500[2816];
- Ifx_CAN_MO MO[128];
- unsigned char reserved_2000[8192];
- } Ifx_CAN;
- #if defined (__TASKING__)
- #pragma warning restore
- #endif
- #endif
|