Update repo
This commit is contained in:
1 parent
749dab5721
commit
ce65a0f59a
14950 files changed
+4408250
-1
No files matched your search
@@ -0,0 +1,389 @@
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0: /* Program Memory */
|
||||
PAGE 1: /* Data Memory */
|
||||
ACCESSPROTECTION : origin = 0x0005F500, length = 0x00000040
|
||||
ADCA : origin = 0x00007400, length = 0x00000080
|
||||
ADCB : origin = 0x00007480, length = 0x00000080
|
||||
ADCC : origin = 0x00007500, length = 0x00000080
|
||||
ADCD : origin = 0x00007580, length = 0x00000080
|
||||
ADCARESULT : origin = 0x00000B00, length = 0x00000018
|
||||
ADCBRESULT : origin = 0x00000B20, length = 0x00000018
|
||||
ADCCRESULT : origin = 0x00000B40, length = 0x00000018
|
||||
ADCDRESULT : origin = 0x00000B60, length = 0x00000018
|
||||
ANALOGSUBSYS : origin = 0x0005D700, length = 0x00000100
|
||||
BGCRCCPU : origin = 0x00006340, length = 0x00000040
|
||||
BGCRCCLA1 : origin = 0x00006380, length = 0x00000040
|
||||
CANA : origin = 0x00048000, length = 0x00000200
|
||||
CANB : origin = 0x0004A000, length = 0x00000200
|
||||
CLA1 : origin = 0x00001400, length = 0x00000080
|
||||
CLB1DATAEXCH : origin = 0x00003180, length = 0x00000080
|
||||
CLB2DATAEXCH : origin = 0x00003380, length = 0x00000080
|
||||
CLB3DATAEXCH : origin = 0x00003580, length = 0x00000080
|
||||
CLB4DATAEXCH : origin = 0x00003780, length = 0x00000080
|
||||
CLB5DATAEXCH : origin = 0x00003980, length = 0x00000080
|
||||
CLB6DATAEXCH : origin = 0x00003B80, length = 0x00000080
|
||||
CLB7DATAEXCH : origin = 0x00003D80, length = 0x00000080
|
||||
CLB8DATAEXCH : origin = 0x00003F80, length = 0x00000080
|
||||
CLB1LOGICCFG : origin = 0x00003000, length = 0x00000052
|
||||
CLB2LOGICCFG : origin = 0x00003200, length = 0x00000052
|
||||
CLB3LOGICCFG : origin = 0x00003400, length = 0x00000052
|
||||
CLB4LOGICCFG : origin = 0x00003600, length = 0x00000052
|
||||
CLB5LOGICCFG : origin = 0x00003800, length = 0x00000052
|
||||
CLB6LOGICCFG : origin = 0x00003A00, length = 0x00000052
|
||||
CLB7LOGICCFG : origin = 0x00003C00, length = 0x00000052
|
||||
CLB8LOGICCFG : origin = 0x00003E00, length = 0x00000052
|
||||
CLB1LOGICCTRL : origin = 0x00003100, length = 0x00000040
|
||||
CLB2LOGICCTRL : origin = 0x00003300, length = 0x00000040
|
||||
CLB3LOGICCTRL : origin = 0x00003500, length = 0x00000040
|
||||
CLB4LOGICCTRL : origin = 0x00003700, length = 0x00000040
|
||||
CLB5LOGICCTRL : origin = 0x00003900, length = 0x00000040
|
||||
CLB6LOGICCTRL : origin = 0x00003B00, length = 0x00000040
|
||||
CLB7LOGICCTRL : origin = 0x00003D00, length = 0x00000040
|
||||
CLB8LOGICCTRL : origin = 0x00003F00, length = 0x00000040
|
||||
CLBXBAR : origin = 0x00007A40, length = 0x00000040
|
||||
CLKCFG : origin = 0x0005D200, length = 0x00000100
|
||||
CMPSS1 : origin = 0x00005C80, length = 0x00000020
|
||||
CMPSS2 : origin = 0x00005CA0, length = 0x00000020
|
||||
CMPSS3 : origin = 0x00005CC0, length = 0x00000020
|
||||
CMPSS4 : origin = 0x00005CE0, length = 0x00000020
|
||||
CMPSS5 : origin = 0x00005D00, length = 0x00000020
|
||||
CMPSS6 : origin = 0x00005D20, length = 0x00000020
|
||||
CMPSS7 : origin = 0x00005D40, length = 0x00000020
|
||||
CMPSS8 : origin = 0x00005D60, length = 0x00000020
|
||||
CMCONF : origin = 0x0005DC00, length = 0x00000400
|
||||
CPU1TOCMIPC : origin = 0x0005CE40, length = 0x00000026
|
||||
CPU1TOCPU2IPC : origin = 0x0005CE00, length = 0x00000026
|
||||
SYSPERIPHAC : origin = 0x0005D500, length = 0x00000200
|
||||
CPUTIMER0 : origin = 0x00000C00, length = 0x00000008
|
||||
CPUTIMER1 : origin = 0x00000C08, length = 0x00000008
|
||||
CPUTIMER2 : origin = 0x00000C10, length = 0x00000008
|
||||
CPUSYS : origin = 0x0005D300, length = 0x000000A0
|
||||
DACA : origin = 0x00005C00, length = 0x00000008
|
||||
DACB : origin = 0x00005C10, length = 0x00000008
|
||||
DACC : origin = 0x00005C20, length = 0x00000008
|
||||
DCC0 : origin = 0x0005E700, length = 0x00000038
|
||||
DCC1 : origin = 0x0005E740, length = 0x00000038
|
||||
DCC2 : origin = 0x0005E780, length = 0x00000038
|
||||
DCSMCOMMON : origin = 0x0005F0C0, length = 0x00000020
|
||||
DCSMZ1OTP : origin = 0x00078000, length = 0x00000020
|
||||
DCSMZ1 : origin = 0x0005F000, length = 0x0000003E
|
||||
DCSMZ2OTP : origin = 0x00078200, length = 0x00000020
|
||||
DCSMZ2 : origin = 0x0005F080, length = 0x0000003E
|
||||
DEVCFG : origin = 0x0005D000, length = 0x000001A0
|
||||
DMACLASRCSEL : origin = 0x00007980, length = 0x0000001A
|
||||
DMA : origin = 0x00001000, length = 0x00000200
|
||||
ECAP1 : origin = 0x00005200, length = 0x00000020
|
||||
ECAP2 : origin = 0x00005240, length = 0x00000020
|
||||
ECAP3 : origin = 0x00005280, length = 0x00000020
|
||||
ECAP4 : origin = 0x000052C0, length = 0x00000020
|
||||
ECAP5 : origin = 0x00005300, length = 0x00000020
|
||||
ECAP6 : origin = 0x00005340, length = 0x00000020
|
||||
ECAP7 : origin = 0x00005380, length = 0x00000020
|
||||
EMIF1CONFIG : origin = 0x0005F4C0, length = 0x00000020
|
||||
EMIF2CONFIG : origin = 0x0005F4E0, length = 0x00000020
|
||||
EMIF1 : origin = 0x00047000, length = 0x00000070
|
||||
EMIF2 : origin = 0x00047800, length = 0x00000070
|
||||
EPWM1 : origin = 0x00004000, length = 0x00000100
|
||||
EPWM2 : origin = 0x00004100, length = 0x00000100
|
||||
EPWM3 : origin = 0x00004200, length = 0x00000100
|
||||
EPWM4 : origin = 0x00004300, length = 0x00000100
|
||||
EPWM5 : origin = 0x00004400, length = 0x00000100
|
||||
EPWM6 : origin = 0x00004500, length = 0x00000100
|
||||
EPWM7 : origin = 0x00004600, length = 0x00000100
|
||||
EPWM8 : origin = 0x00004700, length = 0x00000100
|
||||
EPWM9 : origin = 0x00004800, length = 0x00000100
|
||||
EPWM10 : origin = 0x00004900, length = 0x00000100
|
||||
EPWM11 : origin = 0x00004A00, length = 0x00000100
|
||||
EPWM12 : origin = 0x00004B00, length = 0x00000100
|
||||
EPWM13 : origin = 0x00004C00, length = 0x00000100
|
||||
EPWM14 : origin = 0x00004D00, length = 0x00000100
|
||||
EPWM15 : origin = 0x00004E00, length = 0x00000100
|
||||
EPWM16 : origin = 0x00004F00, length = 0x00000100
|
||||
EPWMXBAR : origin = 0x00007A00, length = 0x00000040
|
||||
EQEP1 : origin = 0x00005100, length = 0x00000040
|
||||
EQEP2 : origin = 0x00005140, length = 0x00000040
|
||||
EQEP3 : origin = 0x00005180, length = 0x00000040
|
||||
ERADCOUNTER1 : origin = 0x0005E980, length = 0x00000010
|
||||
ERADCOUNTER2 : origin = 0x0005E990, length = 0x00000010
|
||||
ERADCOUNTER3 : origin = 0x0005E9A0, length = 0x00000010
|
||||
ERADCOUNTER4 : origin = 0x0005E9B0, length = 0x00000010
|
||||
ERADCRCGLOBAL : origin = 0x0005EA00, length = 0x00000010
|
||||
ERADCRC1 : origin = 0x0005EA10, length = 0x00000010
|
||||
ERADCRC2 : origin = 0x0005EA20, length = 0x00000010
|
||||
ERADCRC3 : origin = 0x0005EA30, length = 0x00000010
|
||||
ERADCRC4 : origin = 0x0005EA40, length = 0x00000010
|
||||
ERADCRC5 : origin = 0x0005EA50, length = 0x00000010
|
||||
ERADCRC6 : origin = 0x0005EA60, length = 0x00000010
|
||||
ERADCRC7 : origin = 0x0005EA70, length = 0x00000010
|
||||
ERADCRC8 : origin = 0x0005EA80, length = 0x00000010
|
||||
ERADGLOBAL : origin = 0x0005E800, length = 0x00000014
|
||||
ERADHWBP1 : origin = 0x0005E900, length = 0x00000008
|
||||
ERADHWBP2 : origin = 0x0005E908, length = 0x00000008
|
||||
ERADHWBP3 : origin = 0x0005E910, length = 0x00000008
|
||||
ERADHWBP4 : origin = 0x0005E918, length = 0x00000008
|
||||
ERADHWBP5 : origin = 0x0005E920, length = 0x00000008
|
||||
ERADHWBP6 : origin = 0x0005E928, length = 0x00000008
|
||||
ERADHWBP7 : origin = 0x0005E930, length = 0x00000008
|
||||
ERADHWBP8 : origin = 0x0005E938, length = 0x00000008
|
||||
ESCSSCONFIG : origin = 0x00057F00, length = 0x00000016
|
||||
ESCSS : origin = 0x00057E00, length = 0x00000024
|
||||
FLASH0CTRL : origin = 0x0005F800, length = 0x00000182
|
||||
FLASH0ECC : origin = 0x0005FB00, length = 0x00000028
|
||||
FSIRXA : origin = 0x00006680, length = 0x00000050
|
||||
FSIRXB : origin = 0x00006780, length = 0x00000050
|
||||
FSIRXC : origin = 0x00006880, length = 0x00000050
|
||||
FSIRXD : origin = 0x00006980, length = 0x00000050
|
||||
FSIRXE : origin = 0x00006A80, length = 0x00000050
|
||||
FSIRXF : origin = 0x00006B80, length = 0x00000050
|
||||
FSIRXG : origin = 0x00006C80, length = 0x00000050
|
||||
FSIRXH : origin = 0x00006D80, length = 0x00000050
|
||||
FSITXA : origin = 0x00006600, length = 0x00000050
|
||||
FSITXB : origin = 0x00006700, length = 0x00000050
|
||||
GPIOCTRL : origin = 0x00007C00, length = 0x00000200
|
||||
GPIODATAREAD : origin = 0x00007F80, length = 0x00000010
|
||||
GPIODATA : origin = 0x00007F00, length = 0x00000040
|
||||
HRCAP6 : origin = 0x00005360, length = 0x00000020
|
||||
HRCAP7 : origin = 0x000053A0, length = 0x00000020
|
||||
I2CA : origin = 0x00007300, length = 0x00000022
|
||||
I2CB : origin = 0x00007340, length = 0x00000022
|
||||
INPUTXBAR : origin = 0x00007900, length = 0x00000020
|
||||
CLBINPUTXBAR : origin = 0x00007960, length = 0x00000020
|
||||
MCANASS : origin = 0x0005C400, length = 0x0000002C
|
||||
MCANAERR : origin = 0x0005C800, length = 0x00000210
|
||||
MCANA : origin = 0x0005C600, length = 0x00000100
|
||||
MEMORYERROR : origin = 0x0005F540, length = 0x00000040
|
||||
MEMCFG : origin = 0x0005F400, length = 0x000000C0
|
||||
MCBSPA : origin = 0x00006000, length = 0x00000024
|
||||
MCBSPB : origin = 0x00006040, length = 0x00000024
|
||||
NMIINTRUPT : origin = 0x00007060, length = 0x00000010
|
||||
OUTPUTXBAR : origin = 0x00007A80, length = 0x00000040
|
||||
CLBOUTPUTXBAR : origin = 0x00007BC0, length = 0x00000040
|
||||
PIECTRL : origin = 0x00000CE0, length = 0x0000001A
|
||||
PIEVECTTABLE : origin = 0x00000D00, length = 0x00000200
|
||||
PMBUSA : origin = 0x00006400, length = 0x00000020
|
||||
ROMPREFETCH : origin = 0x0005F588, length = 0x00000008
|
||||
ROMWAITSTATE : origin = 0x0005F580, length = 0x00000008
|
||||
SCIA : origin = 0x00007200, length = 0x00000010
|
||||
SCIB : origin = 0x00007210, length = 0x00000010
|
||||
SCIC : origin = 0x00007220, length = 0x00000010
|
||||
SCID : origin = 0x00007230, length = 0x00000010
|
||||
SDFM1 : origin = 0x00005E00, length = 0x00000080
|
||||
SDFM2 : origin = 0x00005E80, length = 0x00000080
|
||||
SPIA : origin = 0x00006100, length = 0x00000010
|
||||
SPIB : origin = 0x00006110, length = 0x00000010
|
||||
SPIC : origin = 0x00006120, length = 0x00000010
|
||||
SPID : origin = 0x00006130, length = 0x00000010
|
||||
SYNCSOC : origin = 0x00007940, length = 0x00000006
|
||||
SYSSTATUS : origin = 0x0005D400, length = 0x00000100
|
||||
TESTERROR : origin = 0x0005F590, length = 0x00000010
|
||||
UID : origin = 0x00070200, length = 0x00000010
|
||||
WD : origin = 0x00007000, length = 0x0000002C
|
||||
XBAR : origin = 0x00007920, length = 0x00000020
|
||||
XINT : origin = 0x00007070, length = 0x0000000C
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/*** PIE Vect Table and Boot ROM Variables Structures ***/
|
||||
UNION run = PIEVECTTABLE
|
||||
{
|
||||
PieVectTableFile : TYPE=DSECT
|
||||
GROUP
|
||||
{
|
||||
EmuKeyVar : TYPE=DSECT
|
||||
EmuBModeVar : TYPE=DSECT
|
||||
EmuBootPinsVar : TYPE=DSECT
|
||||
FlashCallbackVar : TYPE=DSECT
|
||||
FlashScalingVar : TYPE=DSECT
|
||||
}
|
||||
}
|
||||
|
||||
AccessProtectionRegsFile : > ACCESSPROTECTION, type=NOINIT
|
||||
AdcaRegsFile : > ADCA, type=NOINIT
|
||||
AdcbRegsFile : > ADCB, type=NOINIT
|
||||
AdccRegsFile : > ADCC, type=NOINIT
|
||||
AdcdRegsFile : > ADCD, type=NOINIT
|
||||
AdcaResultRegsFile : > ADCARESULT, type=NOINIT
|
||||
AdcbResultRegsFile : > ADCBRESULT, type=NOINIT
|
||||
AdccResultRegsFile : > ADCCRESULT, type=NOINIT
|
||||
AdcdResultRegsFile : > ADCDRESULT, type=NOINIT
|
||||
AnalogSubsysRegsFile : > ANALOGSUBSYS, type=NOINIT
|
||||
BgcrcCpuRegsFile : > BGCRCCPU, type=NOINIT
|
||||
BgcrcCla1RegsFile : > BGCRCCLA1, type=NOINIT
|
||||
CanaRegsFile : > CANA, type=NOINIT
|
||||
CanbRegsFile : > CANB, type=NOINIT
|
||||
Cla1RegsFile : > CLA1, type=NOINIT
|
||||
Clb1DataExchRegsFile : > CLB1DATAEXCH, type=NOINIT
|
||||
Clb2DataExchRegsFile : > CLB2DATAEXCH, type=NOINIT
|
||||
Clb3DataExchRegsFile : > CLB3DATAEXCH, type=NOINIT
|
||||
Clb4DataExchRegsFile : > CLB4DATAEXCH, type=NOINIT
|
||||
Clb5DataExchRegsFile : > CLB5DATAEXCH, type=NOINIT
|
||||
Clb6DataExchRegsFile : > CLB6DATAEXCH, type=NOINIT
|
||||
Clb7DataExchRegsFile : > CLB7DATAEXCH, type=NOINIT
|
||||
Clb8DataExchRegsFile : > CLB8DATAEXCH, type=NOINIT
|
||||
Clb1LogicCfgRegsFile : > CLB1LOGICCFG, type=NOINIT
|
||||
Clb2LogicCfgRegsFile : > CLB2LOGICCFG, type=NOINIT
|
||||
Clb3LogicCfgRegsFile : > CLB3LOGICCFG, type=NOINIT
|
||||
Clb4LogicCfgRegsFile : > CLB4LOGICCFG, type=NOINIT
|
||||
Clb5LogicCfgRegsFile : > CLB5LOGICCFG, type=NOINIT
|
||||
Clb6LogicCfgRegsFile : > CLB6LOGICCFG, type=NOINIT
|
||||
Clb7LogicCfgRegsFile : > CLB7LOGICCFG, type=NOINIT
|
||||
Clb8LogicCfgRegsFile : > CLB8LOGICCFG, type=NOINIT
|
||||
Clb1LogicCtrlRegsFile : > CLB1LOGICCTRL, type=NOINIT
|
||||
Clb2LogicCtrlRegsFile : > CLB2LOGICCTRL, type=NOINIT
|
||||
Clb3LogicCtrlRegsFile : > CLB3LOGICCTRL, type=NOINIT
|
||||
Clb4LogicCtrlRegsFile : > CLB4LOGICCTRL, type=NOINIT
|
||||
Clb5LogicCtrlRegsFile : > CLB5LOGICCTRL, type=NOINIT
|
||||
Clb6LogicCtrlRegsFile : > CLB6LOGICCTRL, type=NOINIT
|
||||
Clb7LogicCtrlRegsFile : > CLB7LOGICCTRL, type=NOINIT
|
||||
Clb8LogicCtrlRegsFile : > CLB8LOGICCTRL, type=NOINIT
|
||||
CLBXbarRegsFile : > CLBXBAR, type=NOINIT
|
||||
ClkCfgRegsFile : > CLKCFG, type=NOINIT
|
||||
Cmpss1RegsFile : > CMPSS1, type=NOINIT
|
||||
Cmpss2RegsFile : > CMPSS2, type=NOINIT
|
||||
Cmpss3RegsFile : > CMPSS3, type=NOINIT
|
||||
Cmpss4RegsFile : > CMPSS4, type=NOINIT
|
||||
Cmpss5RegsFile : > CMPSS5, type=NOINIT
|
||||
Cmpss6RegsFile : > CMPSS6, type=NOINIT
|
||||
Cmpss7RegsFile : > CMPSS7, type=NOINIT
|
||||
Cmpss8RegsFile : > CMPSS8, type=NOINIT
|
||||
CmConfRegsFile : > CMCONF, type=NOINIT
|
||||
Cpu1toCmIpcRegsFile : > CPU1TOCMIPC, type=NOINIT
|
||||
Cpu1toCpu2IpcRegsFile : > CPU1TOCPU2IPC, type=NOINIT
|
||||
SysPeriphAcRegsFile : > SYSPERIPHAC, type=NOINIT
|
||||
CpuTimer0RegsFile : > CPUTIMER0, type=NOINIT
|
||||
CpuTimer1RegsFile : > CPUTIMER1, type=NOINIT
|
||||
CpuTimer2RegsFile : > CPUTIMER2, type=NOINIT
|
||||
CpuSysRegsFile : > CPUSYS, type=NOINIT
|
||||
DacaRegsFile : > DACA, type=NOINIT
|
||||
DacbRegsFile : > DACB, type=NOINIT
|
||||
DaccRegsFile : > DACC, type=NOINIT
|
||||
Dcc0RegsFile : > DCC0, type=NOINIT
|
||||
Dcc1RegsFile : > DCC1, type=NOINIT
|
||||
Dcc2RegsFile : > DCC2, type=NOINIT
|
||||
DcsmCommonRegsFile : > DCSMCOMMON, type=NOINIT
|
||||
DcsmZ1OtpRegsFile : > DCSMZ1OTP, type=NOINIT
|
||||
DcsmZ1RegsFile : > DCSMZ1, type=NOINIT
|
||||
DcsmZ2OtpRegsFile : > DCSMZ2OTP, type=NOINIT
|
||||
DcsmZ2RegsFile : > DCSMZ2, type=NOINIT
|
||||
DevCfgRegsFile : > DEVCFG, type=NOINIT
|
||||
DmaClaSrcSelRegsFile : > DMACLASRCSEL, type=NOINIT
|
||||
DmaRegsFile : > DMA, type=NOINIT
|
||||
ECap1RegsFile : > ECAP1, type=NOINIT
|
||||
ECap2RegsFile : > ECAP2, type=NOINIT
|
||||
ECap3RegsFile : > ECAP3, type=NOINIT
|
||||
ECap4RegsFile : > ECAP4, type=NOINIT
|
||||
ECap5RegsFile : > ECAP5, type=NOINIT
|
||||
ECap6RegsFile : > ECAP6, type=NOINIT
|
||||
ECap7RegsFile : > ECAP7, type=NOINIT
|
||||
Emif1ConfigRegsFile : > EMIF1CONFIG, type=NOINIT
|
||||
Emif2ConfigRegsFile : > EMIF2CONFIG, type=NOINIT
|
||||
Emif1RegsFile : > EMIF1, type=NOINIT
|
||||
Emif2RegsFile : > EMIF2, type=NOINIT
|
||||
EPwm1RegsFile : > EPWM1, type=NOINIT
|
||||
EPwm2RegsFile : > EPWM2, type=NOINIT
|
||||
EPwm3RegsFile : > EPWM3, type=NOINIT
|
||||
EPwm4RegsFile : > EPWM4, type=NOINIT
|
||||
EPwm5RegsFile : > EPWM5, type=NOINIT
|
||||
EPwm6RegsFile : > EPWM6, type=NOINIT
|
||||
EPwm7RegsFile : > EPWM7, type=NOINIT
|
||||
EPwm8RegsFile : > EPWM8, type=NOINIT
|
||||
EPwm9RegsFile : > EPWM9, type=NOINIT
|
||||
EPwm10RegsFile : > EPWM10, type=NOINIT
|
||||
EPwm11RegsFile : > EPWM11, type=NOINIT
|
||||
EPwm12RegsFile : > EPWM12, type=NOINIT
|
||||
EPwm13RegsFile : > EPWM13, type=NOINIT
|
||||
EPwm14RegsFile : > EPWM14, type=NOINIT
|
||||
EPwm15RegsFile : > EPWM15, type=NOINIT
|
||||
EPwm16RegsFile : > EPWM16, type=NOINIT
|
||||
EPwmXbarRegsFile : > EPWMXBAR, type=NOINIT
|
||||
EQep1RegsFile : > EQEP1, type=NOINIT
|
||||
EQep2RegsFile : > EQEP2, type=NOINIT
|
||||
EQep3RegsFile : > EQEP3, type=NOINIT
|
||||
EradCounter1RegsFile : > ERADCOUNTER1, type=NOINIT
|
||||
EradCounter2RegsFile : > ERADCOUNTER2, type=NOINIT
|
||||
EradCounter3RegsFile : > ERADCOUNTER3, type=NOINIT
|
||||
EradCounter4RegsFile : > ERADCOUNTER4, type=NOINIT
|
||||
EradCRCGlobalRegsFile : > ERADCRCGLOBAL, type=NOINIT
|
||||
EradCRC1RegsFile : > ERADCRC1, type=NOINIT
|
||||
EradCRC2RegsFile : > ERADCRC2, type=NOINIT
|
||||
EradCRC3RegsFile : > ERADCRC3, type=NOINIT
|
||||
EradCRC4RegsFile : > ERADCRC4, type=NOINIT
|
||||
EradCRC5RegsFile : > ERADCRC5, type=NOINIT
|
||||
EradCRC6RegsFile : > ERADCRC6, type=NOINIT
|
||||
EradCRC7RegsFile : > ERADCRC7, type=NOINIT
|
||||
EradCRC8RegsFile : > ERADCRC8, type=NOINIT
|
||||
EradGlobalRegsFile : > ERADGLOBAL, type=NOINIT
|
||||
EradHWBP1RegsFile : > ERADHWBP1, type=NOINIT
|
||||
EradHWBP2RegsFile : > ERADHWBP2, type=NOINIT
|
||||
EradHWBP3RegsFile : > ERADHWBP3, type=NOINIT
|
||||
EradHWBP4RegsFile : > ERADHWBP4, type=NOINIT
|
||||
EradHWBP5RegsFile : > ERADHWBP5, type=NOINIT
|
||||
EradHWBP6RegsFile : > ERADHWBP6, type=NOINIT
|
||||
EradHWBP7RegsFile : > ERADHWBP7, type=NOINIT
|
||||
EradHWBP8RegsFile : > ERADHWBP8, type=NOINIT
|
||||
EscssConfigRegsFile : > ESCSSCONFIG, type=NOINIT
|
||||
EscssRegsFile : > ESCSS, type=NOINIT
|
||||
Flash0CtrlRegsFile : > FLASH0CTRL, type=NOINIT
|
||||
Flash0EccRegsFile : > FLASH0ECC, type=NOINIT
|
||||
FsiRxaRegsFile : > FSIRXA, type=NOINIT
|
||||
FsiRxbRegsFile : > FSIRXB, type=NOINIT
|
||||
FsiRxcRegsFile : > FSIRXC, type=NOINIT
|
||||
FsiRxdRegsFile : > FSIRXD, type=NOINIT
|
||||
FsiRxeRegsFile : > FSIRXE, type=NOINIT
|
||||
FsiRxfRegsFile : > FSIRXF, type=NOINIT
|
||||
FsiRxgRegsFile : > FSIRXG, type=NOINIT
|
||||
FsiRxhRegsFile : > FSIRXH, type=NOINIT
|
||||
FsiTxaRegsFile : > FSITXA, type=NOINIT
|
||||
FsiTxbRegsFile : > FSITXB, type=NOINIT
|
||||
GpioCtrlRegsFile : > GPIOCTRL, type=NOINIT
|
||||
GpioDataReadRegsFile : > GPIODATAREAD, type=NOINIT
|
||||
GpioDataRegsFile : > GPIODATA, type=NOINIT
|
||||
HRCap6RegsFile : > HRCAP6, type=NOINIT
|
||||
HRCap7RegsFile : > HRCAP7, type=NOINIT
|
||||
I2caRegsFile : > I2CA, type=NOINIT
|
||||
I2cbRegsFile : > I2CB, type=NOINIT
|
||||
InputXbarRegsFile : > INPUTXBAR, type=NOINIT
|
||||
ClbInputXbarRegsFile : > CLBINPUTXBAR, type=NOINIT
|
||||
McanaSsRegsFile : > MCANASS, type=NOINIT
|
||||
McanaErrRegsFile : > MCANAERR, type=NOINIT
|
||||
McanaRegsFile : > MCANA, type=NOINIT
|
||||
MemoryErrorRegsFile : > MEMORYERROR, type=NOINIT
|
||||
MemCfgRegsFile : > MEMCFG, type=NOINIT
|
||||
McbspaRegsFile : > MCBSPA, type=NOINIT
|
||||
McbspbRegsFile : > MCBSPB, type=NOINIT
|
||||
NmiIntruptRegsFile : > NMIINTRUPT, type=NOINIT
|
||||
OutputXbarRegsFile : > OUTPUTXBAR, type=NOINIT
|
||||
ClbOutputXbarRegsFile : > CLBOUTPUTXBAR, type=NOINIT
|
||||
PieCtrlRegsFile : > PIECTRL, type=NOINIT
|
||||
PmbusaRegsFile : > PMBUSA, type=NOINIT
|
||||
RomPrefetchRegsFile : > ROMPREFETCH, type=NOINIT
|
||||
RomWaitStateRegsFile : > ROMWAITSTATE, type=NOINIT
|
||||
SciaRegsFile : > SCIA, type=NOINIT
|
||||
ScibRegsFile : > SCIB, type=NOINIT
|
||||
ScicRegsFile : > SCIC, type=NOINIT
|
||||
ScidRegsFile : > SCID, type=NOINIT
|
||||
Sdfm1RegsFile : > SDFM1, type=NOINIT
|
||||
Sdfm2RegsFile : > SDFM2, type=NOINIT
|
||||
SpiaRegsFile : > SPIA, type=NOINIT
|
||||
SpibRegsFile : > SPIB, type=NOINIT
|
||||
SpicRegsFile : > SPIC, type=NOINIT
|
||||
SpidRegsFile : > SPID, type=NOINIT
|
||||
SyncSocRegsFile : > SYNCSOC, type=NOINIT
|
||||
SysStatusRegsFile : > SYSSTATUS, type=NOINIT
|
||||
TestErrorRegsFile : > TESTERROR, type=NOINIT
|
||||
UidRegsFile : > UID, type=NOINIT
|
||||
WdRegsFile : > WD, type=NOINIT
|
||||
XbarRegsFile : > XBAR, type=NOINIT
|
||||
XintRegsFile : > XINT, type=NOINIT
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,341 @@
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0: /* Program Memory */
|
||||
PAGE 1: /* Data Memory */
|
||||
ACCESSPROTECTION : origin = 0x0005F500, length = 0x00000040
|
||||
ADCA : origin = 0x00007400, length = 0x00000080
|
||||
ADCB : origin = 0x00007480, length = 0x00000080
|
||||
ADCC : origin = 0x00007500, length = 0x00000080
|
||||
ADCD : origin = 0x00007580, length = 0x00000080
|
||||
ADCARESULT : origin = 0x00000B00, length = 0x00000018
|
||||
ADCBRESULT : origin = 0x00000B20, length = 0x00000018
|
||||
ADCCRESULT : origin = 0x00000B40, length = 0x00000018
|
||||
ADCDRESULT : origin = 0x00000B60, length = 0x00000018
|
||||
BGCRCCPU : origin = 0x00006340, length = 0x00000040
|
||||
BGCRCCLA1 : origin = 0x00006380, length = 0x00000040
|
||||
CANA : origin = 0x00048000, length = 0x00000200
|
||||
CANB : origin = 0x0004A000, length = 0x00000200
|
||||
CLA1 : origin = 0x00001400, length = 0x00000080
|
||||
CLB1DATAEXCH : origin = 0x00003180, length = 0x00000080
|
||||
CLB2DATAEXCH : origin = 0x00003380, length = 0x00000080
|
||||
CLB3DATAEXCH : origin = 0x00003580, length = 0x00000080
|
||||
CLB4DATAEXCH : origin = 0x00003780, length = 0x00000080
|
||||
CLB5DATAEXCH : origin = 0x00003980, length = 0x00000080
|
||||
CLB6DATAEXCH : origin = 0x00003B80, length = 0x00000080
|
||||
CLB7DATAEXCH : origin = 0x00003D80, length = 0x00000080
|
||||
CLB8DATAEXCH : origin = 0x00003F80, length = 0x00000080
|
||||
CLB1LOGICCFG : origin = 0x00003000, length = 0x00000052
|
||||
CLB2LOGICCFG : origin = 0x00003200, length = 0x00000052
|
||||
CLB3LOGICCFG : origin = 0x00003400, length = 0x00000052
|
||||
CLB4LOGICCFG : origin = 0x00003600, length = 0x00000052
|
||||
CLB5LOGICCFG : origin = 0x00003800, length = 0x00000052
|
||||
CLB6LOGICCFG : origin = 0x00003A00, length = 0x00000052
|
||||
CLB7LOGICCFG : origin = 0x00003C00, length = 0x00000052
|
||||
CLB8LOGICCFG : origin = 0x00003E00, length = 0x00000052
|
||||
CLB1LOGICCTRL : origin = 0x00003100, length = 0x00000040
|
||||
CLB2LOGICCTRL : origin = 0x00003300, length = 0x00000040
|
||||
CLB3LOGICCTRL : origin = 0x00003500, length = 0x00000040
|
||||
CLB4LOGICCTRL : origin = 0x00003700, length = 0x00000040
|
||||
CLB5LOGICCTRL : origin = 0x00003900, length = 0x00000040
|
||||
CLB6LOGICCTRL : origin = 0x00003B00, length = 0x00000040
|
||||
CLB7LOGICCTRL : origin = 0x00003D00, length = 0x00000040
|
||||
CLB8LOGICCTRL : origin = 0x00003F00, length = 0x00000040
|
||||
CLKCFG : origin = 0x0005D200, length = 0x00000100
|
||||
CMPSS1 : origin = 0x00005C80, length = 0x00000020
|
||||
CMPSS2 : origin = 0x00005CA0, length = 0x00000020
|
||||
CMPSS3 : origin = 0x00005CC0, length = 0x00000020
|
||||
CMPSS4 : origin = 0x00005CE0, length = 0x00000020
|
||||
CMPSS5 : origin = 0x00005D00, length = 0x00000020
|
||||
CMPSS6 : origin = 0x00005D20, length = 0x00000020
|
||||
CMPSS7 : origin = 0x00005D40, length = 0x00000020
|
||||
CMPSS8 : origin = 0x00005D60, length = 0x00000020
|
||||
CPU2TOCPU1IPC : origin = 0x0005CE00, length = 0x00000026
|
||||
CPU2TOCMIPC : origin = 0x0005CE40, length = 0x00000026
|
||||
SYSPERIPHAC : origin = 0x0005D500, length = 0x00000200
|
||||
CPUTIMER0 : origin = 0x00000C00, length = 0x00000008
|
||||
CPUTIMER1 : origin = 0x00000C08, length = 0x00000008
|
||||
CPUTIMER2 : origin = 0x00000C10, length = 0x00000008
|
||||
CPUSYS : origin = 0x0005D300, length = 0x000000A0
|
||||
DACA : origin = 0x00005C00, length = 0x00000008
|
||||
DACB : origin = 0x00005C10, length = 0x00000008
|
||||
DACC : origin = 0x00005C20, length = 0x00000008
|
||||
DCSMCOMMON : origin = 0x0005F0C0, length = 0x00000020
|
||||
DCSMZ1 : origin = 0x0005F000, length = 0x0000003E
|
||||
DCSMZ2 : origin = 0x0005F080, length = 0x0000003E
|
||||
DMACLASRCSEL : origin = 0x00007980, length = 0x0000001A
|
||||
DMA : origin = 0x00001000, length = 0x00000200
|
||||
ECAP1 : origin = 0x00005200, length = 0x00000020
|
||||
ECAP2 : origin = 0x00005240, length = 0x00000020
|
||||
ECAP3 : origin = 0x00005280, length = 0x00000020
|
||||
ECAP4 : origin = 0x000052C0, length = 0x00000020
|
||||
ECAP5 : origin = 0x00005300, length = 0x00000020
|
||||
ECAP6 : origin = 0x00005340, length = 0x00000020
|
||||
ECAP7 : origin = 0x00005380, length = 0x00000020
|
||||
EMIF1CONFIG : origin = 0x0005F4C0, length = 0x00000020
|
||||
EMIF1 : origin = 0x00047000, length = 0x00000070
|
||||
EPWM1 : origin = 0x00004000, length = 0x00000100
|
||||
EPWM2 : origin = 0x00004100, length = 0x00000100
|
||||
EPWM3 : origin = 0x00004200, length = 0x00000100
|
||||
EPWM4 : origin = 0x00004300, length = 0x00000100
|
||||
EPWM5 : origin = 0x00004400, length = 0x00000100
|
||||
EPWM6 : origin = 0x00004500, length = 0x00000100
|
||||
EPWM7 : origin = 0x00004600, length = 0x00000100
|
||||
EPWM8 : origin = 0x00004700, length = 0x00000100
|
||||
EPWM9 : origin = 0x00004800, length = 0x00000100
|
||||
EPWM10 : origin = 0x00004900, length = 0x00000100
|
||||
EPWM11 : origin = 0x00004A00, length = 0x00000100
|
||||
EPWM12 : origin = 0x00004B00, length = 0x00000100
|
||||
EPWM13 : origin = 0x00004C00, length = 0x00000100
|
||||
EPWM14 : origin = 0x00004D00, length = 0x00000100
|
||||
EPWM15 : origin = 0x00004E00, length = 0x00000100
|
||||
EPWM16 : origin = 0x00004F00, length = 0x00000100
|
||||
EQEP1 : origin = 0x00005100, length = 0x00000040
|
||||
EQEP2 : origin = 0x00005140, length = 0x00000040
|
||||
EQEP3 : origin = 0x00005180, length = 0x00000040
|
||||
ERADCOUNTER1 : origin = 0x0005E980, length = 0x00000010
|
||||
ERADCOUNTER2 : origin = 0x0005E990, length = 0x00000010
|
||||
ERADCOUNTER3 : origin = 0x0005E9A0, length = 0x00000010
|
||||
ERADCOUNTER4 : origin = 0x0005E9B0, length = 0x00000010
|
||||
ERADCRCGLOBAL : origin = 0x0005EA00, length = 0x00000010
|
||||
ERADCRC1 : origin = 0x0005EA10, length = 0x00000010
|
||||
ERADCRC2 : origin = 0x0005EA20, length = 0x00000010
|
||||
ERADCRC3 : origin = 0x0005EA30, length = 0x00000010
|
||||
ERADCRC4 : origin = 0x0005EA40, length = 0x00000010
|
||||
ERADCRC5 : origin = 0x0005EA50, length = 0x00000010
|
||||
ERADCRC6 : origin = 0x0005EA60, length = 0x00000010
|
||||
ERADCRC7 : origin = 0x0005EA70, length = 0x00000010
|
||||
ERADCRC8 : origin = 0x0005EA80, length = 0x00000010
|
||||
ERADGLOBAL : origin = 0x0005E800, length = 0x00000014
|
||||
ERADHWBP1 : origin = 0x0005E900, length = 0x00000008
|
||||
ERADHWBP2 : origin = 0x0005E908, length = 0x00000008
|
||||
ERADHWBP3 : origin = 0x0005E910, length = 0x00000008
|
||||
ERADHWBP4 : origin = 0x0005E918, length = 0x00000008
|
||||
ERADHWBP5 : origin = 0x0005E920, length = 0x00000008
|
||||
ERADHWBP6 : origin = 0x0005E928, length = 0x00000008
|
||||
ERADHWBP7 : origin = 0x0005E930, length = 0x00000008
|
||||
ERADHWBP8 : origin = 0x0005E938, length = 0x00000008
|
||||
FLASH0CTRL : origin = 0x0005F800, length = 0x00000182
|
||||
FLASH0ECC : origin = 0x0005FB00, length = 0x00000028
|
||||
FSIRXA : origin = 0x00006680, length = 0x00000050
|
||||
FSIRXB : origin = 0x00006780, length = 0x00000050
|
||||
FSIRXC : origin = 0x00006880, length = 0x00000050
|
||||
FSIRXD : origin = 0x00006980, length = 0x00000050
|
||||
FSIRXE : origin = 0x00006A80, length = 0x00000050
|
||||
FSIRXF : origin = 0x00006B80, length = 0x00000050
|
||||
FSIRXG : origin = 0x00006C80, length = 0x00000050
|
||||
FSIRXH : origin = 0x00006D80, length = 0x00000050
|
||||
FSITXA : origin = 0x00006600, length = 0x00000050
|
||||
FSITXB : origin = 0x00006700, length = 0x00000050
|
||||
GPIODATAREAD : origin = 0x00007F80, length = 0x00000010
|
||||
GPIODATA : origin = 0x00007F00, length = 0x00000040
|
||||
HRCAP6 : origin = 0x00005360, length = 0x00000020
|
||||
HRCAP7 : origin = 0x000053A0, length = 0x00000020
|
||||
I2CA : origin = 0x00007300, length = 0x00000022
|
||||
I2CB : origin = 0x00007340, length = 0x00000022
|
||||
MEMORYERROR : origin = 0x0005F540, length = 0x00000040
|
||||
MEMCFG : origin = 0x0005F400, length = 0x000000C0
|
||||
MCBSPA : origin = 0x00006000, length = 0x00000024
|
||||
MCBSPB : origin = 0x00006040, length = 0x00000024
|
||||
NMIINTRUPT : origin = 0x00007060, length = 0x00000010
|
||||
PIECTRL : origin = 0x00000CE0, length = 0x0000001A
|
||||
PIEVECTTABLE : origin = 0x00000D00, length = 0x00000200
|
||||
PMBUSA : origin = 0x00006400, length = 0x00000020
|
||||
ROMPREFETCH : origin = 0x0005F588, length = 0x00000008
|
||||
ROMWAITSTATE : origin = 0x0005F580, length = 0x00000008
|
||||
SCIA : origin = 0x00007200, length = 0x00000010
|
||||
SCIB : origin = 0x00007210, length = 0x00000010
|
||||
SCIC : origin = 0x00007220, length = 0x00000010
|
||||
SCID : origin = 0x00007230, length = 0x00000010
|
||||
SDFM1 : origin = 0x00005E00, length = 0x00000080
|
||||
SDFM2 : origin = 0x00005E80, length = 0x00000080
|
||||
SPIA : origin = 0x00006100, length = 0x00000010
|
||||
SPIB : origin = 0x00006110, length = 0x00000010
|
||||
SPIC : origin = 0x00006120, length = 0x00000010
|
||||
SPID : origin = 0x00006130, length = 0x00000010
|
||||
SYSSTATUS : origin = 0x0005D400, length = 0x00000100
|
||||
TESTERROR : origin = 0x0005F590, length = 0x00000010
|
||||
UID : origin = 0x00070200, length = 0x00000010
|
||||
WD : origin = 0x00007000, length = 0x0000002C
|
||||
XINT : origin = 0x00007070, length = 0x0000000C
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/*** PIE Vect Table and Boot ROM Variables Structures ***/
|
||||
UNION run = PIEVECTTABLE
|
||||
{
|
||||
PieVectTableFile : TYPE=DSECT
|
||||
GROUP
|
||||
{
|
||||
EmuKeyVar : TYPE=DSECT
|
||||
EmuBModeVar : TYPE=DSECT
|
||||
EmuBootPinsVar : TYPE=DSECT
|
||||
FlashCallbackVar : TYPE=DSECT
|
||||
FlashScalingVar : TYPE=DSECT
|
||||
}
|
||||
}
|
||||
|
||||
AccessProtectionRegsFile : > ACCESSPROTECTION, type=NOINIT
|
||||
AdcaRegsFile : > ADCA, type=NOINIT
|
||||
AdcbRegsFile : > ADCB, type=NOINIT
|
||||
AdccRegsFile : > ADCC, type=NOINIT
|
||||
AdcdRegsFile : > ADCD, type=NOINIT
|
||||
AdcaResultRegsFile : > ADCARESULT, type=NOINIT
|
||||
AdcbResultRegsFile : > ADCBRESULT, type=NOINIT
|
||||
AdccResultRegsFile : > ADCCRESULT, type=NOINIT
|
||||
AdcdResultRegsFile : > ADCDRESULT, type=NOINIT
|
||||
BgcrcCpuRegsFile : > BGCRCCPU, type=NOINIT
|
||||
BgcrcCla1RegsFile : > BGCRCCLA1, type=NOINIT
|
||||
CanaRegsFile : > CANA, type=NOINIT
|
||||
CanbRegsFile : > CANB, type=NOINIT
|
||||
Cla1RegsFile : > CLA1, type=NOINIT
|
||||
Clb1DataExchRegsFile : > CLB1DATAEXCH, type=NOINIT
|
||||
Clb2DataExchRegsFile : > CLB2DATAEXCH, type=NOINIT
|
||||
Clb3DataExchRegsFile : > CLB3DATAEXCH, type=NOINIT
|
||||
Clb4DataExchRegsFile : > CLB4DATAEXCH, type=NOINIT
|
||||
Clb5DataExchRegsFile : > CLB5DATAEXCH, type=NOINIT
|
||||
Clb6DataExchRegsFile : > CLB6DATAEXCH, type=NOINIT
|
||||
Clb7DataExchRegsFile : > CLB7DATAEXCH, type=NOINIT
|
||||
Clb8DataExchRegsFile : > CLB8DATAEXCH, type=NOINIT
|
||||
Clb1LogicCfgRegsFile : > CLB1LOGICCFG, type=NOINIT
|
||||
Clb2LogicCfgRegsFile : > CLB2LOGICCFG, type=NOINIT
|
||||
Clb3LogicCfgRegsFile : > CLB3LOGICCFG, type=NOINIT
|
||||
Clb4LogicCfgRegsFile : > CLB4LOGICCFG, type=NOINIT
|
||||
Clb5LogicCfgRegsFile : > CLB5LOGICCFG, type=NOINIT
|
||||
Clb6LogicCfgRegsFile : > CLB6LOGICCFG, type=NOINIT
|
||||
Clb7LogicCfgRegsFile : > CLB7LOGICCFG, type=NOINIT
|
||||
Clb8LogicCfgRegsFile : > CLB8LOGICCFG, type=NOINIT
|
||||
Clb1LogicCtrlRegsFile : > CLB1LOGICCTRL, type=NOINIT
|
||||
Clb2LogicCtrlRegsFile : > CLB2LOGICCTRL, type=NOINIT
|
||||
Clb3LogicCtrlRegsFile : > CLB3LOGICCTRL, type=NOINIT
|
||||
Clb4LogicCtrlRegsFile : > CLB4LOGICCTRL, type=NOINIT
|
||||
Clb5LogicCtrlRegsFile : > CLB5LOGICCTRL, type=NOINIT
|
||||
Clb6LogicCtrlRegsFile : > CLB6LOGICCTRL, type=NOINIT
|
||||
Clb7LogicCtrlRegsFile : > CLB7LOGICCTRL, type=NOINIT
|
||||
Clb8LogicCtrlRegsFile : > CLB8LOGICCTRL, type=NOINIT
|
||||
ClkCfgRegsFile : > CLKCFG, type=NOINIT
|
||||
Cmpss1RegsFile : > CMPSS1, type=NOINIT
|
||||
Cmpss2RegsFile : > CMPSS2, type=NOINIT
|
||||
Cmpss3RegsFile : > CMPSS3, type=NOINIT
|
||||
Cmpss4RegsFile : > CMPSS4, type=NOINIT
|
||||
Cmpss5RegsFile : > CMPSS5, type=NOINIT
|
||||
Cmpss6RegsFile : > CMPSS6, type=NOINIT
|
||||
Cmpss7RegsFile : > CMPSS7, type=NOINIT
|
||||
Cmpss8RegsFile : > CMPSS8, type=NOINIT
|
||||
Cpu2toCpu1IpcRegsFile : > CPU2TOCPU1IPC, type=NOINIT
|
||||
Cpu2toCmIpcRegsFile : > CPU2TOCMIPC, type=NOINIT
|
||||
SysPeriphAcRegsFile : > SYSPERIPHAC, type=NOINIT
|
||||
CpuTimer0RegsFile : > CPUTIMER0, type=NOINIT
|
||||
CpuTimer1RegsFile : > CPUTIMER1, type=NOINIT
|
||||
CpuTimer2RegsFile : > CPUTIMER2, type=NOINIT
|
||||
CpuSysRegsFile : > CPUSYS, type=NOINIT
|
||||
DacaRegsFile : > DACA, type=NOINIT
|
||||
DacbRegsFile : > DACB, type=NOINIT
|
||||
DaccRegsFile : > DACC, type=NOINIT
|
||||
DcsmCommonRegsFile : > DCSMCOMMON, type=NOINIT
|
||||
DcsmZ1RegsFile : > DCSMZ1, type=NOINIT
|
||||
DcsmZ2RegsFile : > DCSMZ2, type=NOINIT
|
||||
DmaClaSrcSelRegsFile : > DMACLASRCSEL, type=NOINIT
|
||||
DmaRegsFile : > DMA, type=NOINIT
|
||||
ECap1RegsFile : > ECAP1, type=NOINIT
|
||||
ECap2RegsFile : > ECAP2, type=NOINIT
|
||||
ECap3RegsFile : > ECAP3, type=NOINIT
|
||||
ECap4RegsFile : > ECAP4, type=NOINIT
|
||||
ECap5RegsFile : > ECAP5, type=NOINIT
|
||||
ECap6RegsFile : > ECAP6, type=NOINIT
|
||||
ECap7RegsFile : > ECAP7, type=NOINIT
|
||||
Emif1ConfigRegsFile : > EMIF1CONFIG, type=NOINIT
|
||||
Emif1RegsFile : > EMIF1, type=NOINIT
|
||||
EPwm1RegsFile : > EPWM1, type=NOINIT
|
||||
EPwm2RegsFile : > EPWM2, type=NOINIT
|
||||
EPwm3RegsFile : > EPWM3, type=NOINIT
|
||||
EPwm4RegsFile : > EPWM4, type=NOINIT
|
||||
EPwm5RegsFile : > EPWM5, type=NOINIT
|
||||
EPwm6RegsFile : > EPWM6, type=NOINIT
|
||||
EPwm7RegsFile : > EPWM7, type=NOINIT
|
||||
EPwm8RegsFile : > EPWM8, type=NOINIT
|
||||
EPwm9RegsFile : > EPWM9, type=NOINIT
|
||||
EPwm10RegsFile : > EPWM10, type=NOINIT
|
||||
EPwm11RegsFile : > EPWM11, type=NOINIT
|
||||
EPwm12RegsFile : > EPWM12, type=NOINIT
|
||||
EPwm13RegsFile : > EPWM13, type=NOINIT
|
||||
EPwm14RegsFile : > EPWM14, type=NOINIT
|
||||
EPwm15RegsFile : > EPWM15, type=NOINIT
|
||||
EPwm16RegsFile : > EPWM16, type=NOINIT
|
||||
EQep1RegsFile : > EQEP1, type=NOINIT
|
||||
EQep2RegsFile : > EQEP2, type=NOINIT
|
||||
EQep3RegsFile : > EQEP3, type=NOINIT
|
||||
EradCounter1RegsFile : > ERADCOUNTER1, type=NOINIT
|
||||
EradCounter2RegsFile : > ERADCOUNTER2, type=NOINIT
|
||||
EradCounter3RegsFile : > ERADCOUNTER3, type=NOINIT
|
||||
EradCounter4RegsFile : > ERADCOUNTER4, type=NOINIT
|
||||
EradCRCGlobalRegsFile : > ERADCRCGLOBAL, type=NOINIT
|
||||
EradCRC1RegsFile : > ERADCRC1, type=NOINIT
|
||||
EradCRC2RegsFile : > ERADCRC2, type=NOINIT
|
||||
EradCRC3RegsFile : > ERADCRC3, type=NOINIT
|
||||
EradCRC4RegsFile : > ERADCRC4, type=NOINIT
|
||||
EradCRC5RegsFile : > ERADCRC5, type=NOINIT
|
||||
EradCRC6RegsFile : > ERADCRC6, type=NOINIT
|
||||
EradCRC7RegsFile : > ERADCRC7, type=NOINIT
|
||||
EradCRC8RegsFile : > ERADCRC8, type=NOINIT
|
||||
EradGlobalRegsFile : > ERADGLOBAL, type=NOINIT
|
||||
EradHWBP1RegsFile : > ERADHWBP1, type=NOINIT
|
||||
EradHWBP2RegsFile : > ERADHWBP2, type=NOINIT
|
||||
EradHWBP3RegsFile : > ERADHWBP3, type=NOINIT
|
||||
EradHWBP4RegsFile : > ERADHWBP4, type=NOINIT
|
||||
EradHWBP5RegsFile : > ERADHWBP5, type=NOINIT
|
||||
EradHWBP6RegsFile : > ERADHWBP6, type=NOINIT
|
||||
EradHWBP7RegsFile : > ERADHWBP7, type=NOINIT
|
||||
EradHWBP8RegsFile : > ERADHWBP8, type=NOINIT
|
||||
Flash0CtrlRegsFile : > FLASH0CTRL, type=NOINIT
|
||||
Flash0EccRegsFile : > FLASH0ECC, type=NOINIT
|
||||
FsiRxaRegsFile : > FSIRXA, type=NOINIT
|
||||
FsiRxbRegsFile : > FSIRXB, type=NOINIT
|
||||
FsiRxcRegsFile : > FSIRXC, type=NOINIT
|
||||
FsiRxdRegsFile : > FSIRXD, type=NOINIT
|
||||
FsiRxeRegsFile : > FSIRXE, type=NOINIT
|
||||
FsiRxfRegsFile : > FSIRXF, type=NOINIT
|
||||
FsiRxgRegsFile : > FSIRXG, type=NOINIT
|
||||
FsiRxhRegsFile : > FSIRXH, type=NOINIT
|
||||
FsiTxaRegsFile : > FSITXA, type=NOINIT
|
||||
FsiTxbRegsFile : > FSITXB, type=NOINIT
|
||||
GpioDataReadRegsFile : > GPIODATAREAD, type=NOINIT
|
||||
GpioDataRegsFile : > GPIODATA, type=NOINIT
|
||||
HRCap6RegsFile : > HRCAP6, type=NOINIT
|
||||
HRCap7RegsFile : > HRCAP7, type=NOINIT
|
||||
I2caRegsFile : > I2CA, type=NOINIT
|
||||
I2cbRegsFile : > I2CB, type=NOINIT
|
||||
MemoryErrorRegsFile : > MEMORYERROR, type=NOINIT
|
||||
MemCfgRegsFile : > MEMCFG, type=NOINIT
|
||||
McbspaRegsFile : > MCBSPA, type=NOINIT
|
||||
McbspbRegsFile : > MCBSPB, type=NOINIT
|
||||
NmiIntruptRegsFile : > NMIINTRUPT, type=NOINIT
|
||||
PieCtrlRegsFile : > PIECTRL, type=NOINIT
|
||||
PmbusaRegsFile : > PMBUSA, type=NOINIT
|
||||
RomPrefetchRegsFile : > ROMPREFETCH, type=NOINIT
|
||||
RomWaitStateRegsFile : > ROMWAITSTATE, type=NOINIT
|
||||
SciaRegsFile : > SCIA, type=NOINIT
|
||||
ScibRegsFile : > SCIB, type=NOINIT
|
||||
ScicRegsFile : > SCIC, type=NOINIT
|
||||
ScidRegsFile : > SCID, type=NOINIT
|
||||
Sdfm1RegsFile : > SDFM1, type=NOINIT
|
||||
Sdfm2RegsFile : > SDFM2, type=NOINIT
|
||||
SpiaRegsFile : > SPIA, type=NOINIT
|
||||
SpibRegsFile : > SPIB, type=NOINIT
|
||||
SpicRegsFile : > SPIC, type=NOINIT
|
||||
SpidRegsFile : > SPID, type=NOINIT
|
||||
SysStatusRegsFile : > SYSSTATUS, type=NOINIT
|
||||
TestErrorRegsFile : > TESTERROR, type=NOINIT
|
||||
UidRegsFile : > UID, type=NOINIT
|
||||
WdRegsFile : > WD, type=NOINIT
|
||||
XintRegsFile : > XINT, type=NOINIT
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,389 @@
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0: /* Program Memory */
|
||||
PAGE 1: /* Data Memory */
|
||||
ACCESSPROTECTION : origin = 0x0005F500, length = 0x00000040
|
||||
ADCA : origin = 0x00007400, length = 0x00000080
|
||||
ADCB : origin = 0x00007480, length = 0x00000080
|
||||
ADCC : origin = 0x00007500, length = 0x00000080
|
||||
ADCD : origin = 0x00007580, length = 0x00000080
|
||||
ADCARESULT : origin = 0x00000B00, length = 0x00000018
|
||||
ADCBRESULT : origin = 0x00000B20, length = 0x00000018
|
||||
ADCCRESULT : origin = 0x00000B40, length = 0x00000018
|
||||
ADCDRESULT : origin = 0x00000B60, length = 0x00000018
|
||||
ANALOGSUBSYS : origin = 0x0005D700, length = 0x00000100
|
||||
BGCRCCPU : origin = 0x00006340, length = 0x00000040
|
||||
BGCRCCLA1 : origin = 0x00006380, length = 0x00000040
|
||||
CANA : origin = 0x00048000, length = 0x00000200
|
||||
CANB : origin = 0x0004A000, length = 0x00000200
|
||||
CLA1 : origin = 0x00001400, length = 0x00000080
|
||||
CLB1DATAEXCH : origin = 0x00003180, length = 0x00000080
|
||||
CLB2DATAEXCH : origin = 0x00003380, length = 0x00000080
|
||||
CLB3DATAEXCH : origin = 0x00003580, length = 0x00000080
|
||||
CLB4DATAEXCH : origin = 0x00003780, length = 0x00000080
|
||||
CLB5DATAEXCH : origin = 0x00003980, length = 0x00000080
|
||||
CLB6DATAEXCH : origin = 0x00003B80, length = 0x00000080
|
||||
CLB7DATAEXCH : origin = 0x00003D80, length = 0x00000080
|
||||
CLB8DATAEXCH : origin = 0x00003F80, length = 0x00000080
|
||||
CLB1LOGICCFG : origin = 0x00003000, length = 0x00000052
|
||||
CLB2LOGICCFG : origin = 0x00003200, length = 0x00000052
|
||||
CLB3LOGICCFG : origin = 0x00003400, length = 0x00000052
|
||||
CLB4LOGICCFG : origin = 0x00003600, length = 0x00000052
|
||||
CLB5LOGICCFG : origin = 0x00003800, length = 0x00000052
|
||||
CLB6LOGICCFG : origin = 0x00003A00, length = 0x00000052
|
||||
CLB7LOGICCFG : origin = 0x00003C00, length = 0x00000052
|
||||
CLB8LOGICCFG : origin = 0x00003E00, length = 0x00000052
|
||||
CLB1LOGICCTRL : origin = 0x00003100, length = 0x00000040
|
||||
CLB2LOGICCTRL : origin = 0x00003300, length = 0x00000040
|
||||
CLB3LOGICCTRL : origin = 0x00003500, length = 0x00000040
|
||||
CLB4LOGICCTRL : origin = 0x00003700, length = 0x00000040
|
||||
CLB5LOGICCTRL : origin = 0x00003900, length = 0x00000040
|
||||
CLB6LOGICCTRL : origin = 0x00003B00, length = 0x00000040
|
||||
CLB7LOGICCTRL : origin = 0x00003D00, length = 0x00000040
|
||||
CLB8LOGICCTRL : origin = 0x00003F00, length = 0x00000040
|
||||
CLBXBAR : origin = 0x00007A40, length = 0x00000040
|
||||
CLKCFG : origin = 0x0005D200, length = 0x00000100
|
||||
CMPSS1 : origin = 0x00005C80, length = 0x00000020
|
||||
CMPSS2 : origin = 0x00005CA0, length = 0x00000020
|
||||
CMPSS3 : origin = 0x00005CC0, length = 0x00000020
|
||||
CMPSS4 : origin = 0x00005CE0, length = 0x00000020
|
||||
CMPSS5 : origin = 0x00005D00, length = 0x00000020
|
||||
CMPSS6 : origin = 0x00005D20, length = 0x00000020
|
||||
CMPSS7 : origin = 0x00005D40, length = 0x00000020
|
||||
CMPSS8 : origin = 0x00005D60, length = 0x00000020
|
||||
CMCONF : origin = 0x0005DC00, length = 0x00000400
|
||||
CPU1TOCMIPC : origin = 0x0005CE40, length = 0x00000026
|
||||
CPU1TOCPU2IPC : origin = 0x0005CE00, length = 0x00000026
|
||||
SYSPERIPHAC : origin = 0x0005D500, length = 0x00000200
|
||||
CPUTIMER0 : origin = 0x00000C00, length = 0x00000008
|
||||
CPUTIMER1 : origin = 0x00000C08, length = 0x00000008
|
||||
CPUTIMER2 : origin = 0x00000C10, length = 0x00000008
|
||||
CPUSYS : origin = 0x0005D300, length = 0x000000A0
|
||||
DACA : origin = 0x00005C00, length = 0x00000008
|
||||
DACB : origin = 0x00005C10, length = 0x00000008
|
||||
DACC : origin = 0x00005C20, length = 0x00000008
|
||||
DCC0 : origin = 0x0005E700, length = 0x00000038
|
||||
DCC1 : origin = 0x0005E740, length = 0x00000038
|
||||
DCC2 : origin = 0x0005E780, length = 0x00000038
|
||||
DCSMCOMMON : origin = 0x0005F0C0, length = 0x00000020
|
||||
DCSMZ1OTP : origin = 0x00078000, length = 0x00000020
|
||||
DCSMZ1 : origin = 0x0005F000, length = 0x0000003E
|
||||
DCSMZ2OTP : origin = 0x00078200, length = 0x00000020
|
||||
DCSMZ2 : origin = 0x0005F080, length = 0x0000003E
|
||||
DEVCFG : origin = 0x0005D000, length = 0x000001A0
|
||||
DMACLASRCSEL : origin = 0x00007980, length = 0x0000001A
|
||||
DMA : origin = 0x00001000, length = 0x00000200
|
||||
ECAP1 : origin = 0x00005200, length = 0x00000020
|
||||
ECAP2 : origin = 0x00005240, length = 0x00000020
|
||||
ECAP3 : origin = 0x00005280, length = 0x00000020
|
||||
ECAP4 : origin = 0x000052C0, length = 0x00000020
|
||||
ECAP5 : origin = 0x00005300, length = 0x00000020
|
||||
ECAP6 : origin = 0x00005340, length = 0x00000020
|
||||
ECAP7 : origin = 0x00005380, length = 0x00000020
|
||||
EMIF1CONFIG : origin = 0x0005F4C0, length = 0x00000020
|
||||
EMIF2CONFIG : origin = 0x0005F4E0, length = 0x00000020
|
||||
EMIF1 : origin = 0x00047000, length = 0x00000070
|
||||
EMIF2 : origin = 0x00047800, length = 0x00000070
|
||||
EPWM1 : origin = 0x00004000, length = 0x00000100
|
||||
EPWM2 : origin = 0x00004100, length = 0x00000100
|
||||
EPWM3 : origin = 0x00004200, length = 0x00000100
|
||||
EPWM4 : origin = 0x00004300, length = 0x00000100
|
||||
EPWM5 : origin = 0x00004400, length = 0x00000100
|
||||
EPWM6 : origin = 0x00004500, length = 0x00000100
|
||||
EPWM7 : origin = 0x00004600, length = 0x00000100
|
||||
EPWM8 : origin = 0x00004700, length = 0x00000100
|
||||
EPWM9 : origin = 0x00004800, length = 0x00000100
|
||||
EPWM10 : origin = 0x00004900, length = 0x00000100
|
||||
EPWM11 : origin = 0x00004A00, length = 0x00000100
|
||||
EPWM12 : origin = 0x00004B00, length = 0x00000100
|
||||
EPWM13 : origin = 0x00004C00, length = 0x00000100
|
||||
EPWM14 : origin = 0x00004D00, length = 0x00000100
|
||||
EPWM15 : origin = 0x00004E00, length = 0x00000100
|
||||
EPWM16 : origin = 0x00004F00, length = 0x00000100
|
||||
EPWMXBAR : origin = 0x00007A00, length = 0x00000040
|
||||
EQEP1 : origin = 0x00005100, length = 0x00000040
|
||||
EQEP2 : origin = 0x00005140, length = 0x00000040
|
||||
EQEP3 : origin = 0x00005180, length = 0x00000040
|
||||
ERADCOUNTER1 : origin = 0x0005E980, length = 0x00000010
|
||||
ERADCOUNTER2 : origin = 0x0005E990, length = 0x00000010
|
||||
ERADCOUNTER3 : origin = 0x0005E9A0, length = 0x00000010
|
||||
ERADCOUNTER4 : origin = 0x0005E9B0, length = 0x00000010
|
||||
ERADCRCGLOBAL : origin = 0x0005EA00, length = 0x00000010
|
||||
ERADCRC1 : origin = 0x0005EA10, length = 0x00000010
|
||||
ERADCRC2 : origin = 0x0005EA20, length = 0x00000010
|
||||
ERADCRC3 : origin = 0x0005EA30, length = 0x00000010
|
||||
ERADCRC4 : origin = 0x0005EA40, length = 0x00000010
|
||||
ERADCRC5 : origin = 0x0005EA50, length = 0x00000010
|
||||
ERADCRC6 : origin = 0x0005EA60, length = 0x00000010
|
||||
ERADCRC7 : origin = 0x0005EA70, length = 0x00000010
|
||||
ERADCRC8 : origin = 0x0005EA80, length = 0x00000010
|
||||
ERADGLOBAL : origin = 0x0005E800, length = 0x00000014
|
||||
ERADHWBP1 : origin = 0x0005E900, length = 0x00000008
|
||||
ERADHWBP2 : origin = 0x0005E908, length = 0x00000008
|
||||
ERADHWBP3 : origin = 0x0005E910, length = 0x00000008
|
||||
ERADHWBP4 : origin = 0x0005E918, length = 0x00000008
|
||||
ERADHWBP5 : origin = 0x0005E920, length = 0x00000008
|
||||
ERADHWBP6 : origin = 0x0005E928, length = 0x00000008
|
||||
ERADHWBP7 : origin = 0x0005E930, length = 0x00000008
|
||||
ERADHWBP8 : origin = 0x0005E938, length = 0x00000008
|
||||
ESCSSCONFIG : origin = 0x00057F00, length = 0x00000016
|
||||
ESCSS : origin = 0x00057E00, length = 0x00000024
|
||||
FLASH0CTRL : origin = 0x0005F800, length = 0x00000182
|
||||
FLASH0ECC : origin = 0x0005FB00, length = 0x00000028
|
||||
FSIRXA : origin = 0x00006680, length = 0x00000050
|
||||
FSIRXB : origin = 0x00006780, length = 0x00000050
|
||||
FSIRXC : origin = 0x00006880, length = 0x00000050
|
||||
FSIRXD : origin = 0x00006980, length = 0x00000050
|
||||
FSIRXE : origin = 0x00006A80, length = 0x00000050
|
||||
FSIRXF : origin = 0x00006B80, length = 0x00000050
|
||||
FSIRXG : origin = 0x00006C80, length = 0x00000050
|
||||
FSIRXH : origin = 0x00006D80, length = 0x00000050
|
||||
FSITXA : origin = 0x00006600, length = 0x00000050
|
||||
FSITXB : origin = 0x00006700, length = 0x00000050
|
||||
GPIOCTRL : origin = 0x00007C00, length = 0x00000200
|
||||
GPIODATAREAD : origin = 0x00007F80, length = 0x00000010
|
||||
GPIODATA : origin = 0x00007F00, length = 0x00000040
|
||||
HRCAP6 : origin = 0x00005360, length = 0x00000020
|
||||
HRCAP7 : origin = 0x000053A0, length = 0x00000020
|
||||
I2CA : origin = 0x00007300, length = 0x00000022
|
||||
I2CB : origin = 0x00007340, length = 0x00000022
|
||||
INPUTXBAR : origin = 0x00007900, length = 0x00000020
|
||||
CLBINPUTXBAR : origin = 0x00007960, length = 0x00000020
|
||||
MCANASS : origin = 0x0005C400, length = 0x0000002C
|
||||
MCANAERR : origin = 0x0005C800, length = 0x00000210
|
||||
MCANA : origin = 0x0005C600, length = 0x00000100
|
||||
MEMORYERROR : origin = 0x0005F540, length = 0x00000040
|
||||
MEMCFG : origin = 0x0005F400, length = 0x000000C0
|
||||
MCBSPA : origin = 0x00006000, length = 0x00000024
|
||||
MCBSPB : origin = 0x00006040, length = 0x00000024
|
||||
NMIINTRUPT : origin = 0x00007060, length = 0x00000010
|
||||
OUTPUTXBAR : origin = 0x00007A80, length = 0x00000040
|
||||
CLBOUTPUTXBAR : origin = 0x00007BC0, length = 0x00000040
|
||||
PIECTRL : origin = 0x00000CE0, length = 0x0000001A
|
||||
PIEVECTTABLE : origin = 0x00000D00, length = 0x00000200
|
||||
PMBUSA : origin = 0x00006400, length = 0x00000020
|
||||
ROMPREFETCH : origin = 0x0005F588, length = 0x00000008
|
||||
ROMWAITSTATE : origin = 0x0005F580, length = 0x00000008
|
||||
SCIA : origin = 0x00007200, length = 0x00000010
|
||||
SCIB : origin = 0x00007210, length = 0x00000010
|
||||
SCIC : origin = 0x00007220, length = 0x00000010
|
||||
SCID : origin = 0x00007230, length = 0x00000010
|
||||
SDFM1 : origin = 0x00005E00, length = 0x00000080
|
||||
SDFM2 : origin = 0x00005E80, length = 0x00000080
|
||||
SPIA : origin = 0x00006100, length = 0x00000010
|
||||
SPIB : origin = 0x00006110, length = 0x00000010
|
||||
SPIC : origin = 0x00006120, length = 0x00000010
|
||||
SPID : origin = 0x00006130, length = 0x00000010
|
||||
SYNCSOC : origin = 0x00007940, length = 0x00000006
|
||||
SYSSTATUS : origin = 0x0005D400, length = 0x00000100
|
||||
TESTERROR : origin = 0x0005F590, length = 0x00000010
|
||||
UID : origin = 0x00070200, length = 0x00000010
|
||||
WD : origin = 0x00007000, length = 0x0000002C
|
||||
XBAR : origin = 0x00007920, length = 0x00000020
|
||||
XINT : origin = 0x00007070, length = 0x0000000C
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/*** PIE Vect Table and Boot ROM Variables Structures ***/
|
||||
UNION run = PIEVECTTABLE
|
||||
{
|
||||
PieVectTableFile
|
||||
GROUP
|
||||
{
|
||||
EmuKeyVar
|
||||
EmuBModeVar
|
||||
EmuBootPinsVar
|
||||
FlashCallbackVar
|
||||
FlashScalingVar
|
||||
}
|
||||
}
|
||||
|
||||
AccessProtectionRegsFile : > ACCESSPROTECTION, type=NOINIT
|
||||
AdcaRegsFile : > ADCA, type=NOINIT
|
||||
AdcbRegsFile : > ADCB, type=NOINIT
|
||||
AdccRegsFile : > ADCC, type=NOINIT
|
||||
AdcdRegsFile : > ADCD, type=NOINIT
|
||||
AdcaResultRegsFile : > ADCARESULT, type=NOINIT
|
||||
AdcbResultRegsFile : > ADCBRESULT, type=NOINIT
|
||||
AdccResultRegsFile : > ADCCRESULT, type=NOINIT
|
||||
AdcdResultRegsFile : > ADCDRESULT, type=NOINIT
|
||||
AnalogSubsysRegsFile : > ANALOGSUBSYS, type=NOINIT
|
||||
BgcrcCpuRegsFile : > BGCRCCPU, type=NOINIT
|
||||
BgcrcCla1RegsFile : > BGCRCCLA1, type=NOINIT
|
||||
CanaRegsFile : > CANA, type=NOINIT
|
||||
CanbRegsFile : > CANB, type=NOINIT
|
||||
Cla1RegsFile : > CLA1, type=NOINIT
|
||||
Clb1DataExchRegsFile : > CLB1DATAEXCH, type=NOINIT
|
||||
Clb2DataExchRegsFile : > CLB2DATAEXCH, type=NOINIT
|
||||
Clb3DataExchRegsFile : > CLB3DATAEXCH, type=NOINIT
|
||||
Clb4DataExchRegsFile : > CLB4DATAEXCH, type=NOINIT
|
||||
Clb5DataExchRegsFile : > CLB5DATAEXCH, type=NOINIT
|
||||
Clb6DataExchRegsFile : > CLB6DATAEXCH, type=NOINIT
|
||||
Clb7DataExchRegsFile : > CLB7DATAEXCH, type=NOINIT
|
||||
Clb8DataExchRegsFile : > CLB8DATAEXCH, type=NOINIT
|
||||
Clb1LogicCfgRegsFile : > CLB1LOGICCFG, type=NOINIT
|
||||
Clb2LogicCfgRegsFile : > CLB2LOGICCFG, type=NOINIT
|
||||
Clb3LogicCfgRegsFile : > CLB3LOGICCFG, type=NOINIT
|
||||
Clb4LogicCfgRegsFile : > CLB4LOGICCFG, type=NOINIT
|
||||
Clb5LogicCfgRegsFile : > CLB5LOGICCFG, type=NOINIT
|
||||
Clb6LogicCfgRegsFile : > CLB6LOGICCFG, type=NOINIT
|
||||
Clb7LogicCfgRegsFile : > CLB7LOGICCFG, type=NOINIT
|
||||
Clb8LogicCfgRegsFile : > CLB8LOGICCFG, type=NOINIT
|
||||
Clb1LogicCtrlRegsFile : > CLB1LOGICCTRL, type=NOINIT
|
||||
Clb2LogicCtrlRegsFile : > CLB2LOGICCTRL, type=NOINIT
|
||||
Clb3LogicCtrlRegsFile : > CLB3LOGICCTRL, type=NOINIT
|
||||
Clb4LogicCtrlRegsFile : > CLB4LOGICCTRL, type=NOINIT
|
||||
Clb5LogicCtrlRegsFile : > CLB5LOGICCTRL, type=NOINIT
|
||||
Clb6LogicCtrlRegsFile : > CLB6LOGICCTRL, type=NOINIT
|
||||
Clb7LogicCtrlRegsFile : > CLB7LOGICCTRL, type=NOINIT
|
||||
Clb8LogicCtrlRegsFile : > CLB8LOGICCTRL, type=NOINIT
|
||||
CLBXbarRegsFile : > CLBXBAR, type=NOINIT
|
||||
ClkCfgRegsFile : > CLKCFG, type=NOINIT
|
||||
Cmpss1RegsFile : > CMPSS1, type=NOINIT
|
||||
Cmpss2RegsFile : > CMPSS2, type=NOINIT
|
||||
Cmpss3RegsFile : > CMPSS3, type=NOINIT
|
||||
Cmpss4RegsFile : > CMPSS4, type=NOINIT
|
||||
Cmpss5RegsFile : > CMPSS5, type=NOINIT
|
||||
Cmpss6RegsFile : > CMPSS6, type=NOINIT
|
||||
Cmpss7RegsFile : > CMPSS7, type=NOINIT
|
||||
Cmpss8RegsFile : > CMPSS8, type=NOINIT
|
||||
CmConfRegsFile : > CMCONF, type=NOINIT
|
||||
Cpu1toCmIpcRegsFile : > CPU1TOCMIPC, type=NOINIT
|
||||
Cpu1toCpu2IpcRegsFile : > CPU1TOCPU2IPC, type=NOINIT
|
||||
SysPeriphAcRegsFile : > SYSPERIPHAC, type=NOINIT
|
||||
CpuTimer0RegsFile : > CPUTIMER0, type=NOINIT
|
||||
CpuTimer1RegsFile : > CPUTIMER1, type=NOINIT
|
||||
CpuTimer2RegsFile : > CPUTIMER2, type=NOINIT
|
||||
CpuSysRegsFile : > CPUSYS, type=NOINIT
|
||||
DacaRegsFile : > DACA, type=NOINIT
|
||||
DacbRegsFile : > DACB, type=NOINIT
|
||||
DaccRegsFile : > DACC, type=NOINIT
|
||||
Dcc0RegsFile : > DCC0, type=NOINIT
|
||||
Dcc1RegsFile : > DCC1, type=NOINIT
|
||||
Dcc2RegsFile : > DCC2, type=NOINIT
|
||||
DcsmCommonRegsFile : > DCSMCOMMON, type=NOINIT
|
||||
DcsmZ1OtpRegsFile : > DCSMZ1OTP, type=NOINIT
|
||||
DcsmZ1RegsFile : > DCSMZ1, type=NOINIT
|
||||
DcsmZ2OtpRegsFile : > DCSMZ2OTP, type=NOINIT
|
||||
DcsmZ2RegsFile : > DCSMZ2, type=NOINIT
|
||||
DevCfgRegsFile : > DEVCFG, type=NOINIT
|
||||
DmaClaSrcSelRegsFile : > DMACLASRCSEL, type=NOINIT
|
||||
DmaRegsFile : > DMA, type=NOINIT
|
||||
ECap1RegsFile : > ECAP1, type=NOINIT
|
||||
ECap2RegsFile : > ECAP2, type=NOINIT
|
||||
ECap3RegsFile : > ECAP3, type=NOINIT
|
||||
ECap4RegsFile : > ECAP4, type=NOINIT
|
||||
ECap5RegsFile : > ECAP5, type=NOINIT
|
||||
ECap6RegsFile : > ECAP6, type=NOINIT
|
||||
ECap7RegsFile : > ECAP7, type=NOINIT
|
||||
Emif1ConfigRegsFile : > EMIF1CONFIG, type=NOINIT
|
||||
Emif2ConfigRegsFile : > EMIF2CONFIG, type=NOINIT
|
||||
Emif1RegsFile : > EMIF1, type=NOINIT
|
||||
Emif2RegsFile : > EMIF2, type=NOINIT
|
||||
EPwm1RegsFile : > EPWM1, type=NOINIT
|
||||
EPwm2RegsFile : > EPWM2, type=NOINIT
|
||||
EPwm3RegsFile : > EPWM3, type=NOINIT
|
||||
EPwm4RegsFile : > EPWM4, type=NOINIT
|
||||
EPwm5RegsFile : > EPWM5, type=NOINIT
|
||||
EPwm6RegsFile : > EPWM6, type=NOINIT
|
||||
EPwm7RegsFile : > EPWM7, type=NOINIT
|
||||
EPwm8RegsFile : > EPWM8, type=NOINIT
|
||||
EPwm9RegsFile : > EPWM9, type=NOINIT
|
||||
EPwm10RegsFile : > EPWM10, type=NOINIT
|
||||
EPwm11RegsFile : > EPWM11, type=NOINIT
|
||||
EPwm12RegsFile : > EPWM12, type=NOINIT
|
||||
EPwm13RegsFile : > EPWM13, type=NOINIT
|
||||
EPwm14RegsFile : > EPWM14, type=NOINIT
|
||||
EPwm15RegsFile : > EPWM15, type=NOINIT
|
||||
EPwm16RegsFile : > EPWM16, type=NOINIT
|
||||
EPwmXbarRegsFile : > EPWMXBAR, type=NOINIT
|
||||
EQep1RegsFile : > EQEP1, type=NOINIT
|
||||
EQep2RegsFile : > EQEP2, type=NOINIT
|
||||
EQep3RegsFile : > EQEP3, type=NOINIT
|
||||
EradCounter1RegsFile : > ERADCOUNTER1, type=NOINIT
|
||||
EradCounter2RegsFile : > ERADCOUNTER2, type=NOINIT
|
||||
EradCounter3RegsFile : > ERADCOUNTER3, type=NOINIT
|
||||
EradCounter4RegsFile : > ERADCOUNTER4, type=NOINIT
|
||||
EradCRCGlobalRegsFile : > ERADCRCGLOBAL, type=NOINIT
|
||||
EradCRC1RegsFile : > ERADCRC1, type=NOINIT
|
||||
EradCRC2RegsFile : > ERADCRC2, type=NOINIT
|
||||
EradCRC3RegsFile : > ERADCRC3, type=NOINIT
|
||||
EradCRC4RegsFile : > ERADCRC4, type=NOINIT
|
||||
EradCRC5RegsFile : > ERADCRC5, type=NOINIT
|
||||
EradCRC6RegsFile : > ERADCRC6, type=NOINIT
|
||||
EradCRC7RegsFile : > ERADCRC7, type=NOINIT
|
||||
EradCRC8RegsFile : > ERADCRC8, type=NOINIT
|
||||
EradGlobalRegsFile : > ERADGLOBAL, type=NOINIT
|
||||
EradHWBP1RegsFile : > ERADHWBP1, type=NOINIT
|
||||
EradHWBP2RegsFile : > ERADHWBP2, type=NOINIT
|
||||
EradHWBP3RegsFile : > ERADHWBP3, type=NOINIT
|
||||
EradHWBP4RegsFile : > ERADHWBP4, type=NOINIT
|
||||
EradHWBP5RegsFile : > ERADHWBP5, type=NOINIT
|
||||
EradHWBP6RegsFile : > ERADHWBP6, type=NOINIT
|
||||
EradHWBP7RegsFile : > ERADHWBP7, type=NOINIT
|
||||
EradHWBP8RegsFile : > ERADHWBP8, type=NOINIT
|
||||
EscssConfigRegsFile : > ESCSSCONFIG, type=NOINIT
|
||||
EscssRegsFile : > ESCSS, type=NOINIT
|
||||
Flash0CtrlRegsFile : > FLASH0CTRL, type=NOINIT
|
||||
Flash0EccRegsFile : > FLASH0ECC, type=NOINIT
|
||||
FsiRxaRegsFile : > FSIRXA, type=NOINIT
|
||||
FsiRxbRegsFile : > FSIRXB, type=NOINIT
|
||||
FsiRxcRegsFile : > FSIRXC, type=NOINIT
|
||||
FsiRxdRegsFile : > FSIRXD, type=NOINIT
|
||||
FsiRxeRegsFile : > FSIRXE, type=NOINIT
|
||||
FsiRxfRegsFile : > FSIRXF, type=NOINIT
|
||||
FsiRxgRegsFile : > FSIRXG, type=NOINIT
|
||||
FsiRxhRegsFile : > FSIRXH, type=NOINIT
|
||||
FsiTxaRegsFile : > FSITXA, type=NOINIT
|
||||
FsiTxbRegsFile : > FSITXB, type=NOINIT
|
||||
GpioCtrlRegsFile : > GPIOCTRL, type=NOINIT
|
||||
GpioDataReadRegsFile : > GPIODATAREAD, type=NOINIT
|
||||
GpioDataRegsFile : > GPIODATA, type=NOINIT
|
||||
HRCap6RegsFile : > HRCAP6, type=NOINIT
|
||||
HRCap7RegsFile : > HRCAP7, type=NOINIT
|
||||
I2caRegsFile : > I2CA, type=NOINIT
|
||||
I2cbRegsFile : > I2CB, type=NOINIT
|
||||
InputXbarRegsFile : > INPUTXBAR, type=NOINIT
|
||||
ClbInputXbarRegsFile : > CLBINPUTXBAR, type=NOINIT
|
||||
McanaSsRegsFile : > MCANASS, type=NOINIT
|
||||
McanaErrRegsFile : > MCANAERR, type=NOINIT
|
||||
McanaRegsFile : > MCANA, type=NOINIT
|
||||
MemoryErrorRegsFile : > MEMORYERROR, type=NOINIT
|
||||
MemCfgRegsFile : > MEMCFG, type=NOINIT
|
||||
McbspaRegsFile : > MCBSPA, type=NOINIT
|
||||
McbspbRegsFile : > MCBSPB, type=NOINIT
|
||||
NmiIntruptRegsFile : > NMIINTRUPT, type=NOINIT
|
||||
OutputXbarRegsFile : > OUTPUTXBAR, type=NOINIT
|
||||
ClbOutputXbarRegsFile : > CLBOUTPUTXBAR, type=NOINIT
|
||||
PieCtrlRegsFile : > PIECTRL, type=NOINIT
|
||||
PmbusaRegsFile : > PMBUSA, type=NOINIT
|
||||
RomPrefetchRegsFile : > ROMPREFETCH, type=NOINIT
|
||||
RomWaitStateRegsFile : > ROMWAITSTATE, type=NOINIT
|
||||
SciaRegsFile : > SCIA, type=NOINIT
|
||||
ScibRegsFile : > SCIB, type=NOINIT
|
||||
ScicRegsFile : > SCIC, type=NOINIT
|
||||
ScidRegsFile : > SCID, type=NOINIT
|
||||
Sdfm1RegsFile : > SDFM1, type=NOINIT
|
||||
Sdfm2RegsFile : > SDFM2, type=NOINIT
|
||||
SpiaRegsFile : > SPIA, type=NOINIT
|
||||
SpibRegsFile : > SPIB, type=NOINIT
|
||||
SpicRegsFile : > SPIC, type=NOINIT
|
||||
SpidRegsFile : > SPID, type=NOINIT
|
||||
SyncSocRegsFile : > SYNCSOC, type=NOINIT
|
||||
SysStatusRegsFile : > SYSSTATUS, type=NOINIT
|
||||
TestErrorRegsFile : > TESTERROR, type=NOINIT
|
||||
UidRegsFile : > UID, type=NOINIT
|
||||
WdRegsFile : > WD, type=NOINIT
|
||||
XbarRegsFile : > XBAR, type=NOINIT
|
||||
XintRegsFile : > XINT, type=NOINIT
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,341 @@
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0: /* Program Memory */
|
||||
PAGE 1: /* Data Memory */
|
||||
ACCESSPROTECTION : origin = 0x0005F500, length = 0x00000040
|
||||
ADCA : origin = 0x00007400, length = 0x00000080
|
||||
ADCB : origin = 0x00007480, length = 0x00000080
|
||||
ADCC : origin = 0x00007500, length = 0x00000080
|
||||
ADCD : origin = 0x00007580, length = 0x00000080
|
||||
ADCARESULT : origin = 0x00000B00, length = 0x00000018
|
||||
ADCBRESULT : origin = 0x00000B20, length = 0x00000018
|
||||
ADCCRESULT : origin = 0x00000B40, length = 0x00000018
|
||||
ADCDRESULT : origin = 0x00000B60, length = 0x00000018
|
||||
BGCRCCPU : origin = 0x00006340, length = 0x00000040
|
||||
BGCRCCLA1 : origin = 0x00006380, length = 0x00000040
|
||||
CANA : origin = 0x00048000, length = 0x00000200
|
||||
CANB : origin = 0x0004A000, length = 0x00000200
|
||||
CLA1 : origin = 0x00001400, length = 0x00000080
|
||||
CLB1DATAEXCH : origin = 0x00003180, length = 0x00000080
|
||||
CLB2DATAEXCH : origin = 0x00003380, length = 0x00000080
|
||||
CLB3DATAEXCH : origin = 0x00003580, length = 0x00000080
|
||||
CLB4DATAEXCH : origin = 0x00003780, length = 0x00000080
|
||||
CLB5DATAEXCH : origin = 0x00003980, length = 0x00000080
|
||||
CLB6DATAEXCH : origin = 0x00003B80, length = 0x00000080
|
||||
CLB7DATAEXCH : origin = 0x00003D80, length = 0x00000080
|
||||
CLB8DATAEXCH : origin = 0x00003F80, length = 0x00000080
|
||||
CLB1LOGICCFG : origin = 0x00003000, length = 0x00000052
|
||||
CLB2LOGICCFG : origin = 0x00003200, length = 0x00000052
|
||||
CLB3LOGICCFG : origin = 0x00003400, length = 0x00000052
|
||||
CLB4LOGICCFG : origin = 0x00003600, length = 0x00000052
|
||||
CLB5LOGICCFG : origin = 0x00003800, length = 0x00000052
|
||||
CLB6LOGICCFG : origin = 0x00003A00, length = 0x00000052
|
||||
CLB7LOGICCFG : origin = 0x00003C00, length = 0x00000052
|
||||
CLB8LOGICCFG : origin = 0x00003E00, length = 0x00000052
|
||||
CLB1LOGICCTRL : origin = 0x00003100, length = 0x00000040
|
||||
CLB2LOGICCTRL : origin = 0x00003300, length = 0x00000040
|
||||
CLB3LOGICCTRL : origin = 0x00003500, length = 0x00000040
|
||||
CLB4LOGICCTRL : origin = 0x00003700, length = 0x00000040
|
||||
CLB5LOGICCTRL : origin = 0x00003900, length = 0x00000040
|
||||
CLB6LOGICCTRL : origin = 0x00003B00, length = 0x00000040
|
||||
CLB7LOGICCTRL : origin = 0x00003D00, length = 0x00000040
|
||||
CLB8LOGICCTRL : origin = 0x00003F00, length = 0x00000040
|
||||
CLKCFG : origin = 0x0005D200, length = 0x00000100
|
||||
CMPSS1 : origin = 0x00005C80, length = 0x00000020
|
||||
CMPSS2 : origin = 0x00005CA0, length = 0x00000020
|
||||
CMPSS3 : origin = 0x00005CC0, length = 0x00000020
|
||||
CMPSS4 : origin = 0x00005CE0, length = 0x00000020
|
||||
CMPSS5 : origin = 0x00005D00, length = 0x00000020
|
||||
CMPSS6 : origin = 0x00005D20, length = 0x00000020
|
||||
CMPSS7 : origin = 0x00005D40, length = 0x00000020
|
||||
CMPSS8 : origin = 0x00005D60, length = 0x00000020
|
||||
CPU2TOCPU1IPC : origin = 0x0005CE00, length = 0x00000026
|
||||
CPU2TOCMIPC : origin = 0x0005CE40, length = 0x00000026
|
||||
SYSPERIPHAC : origin = 0x0005D500, length = 0x00000200
|
||||
CPUTIMER0 : origin = 0x00000C00, length = 0x00000008
|
||||
CPUTIMER1 : origin = 0x00000C08, length = 0x00000008
|
||||
CPUTIMER2 : origin = 0x00000C10, length = 0x00000008
|
||||
CPUSYS : origin = 0x0005D300, length = 0x000000A0
|
||||
DACA : origin = 0x00005C00, length = 0x00000008
|
||||
DACB : origin = 0x00005C10, length = 0x00000008
|
||||
DACC : origin = 0x00005C20, length = 0x00000008
|
||||
DCSMCOMMON : origin = 0x0005F0C0, length = 0x00000020
|
||||
DCSMZ1 : origin = 0x0005F000, length = 0x0000003E
|
||||
DCSMZ2 : origin = 0x0005F080, length = 0x0000003E
|
||||
DMACLASRCSEL : origin = 0x00007980, length = 0x0000001A
|
||||
DMA : origin = 0x00001000, length = 0x00000200
|
||||
ECAP1 : origin = 0x00005200, length = 0x00000020
|
||||
ECAP2 : origin = 0x00005240, length = 0x00000020
|
||||
ECAP3 : origin = 0x00005280, length = 0x00000020
|
||||
ECAP4 : origin = 0x000052C0, length = 0x00000020
|
||||
ECAP5 : origin = 0x00005300, length = 0x00000020
|
||||
ECAP6 : origin = 0x00005340, length = 0x00000020
|
||||
ECAP7 : origin = 0x00005380, length = 0x00000020
|
||||
EMIF1CONFIG : origin = 0x0005F4C0, length = 0x00000020
|
||||
EMIF1 : origin = 0x00047000, length = 0x00000070
|
||||
EPWM1 : origin = 0x00004000, length = 0x00000100
|
||||
EPWM2 : origin = 0x00004100, length = 0x00000100
|
||||
EPWM3 : origin = 0x00004200, length = 0x00000100
|
||||
EPWM4 : origin = 0x00004300, length = 0x00000100
|
||||
EPWM5 : origin = 0x00004400, length = 0x00000100
|
||||
EPWM6 : origin = 0x00004500, length = 0x00000100
|
||||
EPWM7 : origin = 0x00004600, length = 0x00000100
|
||||
EPWM8 : origin = 0x00004700, length = 0x00000100
|
||||
EPWM9 : origin = 0x00004800, length = 0x00000100
|
||||
EPWM10 : origin = 0x00004900, length = 0x00000100
|
||||
EPWM11 : origin = 0x00004A00, length = 0x00000100
|
||||
EPWM12 : origin = 0x00004B00, length = 0x00000100
|
||||
EPWM13 : origin = 0x00004C00, length = 0x00000100
|
||||
EPWM14 : origin = 0x00004D00, length = 0x00000100
|
||||
EPWM15 : origin = 0x00004E00, length = 0x00000100
|
||||
EPWM16 : origin = 0x00004F00, length = 0x00000100
|
||||
EQEP1 : origin = 0x00005100, length = 0x00000040
|
||||
EQEP2 : origin = 0x00005140, length = 0x00000040
|
||||
EQEP3 : origin = 0x00005180, length = 0x00000040
|
||||
ERADCOUNTER1 : origin = 0x0005E980, length = 0x00000010
|
||||
ERADCOUNTER2 : origin = 0x0005E990, length = 0x00000010
|
||||
ERADCOUNTER3 : origin = 0x0005E9A0, length = 0x00000010
|
||||
ERADCOUNTER4 : origin = 0x0005E9B0, length = 0x00000010
|
||||
ERADCRCGLOBAL : origin = 0x0005EA00, length = 0x00000010
|
||||
ERADCRC1 : origin = 0x0005EA10, length = 0x00000010
|
||||
ERADCRC2 : origin = 0x0005EA20, length = 0x00000010
|
||||
ERADCRC3 : origin = 0x0005EA30, length = 0x00000010
|
||||
ERADCRC4 : origin = 0x0005EA40, length = 0x00000010
|
||||
ERADCRC5 : origin = 0x0005EA50, length = 0x00000010
|
||||
ERADCRC6 : origin = 0x0005EA60, length = 0x00000010
|
||||
ERADCRC7 : origin = 0x0005EA70, length = 0x00000010
|
||||
ERADCRC8 : origin = 0x0005EA80, length = 0x00000010
|
||||
ERADGLOBAL : origin = 0x0005E800, length = 0x00000014
|
||||
ERADHWBP1 : origin = 0x0005E900, length = 0x00000008
|
||||
ERADHWBP2 : origin = 0x0005E908, length = 0x00000008
|
||||
ERADHWBP3 : origin = 0x0005E910, length = 0x00000008
|
||||
ERADHWBP4 : origin = 0x0005E918, length = 0x00000008
|
||||
ERADHWBP5 : origin = 0x0005E920, length = 0x00000008
|
||||
ERADHWBP6 : origin = 0x0005E928, length = 0x00000008
|
||||
ERADHWBP7 : origin = 0x0005E930, length = 0x00000008
|
||||
ERADHWBP8 : origin = 0x0005E938, length = 0x00000008
|
||||
FLASH0CTRL : origin = 0x0005F800, length = 0x00000182
|
||||
FLASH0ECC : origin = 0x0005FB00, length = 0x00000028
|
||||
FSIRXA : origin = 0x00006680, length = 0x00000050
|
||||
FSIRXB : origin = 0x00006780, length = 0x00000050
|
||||
FSIRXC : origin = 0x00006880, length = 0x00000050
|
||||
FSIRXD : origin = 0x00006980, length = 0x00000050
|
||||
FSIRXE : origin = 0x00006A80, length = 0x00000050
|
||||
FSIRXF : origin = 0x00006B80, length = 0x00000050
|
||||
FSIRXG : origin = 0x00006C80, length = 0x00000050
|
||||
FSIRXH : origin = 0x00006D80, length = 0x00000050
|
||||
FSITXA : origin = 0x00006600, length = 0x00000050
|
||||
FSITXB : origin = 0x00006700, length = 0x00000050
|
||||
GPIODATAREAD : origin = 0x00007F80, length = 0x00000010
|
||||
GPIODATA : origin = 0x00007F00, length = 0x00000040
|
||||
HRCAP6 : origin = 0x00005360, length = 0x00000020
|
||||
HRCAP7 : origin = 0x000053A0, length = 0x00000020
|
||||
I2CA : origin = 0x00007300, length = 0x00000022
|
||||
I2CB : origin = 0x00007340, length = 0x00000022
|
||||
MEMORYERROR : origin = 0x0005F540, length = 0x00000040
|
||||
MEMCFG : origin = 0x0005F400, length = 0x000000C0
|
||||
MCBSPA : origin = 0x00006000, length = 0x00000024
|
||||
MCBSPB : origin = 0x00006040, length = 0x00000024
|
||||
NMIINTRUPT : origin = 0x00007060, length = 0x00000010
|
||||
PIECTRL : origin = 0x00000CE0, length = 0x0000001A
|
||||
PIEVECTTABLE : origin = 0x00000D00, length = 0x00000200
|
||||
PMBUSA : origin = 0x00006400, length = 0x00000020
|
||||
ROMPREFETCH : origin = 0x0005F588, length = 0x00000008
|
||||
ROMWAITSTATE : origin = 0x0005F580, length = 0x00000008
|
||||
SCIA : origin = 0x00007200, length = 0x00000010
|
||||
SCIB : origin = 0x00007210, length = 0x00000010
|
||||
SCIC : origin = 0x00007220, length = 0x00000010
|
||||
SCID : origin = 0x00007230, length = 0x00000010
|
||||
SDFM1 : origin = 0x00005E00, length = 0x00000080
|
||||
SDFM2 : origin = 0x00005E80, length = 0x00000080
|
||||
SPIA : origin = 0x00006100, length = 0x00000010
|
||||
SPIB : origin = 0x00006110, length = 0x00000010
|
||||
SPIC : origin = 0x00006120, length = 0x00000010
|
||||
SPID : origin = 0x00006130, length = 0x00000010
|
||||
SYSSTATUS : origin = 0x0005D400, length = 0x00000100
|
||||
TESTERROR : origin = 0x0005F590, length = 0x00000010
|
||||
UID : origin = 0x00070200, length = 0x00000010
|
||||
WD : origin = 0x00007000, length = 0x0000002C
|
||||
XINT : origin = 0x00007070, length = 0x0000000C
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/*** PIE Vect Table and Boot ROM Variables Structures ***/
|
||||
UNION run = PIEVECTTABLE
|
||||
{
|
||||
PieVectTableFile
|
||||
GROUP
|
||||
{
|
||||
EmuKeyVar
|
||||
EmuBModeVar
|
||||
EmuBootPinsVar
|
||||
FlashCallbackVar
|
||||
FlashScalingVar
|
||||
}
|
||||
}
|
||||
|
||||
AccessProtectionRegsFile : > ACCESSPROTECTION, type=NOINIT
|
||||
AdcaRegsFile : > ADCA, type=NOINIT
|
||||
AdcbRegsFile : > ADCB, type=NOINIT
|
||||
AdccRegsFile : > ADCC, type=NOINIT
|
||||
AdcdRegsFile : > ADCD, type=NOINIT
|
||||
AdcaResultRegsFile : > ADCARESULT, type=NOINIT
|
||||
AdcbResultRegsFile : > ADCBRESULT, type=NOINIT
|
||||
AdccResultRegsFile : > ADCCRESULT, type=NOINIT
|
||||
AdcdResultRegsFile : > ADCDRESULT, type=NOINIT
|
||||
BgcrcCpuRegsFile : > BGCRCCPU, type=NOINIT
|
||||
BgcrcCla1RegsFile : > BGCRCCLA1, type=NOINIT
|
||||
CanaRegsFile : > CANA, type=NOINIT
|
||||
CanbRegsFile : > CANB, type=NOINIT
|
||||
Cla1RegsFile : > CLA1, type=NOINIT
|
||||
Clb1DataExchRegsFile : > CLB1DATAEXCH, type=NOINIT
|
||||
Clb2DataExchRegsFile : > CLB2DATAEXCH, type=NOINIT
|
||||
Clb3DataExchRegsFile : > CLB3DATAEXCH, type=NOINIT
|
||||
Clb4DataExchRegsFile : > CLB4DATAEXCH, type=NOINIT
|
||||
Clb5DataExchRegsFile : > CLB5DATAEXCH, type=NOINIT
|
||||
Clb6DataExchRegsFile : > CLB6DATAEXCH, type=NOINIT
|
||||
Clb7DataExchRegsFile : > CLB7DATAEXCH, type=NOINIT
|
||||
Clb8DataExchRegsFile : > CLB8DATAEXCH, type=NOINIT
|
||||
Clb1LogicCfgRegsFile : > CLB1LOGICCFG, type=NOINIT
|
||||
Clb2LogicCfgRegsFile : > CLB2LOGICCFG, type=NOINIT
|
||||
Clb3LogicCfgRegsFile : > CLB3LOGICCFG, type=NOINIT
|
||||
Clb4LogicCfgRegsFile : > CLB4LOGICCFG, type=NOINIT
|
||||
Clb5LogicCfgRegsFile : > CLB5LOGICCFG, type=NOINIT
|
||||
Clb6LogicCfgRegsFile : > CLB6LOGICCFG, type=NOINIT
|
||||
Clb7LogicCfgRegsFile : > CLB7LOGICCFG, type=NOINIT
|
||||
Clb8LogicCfgRegsFile : > CLB8LOGICCFG, type=NOINIT
|
||||
Clb1LogicCtrlRegsFile : > CLB1LOGICCTRL, type=NOINIT
|
||||
Clb2LogicCtrlRegsFile : > CLB2LOGICCTRL, type=NOINIT
|
||||
Clb3LogicCtrlRegsFile : > CLB3LOGICCTRL, type=NOINIT
|
||||
Clb4LogicCtrlRegsFile : > CLB4LOGICCTRL, type=NOINIT
|
||||
Clb5LogicCtrlRegsFile : > CLB5LOGICCTRL, type=NOINIT
|
||||
Clb6LogicCtrlRegsFile : > CLB6LOGICCTRL, type=NOINIT
|
||||
Clb7LogicCtrlRegsFile : > CLB7LOGICCTRL, type=NOINIT
|
||||
Clb8LogicCtrlRegsFile : > CLB8LOGICCTRL, type=NOINIT
|
||||
ClkCfgRegsFile : > CLKCFG, type=NOINIT
|
||||
Cmpss1RegsFile : > CMPSS1, type=NOINIT
|
||||
Cmpss2RegsFile : > CMPSS2, type=NOINIT
|
||||
Cmpss3RegsFile : > CMPSS3, type=NOINIT
|
||||
Cmpss4RegsFile : > CMPSS4, type=NOINIT
|
||||
Cmpss5RegsFile : > CMPSS5, type=NOINIT
|
||||
Cmpss6RegsFile : > CMPSS6, type=NOINIT
|
||||
Cmpss7RegsFile : > CMPSS7, type=NOINIT
|
||||
Cmpss8RegsFile : > CMPSS8, type=NOINIT
|
||||
Cpu2toCpu1IpcRegsFile : > CPU2TOCPU1IPC, type=NOINIT
|
||||
Cpu2toCmIpcRegsFile : > CPU2TOCMIPC, type=NOINIT
|
||||
SysPeriphAcRegsFile : > SYSPERIPHAC, type=NOINIT
|
||||
CpuTimer0RegsFile : > CPUTIMER0, type=NOINIT
|
||||
CpuTimer1RegsFile : > CPUTIMER1, type=NOINIT
|
||||
CpuTimer2RegsFile : > CPUTIMER2, type=NOINIT
|
||||
CpuSysRegsFile : > CPUSYS, type=NOINIT
|
||||
DacaRegsFile : > DACA, type=NOINIT
|
||||
DacbRegsFile : > DACB, type=NOINIT
|
||||
DaccRegsFile : > DACC, type=NOINIT
|
||||
DcsmCommonRegsFile : > DCSMCOMMON, type=NOINIT
|
||||
DcsmZ1RegsFile : > DCSMZ1, type=NOINIT
|
||||
DcsmZ2RegsFile : > DCSMZ2, type=NOINIT
|
||||
DmaClaSrcSelRegsFile : > DMACLASRCSEL, type=NOINIT
|
||||
DmaRegsFile : > DMA, type=NOINIT
|
||||
ECap1RegsFile : > ECAP1, type=NOINIT
|
||||
ECap2RegsFile : > ECAP2, type=NOINIT
|
||||
ECap3RegsFile : > ECAP3, type=NOINIT
|
||||
ECap4RegsFile : > ECAP4, type=NOINIT
|
||||
ECap5RegsFile : > ECAP5, type=NOINIT
|
||||
ECap6RegsFile : > ECAP6, type=NOINIT
|
||||
ECap7RegsFile : > ECAP7, type=NOINIT
|
||||
Emif1ConfigRegsFile : > EMIF1CONFIG, type=NOINIT
|
||||
Emif1RegsFile : > EMIF1, type=NOINIT
|
||||
EPwm1RegsFile : > EPWM1, type=NOINIT
|
||||
EPwm2RegsFile : > EPWM2, type=NOINIT
|
||||
EPwm3RegsFile : > EPWM3, type=NOINIT
|
||||
EPwm4RegsFile : > EPWM4, type=NOINIT
|
||||
EPwm5RegsFile : > EPWM5, type=NOINIT
|
||||
EPwm6RegsFile : > EPWM6, type=NOINIT
|
||||
EPwm7RegsFile : > EPWM7, type=NOINIT
|
||||
EPwm8RegsFile : > EPWM8, type=NOINIT
|
||||
EPwm9RegsFile : > EPWM9, type=NOINIT
|
||||
EPwm10RegsFile : > EPWM10, type=NOINIT
|
||||
EPwm11RegsFile : > EPWM11, type=NOINIT
|
||||
EPwm12RegsFile : > EPWM12, type=NOINIT
|
||||
EPwm13RegsFile : > EPWM13, type=NOINIT
|
||||
EPwm14RegsFile : > EPWM14, type=NOINIT
|
||||
EPwm15RegsFile : > EPWM15, type=NOINIT
|
||||
EPwm16RegsFile : > EPWM16, type=NOINIT
|
||||
EQep1RegsFile : > EQEP1, type=NOINIT
|
||||
EQep2RegsFile : > EQEP2, type=NOINIT
|
||||
EQep3RegsFile : > EQEP3, type=NOINIT
|
||||
EradCounter1RegsFile : > ERADCOUNTER1, type=NOINIT
|
||||
EradCounter2RegsFile : > ERADCOUNTER2, type=NOINIT
|
||||
EradCounter3RegsFile : > ERADCOUNTER3, type=NOINIT
|
||||
EradCounter4RegsFile : > ERADCOUNTER4, type=NOINIT
|
||||
EradCRCGlobalRegsFile : > ERADCRCGLOBAL, type=NOINIT
|
||||
EradCRC1RegsFile : > ERADCRC1, type=NOINIT
|
||||
EradCRC2RegsFile : > ERADCRC2, type=NOINIT
|
||||
EradCRC3RegsFile : > ERADCRC3, type=NOINIT
|
||||
EradCRC4RegsFile : > ERADCRC4, type=NOINIT
|
||||
EradCRC5RegsFile : > ERADCRC5, type=NOINIT
|
||||
EradCRC6RegsFile : > ERADCRC6, type=NOINIT
|
||||
EradCRC7RegsFile : > ERADCRC7, type=NOINIT
|
||||
EradCRC8RegsFile : > ERADCRC8, type=NOINIT
|
||||
EradGlobalRegsFile : > ERADGLOBAL, type=NOINIT
|
||||
EradHWBP1RegsFile : > ERADHWBP1, type=NOINIT
|
||||
EradHWBP2RegsFile : > ERADHWBP2, type=NOINIT
|
||||
EradHWBP3RegsFile : > ERADHWBP3, type=NOINIT
|
||||
EradHWBP4RegsFile : > ERADHWBP4, type=NOINIT
|
||||
EradHWBP5RegsFile : > ERADHWBP5, type=NOINIT
|
||||
EradHWBP6RegsFile : > ERADHWBP6, type=NOINIT
|
||||
EradHWBP7RegsFile : > ERADHWBP7, type=NOINIT
|
||||
EradHWBP8RegsFile : > ERADHWBP8, type=NOINIT
|
||||
Flash0CtrlRegsFile : > FLASH0CTRL, type=NOINIT
|
||||
Flash0EccRegsFile : > FLASH0ECC, type=NOINIT
|
||||
FsiRxaRegsFile : > FSIRXA, type=NOINIT
|
||||
FsiRxbRegsFile : > FSIRXB, type=NOINIT
|
||||
FsiRxcRegsFile : > FSIRXC, type=NOINIT
|
||||
FsiRxdRegsFile : > FSIRXD, type=NOINIT
|
||||
FsiRxeRegsFile : > FSIRXE, type=NOINIT
|
||||
FsiRxfRegsFile : > FSIRXF, type=NOINIT
|
||||
FsiRxgRegsFile : > FSIRXG, type=NOINIT
|
||||
FsiRxhRegsFile : > FSIRXH, type=NOINIT
|
||||
FsiTxaRegsFile : > FSITXA, type=NOINIT
|
||||
FsiTxbRegsFile : > FSITXB, type=NOINIT
|
||||
GpioDataReadRegsFile : > GPIODATAREAD, type=NOINIT
|
||||
GpioDataRegsFile : > GPIODATA, type=NOINIT
|
||||
HRCap6RegsFile : > HRCAP6, type=NOINIT
|
||||
HRCap7RegsFile : > HRCAP7, type=NOINIT
|
||||
I2caRegsFile : > I2CA, type=NOINIT
|
||||
I2cbRegsFile : > I2CB, type=NOINIT
|
||||
MemoryErrorRegsFile : > MEMORYERROR, type=NOINIT
|
||||
MemCfgRegsFile : > MEMCFG, type=NOINIT
|
||||
McbspaRegsFile : > MCBSPA, type=NOINIT
|
||||
McbspbRegsFile : > MCBSPB, type=NOINIT
|
||||
NmiIntruptRegsFile : > NMIINTRUPT, type=NOINIT
|
||||
PieCtrlRegsFile : > PIECTRL, type=NOINIT
|
||||
PmbusaRegsFile : > PMBUSA, type=NOINIT
|
||||
RomPrefetchRegsFile : > ROMPREFETCH, type=NOINIT
|
||||
RomWaitStateRegsFile : > ROMWAITSTATE, type=NOINIT
|
||||
SciaRegsFile : > SCIA, type=NOINIT
|
||||
ScibRegsFile : > SCIB, type=NOINIT
|
||||
ScicRegsFile : > SCIC, type=NOINIT
|
||||
ScidRegsFile : > SCID, type=NOINIT
|
||||
Sdfm1RegsFile : > SDFM1, type=NOINIT
|
||||
Sdfm2RegsFile : > SDFM2, type=NOINIT
|
||||
SpiaRegsFile : > SPIA, type=NOINIT
|
||||
SpibRegsFile : > SPIB, type=NOINIT
|
||||
SpicRegsFile : > SPIC, type=NOINIT
|
||||
SpidRegsFile : > SPID, type=NOINIT
|
||||
SysStatusRegsFile : > SYSSTATUS, type=NOINIT
|
||||
TestErrorRegsFile : > TESTERROR, type=NOINIT
|
||||
UidRegsFile : > UID, type=NOINIT
|
||||
WdRegsFile : > WD, type=NOINIT
|
||||
XintRegsFile : > XINT, type=NOINIT
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,199 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_analogsubsys.h
|
||||
//
|
||||
// TITLE: Definitions for the ANALOGSUBSYS registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_ANALOGSUBSYS_H
|
||||
#define F2838X_ANALOGSUBSYS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ANALOGSUBSYS Individual Register Bit Definitions:
|
||||
|
||||
struct INTOSC1TRIM_BITS { // bits description
|
||||
Uint16 VALFINETRIM:12; // 11:0 Oscillator Value Fine Trim Bits
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
Uint16 rsvd2:8; // 23:16 Reserved
|
||||
Uint16 rsvd3:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union INTOSC1TRIM_REG {
|
||||
Uint32 all;
|
||||
struct INTOSC1TRIM_BITS bit;
|
||||
};
|
||||
|
||||
struct INTOSC2TRIM_BITS { // bits description
|
||||
Uint16 VALFINETRIM:12; // 11:0 Oscillator Value Fine Trim Bits
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
Uint16 rsvd2:8; // 23:16 Reserved
|
||||
Uint16 rsvd3:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union INTOSC2TRIM_REG {
|
||||
Uint32 all;
|
||||
struct INTOSC2TRIM_BITS bit;
|
||||
};
|
||||
|
||||
struct TSNSCTL_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 Temperature Sensor Enable
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union TSNSCTL_REG {
|
||||
Uint16 all;
|
||||
struct TSNSCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct LOCK_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 rsvd3:1; // 2 Reserved
|
||||
Uint16 TSNSCTL:1; // 3 Temperature Sensor Control Register Lock
|
||||
Uint16 rsvd4:1; // 4 Reserved
|
||||
Uint16 rsvd5:1; // 5 Reserved
|
||||
Uint16 rsvd6:1; // 6 Reserved
|
||||
Uint16 rsvd7:9; // 15:7 Reserved
|
||||
Uint16 rsvd8:3; // 18:16 Reserved
|
||||
Uint16 rsvd9:1; // 19 Reserved
|
||||
Uint16 rsvd10:1; // 20 Reserved
|
||||
Uint16 rsvd11:1; // 21 Reserved
|
||||
Uint16 rsvd12:1; // 22 Reserved
|
||||
Uint16 rsvd13:1; // 23 Reserved
|
||||
Uint16 rsvd14:1; // 24 Reserved
|
||||
Uint16 rsvd15:1; // 25 Reserved
|
||||
Uint16 rsvd16:1; // 26 Reserved
|
||||
Uint16 rsvd17:1; // 27 Reserved
|
||||
Uint16 rsvd18:1; // 28 Reserved
|
||||
Uint16 rsvd19:1; // 29 Reserved
|
||||
Uint16 rsvd20:1; // 30 Reserved
|
||||
Uint16 rsvd21:1; // 31 Reserved
|
||||
};
|
||||
|
||||
union LOCK_REG {
|
||||
Uint32 all;
|
||||
struct LOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct ANAREFTRIMA_BITS { // bits description
|
||||
Uint16 BGVALTRIM:6; // 5:0 Bandgap Value Trim
|
||||
Uint16 BGSLOPETRIM:5; // 10:6 Bandgap Slope Trim
|
||||
Uint16 IREFTRIM:5; // 15:11 Reference Current Trim
|
||||
Uint16 rsvd1:8; // 23:16 Reserved
|
||||
Uint16 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union ANAREFTRIMA_REG {
|
||||
Uint32 all;
|
||||
struct ANAREFTRIMA_BITS bit;
|
||||
};
|
||||
|
||||
struct ANAREFTRIMB_BITS { // bits description
|
||||
Uint16 BGVALTRIM:6; // 5:0 Bandgap Value Trim
|
||||
Uint16 BGSLOPETRIM:5; // 10:6 Bandgap Slope Trim
|
||||
Uint16 IREFTRIM:5; // 15:11 Reference Current Trim
|
||||
Uint16 rsvd1:8; // 23:16 Reserved
|
||||
Uint16 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union ANAREFTRIMB_REG {
|
||||
Uint32 all;
|
||||
struct ANAREFTRIMB_BITS bit;
|
||||
};
|
||||
|
||||
struct ANAREFTRIMC_BITS { // bits description
|
||||
Uint16 BGVALTRIM:6; // 5:0 Bandgap Value Trim
|
||||
Uint16 BGSLOPETRIM:5; // 10:6 Bandgap Slope Trim
|
||||
Uint16 IREFTRIM:5; // 15:11 Reference Current Trim
|
||||
Uint16 rsvd1:8; // 23:16 Reserved
|
||||
Uint16 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union ANAREFTRIMC_REG {
|
||||
Uint32 all;
|
||||
struct ANAREFTRIMC_BITS bit;
|
||||
};
|
||||
|
||||
struct ANAREFTRIMD_BITS { // bits description
|
||||
Uint16 BGVALTRIM:6; // 5:0 Bandgap Value Trim
|
||||
Uint16 BGSLOPETRIM:5; // 10:6 Bandgap Slope Trim
|
||||
Uint16 IREFTRIM:5; // 15:11 Reference Current Trim
|
||||
Uint16 rsvd1:8; // 23:16 Reserved
|
||||
Uint16 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union ANAREFTRIMD_REG {
|
||||
Uint32 all;
|
||||
struct ANAREFTRIMD_BITS bit;
|
||||
};
|
||||
|
||||
struct ANALOG_SUBSYS_REGS {
|
||||
Uint16 rsvd1[32]; // Reserved
|
||||
union INTOSC1TRIM_REG INTOSC1TRIM; // Internal Oscillator 1 Trim Register
|
||||
union INTOSC2TRIM_REG INTOSC2TRIM; // Internal Oscillator 2 Trim Register
|
||||
Uint16 rsvd2[2]; // Reserved
|
||||
union TSNSCTL_REG TSNSCTL; // Temperature Sensor Control Register
|
||||
Uint16 rsvd3[7]; // Reserved
|
||||
union LOCK_REG LOCK; // Lock Register
|
||||
Uint16 rsvd4[6]; // Reserved
|
||||
union ANAREFTRIMA_REG ANAREFTRIMA; // Analog Reference Trim A Register
|
||||
union ANAREFTRIMB_REG ANAREFTRIMB; // Analog Reference Trim B Register
|
||||
union ANAREFTRIMC_REG ANAREFTRIMC; // Analog Reference Trim C Register
|
||||
union ANAREFTRIMD_REG ANAREFTRIMD; // Analog Reference Trim D Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ANALOGSUBSYS External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct ANALOG_SUBSYS_REGS AnalogSubsysRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,349 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_bgcrc.h
|
||||
//
|
||||
// TITLE: Definitions for the BGCRC registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_BGCRC_H
|
||||
#define F2838X_BGCRC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// BGCRC Individual Register Bit Definitions:
|
||||
|
||||
struct BGCRC_EN_BITS { // bits description
|
||||
Uint16 START:4; // 3:0 Start Bit used to Kick-off CRC calculations
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:15; // 30:16 Reserved
|
||||
Uint16 RUN_STS:1; // 31 CRC module activity monitor
|
||||
};
|
||||
|
||||
union BGCRC_EN_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_EN_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_CTRL1_BITS { // bits description
|
||||
Uint16 rsvd1:4; // 3:0 Reserved
|
||||
Uint16 FREE_SOFT:1; // 4 emulation control bit
|
||||
Uint16 rsvd2:11; // 15:5 Reserved
|
||||
Uint16 NMIDIS:4; // 19:16 NMI disable configuration
|
||||
Uint16 rsvd3:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_CTRL1_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_CTRL1_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_CTRL2_BITS { // bits description
|
||||
Uint16 BLOCK_SIZE:10; // 9:0 block size for memory check
|
||||
Uint16 rsvd1:2; // 11:10 Reserved
|
||||
Uint16 TEST_HALT:4; // 15:12 TEST_HALT configuration
|
||||
Uint16 SCRUB_MODE:4; // 19:16 Scrub mode configuration
|
||||
Uint16 rsvd2:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_CTRL2_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_CTRL2_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_WD_CFG_BITS { // bits description
|
||||
Uint16 WDDIS:4; // 3:0 CRC Watchdog disable
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_WD_CFG_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_WD_CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_NMIFLG_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 CRC_FAIL:1; // 2 CRC computation failed
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 Uncorrectable error obtained during memory data read.
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 Correctable ECC error obtained during memory data read.
|
||||
Uint16 WD_UNDERFLOW:1; // 5 CRC/scrubbing completed before BGCRC_WD_MIN
|
||||
Uint16 WD_OVERFLOW:1; // 6 CRC/scrubbing did not complete within BGCRC_WD_MAX
|
||||
Uint16 rsvd3:9; // 15:7 Reserved
|
||||
Uint16 rsvd4:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_NMIFLG_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_NMIFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_NMICLR_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 CRC_FAIL:1; // 2 CRC_FAIL NMI flag clear
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 UNCORRECTABLE_ERR NMI flag clear
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 CORRECTABLE_ERR NMI flag clear
|
||||
Uint16 WD_UNDERFLOW:1; // 5 WD_UNDERFLOW NMI flag clear
|
||||
Uint16 WD_OVERFLOW:1; // 6 WD_OVERFLOW NMI flag clear
|
||||
Uint16 rsvd3:9; // 15:7 Reserved
|
||||
Uint16 rsvd4:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_NMICLR_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_NMICLR_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_NMIFRC_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 CRC_FAIL:1; // 2 CRC_FAIL NMI force
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 UNCORRECTABLE_ERR NMI force
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 CORRECTABLE_ERR NMI force
|
||||
Uint16 WD_UNDERFLOW:1; // 5 WD_UNDERFLOW NMI force
|
||||
Uint16 WD_OVERFLOW:1; // 6 WD_OVERFLOW NMI force
|
||||
Uint16 rsvd3:9; // 15:7 Reserved
|
||||
Uint16 rsvd4:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_NMIFRC_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_NMIFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_INTEN_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 TEST_DONE:1; // 1 TEST_DONE interrupt enable register
|
||||
Uint16 CRC_FAIL:1; // 2 CRC_FAIL interrupt enable register
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 UNCORRECTABLE_ERR interrupt enable register
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 CORRECTABLE_ERR interrupt enable register
|
||||
Uint16 WD_UNDERFLOW:1; // 5 WD_UNDERFLOW interrupt enable register
|
||||
Uint16 WD_OVERFLOW:1; // 6 WD_OVERFLOW interrupt enable register
|
||||
Uint16 rsvd2:9; // 15:7 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_INTEN_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_INTEN_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_INTFLG_BITS { // bits description
|
||||
Uint16 INT:1; // 0 Global Interrupt status flag
|
||||
Uint16 TEST_DONE:1; // 1 TEST_DONE Interrupt status flag
|
||||
Uint16 CRC_FAIL:1; // 2 CRC computation failed
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 Uncorrectable error obtained during memory data read.
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 Correctable ECC error obtained during memory data read.
|
||||
Uint16 WD_UNDERFLOW:1; // 5 CRC/scrubbing completed before BGCRC_WD_MIN
|
||||
Uint16 WD_OVERFLOW:1; // 6 CRC/scrubbing did not complete within BGCRC_WD_MAX
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_INTFLG_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_INTFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_INTCLR_BITS { // bits description
|
||||
Uint16 INT:1; // 0 Global Interrupt clear
|
||||
Uint16 TEST_DONE:1; // 1 TEST_DONE Interrupt clear
|
||||
Uint16 CRC_FAIL:1; // 2 CRC_FAIL interrupt clear
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 UNCORRECTABLE_ERR interrupt clear
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 CORRECTABLE_ERR interrupt clear
|
||||
Uint16 WD_UNDERFLOW:1; // 5 WD_UNDERFLOW interrupt clear
|
||||
Uint16 WD_OVERFLOW:1; // 6 WD_OVERFLOW interrupt clear
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_INTCLR_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_INTCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_INTFRC_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 TEST_DONE:1; // 1 TEST_DONE Interrupt force
|
||||
Uint16 CRC_FAIL:1; // 2 CRC_FAIL interrupt force
|
||||
Uint16 UNCORRECTABLE_ERR:1; // 3 UNCORRECTABLE_ERR interrupt force
|
||||
Uint16 CORRECTABLE_ERR:1; // 4 CORRECTABLE_ERR interrupt force
|
||||
Uint16 WD_UNDERFLOW:1; // 5 WD_UNDERFLOW interrupt force
|
||||
Uint16 WD_OVERFLOW:1; // 6 WD_OVERFLOW interrupt force
|
||||
Uint16 rsvd2:9; // 15:7 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_INTFRC_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_INTFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_LOCK_BITS { // bits description
|
||||
Uint16 BGCRC_EN:1; // 0 Register lock configuration
|
||||
Uint16 BGCRC_CTRL1:1; // 1 Register lock configuration
|
||||
Uint16 BGCRC_CTRL2:1; // 2 Register lock configuration
|
||||
Uint16 BGCRC_START_ADDR:1; // 3 Register lock configuration
|
||||
Uint16 BGCRC_SEED:1; // 4 Register lock configuration
|
||||
Uint16 rsvd1:1; // 5 Reserved
|
||||
Uint16 rsvd2:1; // 6 Reserved
|
||||
Uint16 BGCRC_GOLDEN:1; // 7 Register lock configuration
|
||||
Uint16 rsvd3:1; // 8 Reserved
|
||||
Uint16 rsvd4:1; // 9 Reserved
|
||||
Uint16 rsvd5:1; // 10 Reserved
|
||||
Uint16 rsvd6:1; // 11 Reserved
|
||||
Uint16 rsvd7:1; // 12 Reserved
|
||||
Uint16 rsvd8:1; // 13 Reserved
|
||||
Uint16 BGCRC_WD_CFG:1; // 14 Register lock configuration
|
||||
Uint16 BGCRC_WD_MIN:1; // 15 Register lock configuration
|
||||
Uint16 BGCRC_WD_MAX:1; // 16 Register lock configuration
|
||||
Uint16 rsvd9:1; // 17 Reserved
|
||||
Uint16 rsvd10:1; // 18 Reserved
|
||||
Uint16 rsvd11:1; // 19 Reserved
|
||||
Uint16 rsvd12:1; // 20 Reserved
|
||||
Uint16 rsvd13:1; // 21 Reserved
|
||||
Uint16 rsvd14:1; // 22 Reserved
|
||||
Uint16 BGCRC_NMIFRC:1; // 23 Register lock configuration
|
||||
Uint16 rsvd15:1; // 24 Reserved
|
||||
Uint16 rsvd16:1; // 25 Reserved
|
||||
Uint16 BGCRC_INTEN:1; // 26 Register lock configuration
|
||||
Uint16 rsvd17:1; // 27 Reserved
|
||||
Uint16 rsvd18:1; // 28 Reserved
|
||||
Uint16 BGCRC_INTFRC:1; // 29 Register lock configuration
|
||||
Uint16 rsvd19:1; // 30 Reserved
|
||||
Uint16 rsvd20:1; // 31 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_LOCK_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_LOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_COMMIT_BITS { // bits description
|
||||
Uint16 BGCRC_EN:1; // 0 Register lock committed
|
||||
Uint16 BGCRC_CTRL1:1; // 1 Register lock committed
|
||||
Uint16 BGCRC_CTRL2:1; // 2 Register lock committed
|
||||
Uint16 BGCRC_START_ADDR:1; // 3 Register lock committed
|
||||
Uint16 BGCRC_SEED:1; // 4 Register lock committed
|
||||
Uint16 rsvd1:1; // 5 Reserved
|
||||
Uint16 rsvd2:1; // 6 Reserved
|
||||
Uint16 BGCRC_GOLDEN:1; // 7 Register lock committed
|
||||
Uint16 rsvd3:1; // 8 Reserved
|
||||
Uint16 rsvd4:1; // 9 Reserved
|
||||
Uint16 rsvd5:1; // 10 Reserved
|
||||
Uint16 rsvd6:1; // 11 Reserved
|
||||
Uint16 rsvd7:1; // 12 Reserved
|
||||
Uint16 rsvd8:1; // 13 Reserved
|
||||
Uint16 BGCRC_WD_CFG:1; // 14 Register lock committed
|
||||
Uint16 BGCRC_WD_MIN:1; // 15 Register lock committed
|
||||
Uint16 BGCRC_WD_MAX:1; // 16 Register lock committed
|
||||
Uint16 rsvd9:1; // 17 Reserved
|
||||
Uint16 rsvd10:1; // 18 Reserved
|
||||
Uint16 rsvd11:1; // 19 Reserved
|
||||
Uint16 rsvd12:1; // 20 Reserved
|
||||
Uint16 rsvd13:1; // 21 Reserved
|
||||
Uint16 rsvd14:1; // 22 Reserved
|
||||
Uint16 BGCRC_NMIFRC:1; // 23 Register lock committed
|
||||
Uint16 rsvd15:1; // 24 Reserved
|
||||
Uint16 rsvd16:1; // 25 Reserved
|
||||
Uint16 BGCRC_INTEN:1; // 26 Register lock committed
|
||||
Uint16 rsvd17:1; // 27 Reserved
|
||||
Uint16 rsvd18:1; // 28 Reserved
|
||||
Uint16 BGCRC_INTFRC:1; // 29 Register lock committed
|
||||
Uint16 rsvd19:1; // 30 Reserved
|
||||
Uint16 rsvd20:1; // 31 Reserved
|
||||
};
|
||||
|
||||
union BGCRC_COMMIT_REG {
|
||||
Uint32 all;
|
||||
struct BGCRC_COMMIT_BITS bit;
|
||||
};
|
||||
|
||||
struct BGCRC_REGS {
|
||||
union BGCRC_EN_REG BGCRC_EN; // BGCRC Enable
|
||||
union BGCRC_CTRL1_REG BGCRC_CTRL1; // BGCRC Control register 1
|
||||
union BGCRC_CTRL2_REG BGCRC_CTRL2; // BGCRC Control register 2
|
||||
Uint32 BGCRC_START_ADDR; // Start address for the BGCRC check
|
||||
Uint32 BGCRC_SEED; // Seed for CRC calculation
|
||||
Uint16 rsvd1[4]; // Reserved
|
||||
Uint32 BGCRC_GOLDEN; // Golden CRC to be compared against
|
||||
Uint32 BGCRC_RESULT; // CRC calculated
|
||||
Uint32 BGCRC_CURR_ADDR; // Current address regsiter
|
||||
Uint16 rsvd2[8]; // Reserved
|
||||
union BGCRC_WD_CFG_REG BGCRC_WD_CFG; // BGCRC windowed watchdog configuration
|
||||
Uint32 BGCRC_WD_MIN; // BGCRC windowed watchdog min value
|
||||
Uint32 BGCRC_WD_MAX; // BGCRC windowed watchdog max value
|
||||
Uint32 BGCRC_WD_CNT; // BGCRC windowed watchdog count
|
||||
Uint16 rsvd3[6]; // Reserved
|
||||
union BGCRC_NMIFLG_REG BGCRC_NMIFLG; // BGCRC NMI flag register
|
||||
union BGCRC_NMICLR_REG BGCRC_NMICLR; // BGCRC NMI flag clear register
|
||||
union BGCRC_NMIFRC_REG BGCRC_NMIFRC; // BGCRC NMI flag force register
|
||||
Uint16 rsvd4[4]; // Reserved
|
||||
union BGCRC_INTEN_REG BGCRC_INTEN; // Interrupt enable
|
||||
union BGCRC_INTFLG_REG BGCRC_INTFLG; // Interrupt flag
|
||||
union BGCRC_INTCLR_REG BGCRC_INTCLR; // Interrupt flag clear
|
||||
union BGCRC_INTFRC_REG BGCRC_INTFRC; // Interrupt flag force
|
||||
union BGCRC_LOCK_REG BGCRC_LOCK; // BGCRC register map lockconfiguration
|
||||
union BGCRC_COMMIT_REG BGCRC_COMMIT; // BGCRC register map commit configuration
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// BGCRC External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct BGCRC_REGS BgcrcCla1Regs;
|
||||
extern volatile struct BGCRC_REGS BgcrcCpuRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct BGCRC_REGS BgcrcCla1Regs;
|
||||
extern volatile struct BGCRC_REGS BgcrcCpuRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,612 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_can.h
|
||||
//
|
||||
// TITLE: Definitions for the CAN registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_CAN_H
|
||||
#define F2838X_CAN_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CAN Individual Register Bit Definitions:
|
||||
|
||||
struct CAN_CTL_BITS { // bits description
|
||||
bp_16 Init:1; // 0 Initialization
|
||||
bp_16 IE0:1; // 1 Interrupt line 0 Enable
|
||||
bp_16 SIE:1; // 2 Status Change Interrupt Enable
|
||||
bp_16 EIE:1; // 3 Error Interrupt Enable
|
||||
bp_16 rsvd1:1; // 4 Reserved
|
||||
bp_16 DAR:1; // 5 Disable Automatic Retransmission
|
||||
bp_16 CCE:1; // 6 Configuration Change Enable
|
||||
bp_16 Test:1; // 7 Test Mode Enable
|
||||
bp_16 IDS:1; // 8 Interruption Debug Support Enable
|
||||
bp_16 ABO:1; // 9 Auto-Bus-On Enable
|
||||
bp_16 PMD:4; // 13:10 Parity on/off
|
||||
bp_16 rsvd2:1; // 14 Reserved
|
||||
bp_16 SWR:1; // 15 SW Reset Enable
|
||||
bp_32 INITDBG:1; // 16 Debug Mode Status
|
||||
bp_32 IE1:1; // 17 Interrupt line 1 Enable Disabled
|
||||
bp_32 DE1:1; // 18 Enable DMA request line
|
||||
bp_32 DE2:1; // 19 Enable DMA request line
|
||||
bp_32 DE3:1; // 20 Enable DMA request line
|
||||
bp_32 rsvd3:3; // 23:21 Reserved
|
||||
bp_32 rsvd4:1; // 24 Reserved
|
||||
bp_32 rsvd5:1; // 25 Reserved
|
||||
bp_32 rsvd6:6; // 31:26 Reserved
|
||||
};
|
||||
|
||||
union CAN_CTL_REG {
|
||||
bp_32 all;
|
||||
struct CAN_CTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_ES_BITS { // bits description
|
||||
bp_16 LEC:3; // 2:0 Last Error Code
|
||||
bp_16 TxOk:1; // 3 Transmission status
|
||||
bp_16 RxOk:1; // 4 Reception status
|
||||
bp_16 EPass:1; // 5 Error Passive State
|
||||
bp_16 EWarn:1; // 6 Warning State
|
||||
bp_16 BOff:1; // 7 Bus-Off State
|
||||
bp_16 PER:1; // 8 Parity Error Detected
|
||||
bp_16 rsvd1:1; // 9 Reserved
|
||||
bp_16 rsvd2:1; // 10 Reserved
|
||||
bp_16 rsvd3:5; // 15:11 Reserved
|
||||
bp_32 rsvd4:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_ES_REG {
|
||||
bp_32 all;
|
||||
struct CAN_ES_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_ERRC_BITS { // bits description
|
||||
bp_16 TEC:8; // 7:0 Transmit Error Counter
|
||||
bp_16 REC:7; // 14:8 Receive Error Counter
|
||||
bp_16 RP:1; // 15 Receive Error Passive
|
||||
bp_32 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_ERRC_REG {
|
||||
bp_32 all;
|
||||
struct CAN_ERRC_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_BTR_BITS { // bits description
|
||||
bp_16 BRP:6; // 5:0 Baud Rate Prescaler
|
||||
bp_16 SJW:2; // 7:6 Synchronization Jump Width
|
||||
bp_16 TSEG1:4; // 11:8 Time segment
|
||||
bp_16 TSEG2:3; // 14:12 Time segment
|
||||
bp_16 rsvd1:1; // 15 Reserved
|
||||
bp_32 BRPE:4; // 19:16 Baud Rate Prescaler Extension
|
||||
bp_32 rsvd2:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union CAN_BTR_REG {
|
||||
bp_32 all;
|
||||
struct CAN_BTR_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_INT_BITS { // bits description
|
||||
bp_16 INT0ID:16; // 15:0 Interrupt Identifier
|
||||
bp_32 INT1ID:8; // 23:16 Interrupt 1 Identifier
|
||||
bp_32 rsvd1:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union CAN_INT_REG {
|
||||
bp_32 all;
|
||||
struct CAN_INT_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_TEST_BITS { // bits description
|
||||
bp_16 rsvd1:3; // 2:0 Reserved
|
||||
bp_16 SILENT:1; // 3 Silent Mode
|
||||
bp_16 LBACK:1; // 4 Loopback Mode
|
||||
bp_16 TX:2; // 6:5 CANTX Pin Control
|
||||
bp_16 RX:1; // 7 CANRX Pin Status
|
||||
bp_16 EXL:1; // 8 External Loopback Mode
|
||||
bp_16 RDA:1; // 9 RAM Direct Access Enable:
|
||||
bp_16 rsvd2:6; // 15:10 Reserved
|
||||
bp_32 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_TEST_REG {
|
||||
bp_32 all;
|
||||
struct CAN_TEST_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_PERR_BITS { // bits description
|
||||
bp_16 MSG_NUM:8; // 7:0 Message Number
|
||||
bp_16 WORD_NUM:3; // 10:8 Word Number
|
||||
bp_16 rsvd1:5; // 15:11 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_PERR_REG {
|
||||
bp_32 all;
|
||||
struct CAN_PERR_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_RAM_INIT_BITS { // bits description
|
||||
bp_16 KEY0:1; // 0 KEY0
|
||||
bp_16 KEY1:1; // 1 KEY1
|
||||
bp_16 KEY2:1; // 2 KEY2
|
||||
bp_16 KEY3:1; // 3 KEY3
|
||||
bp_16 CAN_RAM_INIT:1; // 4 Initialize CAN Mailbox RAM
|
||||
bp_16 RAM_INIT_DONE:1; // 5 CAN RAM initialization complete
|
||||
bp_16 rsvd1:10; // 15:6 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_RAM_INIT_REG {
|
||||
bp_32 all;
|
||||
struct CAN_RAM_INIT_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_GLB_INT_EN_BITS { // bits description
|
||||
bp_16 GLBINT0_EN:1; // 0 Global Interrupt Enable for CANINT0
|
||||
bp_16 GLBINT1_EN:1; // 1 Global Interrupt Enable for CANINT1
|
||||
bp_16 rsvd1:14; // 15:2 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_GLB_INT_EN_REG {
|
||||
bp_32 all;
|
||||
struct CAN_GLB_INT_EN_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_GLB_INT_FLG_BITS { // bits description
|
||||
bp_16 INT0_FLG:1; // 0 Global Interrupt Flag for CANINT0
|
||||
bp_16 INT1_FLG:1; // 1 Global Interrupt Flag for CANINT1
|
||||
bp_16 rsvd1:14; // 15:2 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_GLB_INT_FLG_REG {
|
||||
bp_32 all;
|
||||
struct CAN_GLB_INT_FLG_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_GLB_INT_CLR_BITS { // bits description
|
||||
bp_16 INT0_FLG_CLR:1; // 0 Global Interrupt flag clear for CANINT0
|
||||
bp_16 INT1_FLG_CLR:1; // 1 Global Interrupt flag clear for CANINT1
|
||||
bp_16 rsvd1:14; // 15:2 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_GLB_INT_CLR_REG {
|
||||
bp_32 all;
|
||||
struct CAN_GLB_INT_CLR_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_TXRQ_X_BITS { // bits description
|
||||
bp_16 TxRqstReg1:2; // 1:0 Transmit Request Register 1
|
||||
bp_16 TxRqstReg2:2; // 3:2 Transmit Request Register 2
|
||||
bp_16 rsvd1:12; // 15:4 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_TXRQ_X_REG {
|
||||
bp_32 all;
|
||||
struct CAN_TXRQ_X_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_NDAT_X_BITS { // bits description
|
||||
bp_16 NewDatReg1:2; // 1:0 New Data Register 1
|
||||
bp_16 NewDatReg2:2; // 3:2 New Data Register 2
|
||||
bp_16 rsvd1:12; // 15:4 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_NDAT_X_REG {
|
||||
bp_32 all;
|
||||
struct CAN_NDAT_X_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IPEN_X_BITS { // bits description
|
||||
bp_16 IntPndReg1:2; // 1:0 Interrupt Pending Register 1
|
||||
bp_16 IntPndReg2:2; // 3:2 Interrupt Pending Register 2
|
||||
bp_16 rsvd1:12; // 15:4 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_IPEN_X_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IPEN_X_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_MVAL_X_BITS { // bits description
|
||||
bp_16 MsgValReg1:2; // 1:0 Message Valid Register 1
|
||||
bp_16 MsgValReg2:2; // 3:2 Message Valid Register 2
|
||||
bp_16 rsvd1:12; // 15:4 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_MVAL_X_REG {
|
||||
bp_32 all;
|
||||
struct CAN_MVAL_X_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF1CMD_BITS { // bits description
|
||||
bp_16 MSG_NUM:8; // 7:0 Message Number
|
||||
bp_16 rsvd1:6; // 13:8 Reserved
|
||||
bp_16 DMAactive:1; // 14 DMA Status
|
||||
bp_16 Busy:1; // 15 Busy Flag
|
||||
bp_32 DATA_B:1; // 16 Access Data Bytes 4-7
|
||||
bp_32 DATA_A:1; // 17 Access Data Bytes 0-3
|
||||
bp_32 TXRQST:1; // 18 Access Transmission Request Bit
|
||||
bp_32 ClrIntPnd:1; // 19 Clear Interrupt Pending Bit
|
||||
bp_32 Control:1; // 20 Access Control Bits
|
||||
bp_32 Arb:1; // 21 Access Arbitration Bits
|
||||
bp_32 Mask:1; // 22 Access Mask Bits
|
||||
bp_32 DIR:1; // 23 Write/Read Direction
|
||||
bp_32 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union CAN_IF1CMD_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF1CMD_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF1MSK_BITS { // bits description
|
||||
bp_32 Msk:29; // 28:0 Identifier Mask
|
||||
bp_32 rsvd1:1; // 29 Reserved
|
||||
bp_32 MDir:1; // 30 Mask Message Direction
|
||||
bp_32 MXtd:1; // 31 Mask Extended Identifier
|
||||
};
|
||||
|
||||
union CAN_IF1MSK_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF1MSK_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF1ARB_BITS { // bits description
|
||||
bp_32 ID:29; // 28:0 `
|
||||
bp_32 Dir:1; // 29 Message Direction
|
||||
bp_32 Xtd:1; // 30 Extended Identifier
|
||||
bp_32 MsgVal:1; // 31 Message Valid
|
||||
};
|
||||
|
||||
union CAN_IF1ARB_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF1ARB_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF1MCTL_BITS { // bits description
|
||||
bp_16 DLC:4; // 3:0 Data length code
|
||||
bp_16 rsvd1:3; // 6:4 Reserved
|
||||
bp_16 EoB:1; // 7 End of Block
|
||||
bp_16 TxRqst:1; // 8 Transmit Request
|
||||
bp_16 RmtEn:1; // 9 Remote Enable
|
||||
bp_16 RxIE:1; // 10 Receive Interrupt Enable
|
||||
bp_16 TxIE:1; // 11 Transmit Interrupt Enable
|
||||
bp_16 UMask:1; // 12 Use Acceptance Mask
|
||||
bp_16 IntPnd:1; // 13 Interrupt Pending
|
||||
bp_16 MsgLst:1; // 14 Message Lost
|
||||
bp_16 NewDat:1; // 15 New Data
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_IF1MCTL_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF1MCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF1DATA_BITS { // bits description
|
||||
bp_16 Data_0:8; // 7:0 Data Byte 0
|
||||
bp_16 Data_1:8; // 15:8 Data Byte 1
|
||||
bp_32 Data_2:8; // 23:16 Data Byte 2
|
||||
bp_32 Data_3:8; // 31:24 Data Byte 3
|
||||
};
|
||||
|
||||
union CAN_IF1DATA_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF1DATA_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF1DATB_BITS { // bits description
|
||||
bp_16 Data_4:8; // 7:0 Data Byte 4
|
||||
bp_16 Data_5:8; // 15:8 Data Byte 5
|
||||
bp_32 Data_6:8; // 23:16 Data Byte 6
|
||||
bp_32 Data_7:8; // 31:24 Data Byte 7
|
||||
};
|
||||
|
||||
union CAN_IF1DATB_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF1DATB_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF2CMD_BITS { // bits description
|
||||
bp_16 MSG_NUM:8; // 7:0 Message Number
|
||||
bp_16 rsvd1:6; // 13:8 Reserved
|
||||
bp_16 DMAactive:1; // 14 DMA Status
|
||||
bp_16 Busy:1; // 15 Busy Flag
|
||||
bp_32 DATA_B:1; // 16 Access Data Bytes 4-7
|
||||
bp_32 DATA_A:1; // 17 Access Data Bytes 0-3
|
||||
bp_32 TxRqst:1; // 18 Access Transmission Request Bit
|
||||
bp_32 ClrIntPnd:1; // 19 Clear Interrupt Pending Bit
|
||||
bp_32 Control:1; // 20 Access Control Bits
|
||||
bp_32 Arb:1; // 21 Access Arbitration Bits
|
||||
bp_32 Mask:1; // 22 Access Mask Bits
|
||||
bp_32 DIR:1; // 23 Write/Read Direction
|
||||
bp_32 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union CAN_IF2CMD_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF2CMD_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF2MSK_BITS { // bits description
|
||||
bp_32 Msk:29; // 28:0 Identifier Mask
|
||||
bp_32 rsvd1:1; // 29 Reserved
|
||||
bp_32 MDir:1; // 30 Mask Message Direction
|
||||
bp_32 MXtd:1; // 31 Mask Extended Identifier
|
||||
};
|
||||
|
||||
union CAN_IF2MSK_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF2MSK_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF2ARB_BITS { // bits description
|
||||
bp_32 ID:29; // 28:0 Message Identifier
|
||||
bp_32 Dir:1; // 29 Message Direction
|
||||
bp_32 Xtd:1; // 30 Extended Identifier
|
||||
bp_32 MsgVal:1; // 31 Message Valid
|
||||
};
|
||||
|
||||
union CAN_IF2ARB_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF2ARB_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF2MCTL_BITS { // bits description
|
||||
bp_16 DLC:4; // 3:0 Data length code
|
||||
bp_16 rsvd1:3; // 6:4 Reserved
|
||||
bp_16 EoB:1; // 7 End of Block
|
||||
bp_16 TxRqst:1; // 8 Transmit Request
|
||||
bp_16 RmtEn:1; // 9 Remote Enable
|
||||
bp_16 RxIE:1; // 10 Receive Interrupt Enable
|
||||
bp_16 TxIE:1; // 11 Transmit Interrupt Enable
|
||||
bp_16 UMask:1; // 12 Use Acceptance Mask
|
||||
bp_16 IntPnd:1; // 13 Interrupt Pending
|
||||
bp_16 MsgLst:1; // 14 Message Lost
|
||||
bp_16 NewDat:1; // 15 New Data
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_IF2MCTL_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF2MCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF2DATA_BITS { // bits description
|
||||
bp_16 Data_0:8; // 7:0 Data Byte 0
|
||||
bp_16 Data_1:8; // 15:8 Data Byte 1
|
||||
bp_32 Data_2:8; // 23:16 Data Byte 2
|
||||
bp_32 Data_3:8; // 31:24 Data Byte 3
|
||||
};
|
||||
|
||||
union CAN_IF2DATA_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF2DATA_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF2DATB_BITS { // bits description
|
||||
bp_16 Data_4:8; // 7:0 Data Byte 4
|
||||
bp_16 Data_5:8; // 15:8 Data Byte 5
|
||||
bp_32 Data_6:8; // 23:16 Data Byte 6
|
||||
bp_32 Data_7:8; // 31:24 Data Byte 7
|
||||
};
|
||||
|
||||
union CAN_IF2DATB_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF2DATB_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF3OBS_BITS { // bits description
|
||||
bp_16 Mask:1; // 0 Mask data read observation
|
||||
bp_16 Arb:1; // 1 Arbitration data read observation
|
||||
bp_16 Ctrl:1; // 2 Ctrl read observation
|
||||
bp_16 Data_A:1; // 3 Data A read observation
|
||||
bp_16 Data_B:1; // 4 Data B read observation
|
||||
bp_16 rsvd1:3; // 7:5 Reserved
|
||||
bp_16 IF3SM:1; // 8 IF3 Status of Mask data read access
|
||||
bp_16 IF3SA:1; // 9 IF3 Status of Arbitration data read access
|
||||
bp_16 IF3SC:1; // 10 IF3 Status of Control bits read access
|
||||
bp_16 IF3SDA:1; // 11 IF3 Status of Data A read access
|
||||
bp_16 IF3SDB:1; // 12 IF3 Status of Data B read access
|
||||
bp_16 rsvd2:2; // 14:13 Reserved
|
||||
bp_16 IF3Upd:1; // 15 IF3 Update Data
|
||||
bp_32 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_IF3OBS_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF3OBS_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF3MSK_BITS { // bits description
|
||||
bp_32 Msk:29; // 28:0 Mask
|
||||
bp_32 rsvd1:1; // 29 Reserved
|
||||
bp_32 MDir:1; // 30 Mask Message Direction
|
||||
bp_32 MXtd:1; // 31 Mask Extended Identifier
|
||||
};
|
||||
|
||||
union CAN_IF3MSK_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF3MSK_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF3ARB_BITS { // bits description
|
||||
bp_32 ID:29; // 28:0 Message Identifier
|
||||
bp_32 Dir:1; // 29 Message Direction
|
||||
bp_32 Xtd:1; // 30 Extended Identifier
|
||||
bp_32 MsgVal:1; // 31 Message Valid
|
||||
};
|
||||
|
||||
union CAN_IF3ARB_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF3ARB_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF3MCTL_BITS { // bits description
|
||||
bp_16 DLC:4; // 3:0 Data length code
|
||||
bp_16 rsvd1:3; // 6:4 Reserved
|
||||
bp_16 EoB:1; // 7 End of Block
|
||||
bp_16 TxRqst:1; // 8 Transmit Request
|
||||
bp_16 RmtEn:1; // 9 Remote Enable
|
||||
bp_16 RxIE:1; // 10 Receive Interrupt Enable
|
||||
bp_16 TxIE:1; // 11 Transmit Interrupt Enable
|
||||
bp_16 UMask:1; // 12 Use Acceptance Mask
|
||||
bp_16 IntPnd:1; // 13 Interrupt Pending
|
||||
bp_16 MsgLst:1; // 14 Message Lost
|
||||
bp_16 NewDat:1; // 15 New Data
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CAN_IF3MCTL_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF3MCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF3DATA_BITS { // bits description
|
||||
bp_16 Data_0:8; // 7:0 Data Byte 0
|
||||
bp_16 Data_1:8; // 15:8 Data Byte 1
|
||||
bp_32 Data_2:8; // 23:16 Data Byte 2
|
||||
bp_32 Data_3:8; // 31:24 Data Byte 3
|
||||
};
|
||||
|
||||
union CAN_IF3DATA_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF3DATA_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_IF3DATB_BITS { // bits description
|
||||
bp_16 Data_4:8; // 7:0 Data Byte 4
|
||||
bp_16 Data_5:8; // 15:8 Data Byte 5
|
||||
bp_32 Data_6:8; // 23:16 Data Byte 6
|
||||
bp_32 Data_7:8; // 31:24 Data Byte 7
|
||||
};
|
||||
|
||||
union CAN_IF3DATB_REG {
|
||||
bp_32 all;
|
||||
struct CAN_IF3DATB_BITS bit;
|
||||
};
|
||||
|
||||
struct CAN_REGS {
|
||||
union CAN_CTL_REG CAN_CTL; // CAN Control Register
|
||||
union CAN_ES_REG CAN_ES; // Error and Status Register
|
||||
union CAN_ERRC_REG CAN_ERRC; // Error Counter Register
|
||||
union CAN_BTR_REG CAN_BTR; // Bit Timing Register
|
||||
union CAN_INT_REG CAN_INT; // Interrupt Register
|
||||
union CAN_TEST_REG CAN_TEST; // Test Register
|
||||
uint32_t rsvd1[2]; // Reserved
|
||||
union CAN_PERR_REG CAN_PERR; // CAN Parity Error Code Register
|
||||
uint32_t rsvd2[16]; // Reserved
|
||||
union CAN_RAM_INIT_REG CAN_RAM_INIT; // CAN RAM Initialization Register
|
||||
uint32_t rsvd3[6]; // Reserved
|
||||
union CAN_GLB_INT_EN_REG CAN_GLB_INT_EN; // CAN Global Interrupt Enable Register
|
||||
union CAN_GLB_INT_FLG_REG CAN_GLB_INT_FLG; // CAN Global Interrupt Flag Register
|
||||
union CAN_GLB_INT_CLR_REG CAN_GLB_INT_CLR; // CAN Global Interrupt Clear Register
|
||||
uint32_t rsvd4[18]; // Reserved
|
||||
bp_32 CAN_ABOTR; // Auto-Bus-On Time Register
|
||||
union CAN_TXRQ_X_REG CAN_TXRQ_X; // CAN Transmission Request Register
|
||||
bp_32 CAN_TXRQ_21; // CAN Transmission Request 2_1 Register
|
||||
uint32_t rsvd5[6]; // Reserved
|
||||
union CAN_NDAT_X_REG CAN_NDAT_X; // CAN New Data Register
|
||||
bp_32 CAN_NDAT_21; // CAN New Data 2_1 Register
|
||||
uint32_t rsvd6[6]; // Reserved
|
||||
union CAN_IPEN_X_REG CAN_IPEN_X; // CAN Interrupt Pending Register
|
||||
bp_32 CAN_IPEN_21; // CAN Interrupt Pending 2_1 Register
|
||||
uint32_t rsvd7[6]; // Reserved
|
||||
union CAN_MVAL_X_REG CAN_MVAL_X; // CAN Message Valid Register
|
||||
bp_32 CAN_MVAL_21; // CAN Message Valid 2_1 Register
|
||||
uint32_t rsvd8[8]; // Reserved
|
||||
bp_32 CAN_IP_MUX21; // CAN Interrupt Multiplexer 2_1 Register
|
||||
uint32_t rsvd9[18]; // Reserved
|
||||
union CAN_IF1CMD_REG CAN_IF1CMD; // IF1 Command Register
|
||||
union CAN_IF1MSK_REG CAN_IF1MSK; // IF1 Mask Register
|
||||
union CAN_IF1ARB_REG CAN_IF1ARB; // IF1 Arbitration Register
|
||||
union CAN_IF1MCTL_REG CAN_IF1MCTL; // IF1 Message Control Register
|
||||
union CAN_IF1DATA_REG CAN_IF1DATA; // IF1 Data A Register
|
||||
union CAN_IF1DATB_REG CAN_IF1DATB; // IF1 Data B Register
|
||||
uint32_t rsvd10[4]; // Reserved
|
||||
union CAN_IF2CMD_REG CAN_IF2CMD; // IF2 Command Register
|
||||
union CAN_IF2MSK_REG CAN_IF2MSK; // IF2 Mask Register
|
||||
union CAN_IF2ARB_REG CAN_IF2ARB; // IF2 Arbitration Register
|
||||
union CAN_IF2MCTL_REG CAN_IF2MCTL; // IF2 Message Control Register
|
||||
union CAN_IF2DATA_REG CAN_IF2DATA; // IF2 Data A Register
|
||||
union CAN_IF2DATB_REG CAN_IF2DATB; // IF2 Data B Register
|
||||
uint32_t rsvd11[4]; // Reserved
|
||||
union CAN_IF3OBS_REG CAN_IF3OBS; // IF3 Observation Register
|
||||
union CAN_IF3MSK_REG CAN_IF3MSK; // IF3 Mask Register
|
||||
union CAN_IF3ARB_REG CAN_IF3ARB; // IF3 Arbitration Register
|
||||
union CAN_IF3MCTL_REG CAN_IF3MCTL; // IF3 Message Control Register
|
||||
union CAN_IF3DATA_REG CAN_IF3DATA; // IF3 Data A Register
|
||||
union CAN_IF3DATB_REG CAN_IF3DATB; // IF3 Data B Register
|
||||
uint32_t rsvd12[4]; // Reserved
|
||||
bp_32 CAN_IF3UPD; // IF3 Update Enable Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CAN External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct CAN_REGS CanaRegs;
|
||||
extern volatile struct CAN_REGS CanbRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct CAN_REGS CanaRegs;
|
||||
extern volatile struct CAN_REGS CanbRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,366 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_cla.h
|
||||
//
|
||||
// TITLE: Definitions for the CLA registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_CLA_H
|
||||
#define F2838X_CLA_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CLA Individual Register Bit Definitions:
|
||||
|
||||
struct MCTL_BITS { // bits description
|
||||
Uint16 HARDRESET:1; // 0 Hard Reset
|
||||
Uint16 SOFTRESET:1; // 1 Soft Reset
|
||||
Uint16 IACKE:1; // 2 IACK enable
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
};
|
||||
|
||||
union MCTL_REG {
|
||||
Uint16 all;
|
||||
struct MCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct SOFTINTEN_BITS { // bits description
|
||||
Uint16 TASK1:1; // 0 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK2:1; // 1 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK3:1; // 2 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK4:1; // 3 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK5:1; // 4 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK6:1; // 5 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK7:1; // 6 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 TASK8:1; // 7 Configure Software Interrupt or End of Task interrupt.
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SOFTINTEN_REG {
|
||||
Uint16 all;
|
||||
struct SOFTINTEN_BITS bit;
|
||||
};
|
||||
|
||||
struct _MSTSBGRND_BITS { // bits description
|
||||
Uint16 RUN:1; // 0 Background task run status bit.
|
||||
Uint16 _BGINTM:1; // 1 Indicates whether background task can be interrupted.
|
||||
Uint16 BGOVF:1; // 2 background task harware trigger overflow.
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
};
|
||||
|
||||
union _MSTSBGRND_REG {
|
||||
Uint16 all;
|
||||
struct _MSTSBGRND_BITS bit;
|
||||
};
|
||||
|
||||
struct _MCTLBGRND_BITS { // bits description
|
||||
Uint16 BGSTART:1; // 0 Background task start bit
|
||||
Uint16 TRIGEN:1; // 1 Background task hardware trigger enable
|
||||
Uint16 rsvd1:13; // 14:2 Reserved
|
||||
Uint16 BGEN:1; // 15 Enable background task
|
||||
};
|
||||
|
||||
union _MCTLBGRND_REG {
|
||||
Uint16 all;
|
||||
struct _MCTLBGRND_BITS bit;
|
||||
};
|
||||
|
||||
struct MIFR_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Interrupt Flag
|
||||
Uint16 INT2:1; // 1 Task 2 Interrupt Flag
|
||||
Uint16 INT3:1; // 2 Task 3 Interrupt Flag
|
||||
Uint16 INT4:1; // 3 Task 4 Interrupt Flag
|
||||
Uint16 INT5:1; // 4 Task 5 Interrupt Flag
|
||||
Uint16 INT6:1; // 5 Task 6 Interrupt Flag
|
||||
Uint16 INT7:1; // 6 Task 7 Interrupt Flag
|
||||
Uint16 INT8:1; // 7 Task 8 Interrupt Flag
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MIFR_REG {
|
||||
Uint16 all;
|
||||
struct MIFR_BITS bit;
|
||||
};
|
||||
|
||||
struct MIOVF_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Interrupt Overflow Flag
|
||||
Uint16 INT2:1; // 1 Task 2 Interrupt Overflow Flag
|
||||
Uint16 INT3:1; // 2 Task 3 Interrupt Overflow Flag
|
||||
Uint16 INT4:1; // 3 Task 4 Interrupt Overflow Flag
|
||||
Uint16 INT5:1; // 4 Task 5 Interrupt Overflow Flag
|
||||
Uint16 INT6:1; // 5 Task 6 Interrupt Overflow Flag
|
||||
Uint16 INT7:1; // 6 Task 7 Interrupt Overflow Flag
|
||||
Uint16 INT8:1; // 7 Task 8 Interrupt Overflow Flag
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MIOVF_REG {
|
||||
Uint16 all;
|
||||
struct MIOVF_BITS bit;
|
||||
};
|
||||
|
||||
struct MIFRC_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Interrupt Force
|
||||
Uint16 INT2:1; // 1 Task 2 Interrupt Force
|
||||
Uint16 INT3:1; // 2 Task 3 Interrupt Force
|
||||
Uint16 INT4:1; // 3 Task 4 Interrupt Force
|
||||
Uint16 INT5:1; // 4 Task 5 Interrupt Force
|
||||
Uint16 INT6:1; // 5 Task 6 Interrupt Force
|
||||
Uint16 INT7:1; // 6 Task 7 Interrupt Force
|
||||
Uint16 INT8:1; // 7 Task 8 Interrupt Force
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MIFRC_REG {
|
||||
Uint16 all;
|
||||
struct MIFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct MICLR_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Interrupt Flag Clear
|
||||
Uint16 INT2:1; // 1 Task 2 Interrupt Flag Clear
|
||||
Uint16 INT3:1; // 2 Task 3 Interrupt Flag Clear
|
||||
Uint16 INT4:1; // 3 Task 4 Interrupt Flag Clear
|
||||
Uint16 INT5:1; // 4 Task 5 Interrupt Flag Clear
|
||||
Uint16 INT6:1; // 5 Task 6 Interrupt Flag Clear
|
||||
Uint16 INT7:1; // 6 Task 7 Interrupt Flag Clear
|
||||
Uint16 INT8:1; // 7 Task 8 Interrupt Flag Clear
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MICLR_REG {
|
||||
Uint16 all;
|
||||
struct MICLR_BITS bit;
|
||||
};
|
||||
|
||||
struct MICLROVF_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Interrupt Overflow Flag Clear
|
||||
Uint16 INT2:1; // 1 Task 2 Interrupt Overflow Flag Clear
|
||||
Uint16 INT3:1; // 2 Task 3 Interrupt Overflow Flag Clear
|
||||
Uint16 INT4:1; // 3 Task 4 Interrupt Overflow Flag Clear
|
||||
Uint16 INT5:1; // 4 Task 5 Interrupt Overflow Flag Clear
|
||||
Uint16 INT6:1; // 5 Task 6 Interrupt Overflow Flag Clear
|
||||
Uint16 INT7:1; // 6 Task 7 Interrupt Overflow Flag Clear
|
||||
Uint16 INT8:1; // 7 Task 8 Interrupt Overflow Flag Clear
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MICLROVF_REG {
|
||||
Uint16 all;
|
||||
struct MICLROVF_BITS bit;
|
||||
};
|
||||
|
||||
struct MIER_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Interrupt Enable
|
||||
Uint16 INT2:1; // 1 Task 2 Interrupt Enable
|
||||
Uint16 INT3:1; // 2 Task 3 Interrupt Enable
|
||||
Uint16 INT4:1; // 3 Task 4 Interrupt Enable
|
||||
Uint16 INT5:1; // 4 Task 5 Interrupt Enable
|
||||
Uint16 INT6:1; // 5 Task 6 Interrupt Enable
|
||||
Uint16 INT7:1; // 6 Task 7 Interrupt Enable
|
||||
Uint16 INT8:1; // 7 Task 8 Interrupt Enable
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MIER_REG {
|
||||
Uint16 all;
|
||||
struct MIER_BITS bit;
|
||||
};
|
||||
|
||||
struct MIRUN_BITS { // bits description
|
||||
Uint16 INT1:1; // 0 Task 1 Run Status
|
||||
Uint16 INT2:1; // 1 Task 2 Run Status
|
||||
Uint16 INT3:1; // 2 Task 3 Run Status
|
||||
Uint16 INT4:1; // 3 Task 4 Run Status
|
||||
Uint16 INT5:1; // 4 Task 5 Run Status
|
||||
Uint16 INT6:1; // 5 Task 6 Run Status
|
||||
Uint16 INT7:1; // 6 Task 7 Run Status
|
||||
Uint16 INT8:1; // 7 Task 8 Run Status
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union MIRUN_REG {
|
||||
Uint16 all;
|
||||
struct MIRUN_BITS bit;
|
||||
};
|
||||
|
||||
struct _MSTF_BITS { // bits description
|
||||
Uint16 LVF:1; // 0 Latched Overflow Flag
|
||||
Uint16 LUF:1; // 1 Latched Underflow Flag
|
||||
Uint16 NF:1; // 2 Negative Float Flag
|
||||
Uint16 ZF:1; // 3 Zero Float Flag
|
||||
Uint16 rsvd1:2; // 5:4 Reserved
|
||||
Uint16 TF:1; // 6 Test Flag
|
||||
Uint16 rsvd2:2; // 8:7 Reserved
|
||||
Uint16 RNDF32:1; // 9 Round 32-bit Floating-Point Mode
|
||||
Uint16 rsvd3:1; // 10 Reserved
|
||||
Uint16 MEALLOW:1; // 11 MEALLOW Status
|
||||
Uint32 _RPC:16; // 27:12 Return PC
|
||||
Uint16 rsvd4:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union _MSTF_REG {
|
||||
Uint32 all;
|
||||
struct _MSTF_BITS bit;
|
||||
};
|
||||
|
||||
struct _MPSACTL_BITS { // bits description
|
||||
Uint16 MPABSTART:1; // 0 Start logging PAB onto PSA1
|
||||
Uint16 MPABCYC:1; // 1 PAB logging into PSA1 is on every cycle or when PAB changes.
|
||||
Uint16 MDWDBSTART:1; // 2 Start logging DWDB onto PSA2
|
||||
Uint16 MDWDBCYC:1; // 3 DWDB logging into PSA2 is on every cycle.
|
||||
Uint16 MPSA1CLEAR:1; // 4 PSA1 clear
|
||||
Uint16 MPSA2CLEAR:1; // 5 PSA2 Clear
|
||||
Uint16 MPSA2CFG:2; // 7:6 PSA2 Polynomial Configuration
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union _MPSACTL_REG {
|
||||
Uint16 all;
|
||||
struct _MPSACTL_BITS bit;
|
||||
};
|
||||
|
||||
union MR_REG {
|
||||
Uint32 i32;
|
||||
float f32;
|
||||
};
|
||||
|
||||
struct CLA_REGS {
|
||||
Uint16 MVECT1; // Task Interrupt Vector
|
||||
Uint16 MVECT2; // Task Interrupt Vector
|
||||
Uint16 MVECT3; // Task Interrupt Vector
|
||||
Uint16 MVECT4; // Task Interrupt Vector
|
||||
Uint16 MVECT5; // Task Interrupt Vector
|
||||
Uint16 MVECT6; // Task Interrupt Vector
|
||||
Uint16 MVECT7; // Task Interrupt Vector
|
||||
Uint16 MVECT8; // Task Interrupt Vector
|
||||
Uint16 rsvd1[8]; // Reserved
|
||||
union MCTL_REG MCTL; // Control Register
|
||||
Uint16 rsvd2[10]; // Reserved
|
||||
Uint16 _MVECTBGRNDACTIVE; // Active register for MVECTBGRND.
|
||||
union SOFTINTEN_REG SOFTINTEN; // CLA Software Interrupt Enable Register
|
||||
union _MSTSBGRND_REG _MSTSBGRND; // Status register for the back ground task.
|
||||
union _MCTLBGRND_REG _MCTLBGRND; // Control register for the back ground task.
|
||||
Uint16 _MVECTBGRND; // Vector for the back ground task.
|
||||
union MIFR_REG MIFR; // Interrupt Flag Register
|
||||
union MIOVF_REG MIOVF; // Interrupt Overflow Flag Register
|
||||
union MIFRC_REG MIFRC; // Interrupt Force Register
|
||||
union MICLR_REG MICLR; // Interrupt Flag Clear Register
|
||||
union MICLROVF_REG MICLROVF; // Interrupt Overflow Flag Clear Register
|
||||
union MIER_REG MIER; // Interrupt Enable Register
|
||||
union MIRUN_REG MIRUN; // Interrupt Run Status Register
|
||||
Uint16 rsvd3; // Reserved
|
||||
Uint16 _MPC; // CLA Program Counter
|
||||
Uint16 rsvd4; // Reserved
|
||||
Uint16 _MAR0; // CLA Auxiliary Register 0
|
||||
Uint16 _MAR1; // CLA Auxiliary Register 1
|
||||
Uint16 rsvd5[2]; // Reserved
|
||||
union _MSTF_REG _MSTF; // CLA Floating-Point Status Register
|
||||
union MR_REG _MR0; // CLA Floating-Point Result Register 0
|
||||
Uint16 rsvd6[2]; // Reserved
|
||||
union MR_REG _MR1; // CLA Floating-Point Result Register 1
|
||||
Uint16 rsvd7[2]; // Reserved
|
||||
union MR_REG _MR2; // CLA Floating-Point Result Register 2
|
||||
Uint16 rsvd8[2]; // Reserved
|
||||
union MR_REG _MR3; // CLA Floating-Point Result Register 3
|
||||
Uint16 rsvd9[4]; // Reserved
|
||||
union _MPSACTL_REG _MPSACTL; // CLA PSA Control Register
|
||||
Uint16 rsvd10; // Reserved
|
||||
Uint32 _MPSA1; // CLA PSA1 Register
|
||||
Uint32 _MPSA2; // CLA PSA2 Register
|
||||
};
|
||||
|
||||
struct SOFTINTFRC_BITS { // bits description
|
||||
Uint16 TASK1:1; // 0 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK2:1; // 1 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK3:1; // 2 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK4:1; // 3 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK5:1; // 4 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK6:1; // 5 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK7:1; // 6 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 TASK8:1; // 7 Force CLA software interrupt for the corresponding task.
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SOFTINTFRC_REG {
|
||||
Uint16 all;
|
||||
struct SOFTINTFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct CLA_ONLY_REGS {
|
||||
Uint16 rsvd1[128]; // Reserved
|
||||
Uint16 _MVECTBGRNDACTIVE; // Active register for MVECTBGRND.
|
||||
Uint16 rsvd2[63]; // Reserved
|
||||
union _MPSACTL_REG _MPSACTL; // CLA PSA Control Register
|
||||
Uint16 rsvd3; // Reserved
|
||||
Uint32 _MPSA1; // CLA PSA1 Register
|
||||
Uint32 _MPSA2; // CLA PSA2 Register
|
||||
Uint16 rsvd4[26]; // Reserved
|
||||
union SOFTINTEN_REG SOFTINTEN; // CLA Software Interrupt Enable Register
|
||||
Uint16 rsvd5; // Reserved
|
||||
union SOFTINTFRC_REG SOFTINTFRC; // CLA Software Interrupt Force Register
|
||||
};
|
||||
|
||||
struct CLA_SOFTINT_REGS {
|
||||
union SOFTINTEN_REG SOFTINTEN; // CLA Software Interrupt Enable Register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union SOFTINTFRC_REG SOFTINTFRC; // CLA Software Interrupt Force Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CLA External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct CLA_REGS Cla1Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct CLA_REGS Cla1Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,832 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_clbxbar.h
|
||||
//
|
||||
// TITLE: Definitions for the CLBXBAR registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_CLBXBAR_H
|
||||
#define F2838X_CLBXBAR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CLBXBAR Individual Register Bit Definitions:
|
||||
|
||||
struct AUXSIG0MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG0 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG0MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG0MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG0MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG0 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG0MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG0MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG1MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG1 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG1MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG1MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG1MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG1 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG1MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG1MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG2MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG2 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG2MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG2MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG2MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG2 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG2MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG2MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG3MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG3 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG3MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG3MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG3MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG3 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG3MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG3MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG4MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG4 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG4MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG4MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG4MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG4 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG4MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG4MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG5MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG5 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG5MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG5MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG5MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG5 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG5MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG5MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG6MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG6 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG6MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG6MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG6MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG6 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG6MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG6MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG7MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 MUX0 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX1:2; // 3:2 MUX1 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX2:2; // 5:4 MUX2 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX3:2; // 7:6 MUX3 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX4:2; // 9:8 MUX4 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX5:2; // 11:10 MUX5 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX6:2; // 13:12 MUX6 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX7:2; // 15:14 MUX7 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX8:2; // 17:16 MUX8 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX9:2; // 19:18 MUX9 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX10:2; // 21:20 MUX10 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX11:2; // 23:22 MUX11 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX12:2; // 25:24 MUX12 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX13:2; // 27:26 MUX13 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX14:2; // 29:28 MUX14 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX15:2; // 31:30 MUX15 Configuration for AUXSIG7 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG7MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG7MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG7MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 MUX16 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX17:2; // 3:2 MUX17 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX18:2; // 5:4 MUX18 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX19:2; // 7:6 MUX19 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX20:2; // 9:8 MUX20 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX21:2; // 11:10 MUX21 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX22:2; // 13:12 MUX22 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX23:2; // 15:14 MUX23 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX24:2; // 17:16 MUX24 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX25:2; // 19:18 MUX25 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX26:2; // 21:20 MUX26 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX27:2; // 23:22 MUX27 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX28:2; // 25:24 MUX28 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX29:2; // 27:26 MUX29 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX30:2; // 29:28 MUX30 Configuration for AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX31:2; // 31:30 MUX31 Configuration for AUXSIG7 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG7MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG7MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG0MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG0 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG0 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG0MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG0MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG1MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG1 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG1 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG1MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG1MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG2MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG2 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG2 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG2MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG2MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG3MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG3 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG3 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG3MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG3MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG4MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG4 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG4 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG4MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG4MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG5MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG5 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG5 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG5MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG5MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG6MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG6 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG6 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG6MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG6MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIG7MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX1:1; // 1 MUX1 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX2:1; // 2 MUX2 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX3:1; // 3 MUX3 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX4:1; // 4 MUX4 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX5:1; // 5 MUX5 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX6:1; // 6 MUX6 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX7:1; // 7 MUX7 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX8:1; // 8 MUX8 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX9:1; // 9 MUX9 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX10:1; // 10 MUX10 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX11:1; // 11 MUX11 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX12:1; // 12 MUX12 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX13:1; // 13 MUX13 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX14:1; // 14 MUX14 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX15:1; // 15 MUX15 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX16:1; // 16 MUX16 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX17:1; // 17 MUX17 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX18:1; // 18 MUX18 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX19:1; // 19 MUX19 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX20:1; // 20 MUX20 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX21:1; // 21 MUX21 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX22:1; // 22 MUX22 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX23:1; // 23 MUX23 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX24:1; // 24 MUX24 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX25:1; // 25 MUX25 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX26:1; // 26 MUX26 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX27:1; // 27 MUX27 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX28:1; // 28 MUX28 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX29:1; // 29 MUX29 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX30:1; // 30 MUX30 to drive AUXSIG7 of CLB-XBAR
|
||||
Uint16 MUX31:1; // 31 MUX31 to drive AUXSIG7 of CLB-XBAR
|
||||
};
|
||||
|
||||
union AUXSIG7MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIG7MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIGOUTINV_BITS { // bits description
|
||||
Uint16 OUT0:1; // 0 Selects polarity for AUXSIG0 of CLB-XBAR
|
||||
Uint16 OUT1:1; // 1 Selects polarity for AUXSIG1 of CLB-XBAR
|
||||
Uint16 OUT2:1; // 2 Selects polarity for AUXSIG2 of CLB-XBAR
|
||||
Uint16 OUT3:1; // 3 Selects polarity for AUXSIG3 of CLB-XBAR
|
||||
Uint16 OUT4:1; // 4 Selects polarity for AUXSIG4 of CLB-XBAR
|
||||
Uint16 OUT5:1; // 5 Selects polarity for AUXSIG5 of CLB-XBAR
|
||||
Uint16 OUT6:1; // 6 Selects polarity for AUXSIG6 of CLB-XBAR
|
||||
Uint16 OUT7:1; // 7 Selects polarity for AUXSIG7 of CLB-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union AUXSIGOUTINV_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIGOUTINV_BITS bit;
|
||||
};
|
||||
|
||||
struct AUXSIGLOCK_BITS { // bits description
|
||||
Uint16 LOCK:1; // 0 Locks the configuration for CLB-XBAR
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 KEY:16; // 31:16 Write Protection KEY
|
||||
};
|
||||
|
||||
union AUXSIGLOCK_REG {
|
||||
Uint32 all;
|
||||
struct AUXSIGLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct CLB_XBAR_REGS {
|
||||
union AUXSIG0MUX0TO15CFG_REG AUXSIG0MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-0
|
||||
union AUXSIG0MUX16TO31CFG_REG AUXSIG0MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-0
|
||||
union AUXSIG1MUX0TO15CFG_REG AUXSIG1MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-1
|
||||
union AUXSIG1MUX16TO31CFG_REG AUXSIG1MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-1
|
||||
union AUXSIG2MUX0TO15CFG_REG AUXSIG2MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-2
|
||||
union AUXSIG2MUX16TO31CFG_REG AUXSIG2MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-2
|
||||
union AUXSIG3MUX0TO15CFG_REG AUXSIG3MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-3
|
||||
union AUXSIG3MUX16TO31CFG_REG AUXSIG3MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-3
|
||||
union AUXSIG4MUX0TO15CFG_REG AUXSIG4MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-4
|
||||
union AUXSIG4MUX16TO31CFG_REG AUXSIG4MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-4
|
||||
union AUXSIG5MUX0TO15CFG_REG AUXSIG5MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-5
|
||||
union AUXSIG5MUX16TO31CFG_REG AUXSIG5MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-5
|
||||
union AUXSIG6MUX0TO15CFG_REG AUXSIG6MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-6
|
||||
union AUXSIG6MUX16TO31CFG_REG AUXSIG6MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-6
|
||||
union AUXSIG7MUX0TO15CFG_REG AUXSIG7MUX0TO15CFG; // CLB XBAR Mux Configuration for Output-7
|
||||
union AUXSIG7MUX16TO31CFG_REG AUXSIG7MUX16TO31CFG; // CLB XBAR Mux Configuration for Output-7
|
||||
union AUXSIG0MUXENABLE_REG AUXSIG0MUXENABLE; // CLB XBAR Mux Enable Register for Output-0
|
||||
union AUXSIG1MUXENABLE_REG AUXSIG1MUXENABLE; // CLB XBAR Mux Enable Register for Output-1
|
||||
union AUXSIG2MUXENABLE_REG AUXSIG2MUXENABLE; // CLB XBAR Mux Enable Register for Output-2
|
||||
union AUXSIG3MUXENABLE_REG AUXSIG3MUXENABLE; // CLB XBAR Mux Enable Register for Output-3
|
||||
union AUXSIG4MUXENABLE_REG AUXSIG4MUXENABLE; // CLB XBAR Mux Enable Register for Output-4
|
||||
union AUXSIG5MUXENABLE_REG AUXSIG5MUXENABLE; // CLB XBAR Mux Enable Register for Output-5
|
||||
union AUXSIG6MUXENABLE_REG AUXSIG6MUXENABLE; // CLB XBAR Mux Enable Register for Output-6
|
||||
union AUXSIG7MUXENABLE_REG AUXSIG7MUXENABLE; // CLB XBAR Mux Enable Register for Output-7
|
||||
Uint16 rsvd1[8]; // Reserved
|
||||
union AUXSIGOUTINV_REG AUXSIGOUTINV; // CLB XBAR Output Inversion Register
|
||||
Uint16 rsvd2[4]; // Reserved
|
||||
union AUXSIGLOCK_REG AUXSIGLOCK; // ClbXbar Configuration Lock register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CLBXBAR External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct CLB_XBAR_REGS CLBXbarRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,311 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_cmpss.h
|
||||
//
|
||||
// TITLE: Definitions for the CMPSS registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_CMPSS_H
|
||||
#define F2838X_CMPSS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CMPSS Individual Register Bit Definitions:
|
||||
|
||||
struct COMPCTL_BITS { // bits description
|
||||
Uint16 COMPHSOURCE:1; // 0 High Comparator Source Select
|
||||
Uint16 COMPHINV:1; // 1 High Comparator Invert Select
|
||||
Uint16 CTRIPHSEL:2; // 3:2 High Comparator Trip Select
|
||||
Uint16 CTRIPOUTHSEL:2; // 5:4 High Comparator Trip Output Select
|
||||
Uint16 ASYNCHEN:1; // 6 High Comparator Asynchronous Path Enable
|
||||
Uint16 rsvd1:1; // 7 Reserved
|
||||
Uint16 COMPLSOURCE:1; // 8 Low Comparator Source Select
|
||||
Uint16 COMPLINV:1; // 9 Low Comparator Invert Select
|
||||
Uint16 CTRIPLSEL:2; // 11:10 Low Comparator Trip Select
|
||||
Uint16 CTRIPOUTLSEL:2; // 13:12 Low Comparator Trip Output Select
|
||||
Uint16 ASYNCLEN:1; // 14 Low Comparator Asynchronous Path Enable
|
||||
Uint16 COMPDACE:1; // 15 Comparator/DAC Enable
|
||||
};
|
||||
|
||||
union COMPCTL_REG {
|
||||
Uint16 all;
|
||||
struct COMPCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct COMPHYSCTL_BITS { // bits description
|
||||
Uint16 COMPHYS:4; // 3:0 Comparator Hysteresis Trim
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union COMPHYSCTL_REG {
|
||||
Uint16 all;
|
||||
struct COMPHYSCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct COMPSTS_BITS { // bits description
|
||||
Uint16 COMPHSTS:1; // 0 High Comparator Status
|
||||
Uint16 COMPHLATCH:1; // 1 High Comparator Latched Status
|
||||
Uint16 rsvd1:6; // 7:2 Reserved
|
||||
Uint16 COMPLSTS:1; // 8 Low Comparator Status
|
||||
Uint16 COMPLLATCH:1; // 9 Low Comparator Latched Status
|
||||
Uint16 rsvd2:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union COMPSTS_REG {
|
||||
Uint16 all;
|
||||
struct COMPSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct COMPSTSCLR_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 HLATCHCLR:1; // 1 High Comparator Latched Status Clear
|
||||
Uint16 HSYNCCLREN:1; // 2 High Comparator EPWMSYNCPER Clear Enable
|
||||
Uint16 rsvd2:6; // 8:3 Reserved
|
||||
Uint16 LLATCHCLR:1; // 9 Low Comparator Latched Status Clear
|
||||
Uint16 LSYNCCLREN:1; // 10 Low Comparator EPWMSYNCPER Clear Enable
|
||||
Uint16 rsvd3:5; // 15:11 Reserved
|
||||
};
|
||||
|
||||
union COMPSTSCLR_REG {
|
||||
Uint16 all;
|
||||
struct COMPSTSCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct COMPDACCTL_BITS { // bits description
|
||||
Uint16 DACSOURCE:1; // 0 DAC Source Control
|
||||
Uint16 RAMPSOURCE:4; // 4:1 Ramp Generator Source Control
|
||||
Uint16 SELREF:1; // 5 DAC Reference Select
|
||||
Uint16 RAMPLOADSEL:1; // 6 Ramp Load Select
|
||||
Uint16 SWLOADSEL:1; // 7 Software Load Select
|
||||
Uint16 BLANKSOURCE:4; // 11:8 EPWMBLANK Source Select
|
||||
Uint16 BLANKEN:1; // 12 EPWMBLANK Enable
|
||||
Uint16 rsvd1:1; // 13 Reserved
|
||||
Uint16 FREESOFT:2; // 15:14 Free/Soft Emulation Bits
|
||||
};
|
||||
|
||||
union COMPDACCTL_REG {
|
||||
Uint16 all;
|
||||
struct COMPDACCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct DACHVALS_BITS { // bits description
|
||||
Uint16 DACVAL:12; // 11:0 DAC Value Control
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACHVALS_REG {
|
||||
Uint16 all;
|
||||
struct DACHVALS_BITS bit;
|
||||
};
|
||||
|
||||
struct DACHVALA_BITS { // bits description
|
||||
Uint16 DACVAL:12; // 11:0 DAC Value Control
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACHVALA_REG {
|
||||
Uint16 all;
|
||||
struct DACHVALA_BITS bit;
|
||||
};
|
||||
|
||||
struct DACLVALS_BITS { // bits description
|
||||
Uint16 DACVAL:12; // 11:0 DAC Value Control
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACLVALS_REG {
|
||||
Uint16 all;
|
||||
struct DACLVALS_BITS bit;
|
||||
};
|
||||
|
||||
struct DACLVALA_BITS { // bits description
|
||||
Uint16 DACVAL:12; // 11:0 DAC Value Control
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACLVALA_REG {
|
||||
Uint16 all;
|
||||
struct DACLVALA_BITS bit;
|
||||
};
|
||||
|
||||
struct RAMPDLYA_BITS { // bits description
|
||||
Uint16 DELAY:13; // 12:0 Ramp Delay Value
|
||||
Uint16 rsvd1:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union RAMPDLYA_REG {
|
||||
Uint16 all;
|
||||
struct RAMPDLYA_BITS bit;
|
||||
};
|
||||
|
||||
struct RAMPDLYS_BITS { // bits description
|
||||
Uint16 DELAY:13; // 12:0 Ramp Delay Value
|
||||
Uint16 rsvd1:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union RAMPDLYS_REG {
|
||||
Uint16 all;
|
||||
struct RAMPDLYS_BITS bit;
|
||||
};
|
||||
|
||||
struct CTRIPLFILCTL_BITS { // bits description
|
||||
Uint16 rsvd1:4; // 3:0 Reserved
|
||||
Uint16 SAMPWIN:5; // 8:4 Sample Window
|
||||
Uint16 THRESH:5; // 13:9 Majority Voting Threshold
|
||||
Uint16 rsvd2:1; // 14 Reserved
|
||||
Uint16 FILINIT:1; // 15 Filter Initialization Bit
|
||||
};
|
||||
|
||||
union CTRIPLFILCTL_REG {
|
||||
Uint16 all;
|
||||
struct CTRIPLFILCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CTRIPLFILCLKCTL_BITS { // bits description
|
||||
Uint16 CLKPRESCALE:10; // 9:0 Sample Clock Prescale
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union CTRIPLFILCLKCTL_REG {
|
||||
Uint16 all;
|
||||
struct CTRIPLFILCLKCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CTRIPHFILCTL_BITS { // bits description
|
||||
Uint16 rsvd1:4; // 3:0 Reserved
|
||||
Uint16 SAMPWIN:5; // 8:4 Sample Window
|
||||
Uint16 THRESH:5; // 13:9 Majority Voting Threshold
|
||||
Uint16 rsvd2:1; // 14 Reserved
|
||||
Uint16 FILINIT:1; // 15 Filter Initialization Bit
|
||||
};
|
||||
|
||||
union CTRIPHFILCTL_REG {
|
||||
Uint16 all;
|
||||
struct CTRIPHFILCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CTRIPHFILCLKCTL_BITS { // bits description
|
||||
Uint16 CLKPRESCALE:10; // 9:0 Sample Clock Prescale
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union CTRIPHFILCLKCTL_REG {
|
||||
Uint16 all;
|
||||
struct CTRIPHFILCLKCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct COMPLOCK_BITS { // bits description
|
||||
Uint16 COMPCTL:1; // 0 COMPCTL Lock
|
||||
Uint16 COMPHYSCTL:1; // 1 COMPHYSCTL Lock
|
||||
Uint16 DACCTL:1; // 2 DACCTL Lock
|
||||
Uint16 CTRIP:1; // 3 CTRIP Lock
|
||||
Uint16 rsvd1:1; // 4 Reserved
|
||||
Uint16 rsvd2:11; // 15:5 Reserved
|
||||
};
|
||||
|
||||
union COMPLOCK_REG {
|
||||
Uint16 all;
|
||||
struct COMPLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct CMPSS_REGS {
|
||||
union COMPCTL_REG COMPCTL; // CMPSS Comparator Control Register
|
||||
union COMPHYSCTL_REG COMPHYSCTL; // CMPSS Comparator Hysteresis Control Register
|
||||
union COMPSTS_REG COMPSTS; // CMPSS Comparator Status Register
|
||||
union COMPSTSCLR_REG COMPSTSCLR; // CMPSS Comparator Status Clear Register
|
||||
union COMPDACCTL_REG COMPDACCTL; // CMPSS DAC Control Register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union DACHVALS_REG DACHVALS; // CMPSS High DAC Value Shadow Register
|
||||
union DACHVALA_REG DACHVALA; // CMPSS High DAC Value Active Register
|
||||
Uint16 RAMPMAXREFA; // CMPSS Ramp Max Reference Active Register
|
||||
Uint16 rsvd2; // Reserved
|
||||
Uint16 RAMPMAXREFS; // CMPSS Ramp Max Reference Shadow Register
|
||||
Uint16 rsvd3; // Reserved
|
||||
Uint16 RAMPDECVALA; // CMPSS Ramp Decrement Value Active Register
|
||||
Uint16 rsvd4; // Reserved
|
||||
Uint16 RAMPDECVALS; // CMPSS Ramp Decrement Value Shadow Register
|
||||
Uint16 rsvd5; // Reserved
|
||||
Uint16 RAMPSTS; // CMPSS Ramp Status Register
|
||||
Uint16 rsvd6; // Reserved
|
||||
union DACLVALS_REG DACLVALS; // CMPSS Low DAC Value Shadow Register
|
||||
union DACLVALA_REG DACLVALA; // CMPSS Low DAC Value Active Register
|
||||
union RAMPDLYA_REG RAMPDLYA; // CMPSS Ramp Delay Active Register
|
||||
union RAMPDLYS_REG RAMPDLYS; // CMPSS Ramp Delay Shadow Register
|
||||
union CTRIPLFILCTL_REG CTRIPLFILCTL; // CTRIPL Filter Control Register
|
||||
union CTRIPLFILCLKCTL_REG CTRIPLFILCLKCTL; // CTRIPL Filter Clock Control Register
|
||||
union CTRIPHFILCTL_REG CTRIPHFILCTL; // CTRIPH Filter Control Register
|
||||
union CTRIPHFILCLKCTL_REG CTRIPHFILCLKCTL; // CTRIPH Filter Clock Control Register
|
||||
union COMPLOCK_REG COMPLOCK; // CMPSS Lock Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CMPSS External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct CMPSS_REGS Cmpss1Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss2Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss3Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss4Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss5Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss6Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss7Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss8Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct CMPSS_REGS Cmpss1Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss2Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss3Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss4Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss5Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss6Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss7Regs;
|
||||
extern volatile struct CMPSS_REGS Cmpss8Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,141 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_cputimer.h
|
||||
//
|
||||
// TITLE: Definitions for the CPUTIMER registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_CPUTIMER_H
|
||||
#define F2838X_CPUTIMER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CPUTIMER Individual Register Bit Definitions:
|
||||
|
||||
struct TIM_BITS { // bits description
|
||||
Uint16 LSW:16; // 15:0 CPU-Timer Counter Registers
|
||||
Uint16 MSW:16; // 31:16 CPU-Timer Counter Registers High
|
||||
};
|
||||
|
||||
union TIM_REG {
|
||||
Uint32 all;
|
||||
struct TIM_BITS bit;
|
||||
};
|
||||
|
||||
struct PRD_BITS { // bits description
|
||||
Uint16 LSW:16; // 15:0 CPU-Timer Period Registers
|
||||
Uint16 MSW:16; // 31:16 CPU-Timer Period Registers High
|
||||
};
|
||||
|
||||
union PRD_REG {
|
||||
Uint32 all;
|
||||
struct PRD_BITS bit;
|
||||
};
|
||||
|
||||
struct TCR_BITS { // bits description
|
||||
Uint16 rsvd1:4; // 3:0 Reserved
|
||||
Uint16 TSS:1; // 4 CPU-Timer stop status bit.
|
||||
Uint16 TRB:1; // 5 Timer reload
|
||||
Uint16 rsvd2:4; // 9:6 Reserved
|
||||
Uint16 SOFT:1; // 10 Emulation modes
|
||||
Uint16 FREE:1; // 11 Emulation modes
|
||||
Uint16 rsvd3:2; // 13:12 Reserved
|
||||
Uint16 TIE:1; // 14 CPU-Timer Interrupt Enable.
|
||||
Uint16 TIF:1; // 15 CPU-Timer Interrupt Flag.
|
||||
};
|
||||
|
||||
union TCR_REG {
|
||||
Uint16 all;
|
||||
struct TCR_BITS bit;
|
||||
};
|
||||
|
||||
struct TPR_BITS { // bits description
|
||||
Uint16 TDDR:8; // 7:0 CPU-Timer Divide-Down.
|
||||
Uint16 PSC:8; // 15:8 CPU-Timer Prescale Counter.
|
||||
};
|
||||
|
||||
union TPR_REG {
|
||||
Uint16 all;
|
||||
struct TPR_BITS bit;
|
||||
};
|
||||
|
||||
struct TPRH_BITS { // bits description
|
||||
Uint16 TDDRH:8; // 7:0 CPU-Timer Divide-Down.
|
||||
Uint16 PSCH:8; // 15:8 CPU-Timer Prescale Counter.
|
||||
};
|
||||
|
||||
union TPRH_REG {
|
||||
Uint16 all;
|
||||
struct TPRH_BITS bit;
|
||||
};
|
||||
|
||||
struct CPUTIMER_REGS {
|
||||
union TIM_REG TIM; // CPU-Timer, Counter Register
|
||||
union PRD_REG PRD; // CPU-Timer, Period Register
|
||||
union TCR_REG TCR; // CPU-Timer, Control Register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union TPR_REG TPR; // CPU-Timer, Prescale Register
|
||||
union TPRH_REG TPRH; // CPU-Timer, Prescale Register High
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// CPUTIMER External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct CPUTIMER_REGS CpuTimer0Regs;
|
||||
extern volatile struct CPUTIMER_REGS CpuTimer1Regs;
|
||||
extern volatile struct CPUTIMER_REGS CpuTimer2Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct CPUTIMER_REGS CpuTimer0Regs;
|
||||
extern volatile struct CPUTIMER_REGS CpuTimer1Regs;
|
||||
extern volatile struct CPUTIMER_REGS CpuTimer2Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,163 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_dac.h
|
||||
//
|
||||
// TITLE: Definitions for the DAC registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_DAC_H
|
||||
#define F2838X_DAC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DAC Individual Register Bit Definitions:
|
||||
|
||||
struct DACREV_BITS { // bits description
|
||||
Uint16 REV:8; // 7:0 DAC Revision Register
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union DACREV_REG {
|
||||
Uint16 all;
|
||||
struct DACREV_BITS bit;
|
||||
};
|
||||
|
||||
struct DACCTL_BITS { // bits description
|
||||
Uint16 DACREFSEL:1; // 0 DAC Reference Select
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 LOADMODE:1; // 2 DACVALA Load Mode
|
||||
Uint16 rsvd2:1; // 3 Reserved
|
||||
Uint16 SYNCSEL:4; // 7:4 DAC EPWMSYNCPER Select
|
||||
Uint16 rsvd3:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union DACCTL_REG {
|
||||
Uint16 all;
|
||||
struct DACCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct DACVALA_BITS { // bits description
|
||||
Uint16 DACVALA:12; // 11:0 DAC Active Output Code
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACVALA_REG {
|
||||
Uint16 all;
|
||||
struct DACVALA_BITS bit;
|
||||
};
|
||||
|
||||
struct DACVALS_BITS { // bits description
|
||||
Uint16 DACVALS:12; // 11:0 DAC Shadow Output Code
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACVALS_REG {
|
||||
Uint16 all;
|
||||
struct DACVALS_BITS bit;
|
||||
};
|
||||
|
||||
struct DACOUTEN_BITS { // bits description
|
||||
Uint16 DACOUTEN:1; // 0 DAC Output Code
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union DACOUTEN_REG {
|
||||
Uint16 all;
|
||||
struct DACOUTEN_BITS bit;
|
||||
};
|
||||
|
||||
struct DACLOCK_BITS { // bits description
|
||||
Uint16 DACCTL:1; // 0 DAC Control Register Lock
|
||||
Uint16 DACVAL:1; // 1 DAC Value Register Lock
|
||||
Uint16 DACOUTEN:1; // 2 DAC Output Enable Register Lock
|
||||
Uint16 rsvd1:9; // 11:3 Reserved
|
||||
Uint16 KEY:4; // 15:12 DAC Register Lock Key
|
||||
};
|
||||
|
||||
union DACLOCK_REG {
|
||||
Uint16 all;
|
||||
struct DACLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct DACTRIM_BITS { // bits description
|
||||
Uint16 OFFSET_TRIM:8; // 7:0 DAC Offset Trim
|
||||
Uint16 rsvd1:4; // 11:8 Reserved
|
||||
Uint16 rsvd2:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union DACTRIM_REG {
|
||||
Uint16 all;
|
||||
struct DACTRIM_BITS bit;
|
||||
};
|
||||
|
||||
struct DAC_REGS {
|
||||
union DACREV_REG DACREV; // DAC Revision Register
|
||||
union DACCTL_REG DACCTL; // DAC Control Register
|
||||
union DACVALA_REG DACVALA; // DAC Value Register - Active
|
||||
union DACVALS_REG DACVALS; // DAC Value Register - Shadow
|
||||
union DACOUTEN_REG DACOUTEN; // DAC Output Enable Register
|
||||
union DACLOCK_REG DACLOCK; // DAC Lock Register
|
||||
union DACTRIM_REG DACTRIM; // DAC Trim Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DAC External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct DAC_REGS DacaRegs;
|
||||
extern volatile struct DAC_REGS DacbRegs;
|
||||
extern volatile struct DAC_REGS DaccRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct DAC_REGS DacaRegs;
|
||||
extern volatile struct DAC_REGS DacbRegs;
|
||||
extern volatile struct DAC_REGS DaccRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,193 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_dcc.h
|
||||
//
|
||||
// TITLE: Definitions for the DCC registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_DCC_H
|
||||
#define F2838X_DCC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DCC Individual Register Bit Definitions:
|
||||
|
||||
struct DCCGCTRL_BITS { // bits description
|
||||
bp_16 DCCENA:4; // 3:0 DCC Enable
|
||||
bp_16 ERRENA:4; // 7:4 Error Enable
|
||||
bp_16 SINGLESHOT:4; // 11:8 Single-Shot Enable
|
||||
bp_16 DONEENA:4; // 15:12 DONE Enable
|
||||
bp_32 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DCCGCTRL_REG {
|
||||
bp_32 all;
|
||||
struct DCCGCTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCCNTSEED0_BITS { // bits description
|
||||
bp_32 COUNTSEED0:20; // 19:0 Seed Value for Counter 0
|
||||
bp_32 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union DCCCNTSEED0_REG {
|
||||
bp_32 all;
|
||||
struct DCCCNTSEED0_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCVALIDSEED0_BITS { // bits description
|
||||
bp_16 VALIDSEED:16; // 15:0 Seed Value for Valid Duration Counter 0
|
||||
bp_32 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DCCVALIDSEED0_REG {
|
||||
bp_32 all;
|
||||
struct DCCVALIDSEED0_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCCNTSEED1_BITS { // bits description
|
||||
bp_32 COUNTSEED1:20; // 19:0 Seed Value for Counter 1
|
||||
bp_32 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union DCCCNTSEED1_REG {
|
||||
bp_32 all;
|
||||
struct DCCCNTSEED1_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCSTATUS_BITS { // bits description
|
||||
bp_16 ERR:1; // 0 Error Flag
|
||||
bp_16 DONE:1; // 1 Single-Shot Done Flag
|
||||
bp_16 rsvd1:14; // 15:2 Reserved
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DCCSTATUS_REG {
|
||||
bp_32 all;
|
||||
struct DCCSTATUS_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCCNT0_BITS { // bits description
|
||||
bp_32 COUNT0:20; // 19:0 Current Value of Counter 0
|
||||
bp_32 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union DCCCNT0_REG {
|
||||
bp_32 all;
|
||||
struct DCCCNT0_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCVALID0_BITS { // bits description
|
||||
bp_16 VALID0:16; // 15:0 Current Value of Valid 0
|
||||
bp_32 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DCCVALID0_REG {
|
||||
bp_32 all;
|
||||
struct DCCVALID0_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCCNT1_BITS { // bits description
|
||||
bp_32 COUNT1:20; // 19:0 Current Value of Counter 1
|
||||
bp_32 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union DCCCNT1_REG {
|
||||
bp_32 all;
|
||||
struct DCCCNT1_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCCLKSRC1_BITS { // bits description
|
||||
bp_16 CLKSRC1:5; // 4:0 Clock Source Select for Counter 1
|
||||
bp_16 rsvd1:7; // 11:5 Reserved
|
||||
bp_16 KEY:4; // 15:12 Enables or Disables Clock Source Selection for COUNT1
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DCCCLKSRC1_REG {
|
||||
bp_32 all;
|
||||
struct DCCCLKSRC1_BITS bit;
|
||||
};
|
||||
|
||||
struct DCCCLKSRC0_BITS { // bits description
|
||||
bp_16 CLKSRC0:4; // 3:0 Clock Source Select for Counter 0
|
||||
bp_16 rsvd1:8; // 11:4 Reserved
|
||||
bp_16 KEY:4; // 15:12 Enables or Disables Clock Source Selection for COUNT0
|
||||
bp_32 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DCCCLKSRC0_REG {
|
||||
bp_32 all;
|
||||
struct DCCCLKSRC0_BITS bit;
|
||||
};
|
||||
|
||||
struct DCC_REGS {
|
||||
union DCCGCTRL_REG DCCGCTRL; // Starts / stops the counters. Clears the error signal.
|
||||
uint32_t rsvd1[2]; // Reserved
|
||||
union DCCCNTSEED0_REG DCCCNTSEED0; // Seed value for the counter attached to Clock Source 0.
|
||||
union DCCVALIDSEED0_REG DCCVALIDSEED0; // Seed value for the timeout counter attached to Clock Source 0.
|
||||
union DCCCNTSEED1_REG DCCCNTSEED1; // Seed value for the counter attached to Clock Source 1.
|
||||
union DCCSTATUS_REG DCCSTATUS; // Specifies the status of the DCC Module.
|
||||
union DCCCNT0_REG DCCCNT0; // Value of the counter attached to Clock Source 0.
|
||||
union DCCVALID0_REG DCCVALID0; // Value of the valid counter attached to Clock Source 0.
|
||||
union DCCCNT1_REG DCCCNT1; // Value of the counter attached to Clock Source 1.
|
||||
union DCCCLKSRC1_REG DCCCLKSRC1; // Selects the clock source for Counter 1.
|
||||
union DCCCLKSRC0_REG DCCCLKSRC0; // Selects the clock source for Counter 0.
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DCC External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct DCC_REGS Dcc0Regs;
|
||||
extern volatile struct DCC_REGS Dcc1Regs;
|
||||
extern volatile struct DCC_REGS Dcc2Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,932 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_dcsm.h
|
||||
//
|
||||
// TITLE: Definitions for the DCSM registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_DCSM_H
|
||||
#define F2838X_DCSM_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DCSM Individual Register Bit Definitions:
|
||||
|
||||
struct DCSM_Z1_OTP {
|
||||
Uint32 Z1OTP_LINKPOINTER1; // Zone 1 Link Pointer1
|
||||
Uint32 Z1OTP_LINKPOINTER2; // Zone 1 Link Pointer2
|
||||
Uint32 Z1OTP_LINKPOINTER3; // Zone 1 Link Pointer3
|
||||
Uint32 Z1OTP_JLM_ENABLE; // Zone 1 JTAGLOCK Enable Register
|
||||
Uint32 Z1OTP_GPREG1; // Zone 1 General Purpose Register 1
|
||||
Uint32 Z1OTP_GPREG2; // Zone 1 General Purpose Register 2
|
||||
Uint32 Z1OTP_GPREG3; // Zone 1 General Purpose Register 3
|
||||
Uint32 Z1OTP_GPREG4; // Zone 1 General Purpose Register 4
|
||||
Uint32 Z1OTP_PSWDLOCK; // Secure Password Lock
|
||||
Uint32 Z1OTP_CRCLOCK; // Secure CRC Lock
|
||||
Uint32 Z1OTP_JTAGPSWDH0; // JTAG Lock Permanent Password 0
|
||||
Uint32 Z1OTP_JTAGPSWDH1; // JTAG Lock Permanent Password 1
|
||||
Uint32 Z1OTP_CMACKEY0; // Secure Boot CMAC Key 0
|
||||
Uint32 Z1OTP_CMACKEY1; // Secure Boot CMAC Key 1
|
||||
Uint32 Z1OTP_CMACKEY2; // Secure Boot CMAC Key 2
|
||||
Uint32 Z1OTP_CMACKEY3; // Secure Boot CMAC Key 3
|
||||
};
|
||||
|
||||
struct DCSM_Z2_OTP {
|
||||
Uint32 Z2OTP_LINKPOINTER1; // Zone 2 Link Pointer1
|
||||
Uint32 Z2OTP_LINKPOINTER2; // Zone 2 Link Pointer2
|
||||
Uint32 Z2OTP_LINKPOINTER3; // Zone 2 Link Pointer3
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
Uint32 Z2OTP_GPREG1; // Zone 2 General Purpose Register 1
|
||||
Uint32 Z2OTP_GPREG2; // Zone 2 General Purpose Register 2
|
||||
Uint32 Z2OTP_GPREG3; // Zone 2 General Purpose Register 3
|
||||
Uint32 Z2OTP_GPREG4; // Zone 2 General Purpose Register 4
|
||||
Uint32 Z2OTP_PSWDLOCK; // Secure Password Lock
|
||||
Uint32 Z2OTP_CRCLOCK; // Secure CRC Lock
|
||||
};
|
||||
|
||||
struct Z1_LINKPOINTER_BITS { // bits description
|
||||
Uint16 LINKPOINTER:14; // 13:0 Zone1 LINK Pointer
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z1_LINKPOINTER_REG {
|
||||
Uint32 all;
|
||||
struct Z1_LINKPOINTER_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_OTPSECLOCK_BITS { // bits description
|
||||
Uint16 JTAGLOCK:1; // 0 JTAG Lock Status
|
||||
Uint16 rsvd1:3; // 3:1 Reserved
|
||||
Uint16 PSWDLOCK:4; // 7:4 Zone1 Password Lock.
|
||||
Uint16 CRCLOCK:4; // 11:8 Zone1 CRC Lock.
|
||||
Uint16 rsvd2:4; // 15:12 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z1_OTPSECLOCK_REG {
|
||||
Uint32 all;
|
||||
struct Z1_OTPSECLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_JLM_ENABLE_BITS { // bits description
|
||||
Uint16 Z1_JLM_ENABLE:4; // 3:0 Zone1 JLM_ENABLE register.
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z1_JLM_ENABLE_REG {
|
||||
Uint32 all;
|
||||
struct Z1_JLM_ENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_LINKPOINTERERR_BITS { // bits description
|
||||
Uint16 Z1_LINKPOINTERERR:14; // 13:0 Error to Resolve Z1 Link pointer from OTP loaded values
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z1_LINKPOINTERERR_REG {
|
||||
Uint32 all;
|
||||
struct Z1_LINKPOINTERERR_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_CR_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 rsvd3:1; // 2 Reserved
|
||||
Uint16 rsvd4:1; // 3 Reserved
|
||||
Uint16 rsvd5:12; // 15:4 Reserved
|
||||
Uint16 rsvd6:3; // 18:16 Reserved
|
||||
Uint16 ALLZERO:1; // 19 CSMPSWD All Zeros
|
||||
Uint16 ALLONE:1; // 20 CSMPSWD All Ones
|
||||
Uint16 UNSECURE:1; // 21 CSMPSWD Match CSMKEY
|
||||
Uint16 ARMED:1; // 22 CSM Passwords Read Status
|
||||
Uint16 rsvd7:1; // 23 Reserved
|
||||
Uint16 rsvd8:7; // 30:24 Reserved
|
||||
Uint16 FORCESEC:1; // 31 Force Secure
|
||||
};
|
||||
|
||||
union Z1_CR_REG {
|
||||
Uint32 all;
|
||||
struct Z1_CR_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_GRABSECT1R_BITS { // bits description
|
||||
Uint16 GRAB_SECT0:2; // 1:0 Grab Flash Sector 0 in CPU1 BANK
|
||||
Uint16 GRAB_SECT1:2; // 3:2 Grab Flash Sector 1 in CPU1 BANK
|
||||
Uint16 GRAB_SECT2:2; // 5:4 Grab Flash Sector 2 in CPU1 BANK
|
||||
Uint16 GRAB_SECT3:2; // 7:6 Grab Flash Sector 3 in CPU1 BANK
|
||||
Uint16 GRAB_SECT4:2; // 9:8 Grab Flash Sector 4 in CPU1 BANK
|
||||
Uint16 GRAB_SECT5:2; // 11:10 Grab Flash Sector 5 in CPU1 BANK
|
||||
Uint16 GRAB_SECT6:2; // 13:12 Grab Flash Sector 6 in CPU1 BANK
|
||||
Uint16 GRAB_SECT7:2; // 15:14 Grab Flash Sector 7 in CPU1 BANK
|
||||
Uint16 GRAB_SECT8:2; // 17:16 Grab Flash Sector 8 in CPU1 BANK
|
||||
Uint16 GRAB_SECT9:2; // 19:18 Grab Flash Sector 9 in CPU1 BANK
|
||||
Uint16 GRAB_SECT10:2; // 21:20 Grab Flash Sector 10 in CPU1 BANK
|
||||
Uint16 GRAB_SECT11:2; // 23:22 Grab Flash Sector 11 in CPU1 BANK
|
||||
Uint16 GRAB_SECT12:2; // 25:24 Grab Flash Sector 12 in CPU1 BANK
|
||||
Uint16 GRAB_SECT13:2; // 27:26 Grab Flash Sector 13 in CPU1 BANK
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union Z1_GRABSECT1R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_GRABSECT1R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_GRABSECT2R_BITS { // bits description
|
||||
Uint16 GRAB_SECT0:2; // 1:0 Grab Flash Sector 0 in CM BANK
|
||||
Uint16 GRAB_SECT1:2; // 3:2 Grab Flash Sector 1 in CM BANK
|
||||
Uint16 GRAB_SECT2:2; // 5:4 Grab Flash Sector 2 in CM BANK
|
||||
Uint16 GRAB_SECT3:2; // 7:6 Grab Flash Sector 3 in CM BANK
|
||||
Uint16 GRAB_SECT4:2; // 9:8 Grab Flash Sector 4 in CM BANK
|
||||
Uint16 GRAB_SECT5:2; // 11:10 Grab Flash Sector 5 in CM BANK
|
||||
Uint16 GRAB_SECT6:2; // 13:12 Grab Flash Sector 6 in CM BANK
|
||||
Uint16 GRAB_SECT7:2; // 15:14 Grab Flash Sector 7 in CM BANK
|
||||
Uint16 GRAB_SECT8:2; // 17:16 Grab Flash Sector 8 in CM BANK
|
||||
Uint16 GRAB_SECT9:2; // 19:18 Grab Flash Sector 9 in CM BANK
|
||||
Uint16 GRAB_SECT10:2; // 21:20 Grab Flash Sector 10 in CM BANK
|
||||
Uint16 GRAB_SECT11:2; // 23:22 Grab Flash Sector 11 in CM BANK
|
||||
Uint16 GRAB_SECT12:2; // 25:24 Grab Flash Sector 12 in CM BANK
|
||||
Uint16 GRAB_SECT13:2; // 27:26 Grab Flash Sector 13 in CM BANK
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union Z1_GRABSECT2R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_GRABSECT2R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_GRABSECT3R_BITS { // bits description
|
||||
Uint16 GRAB_SECT0:2; // 1:0 Grab Flash Sector 0 in CPU2 BANK
|
||||
Uint16 GRAB_SECT1:2; // 3:2 Grab Flash Sector 1 in CPU2 BANK
|
||||
Uint16 GRAB_SECT2:2; // 5:4 Grab Flash Sector 2 in CPU2 BANK
|
||||
Uint16 GRAB_SECT3:2; // 7:6 Grab Flash Sector 3 in CPU2 BANK
|
||||
Uint16 GRAB_SECT4:2; // 9:8 Grab Flash Sector 4 in CPU2 BANK
|
||||
Uint16 GRAB_SECT5:2; // 11:10 Grab Flash Sector 5 in CPU2 BANK
|
||||
Uint16 GRAB_SECT6:2; // 13:12 Grab Flash Sector 6 in CPU2 BANK
|
||||
Uint16 GRAB_SECT7:2; // 15:14 Grab Flash Sector 7 in CPU2 BANK
|
||||
Uint16 GRAB_SECT8:2; // 17:16 Grab Flash Sector 8 in CPU2 BANK
|
||||
Uint16 GRAB_SECT9:2; // 19:18 Grab Flash Sector 9 in CPU2 BANK
|
||||
Uint16 GRAB_SECT10:2; // 21:20 Grab Flash Sector 10 in CPU2 BANK
|
||||
Uint16 GRAB_SECT11:2; // 23:22 Grab Flash Sector 11 in CPU2 BANK
|
||||
Uint16 GRAB_SECT12:2; // 25:24 Grab Flash Sector 12 in CPU2 BANK
|
||||
Uint16 GRAB_SECT13:2; // 27:26 Grab Flash Sector 13 in CPU2 BANK
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union Z1_GRABSECT3R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_GRABSECT3R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_GRABRAM1R_BITS { // bits description
|
||||
Uint16 GRAB_RAM0:2; // 1:0 Grab RAM CPU1.LS0
|
||||
Uint16 GRAB_RAM1:2; // 3:2 Grab RAM CPU1.LS1
|
||||
Uint16 GRAB_RAM2:2; // 5:4 Grab RAM CPU1.LS2
|
||||
Uint16 GRAB_RAM3:2; // 7:6 Grab RAM CPU1.LS3
|
||||
Uint16 GRAB_RAM4:2; // 9:8 Grab RAM CPU1.LS4
|
||||
Uint16 GRAB_RAM5:2; // 11:10 Grab RAM CPU1.LS5
|
||||
Uint16 GRAB_RAM6:2; // 13:12 Grab RAM CPU1.LS6
|
||||
Uint16 GRAB_RAM7:2; // 15:14 Grab RAM CPU1.LS7
|
||||
Uint16 GRAB_RAM8:2; // 17:16 Grab RAM CPU1.D0
|
||||
Uint16 GRAB_RAM9:2; // 19:18 Grab RAM CPU1.D1
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union Z1_GRABRAM1R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_GRABRAM1R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_GRABRAM2R_BITS { // bits description
|
||||
Uint16 GRAB_RAM0:2; // 1:0 Grab RAM CM.C0
|
||||
Uint16 GRAB_RAM1:2; // 3:2 Grab RAM CM.C1
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 GRAB_RAM4:2; // 9:8 Grab RAM CPU1TOCM MSGRAM0_L
|
||||
Uint16 GRAB_RAM5:2; // 11:10 Grab RAM CPU1TOCM MSGRAM0_H
|
||||
Uint16 GRAB_RAM6:2; // 13:12 Grab RAM CMTOCPU1 MSGRAM0_L
|
||||
Uint16 GRAB_RAM7:2; // 15:14 Grab RAM CMTOCPU1 MSGRAM0_H
|
||||
Uint16 GRAB_RAM8:2; // 17:16 Grab RAM CPU2TOCM MSGRAM0_L
|
||||
Uint16 GRAB_RAM9:2; // 19:18 Grab RAM CPU2TOCM MSGRAM0_H
|
||||
Uint16 GRAB_RAM10:2; // 21:20 Grab RAM CMTOCPU2 MSGRAM0_L
|
||||
Uint16 GRAB_RAM11:2; // 23:22 Grab RAM CMTOCPU2 MSGRAM0_H
|
||||
Uint16 GRAB_RAM12:2; // 25:24 Grab RAM CPU1TOCPU2 MSGRAM0_L
|
||||
Uint16 GRAB_RAM13:2; // 27:26 Grab RAM CPU1TOCPU2 MSGRAM0_H
|
||||
Uint16 GRAB_RAM14:2; // 29:28 Grab RAM CPU2TOCPU1 MSGRAM0_L
|
||||
Uint16 GRAB_RAM15:2; // 31:30 Grab RAM CPU2TOCPU1 MSGRAM0_H
|
||||
};
|
||||
|
||||
union Z1_GRABRAM2R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_GRABRAM2R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_GRABRAM3R_BITS { // bits description
|
||||
Uint16 GRAB_RAM0:2; // 1:0 Grab RAM CPU2.LS0
|
||||
Uint16 GRAB_RAM1:2; // 3:2 Grab RAM CPU2.LS1
|
||||
Uint16 GRAB_RAM2:2; // 5:4 Grab RAM CPU2.LS2
|
||||
Uint16 GRAB_RAM3:2; // 7:6 Grab RAM CPU2.LS3
|
||||
Uint16 GRAB_RAM4:2; // 9:8 Grab RAM CPU2.LS4
|
||||
Uint16 GRAB_RAM5:2; // 11:10 Grab RAM CPU2.LS5
|
||||
Uint16 GRAB_RAM6:2; // 13:12 Grab RAM CPU2.LS6
|
||||
Uint16 GRAB_RAM7:2; // 15:14 Grab RAM CPU2.LS7
|
||||
Uint16 GRAB_RAM8:2; // 17:16 Grab RAM CPU2.D0
|
||||
Uint16 GRAB_RAM9:2; // 19:18 Grab RAM CPU2.D1
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union Z1_GRABRAM3R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_GRABRAM3R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_EXEONLYSECT1R_BITS { // bits description
|
||||
Uint16 EXEONLY_CPU1_SECT0:1; // 0 Execute-Only Flash Sector 0 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT1:1; // 1 Execute-Only Flash Sector 1 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT2:1; // 2 Execute-Only Flash Sector 2 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT3:1; // 3 Execute-Only Flash Sector 3 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT4:1; // 4 Execute-Only Flash Sector 4 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT5:1; // 5 Execute-Only Flash Sector 5 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT6:1; // 6 Execute-Only Flash Sector 6 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT7:1; // 7 Execute-Only Flash Sector 7 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT8:1; // 8 Execute-Only Flash Sector 8 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT9:1; // 9 Execute-Only Flash Sector 9 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT10:1; // 10 Execute-Only Flash Sector 10 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT11:1; // 11 Execute-Only Flash Sector 11 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT12:1; // 12 Execute-Only Flash Sector 12 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT13:1; // 13 Execute-Only Flash Sector 13 in flash CPU1 BANK
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 EXEONLY_CM_SECT0:1; // 16 Execute-Only Flash Sector 0 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT1:1; // 17 Execute-Only Flash Sector 1 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT2:1; // 18 Execute-Only Flash Sector 2 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT3:1; // 19 Execute-Only Flash Sector 3 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT4:1; // 20 Execute-Only Flash Sector 4 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT5:1; // 21 Execute-Only Flash Sector 5 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT6:1; // 22 Execute-Only Flash Sector 6 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT7:1; // 23 Execute-Only Flash Sector 7 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT8:1; // 24 Execute-Only Flash Sector 8 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT9:1; // 25 Execute-Only Flash Sector 9 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT10:1; // 26 Execute-Only Flash Sector 10 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT11:1; // 27 Execute-Only Flash Sector 11 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT12:1; // 28 Execute-Only Flash Sector 12 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT13:1; // 29 Execute-Only Flash Sector 13 in flash CM BANK
|
||||
Uint16 rsvd2:2; // 31:30 Reserved
|
||||
};
|
||||
|
||||
union Z1_EXEONLYSECT1R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_EXEONLYSECT1R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_EXEONLYSECT2R_BITS { // bits description
|
||||
Uint16 EXEONLY_CPU2_SECT0:1; // 0 Execute-Only Flash Sector 0 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT1:1; // 1 Execute-Only Flash Sector 1 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT2:1; // 2 Execute-Only Flash Sector 2 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT3:1; // 3 Execute-Only Flash Sector 3 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT4:1; // 4 Execute-Only Flash Sector 4 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT5:1; // 5 Execute-Only Flash Sector 5 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT6:1; // 6 Execute-Only Flash Sector 6 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT7:1; // 7 Execute-Only Flash Sector 7 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT8:1; // 8 Execute-Only Flash Sector 8 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT9:1; // 9 Execute-Only Flash Sector 9 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT10:1; // 10 Execute-Only Flash Sector 10 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT11:1; // 11 Execute-Only Flash Sector 11 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT12:1; // 12 Execute-Only Flash Sector 12 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT13:1; // 13 Execute-Only Flash Sector 13 in flash CPU2 BANK
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z1_EXEONLYSECT2R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_EXEONLYSECT2R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z1_EXEONLYRAM1R_BITS { // bits description
|
||||
Uint16 EXEONLY_RAM0:1; // 0 Execute-Only RAM CPU1.LS0
|
||||
Uint16 EXEONLY_RAM1:1; // 1 Execute-Only RAM CPU1.LS1
|
||||
Uint16 EXEONLY_RAM2:1; // 2 Execute-Only RAM CPU1.LS2
|
||||
Uint16 EXEONLY_RAM3:1; // 3 Execute-Only RAM CPU1.LS3
|
||||
Uint16 EXEONLY_RAM4:1; // 4 Execute-Only RAM CPU1.LS4
|
||||
Uint16 EXEONLY_RAM5:1; // 5 Execute-Only RAM CPU1.LS5
|
||||
Uint16 EXEONLY_RAM6:1; // 6 Execute-Only RAM CPU1.LS6
|
||||
Uint16 EXEONLY_RAM7:1; // 7 Execute-Only RAM CPU1.LS7
|
||||
Uint16 EXEONLY_RAM8:1; // 8 Execute-Only RAM CPU1.D0
|
||||
Uint16 EXEONLY_RAM9:1; // 9 Execute-Only RAM CPU1.D1
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
Uint16 EXEONLY_RAM16:1; // 16 Execute-Only RAM on CM.C0
|
||||
Uint16 EXEONLY_RAM17:1; // 17 Execute-Only RAM on CM.C1
|
||||
Uint16 rsvd2:4; // 21:18 Reserved
|
||||
Uint16 EXEONLY_RAM22:1; // 22 Execute-Only RAM CPU2.D1
|
||||
Uint16 EXEONLY_RAM23:1; // 23 Execute-Only RAM CPU2.D0
|
||||
Uint16 EXEONLY_RAM24:1; // 24 Execute-Only RAM CPU2.LS7
|
||||
Uint16 EXEONLY_RAM25:1; // 25 Execute-Only RAM CPU2.LS6
|
||||
Uint16 EXEONLY_RAM26:1; // 26 Execute-Only RAM CPU2.LS5
|
||||
Uint16 EXEONLY_RAM27:1; // 27 Execute-Only RAM CPU2.LS4
|
||||
Uint16 EXEONLY_RAM28:1; // 28 Execute-Only RAM CPU2.LS3
|
||||
Uint16 EXEONLY_RAM29:1; // 29 Execute-Only RAM CPU2.LS2
|
||||
Uint16 EXEONLY_RAM30:1; // 30 Execute-Only RAM CPU2.LS1
|
||||
Uint16 EXEONLY_RAM31:1; // 31 Execute-Only RAM CPU2.LS0
|
||||
};
|
||||
|
||||
union Z1_EXEONLYRAM1R_REG {
|
||||
Uint32 all;
|
||||
struct Z1_EXEONLYRAM1R_BITS bit;
|
||||
};
|
||||
|
||||
struct DCSM_Z1_REGS {
|
||||
union Z1_LINKPOINTER_REG Z1_LINKPOINTER; // Zone 1 Link Pointer
|
||||
union Z1_OTPSECLOCK_REG Z1_OTPSECLOCK; // Zone 1 OTP Secure Lock
|
||||
union Z1_JLM_ENABLE_REG Z1_JLM_ENABLE; // Zone 1 JTAGLOCK Enable Register
|
||||
union Z1_LINKPOINTERERR_REG Z1_LINKPOINTERERR; // Link Pointer Error
|
||||
Uint32 Z1_GPREG1; // Zone 1 General Purpose Register-1
|
||||
Uint32 Z1_GPREG2; // Zone 1 General Purpose Register-2
|
||||
Uint32 Z1_GPREG3; // Zone 1 General Purpose Register-3
|
||||
Uint32 Z1_GPREG4; // Zone 1 General Purpose Register-4
|
||||
Uint32 Z1_CSMKEY0; // Zone 1 CSM Key 0
|
||||
Uint32 Z1_CSMKEY1; // Zone 1 CSM Key 1
|
||||
Uint32 Z1_CSMKEY2; // Zone 1 CSM Key 2
|
||||
Uint32 Z1_CSMKEY3; // Zone 1 CSM Key 3
|
||||
union Z1_CR_REG Z1_CR; // Zone 1 CSM Control Register
|
||||
union Z1_GRABSECT1R_REG Z1_GRABSECT1R; // Zone 1 Grab Flash Status Register 1
|
||||
union Z1_GRABSECT2R_REG Z1_GRABSECT2R; // Zone 1 Grab Flash Status Register 2
|
||||
union Z1_GRABSECT3R_REG Z1_GRABSECT3R; // Zone 1 Grab Flash Status Register 3
|
||||
union Z1_GRABRAM1R_REG Z1_GRABRAM1R; // Zone 1 Grab RAM Status Register 1
|
||||
union Z1_GRABRAM2R_REG Z1_GRABRAM2R; // Zone 1 Grab RAM Status Register 2
|
||||
union Z1_GRABRAM3R_REG Z1_GRABRAM3R; // Zone 1 Grab RAM Status Register 3
|
||||
union Z1_EXEONLYSECT1R_REG Z1_EXEONLYSECT1R; // Zone 1 Execute Only Flash Status Register 1
|
||||
union Z1_EXEONLYSECT2R_REG Z1_EXEONLYSECT2R; // Zone 1 Execute Only Flash Status Register 2
|
||||
union Z1_EXEONLYRAM1R_REG Z1_EXEONLYRAM1R; // Zone 1 Execute Only RAM Status Register 1
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
Uint32 Z1_JTAGKEY0; // JTAG Unlock Key Register 0
|
||||
Uint32 Z1_JTAGKEY1; // JTAG Unlock Key Register 1
|
||||
Uint32 Z1_JTAGKEY2; // JTAG Unlock Key Register 2
|
||||
Uint32 Z1_JTAGKEY3; // JTAG Unlock Key Register 3
|
||||
Uint32 Z1_CMACKEY0; // Secure Boot CMAC Key Status Register 0
|
||||
Uint32 Z1_CMACKEY1; // Secure Boot CMAC Key Status Register 1
|
||||
Uint32 Z1_CMACKEY2; // Secure Boot CMAC Key Status Register 2
|
||||
Uint32 Z1_CMACKEY3; // Secure Boot CMAC Key Status Register 3
|
||||
};
|
||||
|
||||
struct Z2_LINKPOINTER_BITS { // bits description
|
||||
Uint16 LINKPOINTER:14; // 13:0 Zone2 LINK Pointer
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z2_LINKPOINTER_REG {
|
||||
Uint32 all;
|
||||
struct Z2_LINKPOINTER_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_OTPSECLOCK_BITS { // bits description
|
||||
Uint16 JTAGLOCK:1; // 0 JTAG Lock Status
|
||||
Uint16 rsvd1:3; // 3:1 Reserved
|
||||
Uint16 PSWDLOCK:4; // 7:4 Zone2 Password Lock.
|
||||
Uint16 CRCLOCK:4; // 11:8 Zone2 CRC Lock.
|
||||
Uint16 rsvd2:4; // 15:12 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z2_OTPSECLOCK_REG {
|
||||
Uint32 all;
|
||||
struct Z2_OTPSECLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_LINKPOINTERERR_BITS { // bits description
|
||||
Uint16 Z2_LINKPOINTERERR:14; // 13:0 Error to Resolve Z2 Link pointer from OTP loaded values
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z2_LINKPOINTERERR_REG {
|
||||
Uint32 all;
|
||||
struct Z2_LINKPOINTERERR_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_CR_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 rsvd3:1; // 2 Reserved
|
||||
Uint16 rsvd4:1; // 3 Reserved
|
||||
Uint16 rsvd5:12; // 15:4 Reserved
|
||||
Uint16 rsvd6:3; // 18:16 Reserved
|
||||
Uint16 ALLZERO:1; // 19 CSMPSWD All Zeros
|
||||
Uint16 ALLONE:1; // 20 CSMPSWD All Ones
|
||||
Uint16 UNSECURE:1; // 21 CSMPSWD Match CSMKEY
|
||||
Uint16 ARMED:1; // 22 CSM Passwords Read Status
|
||||
Uint16 rsvd7:1; // 23 Reserved
|
||||
Uint16 rsvd8:7; // 30:24 Reserved
|
||||
Uint16 FORCESEC:1; // 31 Force Secure
|
||||
};
|
||||
|
||||
union Z2_CR_REG {
|
||||
Uint32 all;
|
||||
struct Z2_CR_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_GRABSECT1R_BITS { // bits description
|
||||
Uint16 GRAB_SECT0:2; // 1:0 Grab Flash Sector 0 in CPU1 BANK
|
||||
Uint16 GRAB_SECT1:2; // 3:2 Grab Flash Sector 1 in CPU1 BANK
|
||||
Uint16 GRAB_SECT2:2; // 5:4 Grab Flash Sector 2 in CPU1 BANK
|
||||
Uint16 GRAB_SECT3:2; // 7:6 Grab Flash Sector 3 in CPU1 BANK
|
||||
Uint16 GRAB_SECT4:2; // 9:8 Grab Flash Sector 4 in CPU1 BANK
|
||||
Uint16 GRAB_SECT5:2; // 11:10 Grab Flash Sector 5 in CPU1 BANK
|
||||
Uint16 GRAB_SECT6:2; // 13:12 Grab Flash Sector 6 in CPU1 BANK
|
||||
Uint16 GRAB_SECT7:2; // 15:14 Grab Flash Sector 7 in CPU1 BANK
|
||||
Uint16 GRAB_SECT8:2; // 17:16 Grab Flash Sector 8 in CPU1 BANK
|
||||
Uint16 GRAB_SECT9:2; // 19:18 Grab Flash Sector 9 in CPU1 BANK
|
||||
Uint16 GRAB_SECT10:2; // 21:20 Grab Flash Sector 10 in CPU1 BANK
|
||||
Uint16 GRAB_SECT11:2; // 23:22 Grab Flash Sector 11 in CPU1 BANK
|
||||
Uint16 GRAB_SECT12:2; // 25:24 Grab Flash Sector 12 in CPU1 BANK
|
||||
Uint16 GRAB_SECT13:2; // 27:26 Grab Flash Sector 13 in CPU1 BANK
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union Z2_GRABSECT1R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_GRABSECT1R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_GRABSECT2R_BITS { // bits description
|
||||
Uint16 GRAB_SECT0:2; // 1:0 Grab Flash Sector 0 in CM BANK
|
||||
Uint16 GRAB_SECT1:2; // 3:2 Grab Flash Sector 1 in CM BANK
|
||||
Uint16 GRAB_SECT2:2; // 5:4 Grab Flash Sector 2 in CM BANK
|
||||
Uint16 GRAB_SECT3:2; // 7:6 Grab Flash Sector 3 in CM BANK
|
||||
Uint16 GRAB_SECT4:2; // 9:8 Grab Flash Sector 4 in CM BANK
|
||||
Uint16 GRAB_SECT5:2; // 11:10 Grab Flash Sector 5 in CM BANK
|
||||
Uint16 GRAB_SECT6:2; // 13:12 Grab Flash Sector 6 in CM BANK
|
||||
Uint16 GRAB_SECT7:2; // 15:14 Grab Flash Sector 7 in CM BANK
|
||||
Uint16 GRAB_SECT8:2; // 17:16 Grab Flash Sector 8 in CM BANK
|
||||
Uint16 GRAB_SECT9:2; // 19:18 Grab Flash Sector 9 in CM BANK
|
||||
Uint16 GRAB_SECT10:2; // 21:20 Grab Flash Sector 10 in CM BANK
|
||||
Uint16 GRAB_SECT11:2; // 23:22 Grab Flash Sector 11 in CM BANK
|
||||
Uint16 GRAB_SECT12:2; // 25:24 Grab Flash Sector 12 in CM BANK
|
||||
Uint16 GRAB_SECT13:2; // 27:26 Grab Flash Sector 13 in CM BANK
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union Z2_GRABSECT2R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_GRABSECT2R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_GRABSECT3R_BITS { // bits description
|
||||
Uint16 GRAB_SECT0:2; // 1:0 Grab Flash Sector 0 in CPU2 BANK
|
||||
Uint16 GRAB_SECT1:2; // 3:2 Grab Flash Sector 1 in CPU2 BANK
|
||||
Uint16 GRAB_SECT2:2; // 5:4 Grab Flash Sector 2 in CPU2 BANK
|
||||
Uint16 GRAB_SECT3:2; // 7:6 Grab Flash Sector 3 in CPU2 BANK
|
||||
Uint16 GRAB_SECT4:2; // 9:8 Grab Flash Sector 4 in CPU2 BANK
|
||||
Uint16 GRAB_SECT5:2; // 11:10 Grab Flash Sector 5 in CPU2 BANK
|
||||
Uint16 GRAB_SECT6:2; // 13:12 Grab Flash Sector 6 in CPU2 BANK
|
||||
Uint16 GRAB_SECT7:2; // 15:14 Grab Flash Sector 7 in CPU2 BANK
|
||||
Uint16 GRAB_SECT8:2; // 17:16 Grab Flash Sector 8 in CPU2 BANK
|
||||
Uint16 GRAB_SECT9:2; // 19:18 Grab Flash Sector 9 in CPU2 BANK
|
||||
Uint16 GRAB_SECT10:2; // 21:20 Grab Flash Sector 10 in CPU2 BANK
|
||||
Uint16 GRAB_SECT11:2; // 23:22 Grab Flash Sector 11 in CPU2 BANK
|
||||
Uint16 GRAB_SECT12:2; // 25:24 Grab Flash Sector 12 in CPU2 BANK
|
||||
Uint16 GRAB_SECT13:2; // 27:26 Grab Flash Sector 13 in CPU2 BANK
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union Z2_GRABSECT3R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_GRABSECT3R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_GRABRAM1R_BITS { // bits description
|
||||
Uint16 GRAB_RAM0:2; // 1:0 Grab RAM CPU1.LS0
|
||||
Uint16 GRAB_RAM1:2; // 3:2 Grab RAM CPU1.LS1
|
||||
Uint16 GRAB_RAM2:2; // 5:4 Grab RAM CPU1.LS2
|
||||
Uint16 GRAB_RAM3:2; // 7:6 Grab RAM CPU1.LS3
|
||||
Uint16 GRAB_RAM4:2; // 9:8 Grab RAM CPU1.LS4
|
||||
Uint16 GRAB_RAM5:2; // 11:10 Grab RAM CPU1.LS5
|
||||
Uint16 GRAB_RAM6:2; // 13:12 Grab RAM CPU1.LS6
|
||||
Uint16 GRAB_RAM7:2; // 15:14 Grab RAM CPU1.LS7
|
||||
Uint16 GRAB_RAM8:2; // 17:16 Grab RAM CPU1.D0
|
||||
Uint16 GRAB_RAM9:2; // 19:18 Grab RAM CPU1.D1
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union Z2_GRABRAM1R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_GRABRAM1R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_GRABRAM2R_BITS { // bits description
|
||||
Uint16 GRAB_RAM0:2; // 1:0 Grab RAM CM.C0
|
||||
Uint16 GRAB_RAM1:2; // 3:2 Grab RAM CM.C1
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 GRAB_RAM4:2; // 9:8 Grab RAM CPU1TOCM MSGRAM0_L
|
||||
Uint16 GRAB_RAM5:2; // 11:10 Grab RAM CPU1TOCM MSGRAM0_H
|
||||
Uint16 GRAB_RAM6:2; // 13:12 Grab RAM CMTOCPU1 MSGRAM0_L
|
||||
Uint16 GRAB_RAM7:2; // 15:14 Grab RAM CMTOCPU1 MSGRAM0_H
|
||||
Uint16 GRAB_RAM8:2; // 17:16 Grab RAM CPU2TOCM MSGRAM0_L
|
||||
Uint16 GRAB_RAM9:2; // 19:18 Grab RAM CPU2TOCM MSGRAM0_H
|
||||
Uint16 GRAB_RAM10:2; // 21:20 Grab RAM CMTOCPU2 MSGRAM0_L
|
||||
Uint16 GRAB_RAM11:2; // 23:22 Grab RAM CMTOCPU2 MSGRAM0_H
|
||||
Uint16 GRAB_RAM12:2; // 25:24 Grab RAM CPU1TOCPU2 MSGRAM0_L
|
||||
Uint16 GRAB_RAM13:2; // 27:26 Grab RAM CPU1TOCPU2 MSGRAM0_H
|
||||
Uint16 GRAB_RAM14:2; // 29:28 Grab RAM CPU2TOCPU1 MSGRAM0_L
|
||||
Uint16 GRAB_RAM15:2; // 31:30 Grab RAM CPU2TOCPU1 MSGRAM0_H
|
||||
};
|
||||
|
||||
union Z2_GRABRAM2R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_GRABRAM2R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_GRABRAM3R_BITS { // bits description
|
||||
Uint16 GRAB_RAM0:2; // 1:0 Grab RAM CPU2.LS0
|
||||
Uint16 GRAB_RAM1:2; // 3:2 Grab RAM CPU2.LS1
|
||||
Uint16 GRAB_RAM2:2; // 5:4 Grab RAM CPU2.LS2
|
||||
Uint16 GRAB_RAM3:2; // 7:6 Grab RAM CPU2.LS3
|
||||
Uint16 GRAB_RAM4:2; // 9:8 Grab RAM CPU2.LS4
|
||||
Uint16 GRAB_RAM5:2; // 11:10 Grab RAM CPU2.LS5
|
||||
Uint16 GRAB_RAM6:2; // 13:12 Grab RAM CPU2.LS6
|
||||
Uint16 GRAB_RAM7:2; // 15:14 Grab RAM CPU2.LS7
|
||||
Uint16 GRAB_RAM8:2; // 17:16 Grab RAM CPU2.D0
|
||||
Uint16 GRAB_RAM9:2; // 19:18 Grab RAM CPU2.D1
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union Z2_GRABRAM3R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_GRABRAM3R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_EXEONLYSECT1R_BITS { // bits description
|
||||
Uint16 EXEONLY_CPU1_SECT0:1; // 0 Execute-Only Flash Sector 0 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT1:1; // 1 Execute-Only Flash Sector 1 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT2:1; // 2 Execute-Only Flash Sector 2 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT3:1; // 3 Execute-Only Flash Sector 3 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT4:1; // 4 Execute-Only Flash Sector 4 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT5:1; // 5 Execute-Only Flash Sector 5 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT6:1; // 6 Execute-Only Flash Sector 6 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT7:1; // 7 Execute-Only Flash Sector 7 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT8:1; // 8 Execute-Only Flash Sector 8 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT9:1; // 9 Execute-Only Flash Sector 9 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT10:1; // 10 Execute-Only Flash Sector 10 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT11:1; // 11 Execute-Only Flash Sector 11 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT12:1; // 12 Execute-Only Flash Sector 12 in flash CPU1 BANK
|
||||
Uint16 EXEONLY_CPU1_SECT13:1; // 13 Execute-Only Flash Sector 13 in flash CPU1 BANK
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 EXEONLY_CM_SECT0:1; // 16 Execute-Only Flash Sector 0 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT1:1; // 17 Execute-Only Flash Sector 1 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT2:1; // 18 Execute-Only Flash Sector 2 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT3:1; // 19 Execute-Only Flash Sector 3 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT4:1; // 20 Execute-Only Flash Sector 4 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT5:1; // 21 Execute-Only Flash Sector 5 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT6:1; // 22 Execute-Only Flash Sector 6 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT7:1; // 23 Execute-Only Flash Sector 7 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT8:1; // 24 Execute-Only Flash Sector 8 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT9:1; // 25 Execute-Only Flash Sector 9 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT10:1; // 26 Execute-Only Flash Sector 10 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT11:1; // 27 Execute-Only Flash Sector 11 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT12:1; // 28 Execute-Only Flash Sector 12 in flash CM BANK
|
||||
Uint16 EXEONLY_CM_SECT13:1; // 29 Execute-Only Flash Sector 13 in flash CM BANK
|
||||
Uint16 rsvd2:2; // 31:30 Reserved
|
||||
};
|
||||
|
||||
union Z2_EXEONLYSECT1R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_EXEONLYSECT1R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_EXEONLYSECT2R_BITS { // bits description
|
||||
Uint16 EXEONLY_CPU2_SECT0:1; // 0 Execute-Only Flash Sector 0 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT1:1; // 1 Execute-Only Flash Sector 1 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT2:1; // 2 Execute-Only Flash Sector 2 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT3:1; // 3 Execute-Only Flash Sector 3 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT4:1; // 4 Execute-Only Flash Sector 4 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT5:1; // 5 Execute-Only Flash Sector 5 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT6:1; // 6 Execute-Only Flash Sector 6 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT7:1; // 7 Execute-Only Flash Sector 7 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT8:1; // 8 Execute-Only Flash Sector 8 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT9:1; // 9 Execute-Only Flash Sector 9 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT10:1; // 10 Execute-Only Flash Sector 10 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT11:1; // 11 Execute-Only Flash Sector 11 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT12:1; // 12 Execute-Only Flash Sector 12 in flash CPU2 BANK
|
||||
Uint16 EXEONLY_CPU2_SECT13:1; // 13 Execute-Only Flash Sector 13 in flash CPU2 BANK
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union Z2_EXEONLYSECT2R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_EXEONLYSECT2R_BITS bit;
|
||||
};
|
||||
|
||||
struct Z2_EXEONLYRAM1R_BITS { // bits description
|
||||
Uint16 EXEONLY_RAM0:1; // 0 Execute-Only RAM CPU1.LS0
|
||||
Uint16 EXEONLY_RAM1:1; // 1 Execute-Only RAM CPU1.LS1
|
||||
Uint16 EXEONLY_RAM2:1; // 2 Execute-Only RAM CPU1.LS2
|
||||
Uint16 EXEONLY_RAM3:1; // 3 Execute-Only RAM CPU1.LS3
|
||||
Uint16 EXEONLY_RAM4:1; // 4 Execute-Only RAM CPU1.LS4
|
||||
Uint16 EXEONLY_RAM5:1; // 5 Execute-Only RAM CPU1.LS5
|
||||
Uint16 EXEONLY_RAM6:1; // 6 Execute-Only RAM CPU1.LS6
|
||||
Uint16 EXEONLY_RAM7:1; // 7 Execute-Only RAM CPU1.LS7
|
||||
Uint16 EXEONLY_RAM8:1; // 8 Execute-Only RAM CPU1.D0
|
||||
Uint16 EXEONLY_RAM9:1; // 9 Execute-Only RAM CPU1.D1
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
Uint16 EXEONLY_RAM16:1; // 16 Execute-Only RAM on CM.C0
|
||||
Uint16 EXEONLY_RAM17:1; // 17 Execute-Only RAM on CM.C1
|
||||
Uint16 rsvd2:4; // 21:18 Reserved
|
||||
Uint16 EXEONLY_RAM22:1; // 22 Execute-Only RAM CPU2.D1
|
||||
Uint16 EXEONLY_RAM23:1; // 23 Execute-Only RAM CPU2.D0
|
||||
Uint16 EXEONLY_RAM24:1; // 24 Execute-Only RAM CPU2.LS7
|
||||
Uint16 EXEONLY_RAM25:1; // 25 Execute-Only RAM CPU2.LS6
|
||||
Uint16 EXEONLY_RAM26:1; // 26 Execute-Only RAM CPU2.LS5
|
||||
Uint16 EXEONLY_RAM27:1; // 27 Execute-Only RAM CPU2.LS4
|
||||
Uint16 EXEONLY_RAM28:1; // 28 Execute-Only RAM CPU2.LS3
|
||||
Uint16 EXEONLY_RAM29:1; // 29 Execute-Only RAM CPU2.LS2
|
||||
Uint16 EXEONLY_RAM30:1; // 30 Execute-Only RAM CPU2.LS1
|
||||
Uint16 EXEONLY_RAM31:1; // 31 Execute-Only RAM CPU2.LS0
|
||||
};
|
||||
|
||||
union Z2_EXEONLYRAM1R_REG {
|
||||
Uint32 all;
|
||||
struct Z2_EXEONLYRAM1R_BITS bit;
|
||||
};
|
||||
|
||||
struct DCSM_Z2_REGS {
|
||||
union Z2_LINKPOINTER_REG Z2_LINKPOINTER; // Zone 2 Link Pointer
|
||||
union Z2_OTPSECLOCK_REG Z2_OTPSECLOCK; // Zone 2 OTP Secure Lock
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
union Z2_LINKPOINTERERR_REG Z2_LINKPOINTERERR; // Link Pointer Error
|
||||
Uint32 Z2_GPREG1; // Zone 2 General Purpose Register-1
|
||||
Uint32 Z2_GPREG2; // Zone 2 General Purpose Register-2
|
||||
Uint32 Z2_GPREG3; // Zone 2 General Purpose Register-3
|
||||
Uint32 Z2_GPREG4; // Zone 2 General Purpose Register-4
|
||||
Uint32 Z2_CSMKEY0; // Zone 2 CSM Key 0
|
||||
Uint32 Z2_CSMKEY1; // Zone 2 CSM Key 1
|
||||
Uint32 Z2_CSMKEY2; // Zone 2 CSM Key 2
|
||||
Uint32 Z2_CSMKEY3; // Zone 2 CSM Key 3
|
||||
union Z2_CR_REG Z2_CR; // Zone 2 CSM Control Register
|
||||
union Z2_GRABSECT1R_REG Z2_GRABSECT1R; // Zone 2 Grab Flash Status Register 1
|
||||
union Z2_GRABSECT2R_REG Z2_GRABSECT2R; // Zone 2 Grab Flash Status Register 2
|
||||
union Z2_GRABSECT3R_REG Z2_GRABSECT3R; // Zone 2 Grab Flash Status Register 3
|
||||
union Z2_GRABRAM1R_REG Z2_GRABRAM1R; // Zone 2 Grab RAM Status Register 1
|
||||
union Z2_GRABRAM2R_REG Z2_GRABRAM2R; // Zone 2 Grab RAM Status Register 2
|
||||
union Z2_GRABRAM3R_REG Z2_GRABRAM3R; // Zone 2 Grab RAM Status Register 3
|
||||
union Z2_EXEONLYSECT1R_REG Z2_EXEONLYSECT1R; // Zone 2 Execute Only Flash Status Register 1
|
||||
union Z2_EXEONLYSECT2R_REG Z2_EXEONLYSECT2R; // Zone 2 Execute Only Flash Status Register 2
|
||||
union Z2_EXEONLYRAM1R_REG Z2_EXEONLYRAM1R; // Zone 2 Execute Only RAM Status Register 1
|
||||
};
|
||||
|
||||
struct FLSEM_BITS { // bits description
|
||||
Uint16 SEM:2; // 1:0 Flash Semaphore Bit
|
||||
Uint16 rsvd1:6; // 7:2 Reserved
|
||||
Uint16 KEY:8; // 15:8 Semaphore Key
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FLSEM_REG {
|
||||
Uint32 all;
|
||||
struct FLSEM_BITS bit;
|
||||
};
|
||||
|
||||
struct SECTSTAT1_BITS { // bits description
|
||||
Uint16 STATUS_SECT0:2; // 1:0 Zone Status flash CPU1 BANK Sector 0
|
||||
Uint16 STATUS_SECT1:2; // 3:2 Zone Status flash CPU1 BANK sector 1
|
||||
Uint16 STATUS_SECT2:2; // 5:4 Zone Status flash CPU1 BANK Sector 2
|
||||
Uint16 STATUS_SECT3:2; // 7:6 Zone Status flash CPU1 BANK Sector 3
|
||||
Uint16 STATUS_SECT4:2; // 9:8 Zone Status flash CPU1 BANK Sector 4
|
||||
Uint16 STATUS_SECT5:2; // 11:10 Zone Status flash CPU1 BANK Sector 5
|
||||
Uint16 STATUS_SECT6:2; // 13:12 Zone Status flash CPU1 BANK Sector 6
|
||||
Uint16 STATUS_SECT7:2; // 15:14 Zone Status flash CPU1 BANK Sector 7
|
||||
Uint16 STATUS_SECT8:2; // 17:16 Zone Status flash CPU1 BANK sector 8
|
||||
Uint16 STATUS_SECT9:2; // 19:18 Zone Status flash CPU1 BANK Sector 9
|
||||
Uint16 STATUS_SECT10:2; // 21:20 Zone Status flash CPU1 BANK Sector 10
|
||||
Uint16 STATUS_SECT11:2; // 23:22 Zone Status flash CPU1 BANK Sector 11
|
||||
Uint16 STATUS_SECT12:2; // 25:24 Zone Status flash CPU1 BANK Sector 12
|
||||
Uint16 STATUS_SECT13:2; // 27:26 Zone Status flash CPU1 BANK Sector 13
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union SECTSTAT1_REG {
|
||||
Uint32 all;
|
||||
struct SECTSTAT1_BITS bit;
|
||||
};
|
||||
|
||||
struct SECTSTAT2_BITS { // bits description
|
||||
Uint16 STATUS_SECT0:2; // 1:0 Zone Status flash CM BANK Sector 0
|
||||
Uint16 STATUS_SECT1:2; // 3:2 Zone Status flash CM BANK sector 1
|
||||
Uint16 STATUS_SECT2:2; // 5:4 Zone Status flash CM BANK Sector 2
|
||||
Uint16 STATUS_SECT3:2; // 7:6 Zone Status flash CM BANK Sector 3
|
||||
Uint16 STATUS_SECT4:2; // 9:8 Zone Status flash CM BANK Sector 4
|
||||
Uint16 STATUS_SECT5:2; // 11:10 Zone Status flash CM BANK Sector 5
|
||||
Uint16 STATUS_SECT6:2; // 13:12 Zone Status flash CM BANK Sector 6
|
||||
Uint16 STATUS_SECT7:2; // 15:14 Zone Status flash CM BANK Sector 7
|
||||
Uint16 STATUS_SECT8:2; // 17:16 Zone Status flash CM BANK sector 8
|
||||
Uint16 STATUS_SECT9:2; // 19:18 Zone Status flash CM BANK Sector 9
|
||||
Uint16 STATUS_SECT10:2; // 21:20 Zone Status flash CM BANK Sector 10
|
||||
Uint16 STATUS_SECT11:2; // 23:22 Zone Status flash CM BANK Sector 11
|
||||
Uint16 STATUS_SECT12:2; // 25:24 Zone Status flash CM BANK Sector 12
|
||||
Uint16 STATUS_SECT13:2; // 27:26 Zone Status flash CM BANK Sector 13
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union SECTSTAT2_REG {
|
||||
Uint32 all;
|
||||
struct SECTSTAT2_BITS bit;
|
||||
};
|
||||
|
||||
struct SECTSTAT3_BITS { // bits description
|
||||
Uint16 STATUS_SECT0:2; // 1:0 Zone Status flash CPU2 BANK Sector 0
|
||||
Uint16 STATUS_SECT1:2; // 3:2 Zone Status flash CPU2 BANK sector 1
|
||||
Uint16 STATUS_SECT2:2; // 5:4 Zone Status flash CPU2 BANK Sector 2
|
||||
Uint16 STATUS_SECT3:2; // 7:6 Zone Status flash CPU2 BANK Sector 3
|
||||
Uint16 STATUS_SECT4:2; // 9:8 Zone Status flash CPU2 BANK Sector 4
|
||||
Uint16 STATUS_SECT5:2; // 11:10 Zone Status flash CPU2 BANK Sector 5
|
||||
Uint16 STATUS_SECT6:2; // 13:12 Zone Status flash CPU2 BANK Sector 6
|
||||
Uint16 STATUS_SECT7:2; // 15:14 Zone Status flash CPU2 BANK Sector 7
|
||||
Uint16 STATUS_SECT8:2; // 17:16 Zone Status flash CPU2 BANK sector 8
|
||||
Uint16 STATUS_SECT9:2; // 19:18 Zone Status flash CPU2 BANK Sector 9
|
||||
Uint16 STATUS_SECT10:2; // 21:20 Zone Status flash CPU2 BANK Sector 10
|
||||
Uint16 STATUS_SECT11:2; // 23:22 Zone Status flash CPU2 BANK Sector 11
|
||||
Uint16 STATUS_SECT12:2; // 25:24 Zone Status flash CPU2 BANK Sector 12
|
||||
Uint16 STATUS_SECT13:2; // 27:26 Zone Status flash CPU2 BANK Sector 13
|
||||
Uint16 rsvd1:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union SECTSTAT3_REG {
|
||||
Uint32 all;
|
||||
struct SECTSTAT3_BITS bit;
|
||||
};
|
||||
|
||||
struct RAMSTAT1_BITS { // bits description
|
||||
Uint16 STATUS_RAM0:2; // 1:0 Zone Status RAM CPU1.LS0
|
||||
Uint16 STATUS_RAM1:2; // 3:2 Zone Status RAM CPU1.LS1
|
||||
Uint16 STATUS_RAM2:2; // 5:4 Zone Status RAM CPU1.LS2
|
||||
Uint16 STATUS_RAM3:2; // 7:6 Zone Status RAM CPU1.LS3
|
||||
Uint16 STATUS_RAM4:2; // 9:8 Zone Status RAM CPU1.LS4
|
||||
Uint16 STATUS_RAM5:2; // 11:10 Zone Status RAM CPU1.LS5
|
||||
Uint16 STATUS_RAM6:2; // 13:12 Zone Status RAM CPU1.LS6
|
||||
Uint16 STATUS_RAM7:2; // 15:14 Zone Status RAM CPU1.LS7
|
||||
Uint16 STATUS_RAM8:2; // 17:16 Zone Status RAM CPU1.D0
|
||||
Uint16 STATUS_RAM9:2; // 19:18 Zone Status RAM CPU1.D1
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union RAMSTAT1_REG {
|
||||
Uint32 all;
|
||||
struct RAMSTAT1_BITS bit;
|
||||
};
|
||||
|
||||
struct RAMSTAT2_BITS { // bits description
|
||||
Uint16 STATUS_RAM0:2; // 1:0 Zone Status RAM CM.C0
|
||||
Uint16 STATUS_RAM1:2; // 3:2 Zone Status RAM CM.C1
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 STATUS_RAM4:2; // 9:8 Zone Status RAM CPU1 to CM MSG RAM 1
|
||||
Uint16 STATUS_RAM5:2; // 11:10 Zone Status RAM CPU1 to CM MSG RAM 2
|
||||
Uint16 STATUS_RAM6:2; // 13:12 Zone Status RAM CM to CPU1 MSG RAM 1
|
||||
Uint16 STATUS_RAM7:2; // 15:14 Zone Status RAM CM to CPU1 MSG RAM 2
|
||||
Uint16 STATUS_RAM8:2; // 17:16 Zone Status RAM CPU2 to CM MSG RAM 1
|
||||
Uint16 STATUS_RAM9:2; // 19:18 Zone Status RAM CPU2 to CM MSG RAM 2
|
||||
Uint16 STATUS_RAM10:2; // 21:20 Zone Status RAM CM to CPU2 MSG RAM 1
|
||||
Uint16 STATUS_RAM11:2; // 23:22 Zone Status RAM CM to CPU2 MSG RAM 2
|
||||
Uint16 STATUS_RAM12:2; // 25:24 Zone Status RAM CPU1 to CPU2 MSG RAM 1
|
||||
Uint16 STATUS_RAM13:2; // 27:26 Zone Status RAM CPU1 to CPU2 MSG RAM 2
|
||||
Uint16 STATUS_RAM14:2; // 29:28 Zone Status RAM CPU2 to CPU1 MSG RAM 1
|
||||
Uint16 STATUS_RAM15:2; // 31:30 Zone Status RAM CPU2 to CPU1 MSG RAM 2
|
||||
};
|
||||
|
||||
union RAMSTAT2_REG {
|
||||
Uint32 all;
|
||||
struct RAMSTAT2_BITS bit;
|
||||
};
|
||||
|
||||
struct RAMSTAT3_BITS { // bits description
|
||||
Uint16 STATUS_RAM0:2; // 1:0 Zone Status RAM CPU2.LS0
|
||||
Uint16 STATUS_RAM1:2; // 3:2 Zone Status RAM CPU2.LS1
|
||||
Uint16 STATUS_RAM2:2; // 5:4 Zone Status RAM CPU2.LS2
|
||||
Uint16 STATUS_RAM3:2; // 7:6 Zone Status RAM CPU2.LS3
|
||||
Uint16 STATUS_RAM4:2; // 9:8 Zone Status RAM CPU2.LS4
|
||||
Uint16 STATUS_RAM5:2; // 11:10 Zone Status RAM CPU2.LS5
|
||||
Uint16 STATUS_RAM6:2; // 13:12 Zone Status RAM CPU2.LS6
|
||||
Uint16 STATUS_RAM7:2; // 15:14 Zone Status RAM CPU2.LS7
|
||||
Uint16 STATUS_RAM8:2; // 17:16 Zone Status RAM CPU2.D0
|
||||
Uint16 STATUS_RAM9:2; // 19:18 Zone Status RAM CPU2.D1
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union RAMSTAT3_REG {
|
||||
Uint32 all;
|
||||
struct RAMSTAT3_BITS bit;
|
||||
};
|
||||
|
||||
struct SECERRSTAT_BITS { // bits description
|
||||
Uint16 ERR:1; // 0 Security Configuration load Error Status
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union SECERRSTAT_REG {
|
||||
Uint32 all;
|
||||
struct SECERRSTAT_BITS bit;
|
||||
};
|
||||
|
||||
struct SECERRCLR_BITS { // bits description
|
||||
Uint16 ERR:1; // 0 Clear Security Configuration Load Error Status Bit
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union SECERRCLR_REG {
|
||||
Uint32 all;
|
||||
struct SECERRCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct SECERRFRC_BITS { // bits description
|
||||
Uint16 ERR:1; // 0 Set Security Configuration Load Error Status Bit
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 KEY:16; // 31:16 Valid Register Write Key
|
||||
};
|
||||
|
||||
union SECERRFRC_REG {
|
||||
Uint32 all;
|
||||
struct SECERRFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct DCSM_COMMON_REGS {
|
||||
union FLSEM_REG FLSEM; // Flash Wrapper Semaphore Register
|
||||
Uint16 rsvd1[6]; // Reserved
|
||||
union SECTSTAT1_REG SECTSTAT1; // Flash Sectors Status Register 1
|
||||
union SECTSTAT2_REG SECTSTAT2; // Flash Sectors Status Register 2
|
||||
union SECTSTAT3_REG SECTSTAT3; // Flash Sectors Status Register 3
|
||||
Uint16 rsvd2[2]; // Reserved
|
||||
union RAMSTAT1_REG RAMSTAT1; // RAM Status Register 1
|
||||
union RAMSTAT2_REG RAMSTAT2; // RAM Status Register 2
|
||||
union RAMSTAT3_REG RAMSTAT3; // RAM Status Register 3
|
||||
Uint16 rsvd3[2]; // Reserved
|
||||
union SECERRSTAT_REG SECERRSTAT; // Security Error Status Register
|
||||
union SECERRCLR_REG SECERRCLR; // Security Error Clear Register
|
||||
union SECERRFRC_REG SECERRFRC; // Security Error Force Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DCSM External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct DCSM_Z1_REGS DcsmZ1Regs;
|
||||
extern volatile struct DCSM_Z2_REGS DcsmZ2Regs;
|
||||
extern volatile struct DCSM_COMMON_REGS DcsmCommonRegs;
|
||||
extern volatile struct DCSM_Z1_OTP DcsmZ1OtpRegs;
|
||||
extern volatile struct DCSM_Z2_OTP DcsmZ2OtpRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct DCSM_Z1_REGS DcsmZ1Regs;
|
||||
extern volatile struct DCSM_Z2_REGS DcsmZ2Regs;
|
||||
extern volatile struct DCSM_COMMON_REGS DcsmCommonRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,390 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_device.h
|
||||
//
|
||||
// TITLE: F2838x Device Definitions.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
//
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838x_DEVICE_H
|
||||
#define F2838x_DEVICE_H
|
||||
|
||||
#if (!defined(CPU1) && !defined(CPU2))
|
||||
#error "You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
|
||||
#endif
|
||||
|
||||
#if (defined(CPU1) && defined(CPU2))
|
||||
#error "You have defined both CPU1 and CPU2 in your project properties. Only a single CPU should be defined."
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define TARGET 1
|
||||
|
||||
#ifndef __TMS320C28XX__
|
||||
#define __cregister
|
||||
#endif //__TMS320C28xx__
|
||||
//
|
||||
// User To Select Target Device:
|
||||
//
|
||||
#define F28_2838x TARGET
|
||||
|
||||
//
|
||||
// Common CPU Definitions:
|
||||
//
|
||||
extern __cregister volatile unsigned int IFR;
|
||||
extern __cregister volatile unsigned int IER;
|
||||
|
||||
#define EINT __asm(" clrc INTM")
|
||||
#define DINT __asm(" setc INTM")
|
||||
#define ERTM __asm(" clrc DBGM")
|
||||
#define DRTM __asm(" setc DBGM")
|
||||
#ifndef EALLOW
|
||||
#ifndef _TMS320C28XX_CLA_
|
||||
#define EALLOW __eallow()
|
||||
#else
|
||||
#define EALLOW __meallow()
|
||||
#endif // _TMS320C28XX_CLA_
|
||||
#endif // EALLOW
|
||||
|
||||
#ifndef EDIS
|
||||
#ifndef _TMS320C28XX_CLA_
|
||||
#define EDIS __edis()
|
||||
#else
|
||||
#define EDIS __medis()
|
||||
#endif // _TMS320C28XX_CLA_
|
||||
#endif // EDIS
|
||||
#define ESTOP0 __asm(" ESTOP0")
|
||||
|
||||
#define M_INT1 0x0001
|
||||
#define M_INT2 0x0002
|
||||
#define M_INT3 0x0004
|
||||
#define M_INT4 0x0008
|
||||
#define M_INT5 0x0010
|
||||
#define M_INT6 0x0020
|
||||
#define M_INT7 0x0040
|
||||
#define M_INT8 0x0080
|
||||
#define M_INT9 0x0100
|
||||
#define M_INT10 0x0200
|
||||
#define M_INT11 0x0400
|
||||
#define M_INT12 0x0800
|
||||
#define M_INT13 0x1000
|
||||
#define M_INT14 0x2000
|
||||
#define M_DLOG 0x4000
|
||||
#define M_RTOS 0x8000
|
||||
|
||||
#ifndef C28X_BIT0
|
||||
#define C28X_BIT0 0x00000001
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT1
|
||||
#define C28X_BIT1 0x00000002
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT2
|
||||
#define C28X_BIT2 0x00000004
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT3
|
||||
#define C28X_BIT3 0x00000008
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT4
|
||||
#define C28X_BIT4 0x00000010
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT5
|
||||
#define C28X_BIT5 0x00000020
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT6
|
||||
#define C28X_BIT6 0x00000040
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT7
|
||||
#define C28X_BIT7 0x00000080
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT8
|
||||
#define C28X_BIT8 0x00000100
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT9
|
||||
#define C28X_BIT9 0x00000200
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT10
|
||||
#define C28X_BIT10 0x00000400
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT11
|
||||
#define C28X_BIT11 0x00000800
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT12
|
||||
#define C28X_BIT12 0x00001000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT13
|
||||
#define C28X_BIT13 0x00002000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT14
|
||||
#define C28X_BIT14 0x00004000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT15
|
||||
#define C28X_BIT15 0x00008000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT16
|
||||
#define C28X_BIT16 0x00010000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT17
|
||||
#define C28X_BIT17 0x00020000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT18
|
||||
#define C28X_BIT18 0x00040000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT19
|
||||
#define C28X_BIT19 0x00080000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT20
|
||||
#define C28X_BIT20 0x00100000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT21
|
||||
#define C28X_BIT21 0x00200000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT22
|
||||
#define C28X_BIT22 0x00400000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT23
|
||||
#define C28X_BIT23 0x00800000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT24
|
||||
#define C28X_BIT24 0x01000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT25
|
||||
#define C28X_BIT25 0x02000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT26
|
||||
#define C28X_BIT26 0x04000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT27
|
||||
#define C28X_BIT27 0x08000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT28
|
||||
#define C28X_BIT28 0x10000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT29
|
||||
#define C28X_BIT29 0x20000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT30
|
||||
#define C28X_BIT30 0x40000000
|
||||
#endif
|
||||
|
||||
#ifndef C28X_BIT31
|
||||
#define C28X_BIT31 0x80000000
|
||||
#endif
|
||||
|
||||
//
|
||||
// For Portability, User Is Recommended To Use the C99 Standard integer types
|
||||
//
|
||||
#if !defined(__TMS320C28XX_CLA__)
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
#endif //__TMS320C28XX_CLA__
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
//
|
||||
// C++ Bool Compatibility
|
||||
//
|
||||
#if defined(__cplusplus)
|
||||
typedef bool _Bool;
|
||||
#endif
|
||||
|
||||
//
|
||||
// C99 defines boolean type to be _Bool, but this doesn't match the format of
|
||||
// the other standard integer types. bool_t has been defined to fill this gap.
|
||||
//
|
||||
typedef _Bool bool_t;
|
||||
|
||||
//
|
||||
//used for a bool function return status
|
||||
//
|
||||
typedef _Bool status_t;
|
||||
|
||||
#ifndef SUCCESS
|
||||
#define SUCCESS true
|
||||
#endif
|
||||
|
||||
#ifndef FAIL
|
||||
#define FAIL false
|
||||
#endif
|
||||
|
||||
//
|
||||
// The following data types are included for compatibility with legacy code,
|
||||
// they are not recommended for use in new software. Please use the C99
|
||||
// types included above
|
||||
//
|
||||
#if (!defined(DSP28_DATA_TYPES) && !defined(F28_DATA_TYPES))
|
||||
#define DSP28_DATA_TYPES
|
||||
#define F28_DATA_TYPES
|
||||
|
||||
#ifdef __TMS320C28XX_CLA__
|
||||
typedef short int16;
|
||||
typedef long int32;
|
||||
typedef unsigned char Uint8;
|
||||
typedef unsigned short Uint16;
|
||||
typedef unsigned long Uint32;
|
||||
typedef float float32;
|
||||
typedef long double float64;
|
||||
typedef struct { Uint32 low32; Uint32 high32; } Uint64;
|
||||
typedef struct { int32 low32; int32 high32; } int64;
|
||||
#else // __TMS320C28XX__
|
||||
typedef int int16;
|
||||
typedef long int32;
|
||||
typedef long long int64;
|
||||
typedef unsigned int Uint16;
|
||||
typedef unsigned long Uint32;
|
||||
typedef unsigned long long Uint64;
|
||||
typedef float float32;
|
||||
typedef long double float64;
|
||||
#endif
|
||||
|
||||
#endif //(!defined(DSP28_DATA_TYPES) && !defined(F28_DATA_TYPES))
|
||||
//
|
||||
// The following data types are for use with byte addressable peripherals.
|
||||
// See compiler documentation on the byte_peripheral type attribute.
|
||||
//
|
||||
#ifndef __TMS320C28XX_CLA__
|
||||
#if __TI_COMPILER_VERSION__ >= 16006000
|
||||
typedef unsigned int bp_16 __attribute__((byte_peripheral));
|
||||
typedef unsigned long bp_32 __attribute__((byte_peripheral));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Include All Peripheral Header Files:
|
||||
//
|
||||
#include "f2838x_adc.h"
|
||||
#include "f2838x_analogsubsys.h"
|
||||
#include "f2838x_bgcrc.h"
|
||||
#include "f2838x_cla.h"
|
||||
#include "f2838x_clb.h"
|
||||
#include "f2838x_clbxbar.h"
|
||||
#include "f2838x_cmpss.h"
|
||||
#include "f2838x_cputimer.h"
|
||||
#include "f2838x_dac.h"
|
||||
#include "f2838x_dcsm.h"
|
||||
#include "f2838x_dma.h"
|
||||
#include "f2838x_ecap.h"
|
||||
#include "f2838x_ecat_ss.h"
|
||||
#include "f2838x_emif.h"
|
||||
#include "f2838x_epwm.h" // Enhanced PWM
|
||||
#include "f2838x_epwmxbar.h"
|
||||
#include "f2838x_eqep.h"
|
||||
#include "f2838x_erad.h"
|
||||
#include "f2838x_flash.h"
|
||||
#include "f2838x_fsi.h"
|
||||
#include "f2838x_gpio.h" // General Purpose I/O Registers
|
||||
#include "f2838x_hwbist.h"
|
||||
#include "f2838x_i2c.h"
|
||||
#include "f2838x_inputxbar.h"
|
||||
#include "f2838x_ipc.h"
|
||||
#include "f2838x_mcbsp.h"
|
||||
#include "f2838x_memconfig.h"
|
||||
#include "f2838x_nmiintrupt.h" // NMI Interrupt Registers
|
||||
#include "f2838x_otp.h"
|
||||
#include "f2838x_outputxbar.h"
|
||||
#include "f2838x_pbist.h"
|
||||
#include "f2838x_piectrl.h" // PIE Control Registers
|
||||
#include "f2838x_pievect.h"
|
||||
#include "f2838x_pmbus.h"
|
||||
#include "f2838x_sci.h"
|
||||
#include "f2838x_sdfm.h"
|
||||
#include "f2838x_spi.h"
|
||||
#include "f2838x_sysctrl.h" // System Control/Power Modes
|
||||
#include "f2838x_wwd.h"
|
||||
#include "f2838x_xbar.h"
|
||||
#include "f2838x_xint.h" // External Interrupts
|
||||
|
||||
//
|
||||
// byte_peripheral attribute is only supported on the C28
|
||||
//
|
||||
#ifndef __TMS320C28XX_CLA__
|
||||
#if __TI_COMPILER_VERSION__ >= 16006000
|
||||
#include "f2838x_can.h"
|
||||
#include "f2838x_dcc.h"
|
||||
//
|
||||
// Include MCAN bitfield header only if driverlib header is not already included
|
||||
//
|
||||
#ifndef HW_MCANSS_H_
|
||||
#include "f2838x_mcan.h"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // extern "C"
|
||||
|
||||
#endif // end of F2838x_DEVICE_H definition
|
||||
|
||||
//
|
||||
// End of file.
|
||||
//
|
||||
@@ -0,0 +1,220 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_dma.h
|
||||
//
|
||||
// TITLE: Definitions for the DMA registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_DMA_H
|
||||
#define F2838X_DMA_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DMA Individual Register Bit Definitions:
|
||||
|
||||
struct MODE_BITS { // bits description
|
||||
Uint16 PERINTSEL:5; // 4:0 Peripheral Interrupt and Sync Select
|
||||
Uint16 rsvd1:2; // 6:5 Reserved
|
||||
Uint16 OVRINTE:1; // 7 Overflow Interrupt Enable
|
||||
Uint16 PERINTE:1; // 8 Peripheral Interrupt Enable
|
||||
Uint16 CHINTMODE:1; // 9 Channel Interrupt Mode
|
||||
Uint16 ONESHOT:1; // 10 One Shot Mode Bit
|
||||
Uint16 CONTINUOUS:1; // 11 Continuous Mode Bit
|
||||
Uint16 rsvd2:1; // 12 Reserved
|
||||
Uint16 rsvd3:1; // 13 Reserved
|
||||
Uint16 DATASIZE:1; // 14 Data Size Mode Bit
|
||||
Uint16 CHINTE:1; // 15 Channel Interrupt Enable Bit
|
||||
};
|
||||
|
||||
union MODE_REG {
|
||||
Uint16 all;
|
||||
struct MODE_BITS bit;
|
||||
};
|
||||
|
||||
struct CONTROL_BITS { // bits description
|
||||
Uint16 RUN:1; // 0 Run Bit
|
||||
Uint16 HALT:1; // 1 Halt Bit
|
||||
Uint16 SOFTRESET:1; // 2 Soft Reset Bit
|
||||
Uint16 PERINTFRC:1; // 3 Interrupt Force Bit
|
||||
Uint16 PERINTCLR:1; // 4 Interrupt Clear Bit
|
||||
Uint16 rsvd1:1; // 5 Reserved
|
||||
Uint16 rsvd2:1; // 6 Reserved
|
||||
Uint16 ERRCLR:1; // 7 Error Clear Bit
|
||||
Uint16 PERINTFLG:1; // 8 Interrupt Flag Bit
|
||||
Uint16 rsvd3:1; // 9 Reserved
|
||||
Uint16 rsvd4:1; // 10 Reserved
|
||||
Uint16 TRANSFERSTS:1; // 11 Transfer Status Bit
|
||||
Uint16 BURSTSTS:1; // 12 Burst Status Bit
|
||||
Uint16 RUNSTS:1; // 13 Run Status Bit
|
||||
Uint16 OVRFLG:1; // 14 Overflow Flag Bit
|
||||
Uint16 rsvd5:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union CONTROL_REG {
|
||||
Uint16 all;
|
||||
struct CONTROL_BITS bit;
|
||||
};
|
||||
|
||||
struct BURST_SIZE_BITS { // bits description
|
||||
Uint16 BURSTSIZE:5; // 4:0 Burst Transfer Size
|
||||
Uint16 rsvd1:11; // 15:5 Reserved
|
||||
};
|
||||
|
||||
union BURST_SIZE_REG {
|
||||
Uint16 all;
|
||||
struct BURST_SIZE_BITS bit;
|
||||
};
|
||||
|
||||
struct BURST_COUNT_BITS { // bits description
|
||||
Uint16 BURSTCOUNT:5; // 4:0 Burst Transfer Size
|
||||
Uint16 rsvd1:11; // 15:5 Reserved
|
||||
};
|
||||
|
||||
union BURST_COUNT_REG {
|
||||
Uint16 all;
|
||||
struct BURST_COUNT_BITS bit;
|
||||
};
|
||||
|
||||
struct CH_REGS {
|
||||
union MODE_REG MODE; // Mode Register
|
||||
union CONTROL_REG CONTROL; // Control Register
|
||||
union BURST_SIZE_REG BURST_SIZE; // Burst Size Register
|
||||
union BURST_COUNT_REG BURST_COUNT; // Burst Count Register
|
||||
int16 SRC_BURST_STEP; // Source Burst Step Register
|
||||
int16 DST_BURST_STEP; // Destination Burst Step Register
|
||||
Uint16 TRANSFER_SIZE; // Transfer Size Register
|
||||
Uint16 TRANSFER_COUNT; // Transfer Count Register
|
||||
int16 SRC_TRANSFER_STEP; // Source Transfer Step Register
|
||||
int16 DST_TRANSFER_STEP; // Destination Transfer Step Register
|
||||
Uint16 SRC_WRAP_SIZE; // Source Wrap Size Register
|
||||
Uint16 SRC_WRAP_COUNT; // Source Wrap Count Register
|
||||
int16 SRC_WRAP_STEP; // Source Wrap Step Register
|
||||
Uint16 DST_WRAP_SIZE; // Destination Wrap Size Register
|
||||
Uint16 DST_WRAP_COUNT; // Destination Wrap Count Register
|
||||
int16 DST_WRAP_STEP; // Destination Wrap Step Register
|
||||
Uint32 SRC_BEG_ADDR_SHADOW; // Source Begin Address Shadow Register
|
||||
Uint32 SRC_ADDR_SHADOW; // Source Address Shadow Register
|
||||
Uint32 SRC_BEG_ADDR_ACTIVE; // Source Begin Address Active Register
|
||||
Uint32 SRC_ADDR_ACTIVE; // Source Address Active Register
|
||||
Uint32 DST_BEG_ADDR_SHADOW; // Destination Begin Address Shadow Register
|
||||
Uint32 DST_ADDR_SHADOW; // Destination Address Shadow Register
|
||||
Uint32 DST_BEG_ADDR_ACTIVE; // Destination Begin Address Active Register
|
||||
Uint32 DST_ADDR_ACTIVE; // Destination Address Active Register
|
||||
};
|
||||
|
||||
struct DMACTRL_BITS { // bits description
|
||||
Uint16 HARDRESET:1; // 0 Hard Reset Bit
|
||||
Uint16 PRIORITYRESET:1; // 1 Priority Reset Bit
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union DMACTRL_REG {
|
||||
Uint16 all;
|
||||
struct DMACTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct DEBUGCTRL_BITS { // bits description
|
||||
Uint16 rsvd1:15; // 14:0 Reserved
|
||||
Uint16 FREE:1; // 15 Debug Mode Bit
|
||||
};
|
||||
|
||||
union DEBUGCTRL_REG {
|
||||
Uint16 all;
|
||||
struct DEBUGCTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct PRIORITYCTRL1_BITS { // bits description
|
||||
Uint16 CH1PRIORITY:1; // 0 Ch1 Priority Bit
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union PRIORITYCTRL1_REG {
|
||||
Uint16 all;
|
||||
struct PRIORITYCTRL1_BITS bit;
|
||||
};
|
||||
|
||||
struct PRIORITYSTAT_BITS { // bits description
|
||||
Uint16 ACTIVESTS:3; // 2:0 Active Channel Status Bits
|
||||
Uint16 rsvd1:1; // 3 Reserved
|
||||
Uint16 ACTIVESTS_SHADOW:3; // 6:4 Active Channel Status Shadow Bits
|
||||
Uint16 rsvd2:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union PRIORITYSTAT_REG {
|
||||
Uint16 all;
|
||||
struct PRIORITYSTAT_BITS bit;
|
||||
};
|
||||
|
||||
struct DMA_REGS {
|
||||
union DMACTRL_REG DMACTRL; // DMA Control Register
|
||||
union DEBUGCTRL_REG DEBUGCTRL; // Debug Control Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
union PRIORITYCTRL1_REG PRIORITYCTRL1; // Priority Control 1 Register
|
||||
Uint16 rsvd2; // Reserved
|
||||
union PRIORITYSTAT_REG PRIORITYSTAT; // Priority Status Register
|
||||
Uint16 rsvd3[25]; // Reserved
|
||||
struct CH_REGS CH1; // DMA Channel 1 Registers
|
||||
struct CH_REGS CH2; // DMA Channel 2 Registers
|
||||
struct CH_REGS CH3; // DMA Channel 3 Registers
|
||||
struct CH_REGS CH4; // DMA Channel 4 Registers
|
||||
struct CH_REGS CH5; // DMA Channel 5 Registers
|
||||
struct CH_REGS CH6; // DMA Channel 6 Registers
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// DMA External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct DMA_REGS DmaRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct DMA_REGS DmaRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,321 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_ecap.h
|
||||
//
|
||||
// TITLE: Definitions for the ECAP registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_ECAP_H
|
||||
#define F2838X_ECAP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ECAP Individual Register Bit Definitions:
|
||||
|
||||
struct ECCTL0_BITS { // bits description
|
||||
Uint16 INPUTSEL:7; // 6:0 INPUT source select
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ECCTL0_REG {
|
||||
Uint32 all;
|
||||
struct ECCTL0_BITS bit;
|
||||
};
|
||||
|
||||
struct ECCTL1_BITS { // bits description
|
||||
Uint16 CAP1POL:1; // 0 Capture Event 1 Polarity select
|
||||
Uint16 CTRRST1:1; // 1 Counter Reset on Capture Event 1
|
||||
Uint16 CAP2POL:1; // 2 Capture Event 2 Polarity select
|
||||
Uint16 CTRRST2:1; // 3 Counter Reset on Capture Event 2
|
||||
Uint16 CAP3POL:1; // 4 Capture Event 3 Polarity select
|
||||
Uint16 CTRRST3:1; // 5 Counter Reset on Capture Event 3
|
||||
Uint16 CAP4POL:1; // 6 Capture Event 4 Polarity select
|
||||
Uint16 CTRRST4:1; // 7 Counter Reset on Capture Event 4
|
||||
Uint16 CAPLDEN:1; // 8 Enable Loading CAP1-4 regs on a Cap Event
|
||||
Uint16 PRESCALE:5; // 13:9 Event Filter prescale select
|
||||
Uint16 FREE_SOFT:2; // 15:14 Emulation mode
|
||||
};
|
||||
|
||||
union ECCTL1_REG {
|
||||
Uint16 all;
|
||||
struct ECCTL1_BITS bit;
|
||||
};
|
||||
|
||||
struct ECCTL2_BITS { // bits description
|
||||
Uint16 CONT_ONESHT:1; // 0 Continuous or one-shot
|
||||
Uint16 STOP_WRAP:2; // 2:1 Stop value for one-shot, Wrap for continuous
|
||||
Uint16 REARM:1; // 3 One-shot re-arm
|
||||
Uint16 TSCTRSTOP:1; // 4 TSCNT counter stop
|
||||
Uint16 SYNCI_EN:1; // 5 Counter sync-in select
|
||||
Uint16 SYNCO_SEL:2; // 7:6 Sync-out mode
|
||||
Uint16 SWSYNC:1; // 8 SW forced counter sync
|
||||
Uint16 CAP_APWM:1; // 9 CAP/APWM operating mode select
|
||||
Uint16 APWMPOL:1; // 10 APWM output polarity select
|
||||
Uint16 CTRFILTRESET:1; // 11 Reset event filter, modulus counter, and interrupt flags.
|
||||
Uint16 DMAEVTSEL:2; // 13:12 DMA event select
|
||||
Uint16 MODCNTRSTS:2; // 15:14 modulo counter status
|
||||
};
|
||||
|
||||
union ECCTL2_REG {
|
||||
Uint16 all;
|
||||
struct ECCTL2_BITS bit;
|
||||
};
|
||||
|
||||
struct ECEINT_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 CEVT1:1; // 1 Capture Event 1 Interrupt Enable
|
||||
Uint16 CEVT2:1; // 2 Capture Event 2 Interrupt Enable
|
||||
Uint16 CEVT3:1; // 3 Capture Event 3 Interrupt Enable
|
||||
Uint16 CEVT4:1; // 4 Capture Event 4 Interrupt Enable
|
||||
Uint16 CTROVF:1; // 5 Counter Overflow Interrupt Enable
|
||||
Uint16 CTR_EQ_PRD:1; // 6 Period Equal Interrupt Enable
|
||||
Uint16 CTR_EQ_CMP:1; // 7 Compare Equal Interrupt Enable
|
||||
Uint16 rsvd2:1; // 8 Reserved
|
||||
Uint16 rsvd3:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union ECEINT_REG {
|
||||
Uint16 all;
|
||||
struct ECEINT_BITS bit;
|
||||
};
|
||||
|
||||
struct ECFLG_BITS { // bits description
|
||||
Uint16 INT:1; // 0 Global Flag
|
||||
Uint16 CEVT1:1; // 1 Capture Event 1 Interrupt Flag
|
||||
Uint16 CEVT2:1; // 2 Capture Event 2 Interrupt Flag
|
||||
Uint16 CEVT3:1; // 3 Capture Event 3 Interrupt Flag
|
||||
Uint16 CEVT4:1; // 4 Capture Event 4 Interrupt Flag
|
||||
Uint16 CTROVF:1; // 5 Counter Overflow Interrupt Flag
|
||||
Uint16 CTR_PRD:1; // 6 Period Equal Interrupt Flag
|
||||
Uint16 CTR_CMP:1; // 7 Compare Equal Interrupt Flag
|
||||
Uint16 rsvd1:1; // 8 Reserved
|
||||
Uint16 rsvd2:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union ECFLG_REG {
|
||||
Uint16 all;
|
||||
struct ECFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct ECCLR_BITS { // bits description
|
||||
Uint16 INT:1; // 0 ECAP Global Interrupt Status Clear
|
||||
Uint16 CEVT1:1; // 1 Capture Event 1 Status Clear
|
||||
Uint16 CEVT2:1; // 2 Capture Event 2 Status Clear
|
||||
Uint16 CEVT3:1; // 3 Capture Event 3 Status Clear
|
||||
Uint16 CEVT4:1; // 4 Capture Event 4 Status Clear
|
||||
Uint16 CTROVF:1; // 5 Counter Overflow Status Clear
|
||||
Uint16 CTR_PRD:1; // 6 Period Equal Status Clear
|
||||
Uint16 CTR_CMP:1; // 7 Compare Equal Status Clear
|
||||
Uint16 rsvd1:1; // 8 Reserved
|
||||
Uint16 rsvd2:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union ECCLR_REG {
|
||||
Uint16 all;
|
||||
struct ECCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct ECFRC_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 CEVT1:1; // 1 Capture Event 1 Force Interrupt
|
||||
Uint16 CEVT2:1; // 2 Capture Event 2 Force Interrupt
|
||||
Uint16 CEVT3:1; // 3 Capture Event 3 Force Interrupt
|
||||
Uint16 CEVT4:1; // 4 Capture Event 4 Force Interrupt
|
||||
Uint16 CTROVF:1; // 5 Counter Overflow Force Interrupt
|
||||
Uint16 CTR_PRD:1; // 6 Period Equal Force Interrupt
|
||||
Uint16 CTR_CMP:1; // 7 Compare Equal Force Interrupt
|
||||
Uint16 rsvd2:1; // 8 Reserved
|
||||
Uint16 rsvd3:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union ECFRC_REG {
|
||||
Uint16 all;
|
||||
struct ECFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct ECAPSYNCINSEL_BITS { // bits description
|
||||
Uint16 SEL:5; // 4:0 SYNCIN source select
|
||||
Uint16 rsvd1:11; // 15:5 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ECAPSYNCINSEL_REG {
|
||||
Uint32 all;
|
||||
struct ECAPSYNCINSEL_BITS bit;
|
||||
};
|
||||
|
||||
struct ECAP_REGS {
|
||||
Uint32 TSCTR; // Time-Stamp Counter
|
||||
Uint32 CTRPHS; // Counter Phase Offset Value Register
|
||||
Uint32 CAP1; // Capture 1 Register
|
||||
Uint32 CAP2; // Capture 2 Register
|
||||
Uint32 CAP3; // Capture 3 Register
|
||||
Uint32 CAP4; // Capture 4 Register
|
||||
Uint16 rsvd1[6]; // Reserved
|
||||
union ECCTL0_REG ECCTL0; // Capture Control Register 0
|
||||
union ECCTL1_REG ECCTL1; // Capture Control Register 1
|
||||
union ECCTL2_REG ECCTL2; // Capture Control Register 2
|
||||
union ECEINT_REG ECEINT; // Capture Interrupt Enable Register
|
||||
union ECFLG_REG ECFLG; // Capture Interrupt Flag Register
|
||||
union ECCLR_REG ECCLR; // Capture Interrupt Clear Register
|
||||
union ECFRC_REG ECFRC; // Capture Interrupt Force Register
|
||||
Uint16 rsvd2[4]; // Reserved
|
||||
union ECAPSYNCINSEL_REG ECAPSYNCINSEL; // SYNC source select register
|
||||
};
|
||||
|
||||
struct HRCTL_BITS { // bits description
|
||||
Uint16 HRE:1; // 0 High Resolution Enable
|
||||
Uint16 HRCLKE:1; // 1 High Resolution Clock Enable
|
||||
Uint16 PRDSEL:1; // 2 Calibration Period Match
|
||||
Uint16 CALIBSTART:1; // 3 Calibration start
|
||||
Uint16 CALIBSTS:1; // 4 Calibration status
|
||||
Uint16 CALIBCONT:1; // 5 Continuous mode Calibration Select
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union HRCTL_REG {
|
||||
Uint32 all;
|
||||
struct HRCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct HRINTEN_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 CALIBDONE:1; // 1 Calibration doe interrupt enable
|
||||
Uint16 CALPRDCHKSTS:1; // 2 Calibration period check status enable
|
||||
Uint16 rsvd2:13; // 15:3 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union HRINTEN_REG {
|
||||
Uint32 all;
|
||||
struct HRINTEN_BITS bit;
|
||||
};
|
||||
|
||||
struct HRFLG_BITS { // bits description
|
||||
Uint16 CALIBINT:1; // 0 Global calibration Interrupt Status Flag
|
||||
Uint16 CALIBDONE:1; // 1 Calibration Done Interrupt Flag Bit
|
||||
Uint16 CALPRDCHKSTS:1; // 2 Calibration period check status Flag Bi
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union HRFLG_REG {
|
||||
Uint32 all;
|
||||
struct HRFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct HRCLR_BITS { // bits description
|
||||
Uint16 CALIBINT:1; // 0 Clear Global calibration Interrupt Flag
|
||||
Uint16 CALIBDONE:1; // 1 Clear Calibration Done Interrupt Flag Bit
|
||||
Uint16 CALPRDCHKSTS:1; // 2 Clear Calibration period check status Flag Bit
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union HRCLR_REG {
|
||||
Uint32 all;
|
||||
struct HRCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct HRFRC_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 CALIBDONE:1; // 1 Force Calibration Done Interrupt Flag Bit
|
||||
Uint16 CALPRDCHKSTS:1; // 2 Force Calibration period check status Flag Bit
|
||||
Uint16 rsvd2:13; // 15:3 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union HRFRC_REG {
|
||||
Uint32 all;
|
||||
struct HRFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct HRCAP_REGS {
|
||||
union HRCTL_REG HRCTL; // High-Res Control Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
union HRINTEN_REG HRINTEN; // High-Res Calibration Interrupt Enable Register
|
||||
union HRFLG_REG HRFLG; // High-Res Calibration Interrupt Flag Register
|
||||
union HRCLR_REG HRCLR; // High-Res Calibration Interrupt Clear Register
|
||||
union HRFRC_REG HRFRC; // High-Res Calibration Interrupt Force Register
|
||||
Uint32 HRCALPRD; // High-Res Calibration Period Register
|
||||
Uint32 HRSYSCLKCTR; // High-Res Calibration SYSCLK Counter Register
|
||||
Uint32 HRSYSCLKCAP; // High-Res Calibration SYSCLK Capture Register
|
||||
Uint32 HRCLKCTR; // High-Res Calibration HRCLK Counter Register
|
||||
Uint32 HRCLKCAP; // High-Res Calibration HRCLK Capture Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ECAP External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct ECAP_REGS ECap1Regs;
|
||||
extern volatile struct ECAP_REGS ECap2Regs;
|
||||
extern volatile struct ECAP_REGS ECap3Regs;
|
||||
extern volatile struct ECAP_REGS ECap4Regs;
|
||||
extern volatile struct ECAP_REGS ECap5Regs;
|
||||
extern volatile struct ECAP_REGS ECap6Regs;
|
||||
extern volatile struct ECAP_REGS ECap7Regs;
|
||||
extern volatile struct HRCAP_REGS HRCap6Regs;
|
||||
extern volatile struct HRCAP_REGS HRCap7Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct ECAP_REGS ECap1Regs;
|
||||
extern volatile struct ECAP_REGS ECap2Regs;
|
||||
extern volatile struct ECAP_REGS ECap3Regs;
|
||||
extern volatile struct ECAP_REGS ECap4Regs;
|
||||
extern volatile struct ECAP_REGS ECap5Regs;
|
||||
extern volatile struct ECAP_REGS ECap6Regs;
|
||||
extern volatile struct ECAP_REGS ECap7Regs;
|
||||
extern volatile struct HRCAP_REGS HRCap6Regs;
|
||||
extern volatile struct HRCAP_REGS HRCap7Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,429 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_ecat_ss.h
|
||||
//
|
||||
// TITLE: Definitions for the ECAT_SS registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_ECAT_SS_H
|
||||
#define F2838X_ECAT_SS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ECAT_SS Individual Register Bit Definitions:
|
||||
|
||||
struct ESCSS_IPREVNUM_BITS { // bits description
|
||||
Uint16 IP_REV_MINOR:4; // 3:0 Minor IP Revision Number
|
||||
Uint16 IP_REV_MAJOR:4; // 7:4 Major IP Revision Number
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_IPREVNUM_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_IPREVNUM_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_INTR_RIS_BITS { // bits description
|
||||
Uint16 SYNC0_RIS:1; // 0 SYNC0 feature RIS
|
||||
Uint16 SYNC1_RIS:1; // 1 SYNC1 feature RIS
|
||||
Uint16 IRQ_RIS:1; // 2 EtherCATSS IRQ RIS
|
||||
Uint16 DMA_DONE_RIS:1; // 3 DMA Done RIS
|
||||
Uint16 TIMEOUT_ERR_RIS:1; // 4 PDI bus Timeout Error RIS
|
||||
Uint16 MASTER_RESET_RIS:1; // 5 ECAT RESET RIS
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_INTR_RIS_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_INTR_RIS_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_INTR_MASK_BITS { // bits description
|
||||
Uint16 SYNC0_MASK:1; // 0 SYNC0 feature Mask
|
||||
Uint16 SYNC1_MASK:1; // 1 SYNC1 feature Mask
|
||||
Uint16 IRQ_MASK:1; // 2 EtherCATSS IRQ Mask
|
||||
Uint16 DMA_DONE_MASK:1; // 3 DMA Done Mask
|
||||
Uint16 TIMEOUT_ERR_MASK:1; // 4 PDI Access Timeout Error Mask
|
||||
Uint16 MASTER_RESET_MASK:1; // 5 EtherCAT Master Reset Mask
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_INTR_MASK_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_INTR_MASK_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_INTR_MIS_BITS { // bits description
|
||||
Uint16 SYNC0_MIS:1; // 0 SYNC0 feature MIS
|
||||
Uint16 SYNC1_MIS:1; // 1 SYNC1 feature MIS
|
||||
Uint16 IRQ_MIS:1; // 2 EtherCATSS IRQ MIS
|
||||
Uint16 DMA_DONE_MIS:1; // 3 DMA Done MIS
|
||||
Uint16 TIMEOUT_ERR_MIS:1; // 4 PDI bus Timeout Error MIS
|
||||
Uint16 MASTER_RESET_MIS:1; // 5 EtherCAT Master Reset MIS
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_INTR_MIS_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_INTR_MIS_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_INTR_CLR_BITS { // bits description
|
||||
Uint16 SYNC0_CLR:1; // 0 SYNC0 feature Clear
|
||||
Uint16 SYNC1_CLR:1; // 1 SYNC1 feature Clear
|
||||
Uint16 IRQ_CLR:1; // 2 EtherCATSS IRQ Clear
|
||||
Uint16 DMA_DONE_CLR:1; // 3 DMA Done Clear
|
||||
Uint16 TIMEOUT_ERR_CLR:1; // 4 PDI Access Timeout Error Clear
|
||||
Uint16 MASTER_RESET_CLR:1; // 5 EtherCAT Master Reset Clear
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_INTR_CLR_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_INTR_CLR_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_INTR_SET_BITS { // bits description
|
||||
Uint16 SYNC0_SET:1; // 0 SYNC0 Set Emulate
|
||||
Uint16 SYNC1_SET:1; // 1 SYNC1 Set Emulate
|
||||
Uint16 IRQ_SET:1; // 2 EtherCATSS IRQ Set Emulate
|
||||
Uint16 DMA_DONE_SET:1; // 3 DMA Done Set Emulate
|
||||
Uint16 TIMEOUT_ERR_SET:1; // 4 PDI Access Timeout Error Set Emulate
|
||||
Uint16 MASTER_RESET_SET:1; // 5 EtherCAT Master Reset Emulate
|
||||
Uint16 rsvd1:2; // 7:6 Reserved
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_INTR_SET_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_INTR_SET_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_LATCH_SEL_BITS { // bits description
|
||||
Uint16 LATCH0_SELECT:5; // 4:0 LATCH0 Inputs mux select
|
||||
Uint16 rsvd1:3; // 7:5 Reserved
|
||||
Uint16 LATCH1_SELECT:5; // 12:8 LATCH1 Inputs mux select
|
||||
Uint16 rsvd2:3; // 15:13 Reserved
|
||||
Uint16 rsvd3:1; // 16 Reserved
|
||||
Uint16 rsvd4:15; // 31:17 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_LATCH_SEL_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_LATCH_SEL_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_ACCESS_CTRL_BITS { // bits description
|
||||
Uint16 WAIT_STATES:7; // 6:0 Minimum Wait States for VBUS Bridge
|
||||
Uint16 EN_TIMEOUT:1; // 7 PDI Timeout enable
|
||||
Uint16 rsvd1:1; // 8 Reserved
|
||||
Uint16 ENABLE_DEBUG_ACCESS:1; // 9 Debug access enable
|
||||
Uint16 ENABLE_PARALLEL_PORT_ACCESS:1; // 10 Parallel port access enable
|
||||
Uint16 rsvd2:5; // 15:11 Reserved
|
||||
Uint16 TIMEOUT_COUNT:12; // 27:16 Max timecount programmed and count while enabled.
|
||||
Uint16 rsvd3:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_ACCESS_CTRL_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_ACCESS_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_GPIN_GRP_CAP_SEL_BITS { // bits description
|
||||
Uint16 GPI_GRP_CAP_SEL0:3; // 2:0 GPI7-0 capture trigger select
|
||||
Uint16 rsvd1:1; // 3 Reserved
|
||||
Uint16 GPI_GRP_CAP_SEL1:3; // 6:4 GPI15-8 capture trigger select
|
||||
Uint16 rsvd2:1; // 7 Reserved
|
||||
Uint16 GPI_GRP_CAP_SEL2:3; // 10:8 GPI23-16 capture trigger select
|
||||
Uint16 rsvd3:1; // 11 Reserved
|
||||
Uint16 GPI_GRP_CAP_SEL3:3; // 14:12 GPI31-24 capture trigger select
|
||||
Uint16 rsvd4:1; // 15 Reserved
|
||||
Uint16 rsvd5:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_GPIN_GRP_CAP_SEL_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_GPIN_GRP_CAP_SEL_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_GPOUT_GRP_CAP_SEL_BITS { // bits description
|
||||
Uint16 GPO_GRP_CAP_SEL0:2; // 1:0 GPO7-0 capture trigger select
|
||||
Uint16 rsvd1:2; // 3:2 Reserved
|
||||
Uint16 GPO_GRP_CAP_SEL1:2; // 5:4 GPO15-8 capture trigger select
|
||||
Uint16 rsvd2:2; // 7:6 Reserved
|
||||
Uint16 GPO_GRP_CAP_SEL2:2; // 9:8 GPO23-16 capture trigger select
|
||||
Uint16 rsvd3:2; // 11:10 Reserved
|
||||
Uint16 GPO_GRP_CAP_SEL3:2; // 13:12 GPO31-24 capture trigger select
|
||||
Uint16 rsvd4:2; // 15:14 Reserved
|
||||
Uint16 rsvd5:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_GPOUT_GRP_CAP_SEL_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_GPOUT_GRP_CAP_SEL_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_MEM_TEST_BITS { // bits description
|
||||
Uint16 INITIATE_MEM_INIT:1; // 0 Initialize memory init
|
||||
Uint16 MEM_INIT_DONE:1; // 1 Memory Init done status
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_MEM_TEST_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_MEM_TEST_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_RESET_DEST_CONFIG_BITS { // bits description
|
||||
Uint16 CPU_RESET_EN:1; // 0 CPU reset enable for ResetOut
|
||||
Uint16 CPU_NMI_EN:1; // 1 CPU NMI enable for ResetOut
|
||||
Uint16 CPU_INT_EN:1; // 2 CPU Interrupt enable for ResetOut
|
||||
Uint16 rsvd1:4; // 6:3 Reserved
|
||||
Uint16 DEVICE_RESET_EN:1; // 7 Enables RESET_OUT to impact the device reset
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_RESET_DEST_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_RESET_DEST_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_SYNC0_CONFIG_BITS { // bits description
|
||||
Uint16 C28x_PIE_EN:1; // 0 Connects the SYNC0 to C28x PIE Interrupt
|
||||
Uint16 CLA_INT_EN:1; // 1 Connects the SYNC0 to CLA Interrupt
|
||||
Uint16 C28x_DMA_EN:1; // 2 Connects the SYNC0 to C28x DMA Trigger
|
||||
Uint16 CM4_NVIC_EN:1; // 3 Connects the SYNC0 to CM4 NVIC Interrupt
|
||||
Uint16 uDMA_TRIG_EN:1; // 4 Connects the SYNC0 to uDMA Trigger
|
||||
Uint16 rsvd1:3; // 7:5 Reserved
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_SYNC0_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_SYNC0_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_SYNC1_CONFIG_BITS { // bits description
|
||||
Uint16 C28x_PIE_EN:1; // 0 Connects the SYNC1 to C28x PIE Interrupt
|
||||
Uint16 CLA_INT_EN:1; // 1 Connects the SYNC1 to CLA Interrupt
|
||||
Uint16 C28x_DMA_EN:1; // 2 Connects the SYNC1 to C28x DMA Trigger
|
||||
Uint16 CM4_NVIC_EN:1; // 3 Connects the SYNC1 to CM4 NVIC Interrupt
|
||||
Uint16 uDMA_TRIG_EN:1; // 4 Connects the SYNC1 to uDMA Trigger
|
||||
Uint16 rsvd1:3; // 7:5 Reserved
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_SYNC1_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_SYNC1_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_REGS {
|
||||
union ESCSS_IPREVNUM_REG ESCSS_IPREVNUM; // IP Revision Number
|
||||
union ESCSS_INTR_RIS_REG ESCSS_INTR_RIS; // EtherCATSS Interrupt Raw Status
|
||||
union ESCSS_INTR_MASK_REG ESCSS_INTR_MASK; // EtherCATSS Interrupt Mask
|
||||
union ESCSS_INTR_MIS_REG ESCSS_INTR_MIS; // EtherCATSS Masked Interrupt Status
|
||||
union ESCSS_INTR_CLR_REG ESCSS_INTR_CLR; // EtherCATSS Interrupt Clear
|
||||
union ESCSS_INTR_SET_REG ESCSS_INTR_SET; // EtherCATSS Interrupt Set to emulate
|
||||
union ESCSS_LATCH_SEL_REG ESCSS_LATCH_SEL; // Select for Latch0/1 inputs and LATCHIN input
|
||||
union ESCSS_ACCESS_CTRL_REG ESCSS_ACCESS_CTRL; // PDI interface access control config.
|
||||
Uint32 ESCSS_GPIN_DAT; // GPIN data capture for debug & override
|
||||
Uint32 ESCSS_GPIN_PIPE; // GPIN pipeline select
|
||||
union ESCSS_GPIN_GRP_CAP_SEL_REG ESCSS_GPIN_GRP_CAP_SEL; // GPIN pipe group capture trigger
|
||||
Uint32 ESCSS_GPOUT_DAT; // GPOUT data capture for debug & override
|
||||
Uint32 ESCSS_GPOUT_PIPE; // GPOUT pipeline select
|
||||
union ESCSS_GPOUT_GRP_CAP_SEL_REG ESCSS_GPOUT_GRP_CAP_SEL; // GPOUT pipe group capture trigger
|
||||
union ESCSS_MEM_TEST_REG ESCSS_MEM_TEST; // Memory Test Control
|
||||
union ESCSS_RESET_DEST_CONFIG_REG ESCSS_RESET_DEST_CONFIG; // ResetOut impact or destination config
|
||||
union ESCSS_SYNC0_CONFIG_REG ESCSS_SYNC0_CONFIG; // SYNC0 Configuration for various triggers
|
||||
union ESCSS_SYNC1_CONFIG_REG ESCSS_SYNC1_CONFIG; // SYNC1 Configuration for various triggers
|
||||
};
|
||||
|
||||
struct ESCSS_CONFIG_LOCK_BITS { // bits description
|
||||
Uint16 LOCK_ENABLE:1; // 0 Locking writes to ECATSS
|
||||
Uint16 rsvd1:3; // 3:1 Reserved
|
||||
Uint16 IO_CONFIG_ENABLE:1; // 4 Locking the IO Configuration
|
||||
Uint16 rsvd2:3; // 7:5 Reserved
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_CONFIG_LOCK_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_CONFIG_LOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_MISC_IO_CONFIG_BITS { // bits description
|
||||
Uint16 RESETIN_GPIO_EN:1; // 0 Enabled ResetIN from GPIO
|
||||
Uint16 EEPROM_I2C_IO_EN:1; // 1 Enables the EEPROM I2C IOPAD connection
|
||||
Uint16 rsvd1:6; // 7:2 Reserved
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_MISC_IO_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_MISC_IO_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_PHY_IO_CONFIG_BITS { // bits description
|
||||
Uint16 rsvd1:2; // 1:0 Reserved
|
||||
Uint16 PHY_PORT_CNT:2; // 3:2 Number of PHY port counts
|
||||
Uint16 PHY_INTF_IOPAD_SEL:2; // 5:4 IO Combination select for PHY Interface
|
||||
Uint16 TX_CLK_AUTO_COMP:1; // 6 Selects TX_CLK IO to do Auto compensation
|
||||
Uint16 rsvd2:1; // 7 Reserved
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_PHY_IO_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_PHY_IO_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_SYNC_IO_CONFIG_BITS { // bits description
|
||||
Uint16 SYNC0_IOPAD_SEL:2; // 1:0 SYNC0 IO PAD select option
|
||||
Uint16 rsvd1:1; // 2 Reserved
|
||||
Uint16 SYNC0_GPIO_EN:1; // 3 SYNC0 connection to OUT pad enabled
|
||||
Uint16 SYNC1_IOPAD_SEL:2; // 5:4 SYNC1 IO PAD select option
|
||||
Uint16 rsvd2:1; // 6 Reserved
|
||||
Uint16 SYNC1_GPIO_EN:1; // 7 SYNC1 connection to OUT pad enabled
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_SYNC_IO_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_SYNC_IO_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_LATCH_IO_CONFIG_BITS { // bits description
|
||||
Uint16 LATCH0_IOPAD_SEL:2; // 1:0 LATCH0 IO PAD select option
|
||||
Uint16 rsvd1:1; // 2 Reserved
|
||||
Uint16 LATCH0_GPIO_EN:1; // 3 LATCH0 connection to IN pad enabled
|
||||
Uint16 LATCH1_IOPAD_SEL:2; // 5:4 LATCH1 IO PAD select option
|
||||
Uint16 rsvd2:1; // 6 Reserved
|
||||
Uint16 LATCH1_GPIO_EN:1; // 7 LATCH1 connection to IN pad enabled
|
||||
Uint16 WRITE_KEY:8; // 15:8 Key to enable writing lock
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_LATCH_IO_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_LATCH_IO_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_LED_CONFIG_BITS { // bits description
|
||||
Uint16 LINKACT0:1; // 0 GPIO enable for LINKACT0 LED
|
||||
Uint16 LINKACT1:1; // 1 GPIO enable for LINKACT1 LED
|
||||
Uint16 STATE:1; // 2 GPIO enable for STATE LED
|
||||
Uint16 ERR:1; // 3 GPIO enable for ERR LED
|
||||
Uint16 RUN:1; // 4 GPIO enable for RUN LED
|
||||
Uint16 rsvd1:1; // 5 Reserved
|
||||
Uint16 LINKACT0_IOPAD_SEL:2; // 7:6 LINKACT0 LED IO PAD select
|
||||
Uint16 LINKACT1_IOPAD_SEL:2; // 9:8 LINKACT1 LED IO PAD select
|
||||
Uint16 STATE_IOPAD_SEL:2; // 11:10 STATE LED IO PAD select
|
||||
Uint16 ERR_IOPAD_SEL:2; // 13:12 ERROR LED IO PAD select
|
||||
Uint16 RUN_IOPAD_SEL:2; // 15:14 RUN LED IO PAD select
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_LED_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_LED_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_MISC_CONFIG_BITS { // bits description
|
||||
Uint16 TX0_SHIFT_CONFIG:2; // 1:0 TX Shift configuration for Port0
|
||||
Uint16 TX1_SHIFT_CONFIG:2; // 3:2 TX Shift configuration for Port1
|
||||
Uint16 EEPROM_SIZE:1; // 4 EEPROM Size bound select
|
||||
Uint16 PDI_EMULATION:1; // 5 PDI Emulation enable
|
||||
Uint16 PHY_ADDR:5; // 10:6 PHY Address Offset
|
||||
Uint16 rsvd1:5; // 15:11 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ESCSS_MISC_CONFIG_REG {
|
||||
Uint32 all;
|
||||
struct ESCSS_MISC_CONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct ESCSS_CONFIG_REGS {
|
||||
union ESCSS_CONFIG_LOCK_REG ESCSS_CONFIG_LOCK; // EtherCATSS Configuration Lock
|
||||
union ESCSS_MISC_IO_CONFIG_REG ESCSS_MISC_IO_CONFIG; // RESET_IN, EEPROM IO connections select
|
||||
union ESCSS_PHY_IO_CONFIG_REG ESCSS_PHY_IO_CONFIG; // Control Register of ESCSS
|
||||
union ESCSS_SYNC_IO_CONFIG_REG ESCSS_SYNC_IO_CONFIG; // SYNC Signals IO configurations
|
||||
union ESCSS_LATCH_IO_CONFIG_REG ESCSS_LATCH_IO_CONFIG; // LATCH inputs IO pad select
|
||||
Uint32 ESCSS_GPIN_SEL; // GPIN Select between IO PAD & tieoff
|
||||
Uint32 ESCSS_GPIN_IOPAD_SEL; // GPIN IO pad Select
|
||||
Uint32 ESCSS_GPOUT_SEL; // GPOUT IO pad connect select
|
||||
Uint32 ESCSS_GPOUT_IOPAD_SEL; // GPOUT IO pad select
|
||||
union ESCSS_LED_CONFIG_REG ESCSS_LED_CONFIG; // Selection of LED o/p connect to IO pad
|
||||
union ESCSS_MISC_CONFIG_REG ESCSS_MISC_CONFIG; // Miscelleneous Configuration
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ECAT_SS External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct ESCSS_REGS EscssRegs;
|
||||
extern volatile struct ESCSS_CONFIG_REGS EscssConfigRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,300 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_emif.h
|
||||
//
|
||||
// TITLE: Definitions for the EMIF registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_EMIF_H
|
||||
#define F2838X_EMIF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// EMIF Individual Register Bit Definitions:
|
||||
|
||||
struct RCSR_BITS { // bits description
|
||||
Uint16 MINOR_REVISION:8; // 7:0 Minor Revision.
|
||||
Uint16 MAJOR_REVISION:8; // 15:8 Major Revision.
|
||||
Uint16 MODULE_ID:14; // 29:16 EMIF module ID.
|
||||
Uint16 FR:1; // 30 EMIF is running in full rate or half rate.
|
||||
Uint16 BE:1; // 31 EMIF endian mode.
|
||||
};
|
||||
|
||||
union RCSR_REG {
|
||||
Uint32 all;
|
||||
struct RCSR_BITS bit;
|
||||
};
|
||||
|
||||
struct ASYNC_WCCR_BITS { // bits description
|
||||
Uint16 MAX_EXT_WAIT:8; // 7:0 Maximum Extended Wait cycles.
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:2; // 17:16 Reserved
|
||||
Uint16 rsvd3:2; // 19:18 Reserved
|
||||
Uint16 rsvd4:2; // 21:20 Reserved
|
||||
Uint16 rsvd5:2; // 23:22 Reserved
|
||||
Uint16 rsvd6:4; // 27:24 Reserved
|
||||
Uint16 WP0:1; // 28 Polarity for EMxWAIT.
|
||||
Uint16 rsvd7:1; // 29 Reserved
|
||||
Uint16 rsvd8:1; // 30 Reserved
|
||||
Uint16 rsvd9:1; // 31 Reserved
|
||||
};
|
||||
|
||||
union ASYNC_WCCR_REG {
|
||||
Uint32 all;
|
||||
struct ASYNC_WCCR_BITS bit;
|
||||
};
|
||||
|
||||
struct SDRAM_CR_BITS { // bits description
|
||||
Uint16 PAGESIGE:3; // 2:0 Page Size.
|
||||
Uint16 rsvd1:1; // 3 Reserved
|
||||
Uint16 IBANK:3; // 6:4 Internal Bank setup of SDRAM devices.
|
||||
Uint16 rsvd2:1; // 7 Reserved
|
||||
Uint16 BIT_11_9_LOCK:1; // 8 Bits 11 to 9 are writable only if this bit is set.
|
||||
Uint16 CL:3; // 11:9 CAS Latency.
|
||||
Uint16 rsvd3:1; // 12 Reserved
|
||||
Uint16 rsvd4:1; // 13 Reserved
|
||||
Uint16 NM:1; // 14 Narrow Mode.
|
||||
Uint16 rsvd5:1; // 15 Reserved
|
||||
Uint16 rsvd6:1; // 16 Reserved
|
||||
Uint16 rsvd7:2; // 18:17 Reserved
|
||||
Uint16 rsvd8:1; // 19 Reserved
|
||||
Uint16 rsvd9:3; // 22:20 Reserved
|
||||
Uint16 rsvd10:3; // 25:23 Reserved
|
||||
Uint16 rsvd11:3; // 28:26 Reserved
|
||||
Uint16 PDWR:1; // 29 Perform refreshes during Power Down.
|
||||
Uint16 PD:1; // 30 Power Down.
|
||||
Uint16 SR:1; // 31 Self Refresh.
|
||||
};
|
||||
|
||||
union SDRAM_CR_REG {
|
||||
Uint32 all;
|
||||
struct SDRAM_CR_BITS bit;
|
||||
};
|
||||
|
||||
struct SDRAM_RCR_BITS { // bits description
|
||||
Uint16 REFRESH_RATE:13; // 12:0 Refresh Rate.
|
||||
Uint16 rsvd1:3; // 15:13 Reserved
|
||||
Uint16 rsvd2:3; // 18:16 Reserved
|
||||
Uint16 rsvd3:13; // 31:19 Reserved
|
||||
};
|
||||
|
||||
union SDRAM_RCR_REG {
|
||||
Uint32 all;
|
||||
struct SDRAM_RCR_BITS bit;
|
||||
};
|
||||
|
||||
struct ASYNC_CS2_CR_BITS { // bits description
|
||||
Uint16 ASIZE:2; // 1:0 Asynchronous Memory Size.
|
||||
Uint16 TA:2; // 3:2 Turn Around cycles.
|
||||
Uint16 R_HOLD:3; // 6:4 Read Strobe Hold cycles.
|
||||
Uint16 R_STROBE:6; // 12:7 Read Strobe Duration cycles.
|
||||
Uint32 R_SETUP:4; // 16:13 Read Strobe Setup cycles.
|
||||
Uint16 W_HOLD:3; // 19:17 Write Strobe Hold cycles.
|
||||
Uint16 W_STROBE:6; // 25:20 Write Strobe Duration cycles.
|
||||
Uint16 W_SETUP:4; // 29:26 Write Strobe Setup cycles.
|
||||
Uint16 EW:1; // 30 Extend Wait mode.
|
||||
Uint16 SS:1; // 31 Select Strobe mode.
|
||||
};
|
||||
|
||||
union ASYNC_CS2_CR_REG {
|
||||
Uint32 all;
|
||||
struct ASYNC_CS2_CR_BITS bit;
|
||||
};
|
||||
|
||||
struct ASYNC_CS3_CR_BITS { // bits description
|
||||
Uint16 ASIZE:2; // 1:0 Asynchronous Memory Size.
|
||||
Uint16 TA:2; // 3:2 Turn Around cycles.
|
||||
Uint16 R_HOLD:3; // 6:4 Read Strobe Hold cycles.
|
||||
Uint16 R_STROBE:6; // 12:7 Read Strobe Duration cycles.
|
||||
Uint32 R_SETUP:4; // 16:13 Read Strobe Setup cycles.
|
||||
Uint16 W_HOLD:3; // 19:17 Write Strobe Hold cycles.
|
||||
Uint16 W_STROBE:6; // 25:20 Write Strobe Duration cycles.
|
||||
Uint16 W_SETUP:4; // 29:26 Write Strobe Setup cycles.
|
||||
Uint16 EW:1; // 30 Extend Wait mode.
|
||||
Uint16 SS:1; // 31 Select Strobe mode.
|
||||
};
|
||||
|
||||
union ASYNC_CS3_CR_REG {
|
||||
Uint32 all;
|
||||
struct ASYNC_CS3_CR_BITS bit;
|
||||
};
|
||||
|
||||
struct ASYNC_CS4_CR_BITS { // bits description
|
||||
Uint16 ASIZE:2; // 1:0 Asynchronous Memory Size.
|
||||
Uint16 TA:2; // 3:2 Turn Around cycles.
|
||||
Uint16 R_HOLD:3; // 6:4 Read Strobe Hold cycles.
|
||||
Uint16 R_STROBE:6; // 12:7 Read Strobe Duration cycles.
|
||||
Uint32 R_SETUP:4; // 16:13 Read Strobe Setup cycles.
|
||||
Uint16 W_HOLD:3; // 19:17 Write Strobe Hold cycles.
|
||||
Uint16 W_STROBE:6; // 25:20 Write Strobe Duration cycles.
|
||||
Uint16 W_SETUP:4; // 29:26 Write Strobe Setup cycles.
|
||||
Uint16 EW:1; // 30 Extend Wait mode.
|
||||
Uint16 SS:1; // 31 Select Strobe mode.
|
||||
};
|
||||
|
||||
union ASYNC_CS4_CR_REG {
|
||||
Uint32 all;
|
||||
struct ASYNC_CS4_CR_BITS bit;
|
||||
};
|
||||
|
||||
struct SDRAM_TR_BITS { // bits description
|
||||
Uint16 rsvd1:4; // 3:0 Reserved
|
||||
Uint16 T_RRD:3; // 6:4 Activate to Activate timing for different bank.
|
||||
Uint16 rsvd2:1; // 7 Reserved
|
||||
Uint16 T_RC:4; // 11:8 Activate to Activate timing .
|
||||
Uint16 T_RAS:4; // 15:12 Activate to Precharge timing.
|
||||
Uint16 T_WR:3; // 18:16 Last Write to Precharge timing.
|
||||
Uint16 rsvd3:1; // 19 Reserved
|
||||
Uint16 T_RCD:3; // 22:20 Activate to Read/Write timing.
|
||||
Uint16 rsvd4:1; // 23 Reserved
|
||||
Uint16 T_RP:3; // 26:24 Precharge to Activate/Refresh timing.
|
||||
Uint16 T_RFC:5; // 31:27 Refresh/Load Mode to Refresh/Activate timing
|
||||
};
|
||||
|
||||
union SDRAM_TR_REG {
|
||||
Uint32 all;
|
||||
struct SDRAM_TR_BITS bit;
|
||||
};
|
||||
|
||||
struct SDR_EXT_TMNG_BITS { // bits description
|
||||
Uint16 T_XS:5; // 4:0 Self Refresh exit to new command timing.
|
||||
Uint16 rsvd1:11; // 15:5 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union SDR_EXT_TMNG_REG {
|
||||
Uint32 all;
|
||||
struct SDR_EXT_TMNG_BITS bit;
|
||||
};
|
||||
|
||||
struct INT_RAW_BITS { // bits description
|
||||
Uint16 AT:1; // 0 Asynchronous Timeout.
|
||||
Uint16 LT:1; // 1 Line Trap.
|
||||
Uint16 WR:4; // 5:2 Wait Rise.
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union INT_RAW_REG {
|
||||
Uint32 all;
|
||||
struct INT_RAW_BITS bit;
|
||||
};
|
||||
|
||||
struct INT_MSK_BITS { // bits description
|
||||
Uint16 AT_MASKED:1; // 0 Asynchronous Timeout.
|
||||
Uint16 LT_MASKED:1; // 1 Line Trap.
|
||||
Uint16 WR_MASKED:4; // 5:2 Wait Rise.
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union INT_MSK_REG {
|
||||
Uint32 all;
|
||||
struct INT_MSK_BITS bit;
|
||||
};
|
||||
|
||||
struct INT_MSK_SET_BITS { // bits description
|
||||
Uint16 AT_MASK_SET:1; // 0 Asynchronous Timeout.
|
||||
Uint16 LT_MASK_SET:1; // 1 Line Trap.
|
||||
Uint16 WR_MASK_SET:4; // 5:2 Wait Rise.
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union INT_MSK_SET_REG {
|
||||
Uint32 all;
|
||||
struct INT_MSK_SET_BITS bit;
|
||||
};
|
||||
|
||||
struct INT_MSK_CLR_BITS { // bits description
|
||||
Uint16 AT_MASK_CLR:1; // 0 Asynchronous Timeout.
|
||||
Uint16 LT_MASK_CLR:1; // 1 Line Trap.
|
||||
Uint16 WR_MASK_CLR:4; // 5:2 Wait Rise.
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union INT_MSK_CLR_REG {
|
||||
Uint32 all;
|
||||
struct INT_MSK_CLR_BITS bit;
|
||||
};
|
||||
|
||||
struct EMIF_REGS {
|
||||
union RCSR_REG RCSR; // Revision Code and Status Register
|
||||
union ASYNC_WCCR_REG ASYNC_WCCR; // Async Wait Cycle Config Register
|
||||
union SDRAM_CR_REG SDRAM_CR; // SDRAM (EMxCS0n) Config Register
|
||||
union SDRAM_RCR_REG SDRAM_RCR; // SDRAM Refresh Control Register
|
||||
union ASYNC_CS2_CR_REG ASYNC_CS2_CR; // Async 1 (EMxCS2n) Config Register
|
||||
union ASYNC_CS3_CR_REG ASYNC_CS3_CR; // Async 2 (EMxCS3n) Config Register
|
||||
union ASYNC_CS4_CR_REG ASYNC_CS4_CR; // Async 3 (EMxCS4n) Config Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
union SDRAM_TR_REG SDRAM_TR; // SDRAM Timing Register
|
||||
Uint16 rsvd2[6]; // Reserved
|
||||
Uint32 TOTAL_SDRAM_AR; // Total SDRAM Accesses Register
|
||||
Uint32 TOTAL_SDRAM_ACTR; // Total SDRAM Activate Register
|
||||
Uint16 rsvd3[2]; // Reserved
|
||||
union SDR_EXT_TMNG_REG SDR_EXT_TMNG; // SDRAM SR/PD Exit Timing Register
|
||||
union INT_RAW_REG INT_RAW; // Interrupt Raw Register
|
||||
union INT_MSK_REG INT_MSK; // Interrupt Masked Register
|
||||
union INT_MSK_SET_REG INT_MSK_SET; // Interrupt Mask Set Register
|
||||
union INT_MSK_CLR_REG INT_MSK_CLR; // Interrupt Mask Clear Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// EMIF External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct EMIF_REGS Emif1Regs;
|
||||
extern volatile struct EMIF_REGS Emif2Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct EMIF_REGS Emif1Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,832 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_epwmxbar.h
|
||||
//
|
||||
// TITLE: Definitions for the EPWMXBAR registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_EPWMXBAR_H
|
||||
#define F2838X_EPWMXBAR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// EPWMXBAR Individual Register Bit Definitions:
|
||||
|
||||
struct TRIP4MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP4 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP4MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP4MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP4MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP4 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP4MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP4MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP5MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP5 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP5MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP5MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP5MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP5 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP5MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP5MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP7MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP7 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP7MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP7MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP7MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP7 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP7MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP7MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP8MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP8 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP8MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP8MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP8MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP8 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP8MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP8MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP9MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP9 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP9MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP9MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP9MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP9 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP9MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP9MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP10MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP10 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP10MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP10MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP10MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP10 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP10MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP10MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP11MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP11 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP11MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP11MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP11MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP11 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP11MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP11MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP12MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for TRIP12 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP12MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP12MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP12MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for TRIP12 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP12MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct TRIP12MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP4MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP4 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP4 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP4MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP4MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP5MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP5 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP5 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP5MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP5MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP7MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP7 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP7 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP7MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP7MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP8MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP8 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP8 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP8MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP8MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP9MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP9 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP9 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP9MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP9MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP10MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP10 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP10 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP10MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP10MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP11MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP11 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP11 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP11MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP11MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIP12MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 mux0 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive TRIP12 of EPWM-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive TRIP12 of EPWM-XBAR
|
||||
};
|
||||
|
||||
union TRIP12MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct TRIP12MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIPOUTINV_BITS { // bits description
|
||||
Uint16 TRIP4:1; // 0 Selects polarity for TRIP4 of EPWM-XBAR
|
||||
Uint16 TRIP5:1; // 1 Selects polarity for TRIP5 of EPWM-XBAR
|
||||
Uint16 TRIP7:1; // 2 Selects polarity for TRIP7 of EPWM-XBAR
|
||||
Uint16 TRIP8:1; // 3 Selects polarity for TRIP8 of EPWM-XBAR
|
||||
Uint16 TRIP9:1; // 4 Selects polarity for TRIP9 of EPWM-XBAR
|
||||
Uint16 TRIP10:1; // 5 Selects polarity for TRIP10 of EPWM-XBAR
|
||||
Uint16 TRIP11:1; // 6 Selects polarity for TRIP11 of EPWM-XBAR
|
||||
Uint16 TRIP12:1; // 7 Selects polarity for TRIP12 of EPWM-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union TRIPOUTINV_REG {
|
||||
Uint32 all;
|
||||
struct TRIPOUTINV_BITS bit;
|
||||
};
|
||||
|
||||
struct TRIPLOCK_BITS { // bits description
|
||||
Uint16 LOCK:1; // 0 Locks the configuration for EPWM-XBAR
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 KEY:16; // 31:16 Write protection KEY
|
||||
};
|
||||
|
||||
union TRIPLOCK_REG {
|
||||
Uint32 all;
|
||||
struct TRIPLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct EPWM_XBAR_REGS {
|
||||
union TRIP4MUX0TO15CFG_REG TRIP4MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP4
|
||||
union TRIP4MUX16TO31CFG_REG TRIP4MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP4
|
||||
union TRIP5MUX0TO15CFG_REG TRIP5MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP5
|
||||
union TRIP5MUX16TO31CFG_REG TRIP5MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP5
|
||||
union TRIP7MUX0TO15CFG_REG TRIP7MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP7
|
||||
union TRIP7MUX16TO31CFG_REG TRIP7MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP7
|
||||
union TRIP8MUX0TO15CFG_REG TRIP8MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP8
|
||||
union TRIP8MUX16TO31CFG_REG TRIP8MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP8
|
||||
union TRIP9MUX0TO15CFG_REG TRIP9MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP9
|
||||
union TRIP9MUX16TO31CFG_REG TRIP9MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP9
|
||||
union TRIP10MUX0TO15CFG_REG TRIP10MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP10
|
||||
union TRIP10MUX16TO31CFG_REG TRIP10MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP10
|
||||
union TRIP11MUX0TO15CFG_REG TRIP11MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP11
|
||||
union TRIP11MUX16TO31CFG_REG TRIP11MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP11
|
||||
union TRIP12MUX0TO15CFG_REG TRIP12MUX0TO15CFG; // ePWM XBAR Mux Configuration for TRIP12
|
||||
union TRIP12MUX16TO31CFG_REG TRIP12MUX16TO31CFG; // ePWM XBAR Mux Configuration for TRIP12
|
||||
union TRIP4MUXENABLE_REG TRIP4MUXENABLE; // ePWM XBAR Mux Enable for TRIP4
|
||||
union TRIP5MUXENABLE_REG TRIP5MUXENABLE; // ePWM XBAR Mux Enable for TRIP5
|
||||
union TRIP7MUXENABLE_REG TRIP7MUXENABLE; // ePWM XBAR Mux Enable for TRIP7
|
||||
union TRIP8MUXENABLE_REG TRIP8MUXENABLE; // ePWM XBAR Mux Enable for TRIP8
|
||||
union TRIP9MUXENABLE_REG TRIP9MUXENABLE; // ePWM XBAR Mux Enable for TRIP9
|
||||
union TRIP10MUXENABLE_REG TRIP10MUXENABLE; // ePWM XBAR Mux Enable for TRIP10
|
||||
union TRIP11MUXENABLE_REG TRIP11MUXENABLE; // ePWM XBAR Mux Enable for TRIP11
|
||||
union TRIP12MUXENABLE_REG TRIP12MUXENABLE; // ePWM XBAR Mux Enable for TRIP12
|
||||
Uint16 rsvd1[8]; // Reserved
|
||||
union TRIPOUTINV_REG TRIPOUTINV; // ePWM XBAR Output Inversion Register
|
||||
Uint16 rsvd2[4]; // Reserved
|
||||
union TRIPLOCK_REG TRIPLOCK; // ePWM XBAR Configuration Lock register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// EPWMXBAR External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct EPWM_XBAR_REGS EPwmXbarRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,323 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_eqep.h
|
||||
//
|
||||
// TITLE: Definitions for the EQEP registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_EQEP_H
|
||||
#define F2838X_EQEP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// EQEP Individual Register Bit Definitions:
|
||||
|
||||
struct QDECCTL_BITS { // bits description
|
||||
Uint16 QIDIRE:1; // 0 Qep Index Direction Enhancement enable
|
||||
Uint16 rsvd1:4; // 4:1 Reserved
|
||||
Uint16 QSP:1; // 5 QEPS input polarity
|
||||
Uint16 QIP:1; // 6 QEPI input polarity
|
||||
Uint16 QBP:1; // 7 QEPB input polarity
|
||||
Uint16 QAP:1; // 8 QEPA input polarity
|
||||
Uint16 IGATE:1; // 9 Index pulse gating option
|
||||
Uint16 SWAP:1; // 10 CLK/DIR Signal Source for Position Counter
|
||||
Uint16 XCR:1; // 11 External Clock Rate
|
||||
Uint16 SPSEL:1; // 12 Sync output pin selection
|
||||
Uint16 SOEN:1; // 13 Sync output-enable
|
||||
Uint16 QSRC:2; // 15:14 Position-counter source selection
|
||||
};
|
||||
|
||||
union QDECCTL_REG {
|
||||
Uint16 all;
|
||||
struct QDECCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct QEPCTL_BITS { // bits description
|
||||
Uint16 WDE:1; // 0 QEP watchdog enable
|
||||
Uint16 UTE:1; // 1 QEP unit timer enable
|
||||
Uint16 QCLM:1; // 2 QEP capture latch mode
|
||||
Uint16 QPEN:1; // 3 Quadrature postotion counter enable
|
||||
Uint16 IEL:2; // 5:4 Index event latch
|
||||
Uint16 SEL:1; // 6 Strobe event latch
|
||||
Uint16 SWI:1; // 7 Software init position counter
|
||||
Uint16 IEI:2; // 9:8 Index event init of position count
|
||||
Uint16 SEI:2; // 11:10 Strobe event init
|
||||
Uint16 PCRM:2; // 13:12 Postion counter reset
|
||||
Uint16 FREE_SOFT:2; // 15:14 Emulation mode
|
||||
};
|
||||
|
||||
union QEPCTL_REG {
|
||||
Uint16 all;
|
||||
struct QEPCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct QCAPCTL_BITS { // bits description
|
||||
Uint16 UPPS:4; // 3:0 Unit position event prescaler
|
||||
Uint16 CCPS:3; // 6:4 eQEP capture timer clock prescaler
|
||||
Uint16 rsvd1:8; // 14:7 Reserved
|
||||
Uint16 CEN:1; // 15 Enable eQEP capture
|
||||
};
|
||||
|
||||
union QCAPCTL_REG {
|
||||
Uint16 all;
|
||||
struct QCAPCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct QPOSCTL_BITS { // bits description
|
||||
Uint16 PCSPW:12; // 11:0 Position compare sync pulse width
|
||||
Uint16 PCE:1; // 12 Position compare enable/disable
|
||||
Uint16 PCPOL:1; // 13 Polarity of sync output
|
||||
Uint16 PCLOAD:1; // 14 Position compare of shadow load
|
||||
Uint16 PCSHDW:1; // 15 Position compare of shadow enable
|
||||
};
|
||||
|
||||
union QPOSCTL_REG {
|
||||
Uint16 all;
|
||||
struct QPOSCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct QEINT_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 PCE:1; // 1 Position counter error interrupt enable
|
||||
Uint16 QPE:1; // 2 Quadrature phase error interrupt enable
|
||||
Uint16 QDC:1; // 3 Quadrature direction change interrupt enable
|
||||
Uint16 WTO:1; // 4 Watchdog time out interrupt enable
|
||||
Uint16 PCU:1; // 5 Position counter underflow interrupt enable
|
||||
Uint16 PCO:1; // 6 Position counter overflow interrupt enable
|
||||
Uint16 PCR:1; // 7 Position-compare ready interrupt enable
|
||||
Uint16 PCM:1; // 8 Position-compare match interrupt enable
|
||||
Uint16 SEL:1; // 9 Strobe event latch interrupt enable
|
||||
Uint16 IEL:1; // 10 Index event latch interrupt enable
|
||||
Uint16 UTO:1; // 11 Unit time out interrupt enable
|
||||
Uint16 QMAE:1; // 12 QMA error interrupt enable
|
||||
Uint16 rsvd2:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union QEINT_REG {
|
||||
Uint16 all;
|
||||
struct QEINT_BITS bit;
|
||||
};
|
||||
|
||||
struct QFLG_BITS { // bits description
|
||||
Uint16 INT:1; // 0 Global interrupt status flag
|
||||
Uint16 PCE:1; // 1 Position counter error interrupt flag
|
||||
Uint16 PHE:1; // 2 Quadrature phase error interrupt flag
|
||||
Uint16 QDC:1; // 3 Quadrature direction change interrupt flag
|
||||
Uint16 WTO:1; // 4 Watchdog timeout interrupt flag
|
||||
Uint16 PCU:1; // 5 Position counter underflow interrupt flag
|
||||
Uint16 PCO:1; // 6 Position counter overflow interrupt flag
|
||||
Uint16 PCR:1; // 7 Position-compare ready interrupt flag
|
||||
Uint16 PCM:1; // 8 eQEP compare match event interrupt flag
|
||||
Uint16 SEL:1; // 9 Strobe event latch interrupt flag
|
||||
Uint16 IEL:1; // 10 Index event latch interrupt flag
|
||||
Uint16 UTO:1; // 11 Unit time out interrupt flag
|
||||
Uint16 QMAE:1; // 12 QMA error interrupt flag
|
||||
Uint16 rsvd1:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union QFLG_REG {
|
||||
Uint16 all;
|
||||
struct QFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct QCLR_BITS { // bits description
|
||||
Uint16 INT:1; // 0 Global interrupt clear flag
|
||||
Uint16 PCE:1; // 1 Clear position counter error interrupt flag
|
||||
Uint16 PHE:1; // 2 Clear quadrature phase error interrupt flag
|
||||
Uint16 QDC:1; // 3 Clear quadrature direction change interrupt flag
|
||||
Uint16 WTO:1; // 4 Clear watchdog timeout interrupt flag
|
||||
Uint16 PCU:1; // 5 Clear position counter underflow interrupt flag
|
||||
Uint16 PCO:1; // 6 Clear position counter overflow interrupt flag
|
||||
Uint16 PCR:1; // 7 Clear position-compare ready interrupt flag
|
||||
Uint16 PCM:1; // 8 Clear eQEP compare match event interrupt flag
|
||||
Uint16 SEL:1; // 9 Clear strobe event latch interrupt flag
|
||||
Uint16 IEL:1; // 10 Clear index event latch interrupt flag
|
||||
Uint16 UTO:1; // 11 Clear unit time out interrupt flag
|
||||
Uint16 QMAE:1; // 12 Clear QMA error interrupt flag
|
||||
Uint16 rsvd1:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union QCLR_REG {
|
||||
Uint16 all;
|
||||
struct QCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct QFRC_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 PCE:1; // 1 Force position counter error interrupt
|
||||
Uint16 PHE:1; // 2 Force quadrature phase error interrupt
|
||||
Uint16 QDC:1; // 3 Force quadrature direction change interrupt
|
||||
Uint16 WTO:1; // 4 Force watchdog time out interrupt
|
||||
Uint16 PCU:1; // 5 Force position counter underflow interrupt
|
||||
Uint16 PCO:1; // 6 Force position counter overflow interrupt
|
||||
Uint16 PCR:1; // 7 Force position-compare ready interrupt
|
||||
Uint16 PCM:1; // 8 Force position-compare match interrupt
|
||||
Uint16 SEL:1; // 9 Force strobe event latch interrupt
|
||||
Uint16 IEL:1; // 10 Force index event latch interrupt
|
||||
Uint16 UTO:1; // 11 Force unit time out interrupt
|
||||
Uint16 QMAE:1; // 12 Force QMA error interrupt
|
||||
Uint16 rsvd2:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union QFRC_REG {
|
||||
Uint16 all;
|
||||
struct QFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct QEPSTS_BITS { // bits description
|
||||
Uint16 PCEF:1; // 0 Position counter error flag.
|
||||
Uint16 FIMF:1; // 1 First index marker flag
|
||||
Uint16 CDEF:1; // 2 Capture direction error flag
|
||||
Uint16 COEF:1; // 3 Capture overflow error flag
|
||||
Uint16 QDLF:1; // 4 eQEP direction latch flag
|
||||
Uint16 QDF:1; // 5 Quadrature direction flag
|
||||
Uint16 FIDF:1; // 6 The first index marker
|
||||
Uint16 UPEVNT:1; // 7 Unit position event flag
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union QEPSTS_REG {
|
||||
Uint16 all;
|
||||
struct QEPSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct REV_BITS { // bits description
|
||||
Uint16 MAJOR:3; // 2:0 Major Revision Number
|
||||
Uint16 MINOR:3; // 5:3 Minor Revision Number
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union REV_REG {
|
||||
Uint32 all;
|
||||
struct REV_BITS bit;
|
||||
};
|
||||
|
||||
struct QEPSTROBESEL_BITS { // bits description
|
||||
Uint16 STROBESEL:2; // 1:0 QMA Mode Select
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union QEPSTROBESEL_REG {
|
||||
Uint32 all;
|
||||
struct QEPSTROBESEL_BITS bit;
|
||||
};
|
||||
|
||||
struct QMACTRL_BITS { // bits description
|
||||
Uint16 MODE:3; // 2:0 QMA Mode Select
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union QMACTRL_REG {
|
||||
Uint32 all;
|
||||
struct QMACTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct QEPSRCSEL_BITS { // bits description
|
||||
Uint16 QEPASEL:4; // 3:0 QEPA Source select
|
||||
Uint16 QEPBSEL:4; // 7:4 QEPB Source select
|
||||
Uint16 QEPISEL:4; // 11:8 QEPI Source select
|
||||
Uint16 QEPSSEL:4; // 15:12 QEPS Source select
|
||||
Uint16 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union QEPSRCSEL_REG {
|
||||
Uint32 all;
|
||||
struct QEPSRCSEL_BITS bit;
|
||||
};
|
||||
|
||||
struct EQEP_REGS {
|
||||
Uint32 QPOSCNT; // Position Counter
|
||||
Uint32 QPOSINIT; // Position Counter Init
|
||||
Uint32 QPOSMAX; // Maximum Position Count
|
||||
Uint32 QPOSCMP; // Position Compare
|
||||
Uint32 QPOSILAT; // Index Position Latch
|
||||
Uint32 QPOSSLAT; // Strobe Position Latch
|
||||
Uint32 QPOSLAT; // Position Latch
|
||||
Uint32 QUTMR; // QEP Unit Timer
|
||||
Uint32 QUPRD; // QEP Unit Period
|
||||
Uint16 QWDTMR; // QEP Watchdog Timer
|
||||
Uint16 QWDPRD; // QEP Watchdog Period
|
||||
union QDECCTL_REG QDECCTL; // Quadrature Decoder Control
|
||||
union QEPCTL_REG QEPCTL; // QEP Control
|
||||
union QCAPCTL_REG QCAPCTL; // Qaudrature Capture Control
|
||||
union QPOSCTL_REG QPOSCTL; // Position Compare Control
|
||||
union QEINT_REG QEINT; // QEP Interrupt Control
|
||||
union QFLG_REG QFLG; // QEP Interrupt Flag
|
||||
union QCLR_REG QCLR; // QEP Interrupt Clear
|
||||
union QFRC_REG QFRC; // QEP Interrupt Force
|
||||
union QEPSTS_REG QEPSTS; // QEP Status
|
||||
Uint16 QCTMR; // QEP Capture Timer
|
||||
Uint16 QCPRD; // QEP Capture Period
|
||||
Uint16 QCTMRLAT; // QEP Capture Latch
|
||||
Uint16 QCPRDLAT; // QEP Capture Period Latch
|
||||
Uint16 rsvd1[15]; // Reserved
|
||||
union REV_REG REV; // QEP Revision Number
|
||||
union QEPSTROBESEL_REG QEPSTROBESEL; // QEP Strobe select register
|
||||
union QMACTRL_REG QMACTRL; // QMA Control register
|
||||
union QEPSRCSEL_REG QEPSRCSEL; // QEP Source Select Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// EQEP External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct EQEP_REGS EQep1Regs;
|
||||
extern volatile struct EQEP_REGS EQep2Regs;
|
||||
extern volatile struct EQEP_REGS EQep3Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct EQEP_REGS EQep1Regs;
|
||||
extern volatile struct EQEP_REGS EQep2Regs;
|
||||
extern volatile struct EQEP_REGS EQep3Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,536 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_erad.h
|
||||
//
|
||||
// TITLE: Definitions for the ERAD registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_ERAD_H
|
||||
#define F2838X_ERAD_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ERAD Individual Register Bit Definitions:
|
||||
|
||||
struct GLBL_EVENT_STAT_BITS { // bits description
|
||||
Uint16 HWBP1:1; // 0 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP2:1; // 1 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP3:1; // 2 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP4:1; // 3 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP5:1; // 4 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP6:1; // 5 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP7:1; // 6 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 HWBP8:1; // 7 Enhanced Bus Comparator (EBC) Module Event Status
|
||||
Uint16 CTM1:1; // 8 Counter Module Event Status
|
||||
Uint16 CTM2:1; // 9 Counter Module Event Status
|
||||
Uint16 CTM3:1; // 10 Counter Module Event Status
|
||||
Uint16 CTM4:1; // 11 Counter Module Event Status
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union GLBL_EVENT_STAT_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_EVENT_STAT_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_HALT_STAT_BITS { // bits description
|
||||
Uint16 HWBP1:1; // 0 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP2:1; // 1 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP3:1; // 2 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP4:1; // 3 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP5:1; // 4 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP6:1; // 5 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP7:1; // 6 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 HWBP8:1; // 7 Enhanced Bus Comparator (EBC) Module Halt Status
|
||||
Uint16 CTM1:1; // 8 Counter Module Halt Status
|
||||
Uint16 CTM2:1; // 9 Counter Module Halt Status
|
||||
Uint16 CTM3:1; // 10 Counter Module Halt Status
|
||||
Uint16 CTM4:1; // 11 Counter Module Halt Status
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union GLBL_HALT_STAT_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_HALT_STAT_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_ENABLE_BITS { // bits description
|
||||
Uint16 HWBP1:1; // 0 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP2:1; // 1 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP3:1; // 2 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP4:1; // 3 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP5:1; // 4 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP6:1; // 5 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP7:1; // 6 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 HWBP8:1; // 7 Enhanced Bus Comparator (EBC) Module Global Enable
|
||||
Uint16 CTM1:1; // 8 Counter Module Global Enable
|
||||
Uint16 CTM2:1; // 9 Counter Module Global Enable
|
||||
Uint16 CTM3:1; // 10 Counter Module Global Enable
|
||||
Uint16 CTM4:1; // 11 Counter Module Global Enable
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union GLBL_ENABLE_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_ENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_CTM_RESET_BITS { // bits description
|
||||
Uint16 CTM1:1; // 0 Global Reset for the counters
|
||||
Uint16 CTM2:1; // 1 Global Reset for the counters
|
||||
Uint16 CTM3:1; // 2 Global Reset for the counters
|
||||
Uint16 CTM4:1; // 3 Global Reset for the counters
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union GLBL_CTM_RESET_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_CTM_RESET_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_NMI_CTL_BITS { // bits description
|
||||
Uint16 HWBP1:1; // 0 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP2:1; // 1 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP3:1; // 2 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP4:1; // 3 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP5:1; // 4 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP6:1; // 5 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP7:1; // 6 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 HWBP8:1; // 7 Enhanced Bus Comparator (EBC) non-maskable interrupt enable
|
||||
Uint16 CTM1:1; // 8 Counter non-maskable interrupt enable
|
||||
Uint16 CTM2:1; // 9 Counter non-maskable interrupt enable
|
||||
Uint16 CTM3:1; // 10 Counter non-maskable interrupt enable
|
||||
Uint16 CTM4:1; // 11 Counter non-maskable interrupt enable
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union GLBL_NMI_CTL_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_NMI_CTL_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_OWNER_BITS { // bits description
|
||||
Uint16 OWNER:2; // 1:0 Global Ownership Bits
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union GLBL_OWNER_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_OWNER_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_EVENT_AND_MASK_BITS { // bits description
|
||||
Uint16 MASK1_HWBP1:1; // 0 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP2:1; // 1 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP3:1; // 2 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP4:1; // 3 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP5:1; // 4 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP6:1; // 5 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP7:1; // 6 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK1_HWBP8:1; // 7 Enhanced Bus Comparator (EBC) AND Event Mask1
|
||||
Uint16 MASK2_HWBP1:1; // 8 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP2:1; // 9 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP3:1; // 10 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP4:1; // 11 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP5:1; // 12 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP6:1; // 13 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP7:1; // 14 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK2_HWBP8:1; // 15 Enhanced Bus Comparator (EBC) AND Event Mask2
|
||||
Uint16 MASK3_HWBP1:1; // 16 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP2:1; // 17 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP3:1; // 18 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP4:1; // 19 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP5:1; // 20 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP6:1; // 21 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP7:1; // 22 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK3_HWBP8:1; // 23 Enhanced Bus Comparator (EBC) AND Event Mask3
|
||||
Uint16 MASK4_HWBP1:1; // 24 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP2:1; // 25 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP3:1; // 26 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP4:1; // 27 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP5:1; // 28 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP6:1; // 29 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP7:1; // 30 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
Uint16 MASK4_HWBP8:1; // 31 Enhanced Bus Comparator (EBC) AND Event Mask4
|
||||
};
|
||||
|
||||
union GLBL_EVENT_AND_MASK_REG {
|
||||
Uint32 all;
|
||||
struct GLBL_EVENT_AND_MASK_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_EVENT_OR_MASK_BITS { // bits description
|
||||
Uint16 MASK1_HWBP1:1; // 0 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP2:1; // 1 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP3:1; // 2 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP4:1; // 3 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP5:1; // 4 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP6:1; // 5 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP7:1; // 6 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK1_HWBP8:1; // 7 Enhanced Bus Comparator (EBC) OR Event Mask1
|
||||
Uint16 MASK2_HWBP1:1; // 8 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP2:1; // 9 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP3:1; // 10 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP4:1; // 11 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP5:1; // 12 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP6:1; // 13 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP7:1; // 14 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK2_HWBP8:1; // 15 Enhanced Bus Comparator (EBC) OR Event Mask2
|
||||
Uint16 MASK3_HWBP1:1; // 16 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP2:1; // 17 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP3:1; // 18 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP4:1; // 19 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP5:1; // 20 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP6:1; // 21 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP7:1; // 22 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK3_HWBP8:1; // 23 Enhanced Bus Comparator (EBC) OR Event Mask3
|
||||
Uint16 MASK4_HWBP1:1; // 24 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP2:1; // 25 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP3:1; // 26 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP4:1; // 27 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP5:1; // 28 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP6:1; // 29 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP7:1; // 30 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
Uint16 MASK4_HWBP8:1; // 31 Enhanced Bus Comparator (EBC) OR Event Mask4
|
||||
};
|
||||
|
||||
union GLBL_EVENT_OR_MASK_REG {
|
||||
Uint32 all;
|
||||
struct GLBL_EVENT_OR_MASK_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_AND_EVENT_INT_MASK_BITS { // bits description
|
||||
Uint16 RTOSINT_MASK1:1; // 0 RTOSINT generation mask for global AND events
|
||||
Uint16 RTOSINT_MASK2:1; // 1 RTOSINT generation mask for global AND events
|
||||
Uint16 RTOSINT_MASK3:1; // 2 RTOSINT generation mask for global AND events
|
||||
Uint16 RTOSINT_MASK4:1; // 3 RTOSINT generation mask for global AND events
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union GLBL_AND_EVENT_INT_MASK_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_AND_EVENT_INT_MASK_BITS bit;
|
||||
};
|
||||
|
||||
struct GLBL_OR_EVENT_INT_MASK_BITS { // bits description
|
||||
Uint16 RTOSINT_MASK1:1; // 0 RTOSINT generation mask for global OR events
|
||||
Uint16 RTOSINT_MASK2:1; // 1 RTOSINT generation mask for global OR events
|
||||
Uint16 RTOSINT_MASK3:1; // 2 RTOSINT generation mask for global OR events
|
||||
Uint16 RTOSINT_MASK4:1; // 3 RTOSINT generation mask for global OR events
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union GLBL_OR_EVENT_INT_MASK_REG {
|
||||
Uint16 all;
|
||||
struct GLBL_OR_EVENT_INT_MASK_BITS bit;
|
||||
};
|
||||
|
||||
struct ERAD_GLOBAL_REGS {
|
||||
union GLBL_EVENT_STAT_REG GLBL_EVENT_STAT; // Global Event Status Register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union GLBL_HALT_STAT_REG GLBL_HALT_STAT; // Global Halt Status Register
|
||||
Uint16 rsvd2; // Reserved
|
||||
union GLBL_ENABLE_REG GLBL_ENABLE; // Global Enable Register
|
||||
Uint16 rsvd3; // Reserved
|
||||
union GLBL_CTM_RESET_REG GLBL_CTM_RESET; // Global Counter Reset
|
||||
Uint16 rsvd4; // Reserved
|
||||
union GLBL_NMI_CTL_REG GLBL_NMI_CTL; // Global Debug NMI control
|
||||
Uint16 rsvd5; // Reserved
|
||||
union GLBL_OWNER_REG GLBL_OWNER; // Global Ownership
|
||||
Uint16 rsvd6; // Reserved
|
||||
union GLBL_EVENT_AND_MASK_REG GLBL_EVENT_AND_MASK; // Global Bus Comparator Event AND Mask Register
|
||||
union GLBL_EVENT_OR_MASK_REG GLBL_EVENT_OR_MASK; // Global Bus Comparator Event OR Mask Register
|
||||
union GLBL_AND_EVENT_INT_MASK_REG GLBL_AND_EVENT_INT_MASK; // Global AND Event Interrupt Mask Register
|
||||
Uint16 rsvd7; // Reserved
|
||||
union GLBL_OR_EVENT_INT_MASK_REG GLBL_OR_EVENT_INT_MASK; // Global OR Event Interrupt Mask Register
|
||||
};
|
||||
|
||||
struct HWBP_CLEAR_BITS { // bits description
|
||||
Uint16 EVENT_CLR:1; // 0 Event Clear register
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union HWBP_CLEAR_REG {
|
||||
Uint16 all;
|
||||
struct HWBP_CLEAR_BITS bit;
|
||||
};
|
||||
|
||||
struct HWBP_CNTL_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 BUS_SEL:4; // 4:1 Bus select bits
|
||||
Uint16 STOP:1; // 5 Stop bit (Halt/No Halt of CPU)
|
||||
Uint16 RTOSINT:1; // 6 RTOSINT bit
|
||||
Uint16 COMP_MODE:3; // 9:7 Compare mode
|
||||
Uint16 rsvd2:1; // 10 Reserved
|
||||
Uint16 rsvd3:1; // 11 Reserved
|
||||
Uint16 rsvd4:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union HWBP_CNTL_REG {
|
||||
Uint16 all;
|
||||
struct HWBP_CNTL_BITS bit;
|
||||
};
|
||||
|
||||
struct HWBP_STATUS_BITS { // bits description
|
||||
Uint16 EVENT_FIRED:1; // 0 HWBP (EBC) Event Fired bits
|
||||
Uint16 rsvd1:7; // 7:1 Reserved
|
||||
Uint16 MODULE_ID:6; // 13:8 Identification bits
|
||||
Uint16 STATUS:2; // 15:14 Status bits
|
||||
};
|
||||
|
||||
union HWBP_STATUS_REG {
|
||||
Uint16 all;
|
||||
struct HWBP_STATUS_BITS bit;
|
||||
};
|
||||
|
||||
struct ERAD_HWBP_REGS {
|
||||
Uint32 HWBP_MASK; // HWBP (EBC) Mask Register
|
||||
Uint32 HWBP_REF; // HWBP (EBC) Reference Register
|
||||
union HWBP_CLEAR_REG HWBP_CLEAR; // HWBP (EBC) Clear Register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union HWBP_CNTL_REG HWBP_CNTL; // HWBP (EBC) Control Register
|
||||
union HWBP_STATUS_REG HWBP_STATUS; // HWBP (EBC) Status Register
|
||||
};
|
||||
|
||||
struct CTM_CNTL_BITS { // bits description
|
||||
Uint16 rsvd1:2; // 1:0 Reserved
|
||||
Uint16 START_STOP_MODE:1; // 2 Start_stop mode bit
|
||||
Uint16 EVENT_MODE:1; // 3 Event mode bit
|
||||
Uint16 RST_ON_MATCH:1; // 4 Reset_on_match bit
|
||||
Uint16 rsvd2:1; // 5 Reserved
|
||||
Uint16 STOP:1; // 6 Stop bit (Halt/No Halt of CPU)
|
||||
Uint16 RTOSINT:1; // 7 RTOSINT bit
|
||||
Uint16 START_STOP_CUMULATIVE:1; // 8 Start stop cumulative bit
|
||||
Uint16 rsvd3:1; // 9 Reserved
|
||||
Uint16 RST_EN:1; // 10 Enable Reset
|
||||
Uint16 CNT_INP_SEL_EN:1; // 11 Counter Input Select Enable
|
||||
Uint16 rsvd4:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union CTM_CNTL_REG {
|
||||
Uint16 all;
|
||||
struct CTM_CNTL_BITS bit;
|
||||
};
|
||||
|
||||
struct CTM_STATUS_BITS { // bits description
|
||||
Uint16 EVENT_FIRED:1; // 0 Counter Event Fired bits
|
||||
Uint16 OVERFLOW:1; // 1 Counter Overflowed
|
||||
Uint16 MODULE_ID:10; // 11:2 Identification bits
|
||||
Uint16 STATUS:4; // 15:12 Status bits
|
||||
};
|
||||
|
||||
union CTM_STATUS_REG {
|
||||
Uint16 all;
|
||||
struct CTM_STATUS_BITS bit;
|
||||
};
|
||||
|
||||
struct CTM_INPUT_SEL_BITS { // bits description
|
||||
Uint16 CNT_INP_SEL:7; // 6:0 Counter Input Select
|
||||
Uint16 rsvd1:1; // 7 Reserved
|
||||
Uint16 STA_INP_SEL:7; // 14:8 Counter Sart Input Select
|
||||
Uint16 rsvd2:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union CTM_INPUT_SEL_REG {
|
||||
Uint16 all;
|
||||
struct CTM_INPUT_SEL_BITS bit;
|
||||
};
|
||||
|
||||
struct CTM_CLEAR_BITS { // bits description
|
||||
Uint16 EVENT_CLEAR:1; // 0 Clear EVENT_FIRED
|
||||
Uint16 OVERFLOW_CLEAR:1; // 1 Clear OVERFLOW
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union CTM_CLEAR_REG {
|
||||
Uint16 all;
|
||||
struct CTM_CLEAR_BITS bit;
|
||||
};
|
||||
|
||||
struct CTM_INPUT_SEL_2_BITS { // bits description
|
||||
Uint16 STO_INP_SEL:7; // 6:0 Counter Stop Input Select
|
||||
Uint16 rsvd1:1; // 7 Reserved
|
||||
Uint16 RST_INP_SEL:7; // 14:8 Counter Reset input Select
|
||||
Uint16 rsvd2:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union CTM_INPUT_SEL_2_REG {
|
||||
Uint16 all;
|
||||
struct CTM_INPUT_SEL_2_BITS bit;
|
||||
};
|
||||
|
||||
struct CTM_INPUT_COND_BITS { // bits description
|
||||
Uint16 CTM_INP_INV:1; // 0 Counter Input Invert
|
||||
Uint16 CTM_INP_SYNCH:1; // 1 Counter input synchronizer enable
|
||||
Uint16 rsvd1:2; // 3:2 Reserved
|
||||
Uint16 STA_INP_INV:1; // 4 Start input Invert
|
||||
Uint16 STA_INP_SYNCH:1; // 5 Start input synchronizer enable
|
||||
Uint16 rsvd2:2; // 7:6 Reserved
|
||||
Uint16 STO_INP_INV:1; // 8 Stop input Invert
|
||||
Uint16 STO_INP_SYNCH:1; // 9 Stop input synchronizer enable
|
||||
Uint16 rsvd3:2; // 11:10 Reserved
|
||||
Uint16 RST_INP_INV:1; // 12 Reset input Invert
|
||||
Uint16 RST_INP_SYNCH:1; // 13 Reset input synchronizer enable
|
||||
Uint16 rsvd4:2; // 15:14 Reserved
|
||||
};
|
||||
|
||||
union CTM_INPUT_COND_REG {
|
||||
Uint16 all;
|
||||
struct CTM_INPUT_COND_BITS bit;
|
||||
};
|
||||
|
||||
struct ERAD_COUNTER_REGS {
|
||||
union CTM_CNTL_REG CTM_CNTL; // Counter Control Register
|
||||
union CTM_STATUS_REG CTM_STATUS; // Counter Status Register
|
||||
Uint32 CTM_REF; // Counter Reference Register
|
||||
Uint32 CTM_COUNT; // Counter Current Value Register
|
||||
Uint32 CTM_MAX_COUNT; // Counter Max Count Value Register
|
||||
union CTM_INPUT_SEL_REG CTM_INPUT_SEL; // Counter Input Select Register
|
||||
union CTM_CLEAR_REG CTM_CLEAR; // Counter Clear Register
|
||||
union CTM_INPUT_SEL_2_REG CTM_INPUT_SEL_2; // Counter Input Select Extension Register
|
||||
union CTM_INPUT_COND_REG CTM_INPUT_COND; // Counter Input Conditioning Register
|
||||
};
|
||||
|
||||
struct CRC_GLOBAL_CTRL_BITS { // bits description
|
||||
Uint16 CRC1_INIT:1; // 0 Initialize CRC Module 1
|
||||
Uint16 CRC2_INIT:1; // 1 Initialize CRC Module 2
|
||||
Uint16 CRC3_INIT:1; // 2 Initialize CRC Module 3
|
||||
Uint16 CRC4_INIT:1; // 3 Initialize CRC Module 4
|
||||
Uint16 CRC5_INIT:1; // 4 Initialize CRC Module 5
|
||||
Uint16 CRC6_INIT:1; // 5 Initialize CRC Module 6
|
||||
Uint16 CRC7_INIT:1; // 6 Initialize CRC Module 7
|
||||
Uint16 CRC8_INIT:1; // 7 Initialize CRC Module 8
|
||||
Uint16 CRC1_EN:1; // 8 Enable CRC Module 1
|
||||
Uint16 CRC2_EN:1; // 9 Enable CRC Module 2
|
||||
Uint16 CRC3_EN:1; // 10 Enable CRC Module 3
|
||||
Uint16 CRC4_EN:1; // 11 Enable CRC Module 4
|
||||
Uint16 CRC5_EN:1; // 12 Enable CRC Module 5
|
||||
Uint16 CRC6_EN:1; // 13 Enable CRC Module 6
|
||||
Uint16 CRC7_EN:1; // 14 Enable CRC Module 7
|
||||
Uint16 CRC8_EN:1; // 15 Enable CRC Module 8
|
||||
};
|
||||
|
||||
union CRC_GLOBAL_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct CRC_GLOBAL_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct ERAD_CRC_GLOBAL_REGS {
|
||||
union CRC_GLOBAL_CTRL_REG CRC_GLOBAL_CTRL; // CRC_GLOBAL_CRTL
|
||||
};
|
||||
|
||||
struct CRC_QUALIFIER_BITS { // bits description
|
||||
Uint16 CRC_QUALIFIER:5; // 4:0 CRC Qualifier Register
|
||||
Uint16 rsvd1:11; // 15:5 Reserved
|
||||
};
|
||||
|
||||
union CRC_QUALIFIER_REG {
|
||||
Uint16 all;
|
||||
struct CRC_QUALIFIER_BITS bit;
|
||||
};
|
||||
|
||||
struct ERAD_CRC_REGS {
|
||||
Uint32 CRC_CURRENT; // CRC_CURRENT
|
||||
Uint32 CRC_SEED; // CRC SEED value
|
||||
union CRC_QUALIFIER_REG CRC_QUALIFIER; // CRC_QUALIFIER
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// ERAD External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct ERAD_GLOBAL_REGS EradGlobalRegs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP1Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP2Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP3Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP4Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP5Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP6Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP7Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP8Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter1Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter2Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter3Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter4Regs;
|
||||
extern volatile struct ERAD_CRC_GLOBAL_REGS EradCRCGlobalRegs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC1Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC2Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC3Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC4Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC5Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC6Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC7Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC8Regs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct ERAD_GLOBAL_REGS EradGlobalRegs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP1Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP2Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP3Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP4Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP5Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP6Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP7Regs;
|
||||
extern volatile struct ERAD_HWBP_REGS EradHWBP8Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter1Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter2Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter3Regs;
|
||||
extern volatile struct ERAD_COUNTER_REGS EradCounter4Regs;
|
||||
extern volatile struct ERAD_CRC_GLOBAL_REGS EradCRCGlobalRegs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC1Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC2Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC3Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC4Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC5Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC6Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC7Regs;
|
||||
extern volatile struct ERAD_CRC_REGS EradCRC8Regs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,359 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_flash.h
|
||||
//
|
||||
// TITLE: Definitions for the FLASH registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_FLASH_H
|
||||
#define F2838X_FLASH_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// FLASH Individual Register Bit Definitions:
|
||||
|
||||
struct FRDCNTL_BITS { // bits description
|
||||
Uint16 rsvd1:8; // 7:0 Reserved
|
||||
Uint16 RWAIT:4; // 11:8 Random Read Waitstate
|
||||
Uint16 rsvd2:4; // 15:12 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FRDCNTL_REG {
|
||||
Uint32 all;
|
||||
struct FRDCNTL_BITS bit;
|
||||
};
|
||||
|
||||
struct FBAC_BITS { // bits description
|
||||
Uint16 rsvd1:8; // 7:0 Reserved
|
||||
Uint16 BAGP:8; // 15:8 Bank Active Grace Period
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FBAC_REG {
|
||||
Uint32 all;
|
||||
struct FBAC_BITS bit;
|
||||
};
|
||||
|
||||
struct FBFALLBACK_BITS { // bits description
|
||||
Uint16 BNKPWR0:2; // 1:0 Bank Power Mode
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FBFALLBACK_REG {
|
||||
Uint32 all;
|
||||
struct FBFALLBACK_BITS bit;
|
||||
};
|
||||
|
||||
struct FBPRDY_BITS { // bits description
|
||||
Uint16 BANKRDY:1; // 0 Flash Bank Active Power State
|
||||
Uint16 rsvd1:14; // 14:1 Reserved
|
||||
Uint16 PUMPRDY:1; // 15 Flash Pump Active Power Mode
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FBPRDY_REG {
|
||||
Uint32 all;
|
||||
struct FBPRDY_BITS bit;
|
||||
};
|
||||
|
||||
struct FPAC1_BITS { // bits description
|
||||
Uint16 PMPPWR:1; // 0 Charge Pump Fallback Power Mode
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 PSLEEP:12; // 27:16 Pump Sleep Down Count
|
||||
Uint16 rsvd2:4; // 31:28 Reserved
|
||||
};
|
||||
|
||||
union FPAC1_REG {
|
||||
Uint32 all;
|
||||
struct FPAC1_BITS bit;
|
||||
};
|
||||
|
||||
struct FMSTAT_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 PSUSP:1; // 1 Program Suspend.
|
||||
Uint16 ESUSP:1; // 2 Erase Suspend.
|
||||
Uint16 VOLTSTAT:1; // 3 Core Voltage Status.
|
||||
Uint16 CSTAT:1; // 4 Command Status.
|
||||
Uint16 INVDAT:1; // 5 Invalid Data.
|
||||
Uint16 PGM:1; // 6 Program Active.
|
||||
Uint16 ERS:1; // 7 Erase Active.
|
||||
Uint16 Busy:1; // 8 Busy Bit.
|
||||
Uint16 rsvd2:1; // 9 Reserved
|
||||
Uint16 EV:1; // 10 Erase verify
|
||||
Uint16 rsvd3:1; // 11 Reserved
|
||||
Uint16 PGV:1; // 12 Program verify
|
||||
Uint16 rsvd4:1; // 13 Reserved
|
||||
Uint16 rsvd5:1; // 14 Reserved
|
||||
Uint16 rsvd6:1; // 15 Reserved
|
||||
Uint16 rsvd7:1; // 16 Reserved
|
||||
Uint16 rsvd8:1; // 17 Reserved
|
||||
Uint16 rsvd9:14; // 31:18 Reserved
|
||||
};
|
||||
|
||||
union FMSTAT_REG {
|
||||
Uint32 all;
|
||||
struct FMSTAT_BITS bit;
|
||||
};
|
||||
|
||||
struct FRD_INTF_CTRL_BITS { // bits description
|
||||
Uint16 PREFETCH_EN:1; // 0 Prefetch Enable
|
||||
Uint16 DATA_CACHE_EN:1; // 1 Data Cache Enable
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FRD_INTF_CTRL_REG {
|
||||
Uint32 all;
|
||||
struct FRD_INTF_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct FLASH_CTRL_REGS {
|
||||
union FRDCNTL_REG FRDCNTL; // Flash Read Control Register
|
||||
Uint16 rsvd1[28]; // Reserved
|
||||
union FBAC_REG FBAC; // Flash Bank Access Control Register
|
||||
union FBFALLBACK_REG FBFALLBACK; // Flash Bank Fallback Power Register
|
||||
union FBPRDY_REG FBPRDY; // Flash Bank Pump Ready Register
|
||||
union FPAC1_REG FPAC1; // Flash Pump Access Control Register 1
|
||||
Uint16 rsvd2[4]; // Reserved
|
||||
union FMSTAT_REG FMSTAT; // Flash Module Status Register
|
||||
Uint16 rsvd3[340]; // Reserved
|
||||
union FRD_INTF_CTRL_REG FRD_INTF_CTRL; // Flash Read Interface Control Register
|
||||
};
|
||||
|
||||
struct ECC_ENABLE_BITS { // bits description
|
||||
Uint16 ENABLE:4; // 3:0 Enable ECC
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ECC_ENABLE_REG {
|
||||
Uint32 all;
|
||||
struct ECC_ENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_STATUS_BITS { // bits description
|
||||
Uint16 FAIL_0_L:1; // 0 Lower 64bits Single Bit Error Corrected Value 0
|
||||
Uint16 FAIL_1_L:1; // 1 Lower 64bits Single Bit Error Corrected Value 1
|
||||
Uint16 UNC_ERR_L:1; // 2 Lower 64 bits Uncorrectable error occurred
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
Uint16 FAIL_0_H:1; // 16 Upper 64bits Single Bit Error Corrected Value 0
|
||||
Uint16 FAIL_1_H:1; // 17 Upper 64bits Single Bit Error Corrected Value 1
|
||||
Uint16 UNC_ERR_H:1; // 18 Upper 64 bits Uncorrectable error occurred
|
||||
Uint16 rsvd2:13; // 31:19 Reserved
|
||||
};
|
||||
|
||||
union ERR_STATUS_REG {
|
||||
Uint32 all;
|
||||
struct ERR_STATUS_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_POS_BITS { // bits description
|
||||
Uint16 ERR_POS_L:6; // 5:0 Bit Position of Single bit Error in lower 64 bits
|
||||
Uint16 rsvd1:2; // 7:6 Reserved
|
||||
Uint16 ERR_TYPE_L:1; // 8 Error Type in lower 64 bits
|
||||
Uint16 rsvd2:7; // 15:9 Reserved
|
||||
Uint16 ERR_POS_H:6; // 21:16 Bit Position of Single bit Error in upper 64 bits
|
||||
Uint16 rsvd3:2; // 23:22 Reserved
|
||||
Uint16 ERR_TYPE_H:1; // 24 Error Type in upper 64 bits
|
||||
Uint16 rsvd4:7; // 31:25 Reserved
|
||||
};
|
||||
|
||||
union ERR_POS_REG {
|
||||
Uint32 all;
|
||||
struct ERR_POS_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_STATUS_CLR_BITS { // bits description
|
||||
Uint16 FAIL_0_L_CLR:1; // 0 Lower 64bits Single Bit Error Corrected Value 0 Clear
|
||||
Uint16 FAIL_1_L_CLR:1; // 1 Lower 64bits Single Bit Error Corrected Value 1 Clear
|
||||
Uint16 UNC_ERR_L_CLR:1; // 2 Lower 64 bits Uncorrectable error occurred Clear
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
Uint16 FAIL_0_H_CLR:1; // 16 Upper 64bits Single Bit Error Corrected Value 0 Clear
|
||||
Uint16 FAIL_1_H_CLR:1; // 17 Upper 64bits Single Bit Error Corrected Value 1 Clear
|
||||
Uint16 UNC_ERR_H_CLR:1; // 18 Upper 64 bits Uncorrectable error occurred Clear
|
||||
Uint16 rsvd2:13; // 31:19 Reserved
|
||||
};
|
||||
|
||||
union ERR_STATUS_CLR_REG {
|
||||
Uint32 all;
|
||||
struct ERR_STATUS_CLR_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_CNT_BITS { // bits description
|
||||
Uint16 ERR_CNT:16; // 15:0 Error counter
|
||||
Uint16 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ERR_CNT_REG {
|
||||
Uint32 all;
|
||||
struct ERR_CNT_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_THRESHOLD_BITS { // bits description
|
||||
Uint16 ERR_THRESHOLD:16; // 15:0 Error Threshold
|
||||
Uint16 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ERR_THRESHOLD_REG {
|
||||
Uint32 all;
|
||||
struct ERR_THRESHOLD_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_INTFLG_BITS { // bits description
|
||||
Uint16 SINGLE_ERR_INTFLG:1; // 0 Single Error Interrupt Flag
|
||||
Uint16 UNC_ERR_INTFLG:1; // 1 Uncorrectable Interrupt Flag
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ERR_INTFLG_REG {
|
||||
Uint32 all;
|
||||
struct ERR_INTFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct ERR_INTCLR_BITS { // bits description
|
||||
Uint16 SINGLE_ERR_INTCLR:1; // 0 Single Error Interrupt Flag Clear
|
||||
Uint16 UNC_ERR_INTCLR:1; // 1 Uncorrectable Interrupt Flag Clear
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union ERR_INTCLR_REG {
|
||||
Uint32 all;
|
||||
struct ERR_INTCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct FADDR_TEST_BITS { // bits description
|
||||
Uint16 rsvd1:3; // 2:0 Reserved
|
||||
Uint16 ADDRL:13; // 15:3 ECC Address Low
|
||||
Uint16 ADDRH:6; // 21:16 ECC Address High
|
||||
Uint16 rsvd2:10; // 31:22 Reserved
|
||||
};
|
||||
|
||||
union FADDR_TEST_REG {
|
||||
Uint32 all;
|
||||
struct FADDR_TEST_BITS bit;
|
||||
};
|
||||
|
||||
struct FECC_TEST_BITS { // bits description
|
||||
Uint16 ECC:8; // 7:0 ECC Control Bits
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FECC_TEST_REG {
|
||||
Uint32 all;
|
||||
struct FECC_TEST_BITS bit;
|
||||
};
|
||||
|
||||
struct FECC_CTRL_BITS { // bits description
|
||||
Uint16 ECC_TEST_EN:1; // 0 Enable ECC Test Logic
|
||||
Uint16 ECC_SELECT:1; // 1 ECC Bit Select
|
||||
Uint16 DO_ECC_CALC:1; // 2 Enable ECC Calculation
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FECC_CTRL_REG {
|
||||
Uint32 all;
|
||||
struct FECC_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct FECC_STATUS_BITS { // bits description
|
||||
Uint16 SINGLE_ERR:1; // 0 Test Result is Single Bit Error
|
||||
Uint16 UNC_ERR:1; // 1 Test Result is Uncorrectable Error
|
||||
Uint16 DATA_ERR_POS:6; // 7:2 Holds Bit Position of Error
|
||||
Uint16 ERR_TYPE:1; // 8 Holds Bit Position of 8 Check Bits of Error
|
||||
Uint16 rsvd1:7; // 15:9 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union FECC_STATUS_REG {
|
||||
Uint32 all;
|
||||
struct FECC_STATUS_BITS bit;
|
||||
};
|
||||
|
||||
struct FLASH_ECC_REGS {
|
||||
union ECC_ENABLE_REG ECC_ENABLE; // ECC Enable
|
||||
Uint32 SINGLE_ERR_ADDR_LOW; // Single Error Address Low
|
||||
Uint32 SINGLE_ERR_ADDR_HIGH; // Single Error Address High
|
||||
Uint32 UNC_ERR_ADDR_LOW; // Uncorrectable Error Address Low
|
||||
Uint32 UNC_ERR_ADDR_HIGH; // Uncorrectable Error Address High
|
||||
union ERR_STATUS_REG ERR_STATUS; // Error Status
|
||||
union ERR_POS_REG ERR_POS; // Error Position
|
||||
union ERR_STATUS_CLR_REG ERR_STATUS_CLR; // Error Status Clear
|
||||
union ERR_CNT_REG ERR_CNT; // Error Control
|
||||
union ERR_THRESHOLD_REG ERR_THRESHOLD; // Error Threshold
|
||||
union ERR_INTFLG_REG ERR_INTFLG; // Error Interrupt Flag
|
||||
union ERR_INTCLR_REG ERR_INTCLR; // Error Interrupt Flag Clear
|
||||
Uint32 FDATAH_TEST; // Data High Test
|
||||
Uint32 FDATAL_TEST; // Data Low Test
|
||||
union FADDR_TEST_REG FADDR_TEST; // ECC Test Address
|
||||
union FECC_TEST_REG FECC_TEST; // ECC Test Address
|
||||
union FECC_CTRL_REG FECC_CTRL; // ECC Control
|
||||
Uint32 FOUTH_TEST; // Test Data Out High
|
||||
Uint32 FOUTL_TEST; // Test Data Out Low
|
||||
union FECC_STATUS_REG FECC_STATUS; // ECC Status
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// FLASH External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct FLASH_CTRL_REGS Flash0CtrlRegs;
|
||||
extern volatile struct FLASH_ECC_REGS Flash0EccRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct FLASH_CTRL_REGS Flash0CtrlRegs;
|
||||
extern volatile struct FLASH_ECC_REGS Flash0EccRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,728 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_fsi.h
|
||||
//
|
||||
// TITLE: Definitions for the FSI registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_FSI_H
|
||||
#define F2838X_FSI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// FSI Individual Register Bit Definitions:
|
||||
|
||||
struct TX_MASTER_CTRL_BITS { // bits description
|
||||
Uint16 CORE_RST:1; // 0 Transmitter Main Core Reset
|
||||
Uint16 FLUSH:1; // 1 Flush Operation Start
|
||||
Uint16 rsvd1:6; // 7:2 Reserved
|
||||
Uint16 KEY:8; // 15:8 Write Key
|
||||
};
|
||||
|
||||
union TX_MASTER_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_MASTER_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_CLK_CTRL_BITS { // bits description
|
||||
Uint16 CLK_RST:1; // 0 Soft Reset for the Clock Divider
|
||||
Uint16 CLK_EN:1; // 1 Clock Divider Enable
|
||||
Uint16 PRESCALE_VAL:8; // 9:2 Prescale value
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union TX_CLK_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_CLK_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_OPER_CTRL_LO_BITS { // bits description
|
||||
Uint16 DATA_WIDTH:2; // 1:0 Transmit Data width
|
||||
Uint16 SPI_MODE:1; // 2 SPI Mode Select
|
||||
Uint16 START_MODE:3; // 5:3 Transmission Start Mode Select
|
||||
Uint16 SW_CRC:1; // 6 CRC Source Select
|
||||
Uint16 PING_TO_MODE:1; // 7 Ping Counter Reset Mode Select
|
||||
Uint16 SEL_PLLCLK:1; // 8 Input Clock Select
|
||||
Uint16 TDM_ENABLE:1; // 9 Transmit TDM Mode Enable
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union TX_OPER_CTRL_LO_REG {
|
||||
Uint16 all;
|
||||
struct TX_OPER_CTRL_LO_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_OPER_CTRL_HI_BITS { // bits description
|
||||
Uint16 rsvd1:5; // 4:0 Reserved
|
||||
Uint16 FORCE_ERR:1; // 5 Error Frame Force
|
||||
Uint16 ECC_SEL:1; // 6 ECC Data Width Select
|
||||
Uint16 EXT_TRIG_SEL:6; // 12:7 External Trigger Select
|
||||
Uint16 rsvd2:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union TX_OPER_CTRL_HI_REG {
|
||||
Uint16 all;
|
||||
struct TX_OPER_CTRL_HI_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_FRAME_CTRL_BITS { // bits description
|
||||
Uint16 FRAME_TYPE:4; // 3:0 Transmit Frame Type
|
||||
Uint16 N_WORDS:4; // 7:4 Number of Words to be Transmitted
|
||||
Uint16 rsvd1:7; // 14:8 Reserved
|
||||
Uint16 START:1; // 15 Start Transmission
|
||||
};
|
||||
|
||||
union TX_FRAME_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_FRAME_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_FRAME_TAG_UDATA_BITS { // bits description
|
||||
Uint16 FRAME_TAG:4; // 3:0 Frame Tag
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 USER_DATA:8; // 15:8 User Data
|
||||
};
|
||||
|
||||
union TX_FRAME_TAG_UDATA_REG {
|
||||
Uint16 all;
|
||||
struct TX_FRAME_TAG_UDATA_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_BUF_PTR_LOAD_BITS { // bits description
|
||||
Uint16 BUF_PTR_LOAD:4; // 3:0 Buffer Pointer Force Load
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union TX_BUF_PTR_LOAD_REG {
|
||||
Uint16 all;
|
||||
struct TX_BUF_PTR_LOAD_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_BUF_PTR_STS_BITS { // bits description
|
||||
Uint16 CURR_BUF_PTR:4; // 3:0 Current Buffer Pointer Index
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 CURR_WORD_CNT:5; // 12:8 Remaining Words in Buffer
|
||||
Uint16 rsvd2:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union TX_BUF_PTR_STS_REG {
|
||||
Uint16 all;
|
||||
struct TX_BUF_PTR_STS_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_PING_CTRL_BITS { // bits description
|
||||
Uint16 CNT_RST:1; // 0 Ping Counter Reset
|
||||
Uint16 TIMER_EN:1; // 1 Ping Counter Enable
|
||||
Uint16 EXT_TRIG_EN:1; // 2 External Trigger Enable
|
||||
Uint16 EXT_TRIG_SEL:6; // 8:3 External Trigger Select
|
||||
Uint16 rsvd1:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union TX_PING_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_PING_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_PING_TAG_BITS { // bits description
|
||||
Uint16 TAG:4; // 3:0 Ping Frame Tag
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union TX_PING_TAG_REG {
|
||||
Uint16 all;
|
||||
struct TX_PING_TAG_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_INT_CTRL_BITS { // bits description
|
||||
Uint16 INT1_EN_FRAME_DONE:1; // 0 Enable Frame Done Interrupt to INT1
|
||||
Uint16 INT1_EN_BUF_UNDERRUN:1; // 1 Enable Buffer Underrun Interrupt to INT1
|
||||
Uint16 INT1_EN_BUF_OVERRUN:1; // 2 Enable Buffer Overrun Interrupt to INT1
|
||||
Uint16 INT1_EN_PING_TO:1; // 3 Enable Ping Timer Interrupt to INT1
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 INT2_EN_FRAME_DONE:1; // 8 Enable Frame Done Interrupt to INT2
|
||||
Uint16 INT2_EN_BUF_UNDERRUN:1; // 9 Enable Buffer Underrun Interrupt to INT2
|
||||
Uint16 INT2_EN_BUF_OVERRUN:1; // 10 Enable Buffer Overrun Interrupt to INT2
|
||||
Uint16 INT2_EN_PING_TO:1; // 11 Enable Ping Timer Interrupt to INT2
|
||||
Uint16 rsvd2:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union TX_INT_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_INT_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_DMA_CTRL_BITS { // bits description
|
||||
Uint16 DMA_EVT_EN:1; // 0 DMA Event Enable
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union TX_DMA_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_DMA_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_LOCK_CTRL_BITS { // bits description
|
||||
Uint16 LOCK:1; // 0 Control Register Lock Enable
|
||||
Uint16 rsvd1:7; // 7:1 Reserved
|
||||
Uint16 KEY:8; // 15:8 Write Key
|
||||
};
|
||||
|
||||
union TX_LOCK_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct TX_LOCK_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_EVT_STS_BITS { // bits description
|
||||
Uint16 FRAME_DONE:1; // 0 Frame Done Flag
|
||||
Uint16 BUF_UNDERRUN:1; // 1 Buffer Underrun Flag
|
||||
Uint16 BUF_OVERRUN:1; // 2 Buffer Overrun Flag
|
||||
Uint16 PING_TRIGGERED:1; // 3 Ping Frame Triggered Flag
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union TX_EVT_STS_REG {
|
||||
Uint16 all;
|
||||
struct TX_EVT_STS_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_EVT_CLR_BITS { // bits description
|
||||
Uint16 FRAME_DONE:1; // 0 Frame Done Flag Clear
|
||||
Uint16 BUF_UNDERRUN:1; // 1 Buffer Underrun Flag Clear
|
||||
Uint16 BUF_OVERRUN:1; // 2 Buffer Overrun Flag Clear
|
||||
Uint16 PING_TRIGGERED:1; // 3 Ping Frame Triggered Flag Clear
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union TX_EVT_CLR_REG {
|
||||
Uint16 all;
|
||||
struct TX_EVT_CLR_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_EVT_FRC_BITS { // bits description
|
||||
Uint16 FRAME_DONE:1; // 0 Frame Done Flag Force
|
||||
Uint16 BUF_UNDERRUN:1; // 1 Buffer Underrun Flag Force
|
||||
Uint16 BUF_OVERRUN:1; // 2 Buffer Overrun Flag Force
|
||||
Uint16 PING_TRIGGERED:1; // 3 Ping Frame Triggered Flag Force
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union TX_EVT_FRC_REG {
|
||||
Uint16 all;
|
||||
struct TX_EVT_FRC_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_USER_CRC_BITS { // bits description
|
||||
Uint16 USER_CRC:8; // 7:0 User-defined CRC
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union TX_USER_CRC_REG {
|
||||
Uint16 all;
|
||||
struct TX_USER_CRC_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_ECC_DATA_BITS { // bits description
|
||||
Uint16 DATA_LOW:16; // 15:0 ECC Data Lower 16 Bits
|
||||
Uint16 DATA_HIGH:16; // 31:16 ECC Data Upper 16 Bits
|
||||
};
|
||||
|
||||
union TX_ECC_DATA_REG {
|
||||
Uint32 all;
|
||||
struct TX_ECC_DATA_BITS bit;
|
||||
};
|
||||
|
||||
struct TX_ECC_VAL_BITS { // bits description
|
||||
Uint16 ECC_VAL:7; // 6:0 Computed ECC Value
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union TX_ECC_VAL_REG {
|
||||
Uint16 all;
|
||||
struct TX_ECC_VAL_BITS bit;
|
||||
};
|
||||
|
||||
struct FSI_TX_REGS {
|
||||
union TX_MASTER_CTRL_REG TX_MASTER_CTRL; // Transmit master control register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union TX_CLK_CTRL_REG TX_CLK_CTRL; // Transmit clock control register
|
||||
Uint16 rsvd2; // Reserved
|
||||
union TX_OPER_CTRL_LO_REG TX_OPER_CTRL_LO; // Transmit operation control register low
|
||||
union TX_OPER_CTRL_HI_REG TX_OPER_CTRL_HI; // Transmit operation control register high
|
||||
union TX_FRAME_CTRL_REG TX_FRAME_CTRL; // Transmit frame control register
|
||||
union TX_FRAME_TAG_UDATA_REG TX_FRAME_TAG_UDATA; // Transmit frame tag and user data register
|
||||
union TX_BUF_PTR_LOAD_REG TX_BUF_PTR_LOAD; // Transmit buffer pointer control load register
|
||||
union TX_BUF_PTR_STS_REG TX_BUF_PTR_STS; // Transmit buffer pointer control status register
|
||||
union TX_PING_CTRL_REG TX_PING_CTRL; // Transmit ping control register
|
||||
union TX_PING_TAG_REG TX_PING_TAG; // Transmit ping tag register
|
||||
Uint32 TX_PING_TO_REF; // Transmit ping timeout counter reference
|
||||
Uint32 TX_PING_TO_CNT; // Transmit ping timeout current count
|
||||
union TX_INT_CTRL_REG TX_INT_CTRL; // Transmit interrupt event control register
|
||||
union TX_DMA_CTRL_REG TX_DMA_CTRL; // Transmit DMA event control register
|
||||
union TX_LOCK_CTRL_REG TX_LOCK_CTRL; // Transmit lock control register
|
||||
Uint16 rsvd3; // Reserved
|
||||
union TX_EVT_STS_REG TX_EVT_STS; // Transmit event and error status flag register
|
||||
Uint16 rsvd4; // Reserved
|
||||
union TX_EVT_CLR_REG TX_EVT_CLR; // Transmit event and error clear register
|
||||
union TX_EVT_FRC_REG TX_EVT_FRC; // Transmit event and error flag force register
|
||||
union TX_USER_CRC_REG TX_USER_CRC; // Transmit user-defined CRC register
|
||||
Uint16 rsvd5[7]; // Reserved
|
||||
union TX_ECC_DATA_REG TX_ECC_DATA; // Transmit ECC data register
|
||||
union TX_ECC_VAL_REG TX_ECC_VAL; // Transmit ECC value register
|
||||
Uint16 rsvd6[29]; // Reserved
|
||||
Uint16 TX_BUF_BASE[16]; // Base address for transmit buffer
|
||||
};
|
||||
|
||||
struct RX_MASTER_CTRL_BITS { // bits description
|
||||
Uint16 CORE_RST:1; // 0 Receiver Main Core Reset
|
||||
Uint16 INT_LOOPBACK:1; // 1 Internal Loopback Enable
|
||||
Uint16 SPI_PAIRING:1; // 2 Clock Pairing for SPI-like Behaviour
|
||||
Uint16 rsvd1:5; // 7:3 Reserved
|
||||
Uint16 KEY:8; // 15:8 Write Key
|
||||
};
|
||||
|
||||
union RX_MASTER_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_MASTER_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_OPER_CTRL_BITS { // bits description
|
||||
Uint16 DATA_WIDTH:2; // 1:0 Receive Data Width Select
|
||||
Uint16 SPI_MODE:1; // 2 SPI Mode Enable
|
||||
Uint16 N_WORDS:4; // 6:3 Number of Words to be Received
|
||||
Uint16 ECC_SEL:1; // 7 ECC Data Width Select
|
||||
Uint16 PING_WD_RST_MODE:1; // 8 Ping Watchdog Timeout Mode Select
|
||||
Uint16 rsvd1:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union RX_OPER_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_OPER_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_FRAME_INFO_BITS { // bits description
|
||||
Uint16 FRAME_TYPE:4; // 3:0 Received Frame Type
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union RX_FRAME_INFO_REG {
|
||||
Uint16 all;
|
||||
struct RX_FRAME_INFO_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_FRAME_TAG_UDATA_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 FRAME_TAG:4; // 4:1 Received Frame Tag
|
||||
Uint16 rsvd2:3; // 7:5 Reserved
|
||||
Uint16 USER_DATA:8; // 15:8 Received User Data
|
||||
};
|
||||
|
||||
union RX_FRAME_TAG_UDATA_REG {
|
||||
Uint16 all;
|
||||
struct RX_FRAME_TAG_UDATA_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_DMA_CTRL_BITS { // bits description
|
||||
Uint16 DMA_EVT_EN:1; // 0 DMA Event Enable
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union RX_DMA_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_DMA_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_EVT_STS_BITS { // bits description
|
||||
Uint16 PING_WD_TO:1; // 0 Ping Watchdog Timeout Flag
|
||||
Uint16 FRAME_WD_TO:1; // 1 Frame Watchdog Timeout Flag.
|
||||
Uint16 CRC_ERR:1; // 2 CRC Error Flag
|
||||
Uint16 TYPE_ERR:1; // 3 Frame Type Error Flag
|
||||
Uint16 EOF_ERR:1; // 4 End-of-Frame Error Flag
|
||||
Uint16 BUF_OVERRUN:1; // 5 Receive Buffer Overrun Flag
|
||||
Uint16 FRAME_DONE:1; // 6 Frame Done Flag
|
||||
Uint16 BUF_UNDERRUN:1; // 7 Receive Buffer Underrun Flag
|
||||
Uint16 ERR_FRAME:1; // 8 Error Frame Received Flag
|
||||
Uint16 PING_FRAME:1; // 9 Ping Frame Received Flag
|
||||
Uint16 FRAME_OVERRUN:1; // 10 Frame Overrun Flag
|
||||
Uint16 DATA_FRAME:1; // 11 Data Frame Received Flag
|
||||
Uint16 PING_TAG_MATCH:1; // 12 Ping Tag Match Flag
|
||||
Uint16 DATA_TAG_MATCH:1; // 13 Data Tag Match Flag
|
||||
Uint16 ERROR_TAG_MATCH:1; // 14 Error Tag Match Flag
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RX_EVT_STS_REG {
|
||||
Uint16 all;
|
||||
struct RX_EVT_STS_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_CRC_INFO_BITS { // bits description
|
||||
Uint16 RX_CRC:8; // 7:0 Received CRC Value
|
||||
Uint16 CALC_CRC:8; // 15:8 Hardware Calculated CRC
|
||||
};
|
||||
|
||||
union RX_CRC_INFO_REG {
|
||||
Uint16 all;
|
||||
struct RX_CRC_INFO_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_EVT_CLR_BITS { // bits description
|
||||
Uint16 PING_WD_TO:1; // 0 Ping Watchdog Timeout Flag Clear
|
||||
Uint16 FRAME_WD_TO:1; // 1 Frame Watchdog Timeout Flag Clear
|
||||
Uint16 CRC_ERR:1; // 2 CRC Error Flag Clear
|
||||
Uint16 TYPE_ERR:1; // 3 Frame Type Error Flag Clear
|
||||
Uint16 EOF_ERR:1; // 4 End-of-Frame Error Flag Clear
|
||||
Uint16 BUF_OVERRUN:1; // 5 Receive Buffer Overrun Flag Clear
|
||||
Uint16 FRAME_DONE:1; // 6 Frame Done Flag Clear
|
||||
Uint16 BUF_UNDERRUN:1; // 7 Receive Buffer Underrun Flag Clear
|
||||
Uint16 ERR_FRAME:1; // 8 Error Frame Received Flag Clear
|
||||
Uint16 PING_FRAME:1; // 9 PING Frame Received Flag Clear
|
||||
Uint16 FRAME_OVERRUN:1; // 10 Frame Overrun Flag Clear
|
||||
Uint16 DATA_FRAME:1; // 11 Data Frame Received Flag Clear
|
||||
Uint16 PING_TAG_MATCH:1; // 12 Ping Tag Match Flag Clear
|
||||
Uint16 DATA_TAG_MATCH:1; // 13 Data Tag Match Flag Clear
|
||||
Uint16 ERROR_TAG_MATCH:1; // 14 Error Tag Match Flag Clear
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RX_EVT_CLR_REG {
|
||||
Uint16 all;
|
||||
struct RX_EVT_CLR_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_EVT_FRC_BITS { // bits description
|
||||
Uint16 PING_WD_TO:1; // 0 Ping Watchdog Timeout Flag Force
|
||||
Uint16 FRAME_WD_TO:1; // 1 Frame Watchdog Timeout Flag Force
|
||||
Uint16 CRC_ERR:1; // 2 CRC Error Flag Force
|
||||
Uint16 TYPE_ERR:1; // 3 Frame Type Error Flag Force
|
||||
Uint16 EOF_ERR:1; // 4 End-of-Frame Error Flag Force
|
||||
Uint16 BUF_OVERRUN:1; // 5 Receive Buffer Overrun Flag Force
|
||||
Uint16 FRAME_DONE:1; // 6 Frame Done Flag Force
|
||||
Uint16 BUF_UNDERRUN:1; // 7 Receive Buffer Underrun Flag Force
|
||||
Uint16 ERR_FRAME:1; // 8 Error Frame Received Flag Force
|
||||
Uint16 PING_FRAME:1; // 9 Ping Frame Received Flag Force
|
||||
Uint16 FRAME_OVERRUN:1; // 10 Frame Overrun Flag Force
|
||||
Uint16 DATA_FRAME:1; // 11 Data Frame Received Flag Force
|
||||
Uint16 PING_TAG_MATCH:1; // 12 Ping Tag Match Flag Force
|
||||
Uint16 DATA_TAG_MATCH:1; // 13 Data Tag Match Flag Force
|
||||
Uint16 ERROR_TAG_MATCH:1; // 14 Error Tag Match Flag Force
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RX_EVT_FRC_REG {
|
||||
Uint16 all;
|
||||
struct RX_EVT_FRC_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_BUF_PTR_LOAD_BITS { // bits description
|
||||
Uint16 BUF_PTR_LOAD:4; // 3:0 Load value for receive buffer pointer
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union RX_BUF_PTR_LOAD_REG {
|
||||
Uint16 all;
|
||||
struct RX_BUF_PTR_LOAD_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_BUF_PTR_STS_BITS { // bits description
|
||||
Uint16 CURR_BUF_PTR:4; // 3:0 Current Buffer Pointer Index
|
||||
Uint16 rsvd1:4; // 7:4 Reserved
|
||||
Uint16 CURR_WORD_CNT:5; // 12:8 Available Words in Buffer
|
||||
Uint16 rsvd2:3; // 15:13 Reserved
|
||||
};
|
||||
|
||||
union RX_BUF_PTR_STS_REG {
|
||||
Uint16 all;
|
||||
struct RX_BUF_PTR_STS_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_FRAME_WD_CTRL_BITS { // bits description
|
||||
Uint16 FRAME_WD_CNT_RST:1; // 0 Frame Watchdog Counter Reset
|
||||
Uint16 FRAME_WD_EN:1; // 1 Frame Watchdog Counter Enable
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union RX_FRAME_WD_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_FRAME_WD_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_PING_WD_CTRL_BITS { // bits description
|
||||
Uint16 PING_WD_RST:1; // 0 Ping Watchdog Counter Reset
|
||||
Uint16 PING_WD_EN:1; // 1 Ping Watchdog Counter Enable
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union RX_PING_WD_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_PING_WD_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_PING_TAG_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 PING_TAG:4; // 4:1 Ping Frame Tag
|
||||
Uint16 rsvd2:11; // 15:5 Reserved
|
||||
};
|
||||
|
||||
union RX_PING_TAG_REG {
|
||||
Uint16 all;
|
||||
struct RX_PING_TAG_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_INT1_CTRL_BITS { // bits description
|
||||
Uint16 INT1_EN_PING_WD_TO:1; // 0 Enable Ping Watchdog Timeout Interrupt to INT1
|
||||
Uint16 INT1_EN_FRAME_WD_TO:1; // 1 Enable Frame Watchdog Timeout Interrupt to INT1
|
||||
Uint16 INT1_EN_CRC_ERR:1; // 2 Enable CRC Error Interrupt to INT1
|
||||
Uint16 INT1_EN_TYPE_ERR:1; // 3 Enable Frame Type Error Interrupt to INT1
|
||||
Uint16 INT1_EN_EOF_ERR:1; // 4 Enable End-of-Frame Error Interrupt to INT1
|
||||
Uint16 INT1_EN_OVERRUN:1; // 5 Enable Receive Buffer Overrun Interrupt to INT1
|
||||
Uint16 INT1_EN_FRAME_DONE:1; // 6 Enable Frame Done Interrupt to INT1
|
||||
Uint16 INT1_EN_UNDERRUN:1; // 7 Enable Buffer Underrun Interrupt to INT1
|
||||
Uint16 INT1_EN_ERR_FRAME:1; // 8 Enable Error Frame Received Interrupt to INT1
|
||||
Uint16 INT1_EN_PING_FRAME:1; // 9 Enable Ping Frame Received Interrupt to INT1
|
||||
Uint16 INT1_EN_FRAME_OVERRUN:1; // 10 Enable Frame Overrun Interrupt to INT1
|
||||
Uint16 INT1_EN_DATA_FRAME:1; // 11 Enable Data Frame Received Interrupt to INT1
|
||||
Uint16 INT1_EN_PING_TAG_MATCH:1; // 12 Enable Ping Frame Tag Matched Interrupt to INT1
|
||||
Uint16 INT1_EN_DATA_TAG_MATCH:1; // 13 Enable Data Frame Tag Matched Interrupt to INT1
|
||||
Uint16 INT1_EN_ERROR_TAG_MATCH:1; // 14 Enable Error Frame Tag Matched Interrupt to INT1
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RX_INT1_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_INT1_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_INT2_CTRL_BITS { // bits description
|
||||
Uint16 INT2_EN_PING_WD_TO:1; // 0 Enable Ping Watchdog Timeout Interrupt to INT2
|
||||
Uint16 INT2_EN_FRAME_WD_TO:1; // 1 Enable Frame Watchdog Timeout Interrupt to INT2
|
||||
Uint16 INT2_EN_CRC_ERR:1; // 2 Enable CRC Errror Interrupt to INT2
|
||||
Uint16 INT2_EN_TYPE_ERR:1; // 3 Enable Frame Type Error Interrupt to INT2
|
||||
Uint16 INT2_EN_EOF_ERR:1; // 4 Enable End-of-Frame Error Interrupt to INT2
|
||||
Uint16 INT2_EN_OVERRUN:1; // 5 Enable Buffer Overrun Interrupt to INT2
|
||||
Uint16 INT2_EN_FRAME_DONE:1; // 6 Enable Frame Done Interrupt to INT2
|
||||
Uint16 INT2_EN_UNDERRUN:1; // 7 Enable Buffer Underrun Interrupt to INT2
|
||||
Uint16 INT2_EN_ERR_FRAME:1; // 8 Enable Error Frame Received Interrupt to INT2
|
||||
Uint16 INT2_EN_PING_FRAME:1; // 9 Enable Ping Frame Received Interrupt to INT2
|
||||
Uint16 INT2_EN_FRAME_OVERRUN:1; // 10 Enable Frame Overrun Interrupt to INT2
|
||||
Uint16 INT2_EN_DATA_FRAME:1; // 11 Enable Data Frame Received Interrupt to INT2
|
||||
Uint16 INT2_EN_PING_TAG_MATCH:1; // 12 Enable Ping Frame Tag Matched Interrupt to INT2
|
||||
Uint16 INT2_EN_DATA_TAG_MATCH:1; // 13 Enable Data Frame Tag Matched Interrupt to INT2
|
||||
Uint16 INT2_EN_ERROR_TAG_MATCH:1; // 14 Enable Error Frame Tag Matched Interrupt to INT2
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RX_INT2_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_INT2_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_LOCK_CTRL_BITS { // bits description
|
||||
Uint16 LOCK:1; // 0 Control Register Lock Enable
|
||||
Uint16 rsvd1:7; // 7:1 Reserved
|
||||
Uint16 KEY:8; // 15:8 Write Key
|
||||
};
|
||||
|
||||
union RX_LOCK_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_LOCK_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_ECC_DATA_BITS { // bits description
|
||||
Uint16 DATA_LOW:16; // 15:0 ECC Data Lower 16 Bits
|
||||
Uint16 DATA_HIGH:16; // 31:16 ECC Data Upper 16 Bits
|
||||
};
|
||||
|
||||
union RX_ECC_DATA_REG {
|
||||
Uint32 all;
|
||||
struct RX_ECC_DATA_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_ECC_VAL_BITS { // bits description
|
||||
Uint16 ECC_VAL:7; // 6:0 Computed ECC Value
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union RX_ECC_VAL_REG {
|
||||
Uint16 all;
|
||||
struct RX_ECC_VAL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_ECC_LOG_BITS { // bits description
|
||||
Uint16 SBE:1; // 0 Single Bit Error Detected
|
||||
Uint16 MBE:1; // 1 Multiple Bit Errors Detected
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union RX_ECC_LOG_REG {
|
||||
Uint16 all;
|
||||
struct RX_ECC_LOG_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_FRAME_TAG_CMP_BITS { // bits description
|
||||
Uint16 TAG_REF:4; // 3:0 Frame Tag Reference
|
||||
Uint16 TAG_MASK:4; // 7:4 Frame Tag Mask
|
||||
Uint16 CMP_EN:1; // 8 Frame Tag Compare Enable
|
||||
Uint16 BROADCAST_EN:1; // 9 Broadcast Enable
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union RX_FRAME_TAG_CMP_REG {
|
||||
Uint16 all;
|
||||
struct RX_FRAME_TAG_CMP_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_PING_TAG_CMP_BITS { // bits description
|
||||
Uint16 TAG_REF:4; // 3:0 Ping Tag Reference
|
||||
Uint16 TAG_MASK:4; // 7:4 Ping Tag Mask
|
||||
Uint16 CMP_EN:1; // 8 Ping Tag Compare Enable
|
||||
Uint16 BROADCAST_EN:1; // 9 Broadcast Enable
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union RX_PING_TAG_CMP_REG {
|
||||
Uint16 all;
|
||||
struct RX_PING_TAG_CMP_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_DLYLINE_CTRL_BITS { // bits description
|
||||
Uint16 RXCLK_DLY:5; // 4:0 Delay Line Tap Select for RXCLK
|
||||
Uint16 RXD0_DLY:5; // 9:5 Delay Line Tap Select for RXD0
|
||||
Uint16 RXD1_DLY:5; // 14:10 Delay Line Tap Select for RXD1
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RX_DLYLINE_CTRL_REG {
|
||||
Uint16 all;
|
||||
struct RX_DLYLINE_CTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct RX_VIS_1_BITS { // bits description
|
||||
Uint16 rsvd1:3; // 2:0 Reserved
|
||||
Uint16 RX_CORE_STS:1; // 3 Receiver Core Status
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union RX_VIS_1_REG {
|
||||
Uint32 all;
|
||||
struct RX_VIS_1_BITS bit;
|
||||
};
|
||||
|
||||
struct FSI_RX_REGS {
|
||||
union RX_MASTER_CTRL_REG RX_MASTER_CTRL; // Receive main control register
|
||||
Uint16 rsvd1[3]; // Reserved
|
||||
union RX_OPER_CTRL_REG RX_OPER_CTRL; // Receive operation control register
|
||||
Uint16 rsvd2; // Reserved
|
||||
union RX_FRAME_INFO_REG RX_FRAME_INFO; // Receive frame control register
|
||||
union RX_FRAME_TAG_UDATA_REG RX_FRAME_TAG_UDATA; // Receive frame tag and user data register
|
||||
union RX_DMA_CTRL_REG RX_DMA_CTRL; // Receive DMA event control register
|
||||
Uint16 rsvd3; // Reserved
|
||||
union RX_EVT_STS_REG RX_EVT_STS; // Receive event and error status flag register
|
||||
union RX_CRC_INFO_REG RX_CRC_INFO; // Receive CRC info of received and computed CRC
|
||||
union RX_EVT_CLR_REG RX_EVT_CLR; // Receive event and error clear register
|
||||
union RX_EVT_FRC_REG RX_EVT_FRC; // Receive event and error flag force register
|
||||
union RX_BUF_PTR_LOAD_REG RX_BUF_PTR_LOAD; // Receive buffer pointer load register
|
||||
union RX_BUF_PTR_STS_REG RX_BUF_PTR_STS; // Receive buffer pointer status register
|
||||
union RX_FRAME_WD_CTRL_REG RX_FRAME_WD_CTRL; // Receive frame watchdog control register
|
||||
Uint16 rsvd4; // Reserved
|
||||
Uint32 RX_FRAME_WD_REF; // Receive frame watchdog counter reference
|
||||
Uint32 RX_FRAME_WD_CNT; // Receive frame watchdog current count
|
||||
union RX_PING_WD_CTRL_REG RX_PING_WD_CTRL; // Receive ping watchdog control register
|
||||
union RX_PING_TAG_REG RX_PING_TAG; // Receive ping tag register
|
||||
Uint32 RX_PING_WD_REF; // Receive ping watchdog counter reference
|
||||
Uint32 RX_PING_WD_CNT; // Receive pingwatchdog current count
|
||||
union RX_INT1_CTRL_REG RX_INT1_CTRL; // Receive interrupt control register for RX_INT1
|
||||
union RX_INT2_CTRL_REG RX_INT2_CTRL; // Receive interrupt control register for RX_INT2
|
||||
union RX_LOCK_CTRL_REG RX_LOCK_CTRL; // Receive lock control register
|
||||
Uint16 rsvd5; // Reserved
|
||||
union RX_ECC_DATA_REG RX_ECC_DATA; // Receive ECC data register
|
||||
union RX_ECC_VAL_REG RX_ECC_VAL; // Receive ECC value register
|
||||
Uint16 rsvd6; // Reserved
|
||||
Uint32 RX_ECC_SEC_DATA; // Receive ECC corrected data register
|
||||
union RX_ECC_LOG_REG RX_ECC_LOG; // Receive ECC log and status register
|
||||
Uint16 rsvd7; // Reserved
|
||||
union RX_FRAME_TAG_CMP_REG RX_FRAME_TAG_CMP; // Receive frame tag compare register
|
||||
union RX_PING_TAG_CMP_REG RX_PING_TAG_CMP; // Receive ping tag compare register
|
||||
Uint16 rsvd8[6]; // Reserved
|
||||
union RX_DLYLINE_CTRL_REG RX_DLYLINE_CTRL; // Receive delay line control register
|
||||
Uint16 rsvd9[7]; // Reserved
|
||||
union RX_VIS_1_REG RX_VIS_1; // Receive debug visibility register 1
|
||||
Uint16 rsvd10[6]; // Reserved
|
||||
Uint16 RX_BUF_BASE[16]; // Base address for receive data buffer
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// FSI External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct FSI_TX_REGS FsiTxaRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxaRegs;
|
||||
extern volatile struct FSI_TX_REGS FsiTxbRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxbRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxcRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxdRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxeRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxfRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxgRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxhRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct FSI_TX_REGS FsiTxaRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxaRegs;
|
||||
extern volatile struct FSI_TX_REGS FsiTxbRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxbRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxcRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxdRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxeRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxfRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxgRegs;
|
||||
extern volatile struct FSI_RX_REGS FsiRxhRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,298 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_hwbist.h
|
||||
//
|
||||
// TITLE: Definitions for the HWBIST registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838x_HWBIST_H
|
||||
#define F2838x_HWBIST_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// HWBIST Individual Register Bit Definitions:
|
||||
|
||||
struct CSTCGCR3_BITS { // bits description
|
||||
Uint16 ILS:4; // 3:0 Interrupt Logging Start
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCGCR3_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGCR3_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCGCR4_BITS { // bits description
|
||||
Uint16 BISTGO:4; // 3:0 BIST Start
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCGCR4_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGCR4_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCGCR5_BITS { // bits description
|
||||
Uint16 RESTART:4; // 3:0 Restart Enable
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:15; // 30:16 Reserved
|
||||
Uint16 SOFT_RESET:1; // 31 Soft reset to BIST controller
|
||||
};
|
||||
|
||||
union CSTCGCR5_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGCR5_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCGCR6_BITS { // bits description
|
||||
Uint16 COV:2; // 1:0 COVERAGE
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCGCR6_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGCR6_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCGCR7_BITS { // bits description
|
||||
Uint16 MCL:8; // 7:0 MAX CHAIN LENGTH
|
||||
Uint16 DC:4; // 11:8 DEAD CYCLES
|
||||
Uint16 NP:4; // 15:12 NUM OF PIPELINE STAGES
|
||||
Uint16 PST:2; // 17:16 PATTERN SET TYPE
|
||||
Uint16 SCD:2; // 19:18 SHIFT_CLOCK_DIVISION
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union CSTCGCR7_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGCR7_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCGCR8_BITS { // bits description
|
||||
Uint16 CPC:16; // 15:0 COMPARE PATTERN CNT
|
||||
Uint16 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCGCR8_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGCR8_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCPCNT_BITS { // bits description
|
||||
Uint16 PCNT_95:16; // 15:0 PATTERNS FOR 95% COVERAGE
|
||||
Uint16 PCNT_99:16; // 31:16 PATTERNS FOR 99% COVERAGE
|
||||
};
|
||||
|
||||
union CSTCPCNT_REG {
|
||||
Uint32 all;
|
||||
struct CSTCPCNT_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCCONFIG_BITS { // bits description
|
||||
Uint16 CFGDONE:4; // 3:0 Configuration done
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCCONFIG_REG {
|
||||
Uint32 all;
|
||||
struct CSTCCONFIG_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCSADDR_BITS { // bits description
|
||||
Uint16 SAPAT:16; // 15:0 PATTERN ROM Start Address
|
||||
Uint16 SAMISR:16; // 31:16 MISR ROM Start Address
|
||||
};
|
||||
|
||||
union CSTCSADDR_REG {
|
||||
Uint32 all;
|
||||
struct CSTCSADDR_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCTEST_BITS { // bits description
|
||||
Uint16 TEST_TO:4; // 3:0 Test_ Time_Out
|
||||
Uint16 TEST_CMP_FAIL:4; // 7:4 Test MISR compare fail
|
||||
Uint16 TEST_NMI:4; // 11:8 Test_NMI
|
||||
Uint32 TEST:20; // 31:12 TEST Bits
|
||||
};
|
||||
|
||||
union CSTCTEST_REG {
|
||||
Uint32 all;
|
||||
struct CSTCTEST_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCCRD_BITS { // bits description
|
||||
Uint16 Restore_Done:4; // 3:0 Context Restone Done
|
||||
Uint16 rsvd1:12; // 15:4 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCCRD_REG {
|
||||
Uint32 all;
|
||||
struct CSTCCRD_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCGSTAT_BITS { // bits description
|
||||
Uint16 BISTDONE:1; // 0 HW BIST Complete
|
||||
Uint16 MACRODONE:1; // 1 Macro test slot Complete
|
||||
Uint16 NMI:1; // 2 Exit due to NMI
|
||||
Uint16 BISTFAIL:1; // 3 HW BIST Failure
|
||||
Uint16 INTCMPF:1; // 4 Intermediate Comparison Failure
|
||||
Uint16 TOFAIL:1; // 5 Time Out Failure
|
||||
Uint16 rsvd1:10; // 15:6 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCGSTAT_REG {
|
||||
Uint32 all;
|
||||
struct CSTCGSTAT_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCCPCR_BITS { // bits description
|
||||
Uint16 PATCNT:16; // 15:0 Current Pattern Count
|
||||
Uint16 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union CSTCCPCR_REG {
|
||||
Uint32 all;
|
||||
struct CSTCCPCR_BITS bit;
|
||||
};
|
||||
|
||||
struct CSTCCADDR_BITS { // bits description
|
||||
Uint16 PATADDR:16; // 15:0 Current Pattern ROM Address
|
||||
Uint16 MISRADDR:16; // 31:16 Current MISR ROM Address
|
||||
};
|
||||
|
||||
union CSTCCADDR_REG {
|
||||
Uint32 all;
|
||||
struct CSTCCADDR_BITS bit;
|
||||
};
|
||||
|
||||
struct HWBIST_REGS {
|
||||
Uint16 rsvd1[4]; // Reserved
|
||||
Uint32 CSTCGCR1; // STC Global Control Register1
|
||||
Uint16 rsvd2[6]; // Reserved
|
||||
union CSTCGCR3_REG CSTCGCR3; // STC Global Control Register3
|
||||
Uint16 rsvd3[2]; // Reserved
|
||||
union CSTCGCR4_REG CSTCGCR4; // STC Global Control Register4
|
||||
Uint16 rsvd4[2]; // Reserved
|
||||
union CSTCGCR5_REG CSTCGCR5; // STC Global Control Register5
|
||||
Uint16 rsvd5[2]; // Reserved
|
||||
union CSTCGCR6_REG CSTCGCR6; // STC Global Control Register6
|
||||
Uint16 rsvd6[2]; // Reserved
|
||||
union CSTCGCR7_REG CSTCGCR7; // STC Global Control Register7
|
||||
Uint16 rsvd7[2]; // Reserved
|
||||
union CSTCGCR8_REG CSTCGCR8; // STC Global Control Register8
|
||||
Uint16 rsvd8[2]; // Reserved
|
||||
union CSTCPCNT_REG CSTCPCNT; // STC Pattern Count Register
|
||||
Uint16 rsvd9[2]; // Reserved
|
||||
union CSTCCONFIG_REG CSTCCONFIG; // STC Registers Configuration Status
|
||||
Uint16 rsvd10[2]; // Reserved
|
||||
union CSTCSADDR_REG CSTCSADDR; // STC ROM Start Address
|
||||
Uint16 rsvd11[2]; // Reserved
|
||||
union CSTCTEST_REG CSTCTEST; // C28 HW BIST Test Register
|
||||
Uint16 rsvd12[2]; // Reserved
|
||||
Uint32 CSTCRET; // C28 Return PC Address
|
||||
Uint16 rsvd13[2]; // Reserved
|
||||
union CSTCCRD_REG CSTCCRD; // C28 Context Restore Done Register
|
||||
Uint16 rsvd14[6]; // Reserved
|
||||
union CSTCGSTAT_REG CSTCGSTAT; // STC Global Status Register
|
||||
Uint16 rsvd15[6]; // Reserved
|
||||
union CSTCCPCR_REG CSTCCPCR; // STC Current Pattern Count Register
|
||||
Uint16 rsvd16[2]; // Reserved
|
||||
union CSTCCADDR_REG CSTCCADDR; // STC Current ROM Address Register
|
||||
Uint16 rsvd17[2]; // Reserved
|
||||
Uint32 CSTCMISR0; // MISR Result Register 0
|
||||
Uint16 rsvd18[2]; // Reserved
|
||||
Uint32 CSTCMISR1; // MISR Result Register 1
|
||||
Uint16 rsvd19[2]; // Reserved
|
||||
Uint32 CSTCMISR2; // MISR Result Register 2
|
||||
Uint16 rsvd20[2]; // Reserved
|
||||
Uint32 CSTCMISR3; // MISR Result Register 3
|
||||
Uint16 rsvd21[2]; // Reserved
|
||||
Uint32 CSTCMISR4; // MISR Result Register 4
|
||||
Uint16 rsvd22[2]; // Reserved
|
||||
Uint32 CSTCMISR5; // MISR Result Register 5
|
||||
Uint16 rsvd23[2]; // Reserved
|
||||
Uint32 CSTCMISR6; // MISR Result Register 6
|
||||
Uint16 rsvd24[2]; // Reserved
|
||||
Uint32 CSTCMISR7; // MISR Result Register 7
|
||||
Uint16 rsvd25[2]; // Reserved
|
||||
Uint32 CSTCMISR8; // MISR Result Register 8
|
||||
Uint16 rsvd26[2]; // Reserved
|
||||
Uint32 CSTCMISR9; // MISR Result Register 9
|
||||
Uint16 rsvd27[2]; // Reserved
|
||||
Uint32 CSTCMISR10; // MISR Result Register 10
|
||||
Uint16 rsvd28[2]; // Reserved
|
||||
Uint32 CSTCMISR11; // MISR Result Register 11
|
||||
Uint16 rsvd29[2]; // Reserved
|
||||
Uint32 CSTCMISR12; // MISR Result Register 12
|
||||
Uint16 rsvd30[2]; // Reserved
|
||||
Uint32 CSTCMISR13; // MISR Result Register 13
|
||||
Uint16 rsvd31[2]; // Reserved
|
||||
Uint32 CSTCMISR14; // MISR Result Register 14
|
||||
Uint16 rsvd32[2]; // Reserved
|
||||
Uint32 CSTCMISR15; // MISR Result Register 15
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// HWBIST External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct HWBIST_REGS HwbistRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct HWBIST_REGS HwbistRegs;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,258 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_i2c.h
|
||||
//
|
||||
// TITLE: Definitions for the I2C registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_I2C_H
|
||||
#define F2838X_I2C_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// I2C Individual Register Bit Definitions:
|
||||
|
||||
struct I2COAR_BITS { // bits description
|
||||
Uint16 OAR:10; // 9:0 I2C Own address
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union I2COAR_REG {
|
||||
Uint16 all;
|
||||
struct I2COAR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CIER_BITS { // bits description
|
||||
Uint16 ARBL:1; // 0 Arbitration-lost interrupt enable
|
||||
Uint16 NACK:1; // 1 No-acknowledgment interrupt enable
|
||||
Uint16 ARDY:1; // 2 Register-access-ready interrupt enable
|
||||
Uint16 RRDY:1; // 3 Receive-data-ready interrupt enable
|
||||
Uint16 XRDY:1; // 4 Transmit-data-ready interrupt enable
|
||||
Uint16 SCD:1; // 5 Stop condition detected interrupt enable
|
||||
Uint16 AAS:1; // 6 Addressed as slave interrupt enable
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union I2CIER_REG {
|
||||
Uint16 all;
|
||||
struct I2CIER_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CSTR_BITS { // bits description
|
||||
Uint16 ARBL:1; // 0 Arbitration-lost interrupt flag bit
|
||||
Uint16 NACK:1; // 1 No-acknowledgment interrupt flag bit.
|
||||
Uint16 ARDY:1; // 2 Register-access-ready interrupt flag bit
|
||||
Uint16 RRDY:1; // 3 Receive-data-ready interrupt flag bit.
|
||||
Uint16 XRDY:1; // 4 Transmit-data-ready interrupt flag bit.
|
||||
Uint16 SCD:1; // 5 Stop condition detected bit.
|
||||
Uint16 BYTESENT:1; // 6 Byte transmit over indication
|
||||
Uint16 rsvd1:1; // 7 Reserved
|
||||
Uint16 AD0:1; // 8 Address 0 bits
|
||||
Uint16 AAS:1; // 9 Addressed-as-slave bit
|
||||
Uint16 XSMT:1; // 10 Transmit shift register empty bit.
|
||||
Uint16 RSFULL:1; // 11 Receive shift register full bit.
|
||||
Uint16 BB:1; // 12 Bus busy bit.
|
||||
Uint16 NACKSNT:1; // 13 NACK sent bit.
|
||||
Uint16 SDIR:1; // 14 Slave direction bit
|
||||
Uint16 rsvd2:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union I2CSTR_REG {
|
||||
Uint16 all;
|
||||
struct I2CSTR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CDRR_BITS { // bits description
|
||||
Uint16 DATA:8; // 7:0 Receive data
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union I2CDRR_REG {
|
||||
Uint16 all;
|
||||
struct I2CDRR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CSAR_BITS { // bits description
|
||||
Uint16 SAR:10; // 9:0 Slave Address
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union I2CSAR_REG {
|
||||
Uint16 all;
|
||||
struct I2CSAR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CDXR_BITS { // bits description
|
||||
Uint16 DATA:8; // 7:0 Transmit data
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union I2CDXR_REG {
|
||||
Uint16 all;
|
||||
struct I2CDXR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CMDR_BITS { // bits description
|
||||
Uint16 BC:3; // 2:0 Bit count bits.
|
||||
Uint16 FDF:1; // 3 Free Data Format
|
||||
Uint16 STB:1; // 4 START Byte Mode
|
||||
Uint16 IRS:1; // 5 I2C Module Reset
|
||||
Uint16 DLB:1; // 6 Digital Loopback Mode
|
||||
Uint16 RM:1; // 7 Repeat Mode
|
||||
Uint16 XA:1; // 8 Expanded Address Mode
|
||||
Uint16 TRX:1; // 9 Transmitter Mode
|
||||
Uint16 MST:1; // 10 Master Mode
|
||||
Uint16 STP:1; // 11 STOP Condition
|
||||
Uint16 rsvd1:1; // 12 Reserved
|
||||
Uint16 STT:1; // 13 START condition bit
|
||||
Uint16 FREE:1; // 14 Debug Action
|
||||
Uint16 NACKMOD:1; // 15 NACK mode bit
|
||||
};
|
||||
|
||||
union I2CMDR_REG {
|
||||
Uint16 all;
|
||||
struct I2CMDR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CISRC_BITS { // bits description
|
||||
Uint16 INTCODE:3; // 2:0 Interrupt code bits.
|
||||
Uint16 rsvd1:5; // 7:3 Reserved
|
||||
Uint16 WRITE_ZEROS:4; // 11:8 Always write all 0s to this field
|
||||
Uint16 rsvd2:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union I2CISRC_REG {
|
||||
Uint16 all;
|
||||
struct I2CISRC_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CEMDR_BITS { // bits description
|
||||
Uint16 BC:1; // 0 Backwards compatibility mode
|
||||
Uint16 FCM:1; // 1 Forward Compatibility for Tx behav in Type1
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union I2CEMDR_REG {
|
||||
Uint16 all;
|
||||
struct I2CEMDR_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CPSC_BITS { // bits description
|
||||
Uint16 IPSC:8; // 7:0 I2C Prescaler Divide Down
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union I2CPSC_REG {
|
||||
Uint16 all;
|
||||
struct I2CPSC_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CFFTX_BITS { // bits description
|
||||
Uint16 TXFFIL:5; // 4:0 Transmit FIFO Interrupt Level
|
||||
Uint16 TXFFIENA:1; // 5 Transmit FIFO Interrupt Enable
|
||||
Uint16 TXFFINTCLR:1; // 6 Transmit FIFO Interrupt Flag Clear
|
||||
Uint16 TXFFINT:1; // 7 Transmit FIFO Interrupt Flag
|
||||
Uint16 TXFFST:5; // 12:8 Transmit FIFO Status
|
||||
Uint16 TXFFRST:1; // 13 Transmit FIFO Reset
|
||||
Uint16 I2CFFEN:1; // 14 Transmit FIFO Enable
|
||||
Uint16 rsvd1:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union I2CFFTX_REG {
|
||||
Uint16 all;
|
||||
struct I2CFFTX_BITS bit;
|
||||
};
|
||||
|
||||
struct I2CFFRX_BITS { // bits description
|
||||
Uint16 RXFFIL:5; // 4:0 Receive FIFO Interrupt Level
|
||||
Uint16 RXFFIENA:1; // 5 Receive FIFO Interrupt Enable
|
||||
Uint16 RXFFINTCLR:1; // 6 Receive FIFO Interrupt Flag Clear
|
||||
Uint16 RXFFINT:1; // 7 Receive FIFO Interrupt Flag
|
||||
Uint16 RXFFST:5; // 12:8 Receive FIFO Status
|
||||
Uint16 RXFFRST:1; // 13 Receive FIFO Reset
|
||||
Uint16 rsvd1:2; // 15:14 Reserved
|
||||
};
|
||||
|
||||
union I2CFFRX_REG {
|
||||
Uint16 all;
|
||||
struct I2CFFRX_BITS bit;
|
||||
};
|
||||
|
||||
struct I2C_REGS {
|
||||
union I2COAR_REG I2COAR; // I2C Own address
|
||||
union I2CIER_REG I2CIER; // I2C Interrupt Enable
|
||||
union I2CSTR_REG I2CSTR; // I2C Status
|
||||
Uint16 I2CCLKL; // I2C Clock low-time divider
|
||||
Uint16 I2CCLKH; // I2C Clock high-time divider
|
||||
Uint16 I2CCNT; // I2C Data count
|
||||
union I2CDRR_REG I2CDRR; // I2C Data receive
|
||||
union I2CSAR_REG I2CSAR; // I2C Slave address
|
||||
union I2CDXR_REG I2CDXR; // I2C Data Transmit
|
||||
union I2CMDR_REG I2CMDR; // I2C Mode
|
||||
union I2CISRC_REG I2CISRC; // I2C Interrupt Source
|
||||
union I2CEMDR_REG I2CEMDR; // I2C Extended Mode
|
||||
union I2CPSC_REG I2CPSC; // I2C Prescaler
|
||||
Uint16 rsvd1[19]; // Reserved
|
||||
union I2CFFTX_REG I2CFFTX; // I2C FIFO Transmit
|
||||
union I2CFFRX_REG I2CFFRX; // I2C FIFO Receive
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// I2C External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct I2C_REGS I2caRegs;
|
||||
extern volatile struct I2C_REGS I2cbRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct I2C_REGS I2caRegs;
|
||||
extern volatile struct I2C_REGS I2cbRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,115 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_inputxbar.h
|
||||
//
|
||||
// TITLE: Definitions for the INPUTXBAR registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_INPUTXBAR_H
|
||||
#define F2838X_INPUTXBAR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// INPUTXBAR Individual Register Bit Definitions:
|
||||
|
||||
struct INPUTSELECTLOCK_BITS { // bits description
|
||||
Uint16 INPUT1SELECT:1; // 0 Lock bit for INPUT1SELECT Register
|
||||
Uint16 INPUT2SELECT:1; // 1 Lock bit for INPUT2SELECT Register
|
||||
Uint16 INPUT3SELECT:1; // 2 Lock bit for INPUT3SELECT Register
|
||||
Uint16 INPUT4SELECT:1; // 3 Lock bit for INPUT4SELECT Register
|
||||
Uint16 INPUT5SELECT:1; // 4 Lock bit for INPUT5SELECT Register
|
||||
Uint16 INPUT6SELECT:1; // 5 Lock bit for INPUT6SELECT Register
|
||||
Uint16 INPUT7SELECT:1; // 6 Lock bit for INPUT7SELECT Register
|
||||
Uint16 INPUT8SELECT:1; // 7 Lock bit for INPUT8SELECT Register
|
||||
Uint16 INPUT9SELECT:1; // 8 Lock bit for INPUT9SELECT Register
|
||||
Uint16 INPUT10SELECT:1; // 9 Lock bit for INPUT10SELECT Register
|
||||
Uint16 INPUT11SELECT:1; // 10 Lock bit for INPUT11SELECT Register
|
||||
Uint16 INPUT12SELECT:1; // 11 Lock bit for INPUT12SELECT Register
|
||||
Uint16 INPUT13SELECT:1; // 12 Lock bit for INPUT13SELECT Register
|
||||
Uint16 INPUT14SELECT:1; // 13 Lock bit for INPUT14SELECT Register
|
||||
Uint16 INPUT15SELECT:1; // 14 Lock bit for INPUT15SELECT Register
|
||||
Uint16 INPUT16SELECT:1; // 15 Lock bit for INPUT16SELECT Register
|
||||
Uint16 rsvd1:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union INPUTSELECTLOCK_REG {
|
||||
Uint32 all;
|
||||
struct INPUTSELECTLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct INPUT_XBAR_REGS {
|
||||
Uint16 INPUT1SELECT; // INPUT1 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT2SELECT; // INPUT2 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT3SELECT; // INPUT3 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT4SELECT; // INPUT4 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT5SELECT; // INPUT5 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT6SELECT; // INPUT6 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT7SELECT; // INPUT7 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT8SELECT; // INPUT8 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT9SELECT; // INPUT9 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT10SELECT; // INPUT10 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT11SELECT; // INPUT11 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT12SELECT; // INPUT12 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT13SELECT; // INPUT13 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT14SELECT; // INPUT14 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT15SELECT; // INPUT15 Input Select Register (GPIO0 to x)
|
||||
Uint16 INPUT16SELECT; // INPUT16 Input Select Register (GPIO0 to x)
|
||||
Uint16 rsvd1[14]; // Reserved
|
||||
union INPUTSELECTLOCK_REG INPUTSELECTLOCK; // Input Select Lock Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// INPUTXBAR External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct INPUT_XBAR_REGS InputXbarRegs;
|
||||
extern volatile struct INPUT_XBAR_REGS ClbInputXbarRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,968 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_ipc.h
|
||||
//
|
||||
// TITLE: Definitions for the IPC registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_IPC_H
|
||||
#define F2838X_IPC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// IPC Individual Register Bit Definitions:
|
||||
|
||||
struct CPU1TOCMIPCACK_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC0 bit
|
||||
Uint16 IPC1:1; // 1 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC1 bit
|
||||
Uint16 IPC2:1; // 2 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC2 bit
|
||||
Uint16 IPC3:1; // 3 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC3 bit
|
||||
Uint16 IPC4:1; // 4 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC4 bit
|
||||
Uint16 IPC5:1; // 5 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC5 bit
|
||||
Uint16 IPC6:1; // 6 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC6 bit
|
||||
Uint16 IPC7:1; // 7 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC7 bit
|
||||
Uint16 IPC8:1; // 8 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC8 bit
|
||||
Uint16 IPC9:1; // 9 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC9 bit
|
||||
Uint16 IPC10:1; // 10 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC10 bit
|
||||
Uint16 IPC11:1; // 11 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC11 bit
|
||||
Uint16 IPC12:1; // 12 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC12 bit
|
||||
Uint16 IPC13:1; // 13 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC13 bit
|
||||
Uint16 IPC14:1; // 14 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC14 bit
|
||||
Uint16 IPC15:1; // 15 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC15 bit
|
||||
Uint16 IPC16:1; // 16 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC16 bit
|
||||
Uint16 IPC17:1; // 17 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC17 bit
|
||||
Uint16 IPC18:1; // 18 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC18 bit
|
||||
Uint16 IPC19:1; // 19 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC19 bit
|
||||
Uint16 IPC20:1; // 20 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC20 bit
|
||||
Uint16 IPC21:1; // 21 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC21 bit
|
||||
Uint16 IPC22:1; // 22 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC22 bit
|
||||
Uint16 IPC23:1; // 23 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC23 bit
|
||||
Uint16 IPC24:1; // 24 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC24 bit
|
||||
Uint16 IPC25:1; // 25 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC25 bit
|
||||
Uint16 IPC26:1; // 26 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC26 bit
|
||||
Uint16 IPC27:1; // 27 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC27 bit
|
||||
Uint16 IPC28:1; // 28 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC28 bit
|
||||
Uint16 IPC29:1; // 29 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC29 bit
|
||||
Uint16 IPC30:1; // 30 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC30 bit
|
||||
Uint16 IPC31:1; // 31 Acknowledgement from CPU1 to CMTOCPU1IPCFLG.IPC31 bit
|
||||
};
|
||||
|
||||
union CPU1TOCMIPCACK_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCMIPCACK_BITS bit;
|
||||
};
|
||||
|
||||
struct CMTOCPU1IPCSTS_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 IPC0 Request from CM to CPU1
|
||||
Uint16 IPC1:1; // 1 IPC1 Request from CM to CPU1
|
||||
Uint16 IPC2:1; // 2 IPC2 Request from CM to CPU1
|
||||
Uint16 IPC3:1; // 3 IPC3 Request from CM to CPU1
|
||||
Uint16 IPC4:1; // 4 IPC4 Request from CM to CPU1
|
||||
Uint16 IPC5:1; // 5 IPC5 Request from CM to CPU1
|
||||
Uint16 IPC6:1; // 6 IPC6 Request from CM to CPU1
|
||||
Uint16 IPC7:1; // 7 IPC7 Request from CM to CPU1
|
||||
Uint16 IPC8:1; // 8 IPC8 Request from CM to CPU1
|
||||
Uint16 IPC9:1; // 9 IPC9 Request from CM to CPU1
|
||||
Uint16 IPC10:1; // 10 IPC10 Request from CM to CPU1
|
||||
Uint16 IPC11:1; // 11 IPC11 Request from CM to CPU1
|
||||
Uint16 IPC12:1; // 12 IPC12 Request from CM to CPU1
|
||||
Uint16 IPC13:1; // 13 IPC13 Request from CM to CPU1
|
||||
Uint16 IPC14:1; // 14 IPC14 Request from CM to CPU1
|
||||
Uint16 IPC15:1; // 15 IPC15 Request from CM to CPU1
|
||||
Uint16 IPC16:1; // 16 IPC16 Request from CM to CPU1
|
||||
Uint16 IPC17:1; // 17 IPC17 Request from CM to CPU1
|
||||
Uint16 IPC18:1; // 18 IPC18 Request from CM to CPU1
|
||||
Uint16 IPC19:1; // 19 IPC19 Request from CM to CPU1
|
||||
Uint16 IPC20:1; // 20 IPC20 Request from CM to CPU1
|
||||
Uint16 IPC21:1; // 21 IPC21 Request from CM to CPU1
|
||||
Uint16 IPC22:1; // 22 IPC22 Request from CM to CPU1
|
||||
Uint16 IPC23:1; // 23 IPC23 Request from CM to CPU1
|
||||
Uint16 IPC24:1; // 24 IPC24 Request from CM to CPU1
|
||||
Uint16 IPC25:1; // 25 IPC25 Request from CM to CPU1
|
||||
Uint16 IPC26:1; // 26 IPC26 Request from CM to CPU1
|
||||
Uint16 IPC27:1; // 27 IPC27 Request from CM to CPU1
|
||||
Uint16 IPC28:1; // 28 IPC28 Request from CM to CPU1
|
||||
Uint16 IPC29:1; // 29 IPC29 Request from CM to CPU1
|
||||
Uint16 IPC30:1; // 30 IPC30 Request from CM to CPU1
|
||||
Uint16 IPC31:1; // 31 IPC31 Request from CM to CPU1
|
||||
};
|
||||
|
||||
union CMTOCPU1IPCSTS_REG {
|
||||
Uint32 all;
|
||||
struct CMTOCPU1IPCSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCMIPCSET_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Set CPU1TOCMIPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Set CPU1TOCMIPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Set CPU1TOCMIPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Set CPU1TOCMIPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Set CPU1TOCMIPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Set CPU1TOCMIPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Set CPU1TOCMIPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Set CPU1TOCMIPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Set CPU1TOCMIPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Set CPU1TOCMIPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Set CPU1TOCMIPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Set CPU1TOCMIPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Set CPU1TOCMIPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Set CPU1TOCMIPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Set CPU1TOCMIPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Set CPU1TOCMIPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Set CPU1TOCMIPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Set CPU1TOCMIPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Set CPU1TOCMIPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Set CPU1TOCMIPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Set CPU1TOCMIPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Set CPU1TOCMIPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Set CPU1TOCMIPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Set CPU1TOCMIPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Set CPU1TOCMIPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Set CPU1TOCMIPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Set CPU1TOCMIPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Set CPU1TOCMIPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Set CPU1TOCMIPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Set CPU1TOCMIPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Set CPU1TOCMIPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Set CPU1TOCMIPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU1TOCMIPCSET_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCMIPCSET_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCMIPCCLR_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Clear CPU1TOCMIPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Clear CPU1TOCMIPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Clear CPU1TOCMIPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Clear CPU1TOCMIPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Clear CPU1TOCMIPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Clear CPU1TOCMIPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Clear CPU1TOCMIPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Clear CPU1TOCMIPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Clear CPU1TOCMIPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Clear CPU1TOCMIPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Clear CPU1TOCMIPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Clear CPU1TOCMIPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Clear CPU1TOCMIPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Clear CPU1TOCMIPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Clear CPU1TOCMIPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Clear CPU1TOCMIPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Clear CPU1TOCMIPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Clear CPU1TOCMIPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Clear CPU1TOCMIPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Clear CPU1TOCMIPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Clear CPU1TOCMIPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Clear CPU1TOCMIPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Clear CPU1TOCMIPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Clear CPU1TOCMIPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Clear CPU1TOCMIPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Clear CPU1TOCMIPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Clear CPU1TOCMIPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Clear CPU1TOCMIPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Clear CPU1TOCMIPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Clear CPU1TOCMIPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Clear CPU1TOCMIPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Clear CPU1TOCMIPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU1TOCMIPCCLR_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCMIPCCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCMIPCFLG_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 CPU1 to CM IPC0 Flag Status
|
||||
Uint16 IPC1:1; // 1 CPU1 to CM IPC1 Flag Status
|
||||
Uint16 IPC2:1; // 2 CPU1 to CM IPC2 Flag Status
|
||||
Uint16 IPC3:1; // 3 CPU1 to CM IPC3 Flag Status
|
||||
Uint16 IPC4:1; // 4 CPU1 to CM IPC4 Flag Status
|
||||
Uint16 IPC5:1; // 5 CPU1 to CM IPC5 Flag Status
|
||||
Uint16 IPC6:1; // 6 CPU1 to CM IPC6 Flag Status
|
||||
Uint16 IPC7:1; // 7 CPU1 to CM IPC7 Flag Status
|
||||
Uint16 IPC8:1; // 8 CPU1 to CM IPC8 Flag Status
|
||||
Uint16 IPC9:1; // 9 CPU1 to CM IPC9 Flag Status
|
||||
Uint16 IPC10:1; // 10 CPU1 to CM IPC10 Flag Status
|
||||
Uint16 IPC11:1; // 11 CPU1 to CM IPC11 Flag Status
|
||||
Uint16 IPC12:1; // 12 CPU1 to CM IPC12 Flag Status
|
||||
Uint16 IPC13:1; // 13 CPU1 to CM IPC13 Flag Status
|
||||
Uint16 IPC14:1; // 14 CPU1 to CM IPC14 Flag Status
|
||||
Uint16 IPC15:1; // 15 CPU1 to CM IPC15 Flag Status
|
||||
Uint16 IPC16:1; // 16 CPU1 to CM IPC16 Flag Status
|
||||
Uint16 IPC17:1; // 17 CPU1 to CM IPC17 Flag Status
|
||||
Uint16 IPC18:1; // 18 CPU1 to CM IPC18 Flag Status
|
||||
Uint16 IPC19:1; // 19 CPU1 to CM IPC19 Flag Status
|
||||
Uint16 IPC20:1; // 20 CPU1 to CM IPC20 Flag Status
|
||||
Uint16 IPC21:1; // 21 CPU1 to CM IPC21 Flag Status
|
||||
Uint16 IPC22:1; // 22 CPU1 to CM IPC22 Flag Status
|
||||
Uint16 IPC23:1; // 23 CPU1 to CM IPC23 Flag Status
|
||||
Uint16 IPC24:1; // 24 CPU1 to CM IPC24 Flag Status
|
||||
Uint16 IPC25:1; // 25 CPU1 to CM IPC25 Flag Status
|
||||
Uint16 IPC26:1; // 26 CPU1 to CM IPC26 Flag Status
|
||||
Uint16 IPC27:1; // 27 CPU1 to CM IPC27 Flag Status
|
||||
Uint16 IPC28:1; // 28 CPU1 to CM IPC28 Flag Status
|
||||
Uint16 IPC29:1; // 29 CPU1 to CM IPC29 Flag Status
|
||||
Uint16 IPC30:1; // 30 CPU1 to CM IPC30 Flag Status
|
||||
Uint16 IPC31:1; // 31 CPU1 to CM IPC31 Flag Status
|
||||
};
|
||||
|
||||
union CPU1TOCMIPCFLG_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCMIPCFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCM_IPC_REGS_CPU1VIEW {
|
||||
union CPU1TOCMIPCACK_REG CPU1TOCMIPCACK; // CPU1TOCMIPCACK Register
|
||||
union CMTOCPU1IPCSTS_REG CMTOCPU1IPCSTS; // CMTOCPU1IPCSTS Register
|
||||
union CPU1TOCMIPCSET_REG CPU1TOCMIPCSET; // CPU1TOCMIPCSET Register
|
||||
union CPU1TOCMIPCCLR_REG CPU1TOCMIPCCLR; // CPU1TOCMIPCCLR Register
|
||||
union CPU1TOCMIPCFLG_REG CPU1TOCMIPCFLG; // CPU1TOCMIPCFLG Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
Uint32 IPCCOUNTERL; // IPCCOUNTERL Register
|
||||
Uint32 IPCCOUNTERH; // IPCCOUNTERH Register
|
||||
Uint32 CPU1TOCMIPCSENDCOM; // CPU1TOCMIPCSENDCOM Register
|
||||
Uint32 CPU1TOCMIPCSENDADDR; // CPU1TOCMIPCSENDADDR Register
|
||||
Uint32 CPU1TOCMIPCSENDDATA; // CPU1TOCMIPCSENDDATA Register
|
||||
Uint32 CMTOCPU1IPCREPLY; // CMTOCPU1IPCREPLY Register
|
||||
Uint32 CMTOCPU1IPCRECVCOM; // CMTOCPU1IPCRECVCOM Register
|
||||
Uint32 CMTOCPU1IPCRECVADDR; // CMTOCPU1IPCRECVADDR Register
|
||||
Uint32 CMTOCPU1IPCRECVDATA; // CMTOCPU1IPCRECVDATA Register
|
||||
Uint32 CPU1TOCMIPCREPLY; // CPU1TOCMIPCREPLY Register
|
||||
Uint32 CMTOCPU1IPCBOOTSTS; // CMTOCPU1IPCBOOTSTS Register
|
||||
Uint32 CPU1TOCMIPCBOOTMODE; // CPU1TOCMIPCBOOTMODE Register
|
||||
};
|
||||
|
||||
struct CPU2TOCMIPCACK_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC0 bit
|
||||
Uint16 IPC1:1; // 1 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC1 bit
|
||||
Uint16 IPC2:1; // 2 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC2 bit
|
||||
Uint16 IPC3:1; // 3 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC3 bit
|
||||
Uint16 IPC4:1; // 4 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC4 bit
|
||||
Uint16 IPC5:1; // 5 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC5 bit
|
||||
Uint16 IPC6:1; // 6 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC6 bit
|
||||
Uint16 IPC7:1; // 7 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC7 bit
|
||||
Uint16 IPC8:1; // 8 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC8 bit
|
||||
Uint16 IPC9:1; // 9 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC9 bit
|
||||
Uint16 IPC10:1; // 10 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC10 bit
|
||||
Uint16 IPC11:1; // 11 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC11 bit
|
||||
Uint16 IPC12:1; // 12 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC12 bit
|
||||
Uint16 IPC13:1; // 13 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC13 bit
|
||||
Uint16 IPC14:1; // 14 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC14 bit
|
||||
Uint16 IPC15:1; // 15 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC15 bit
|
||||
Uint16 IPC16:1; // 16 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC16 bit
|
||||
Uint16 IPC17:1; // 17 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC17 bit
|
||||
Uint16 IPC18:1; // 18 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC18 bit
|
||||
Uint16 IPC19:1; // 19 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC19 bit
|
||||
Uint16 IPC20:1; // 20 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC20 bit
|
||||
Uint16 IPC21:1; // 21 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC21 bit
|
||||
Uint16 IPC22:1; // 22 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC22 bit
|
||||
Uint16 IPC23:1; // 23 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC23 bit
|
||||
Uint16 IPC24:1; // 24 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC24 bit
|
||||
Uint16 IPC25:1; // 25 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC25 bit
|
||||
Uint16 IPC26:1; // 26 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC26 bit
|
||||
Uint16 IPC27:1; // 27 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC27 bit
|
||||
Uint16 IPC28:1; // 28 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC28 bit
|
||||
Uint16 IPC29:1; // 29 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC29 bit
|
||||
Uint16 IPC30:1; // 30 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC30 bit
|
||||
Uint16 IPC31:1; // 31 Acknowledgement from CPU2 to CMTOCPU2IPCFLG.IPC31 bit
|
||||
};
|
||||
|
||||
union CPU2TOCMIPCACK_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCMIPCACK_BITS bit;
|
||||
};
|
||||
|
||||
struct CMTOCPU2IPCSTS_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 IPC0 Request from CM to CPU2
|
||||
Uint16 IPC1:1; // 1 IPC1 Request from CM to CPU2
|
||||
Uint16 IPC2:1; // 2 IPC2 Request from CM to CPU2
|
||||
Uint16 IPC3:1; // 3 IPC3 Request from CM to CPU2
|
||||
Uint16 IPC4:1; // 4 IPC4 Request from CM to CPU2
|
||||
Uint16 IPC5:1; // 5 IPC5 Request from CM to CPU2
|
||||
Uint16 IPC6:1; // 6 IPC6 Request from CM to CPU2
|
||||
Uint16 IPC7:1; // 7 IPC7 Request from CM to CPU2
|
||||
Uint16 IPC8:1; // 8 IPC8 Request from CM to CPU2
|
||||
Uint16 IPC9:1; // 9 IPC9 Request from CM to CPU2
|
||||
Uint16 IPC10:1; // 10 IPC10 Request from CM to CPU2
|
||||
Uint16 IPC11:1; // 11 IPC11 Request from CM to CPU2
|
||||
Uint16 IPC12:1; // 12 IPC12 Request from CM to CPU2
|
||||
Uint16 IPC13:1; // 13 IPC13 Request from CM to CPU2
|
||||
Uint16 IPC14:1; // 14 IPC14 Request from CM to CPU2
|
||||
Uint16 IPC15:1; // 15 IPC15 Request from CM to CPU2
|
||||
Uint16 IPC16:1; // 16 IPC16 Request from CM to CPU2
|
||||
Uint16 IPC17:1; // 17 IPC17 Request from CM to CPU2
|
||||
Uint16 IPC18:1; // 18 IPC18 Request from CM to CPU2
|
||||
Uint16 IPC19:1; // 19 IPC19 Request from CM to CPU2
|
||||
Uint16 IPC20:1; // 20 IPC20 Request from CM to CPU2
|
||||
Uint16 IPC21:1; // 21 IPC21 Request from CM to CPU2
|
||||
Uint16 IPC22:1; // 22 IPC22 Request from CM to CPU2
|
||||
Uint16 IPC23:1; // 23 IPC23 Request from CM to CPU2
|
||||
Uint16 IPC24:1; // 24 IPC24 Request from CM to CPU2
|
||||
Uint16 IPC25:1; // 25 IPC25 Request from CM to CPU2
|
||||
Uint16 IPC26:1; // 26 IPC26 Request from CM to CPU2
|
||||
Uint16 IPC27:1; // 27 IPC27 Request from CM to CPU2
|
||||
Uint16 IPC28:1; // 28 IPC28 Request from CM to CPU2
|
||||
Uint16 IPC29:1; // 29 IPC29 Request from CM to CPU2
|
||||
Uint16 IPC30:1; // 30 IPC30 Request from CM to CPU2
|
||||
Uint16 IPC31:1; // 31 IPC31 Request from CM to CPU2
|
||||
};
|
||||
|
||||
union CMTOCPU2IPCSTS_REG {
|
||||
Uint32 all;
|
||||
struct CMTOCPU2IPCSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCMIPCSET_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Set CPU2TOCMIPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Set CPU2TOCMIPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Set CPU2TOCMIPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Set CPU2TOCMIPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Set CPU2TOCMIPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Set CPU2TOCMIPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Set CPU2TOCMIPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Set CPU2TOCMIPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Set CPU2TOCMIPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Set CPU2TOCMIPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Set CPU2TOCMIPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Set CPU2TOCMIPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Set CPU2TOCMIPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Set CPU2TOCMIPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Set CPU2TOCMIPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Set CPU2TOCMIPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Set CPU2TOCMIPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Set CPU2TOCMIPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Set CPU2TOCMIPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Set CPU2TOCMIPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Set CPU2TOCMIPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Set CPU2TOCMIPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Set CPU2TOCMIPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Set CPU2TOCMIPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Set CPU2TOCMIPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Set CPU2TOCMIPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Set CPU2TOCMIPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Set CPU2TOCMIPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Set CPU2TOCMIPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Set CPU2TOCMIPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Set CPU2TOCMIPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Set CPU2TOCMIPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU2TOCMIPCSET_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCMIPCSET_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCMIPCCLR_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Clear CPU2TOCMIPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Clear CPU2TOCMIPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Clear CPU2TOCMIPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Clear CPU2TOCMIPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Clear CPU2TOCMIPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Clear CPU2TOCMIPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Clear CPU2TOCMIPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Clear CPU2TOCMIPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Clear CPU2TOCMIPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Clear CPU2TOCMIPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Clear CPU2TOCMIPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Clear CPU2TOCMIPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Clear CPU2TOCMIPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Clear CPU2TOCMIPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Clear CPU2TOCMIPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Clear CPU2TOCMIPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Clear CPU2TOCMIPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Clear CPU2TOCMIPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Clear CPU2TOCMIPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Clear CPU2TOCMIPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Clear CPU2TOCMIPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Clear CPU2TOCMIPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Clear CPU2TOCMIPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Clear CPU2TOCMIPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Clear CPU2TOCMIPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Clear CPU2TOCMIPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Clear CPU2TOCMIPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Clear CPU2TOCMIPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Clear CPU2TOCMIPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Clear CPU2TOCMIPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Clear CPU2TOCMIPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Clear CPU2TOCMIPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU2TOCMIPCCLR_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCMIPCCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCMIPCFLG_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 CPU2 to CM IPC0 Flag Status
|
||||
Uint16 IPC1:1; // 1 CPU2 to CM IPC1 Flag Status
|
||||
Uint16 IPC2:1; // 2 CPU2 to CM IPC2 Flag Status
|
||||
Uint16 IPC3:1; // 3 CPU2 to CM IPC3 Flag Status
|
||||
Uint16 IPC4:1; // 4 CPU2 to CM IPC4 Flag Status
|
||||
Uint16 IPC5:1; // 5 CPU2 to CM IPC5 Flag Status
|
||||
Uint16 IPC6:1; // 6 CPU2 to CM IPC6 Flag Status
|
||||
Uint16 IPC7:1; // 7 CPU2 to CM IPC7 Flag Status
|
||||
Uint16 IPC8:1; // 8 CPU2 to CM IPC8 Flag Status
|
||||
Uint16 IPC9:1; // 9 CPU2 to CM IPC9 Flag Status
|
||||
Uint16 IPC10:1; // 10 CPU2 to CM IPC10 Flag Status
|
||||
Uint16 IPC11:1; // 11 CPU2 to CM IPC11 Flag Status
|
||||
Uint16 IPC12:1; // 12 CPU2 to CM IPC12 Flag Status
|
||||
Uint16 IPC13:1; // 13 CPU2 to CM IPC13 Flag Status
|
||||
Uint16 IPC14:1; // 14 CPU2 to CM IPC14 Flag Status
|
||||
Uint16 IPC15:1; // 15 CPU2 to CM IPC15 Flag Status
|
||||
Uint16 IPC16:1; // 16 CPU2 to CM IPC16 Flag Status
|
||||
Uint16 IPC17:1; // 17 CPU2 to CM IPC17 Flag Status
|
||||
Uint16 IPC18:1; // 18 CPU2 to CM IPC18 Flag Status
|
||||
Uint16 IPC19:1; // 19 CPU2 to CM IPC19 Flag Status
|
||||
Uint16 IPC20:1; // 20 CPU2 to CM IPC20 Flag Status
|
||||
Uint16 IPC21:1; // 21 CPU2 to CM IPC21 Flag Status
|
||||
Uint16 IPC22:1; // 22 CPU2 to CM IPC22 Flag Status
|
||||
Uint16 IPC23:1; // 23 CPU2 to CM IPC23 Flag Status
|
||||
Uint16 IPC24:1; // 24 CPU2 to CM IPC24 Flag Status
|
||||
Uint16 IPC25:1; // 25 CPU2 to CM IPC25 Flag Status
|
||||
Uint16 IPC26:1; // 26 CPU2 to CM IPC26 Flag Status
|
||||
Uint16 IPC27:1; // 27 CPU2 to CM IPC27 Flag Status
|
||||
Uint16 IPC28:1; // 28 CPU2 to CM IPC28 Flag Status
|
||||
Uint16 IPC29:1; // 29 CPU2 to CM IPC29 Flag Status
|
||||
Uint16 IPC30:1; // 30 CPU2 to CM IPC30 Flag Status
|
||||
Uint16 IPC31:1; // 31 CPU2 to CM IPC31 Flag Status
|
||||
};
|
||||
|
||||
union CPU2TOCMIPCFLG_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCMIPCFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCM_IPC_REGS_CPU2VIEW {
|
||||
union CPU2TOCMIPCACK_REG CPU2TOCMIPCACK; // CPU2TOCMIPCACK Register
|
||||
union CMTOCPU2IPCSTS_REG CMTOCPU2IPCSTS; // CMTOCPU2IPCSTS Register
|
||||
union CPU2TOCMIPCSET_REG CPU2TOCMIPCSET; // CPU2TOCMIPCSET Register
|
||||
union CPU2TOCMIPCCLR_REG CPU2TOCMIPCCLR; // CPU2TOCMIPCCLR Register
|
||||
union CPU2TOCMIPCFLG_REG CPU2TOCMIPCFLG; // CPU2TOCMIPCFLG Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
Uint32 IPCCOUNTERL; // IPCCOUNTERL Register
|
||||
Uint32 IPCCOUNTERH; // IPCCOUNTERH Register
|
||||
Uint32 CPU2TOCMIPCSENDCOM; // CPU2TOCMIPCSENDCOM Register
|
||||
Uint32 CPU2TOCMIPCSENDADDR; // CPU2TOCMIPCSENDADDR Register
|
||||
Uint32 CPU2TOCMIPCSENDDATA; // CPU2TOCMIPCSENDDATA Register
|
||||
Uint32 CMTOCPU2IPCREPLY; // CMTOCPU2IPCREPLY Register
|
||||
Uint32 CMTOCPU2IPCRECVCOM; // CMTOCPU2IPCRECVCOM Register
|
||||
Uint32 CMTOCPU2IPCRECVADDR; // CMTOCPU2IPCRECVADDR Register
|
||||
Uint32 CMTOCPU2IPCRECVDATA; // CMTOCPU2IPCRECVDATA Register
|
||||
Uint32 CPU2TOCMIPCREPLY; // CPU2TOCMIPCREPLY Register
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2IPCACK_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC0 bit
|
||||
Uint16 IPC1:1; // 1 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC1 bit
|
||||
Uint16 IPC2:1; // 2 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC2 bit
|
||||
Uint16 IPC3:1; // 3 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC3 bit
|
||||
Uint16 IPC4:1; // 4 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC4 bit
|
||||
Uint16 IPC5:1; // 5 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC5 bit
|
||||
Uint16 IPC6:1; // 6 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC6 bit
|
||||
Uint16 IPC7:1; // 7 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC7 bit
|
||||
Uint16 IPC8:1; // 8 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC8 bit
|
||||
Uint16 IPC9:1; // 9 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC9 bit
|
||||
Uint16 IPC10:1; // 10 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC10 bit
|
||||
Uint16 IPC11:1; // 11 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC11 bit
|
||||
Uint16 IPC12:1; // 12 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC12 bit
|
||||
Uint16 IPC13:1; // 13 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC13 bit
|
||||
Uint16 IPC14:1; // 14 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC14 bit
|
||||
Uint16 IPC15:1; // 15 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC15 bit
|
||||
Uint16 IPC16:1; // 16 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC16 bit
|
||||
Uint16 IPC17:1; // 17 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC17 bit
|
||||
Uint16 IPC18:1; // 18 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC18 bit
|
||||
Uint16 IPC19:1; // 19 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC19 bit
|
||||
Uint16 IPC20:1; // 20 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC20 bit
|
||||
Uint16 IPC21:1; // 21 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC21 bit
|
||||
Uint16 IPC22:1; // 22 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC22 bit
|
||||
Uint16 IPC23:1; // 23 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC23 bit
|
||||
Uint16 IPC24:1; // 24 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC24 bit
|
||||
Uint16 IPC25:1; // 25 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC25 bit
|
||||
Uint16 IPC26:1; // 26 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC26 bit
|
||||
Uint16 IPC27:1; // 27 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC27 bit
|
||||
Uint16 IPC28:1; // 28 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC28 bit
|
||||
Uint16 IPC29:1; // 29 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC29 bit
|
||||
Uint16 IPC30:1; // 30 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC30 bit
|
||||
Uint16 IPC31:1; // 31 Acknowledgement from CPU1 to CPU2TOCPU1IPCFLG.IPC31 bit
|
||||
};
|
||||
|
||||
union CPU1TOCPU2IPCACK_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCPU2IPCACK_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCPU1IPCSTS_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 IPC0 Request from CPU2 to CPU1
|
||||
Uint16 IPC1:1; // 1 IPC1 Request from CPU2 to CPU1
|
||||
Uint16 IPC2:1; // 2 IPC2 Request from CPU2 to CPU1
|
||||
Uint16 IPC3:1; // 3 IPC3 Request from CPU2 to CPU1
|
||||
Uint16 IPC4:1; // 4 IPC4 Request from CPU2 to CPU1
|
||||
Uint16 IPC5:1; // 5 IPC5 Request from CPU2 to CPU1
|
||||
Uint16 IPC6:1; // 6 IPC6 Request from CPU2 to CPU1
|
||||
Uint16 IPC7:1; // 7 IPC7 Request from CPU2 to CPU1
|
||||
Uint16 IPC8:1; // 8 IPC8 Request from CPU2 to CPU1
|
||||
Uint16 IPC9:1; // 9 IPC9 Request from CPU2 to CPU1
|
||||
Uint16 IPC10:1; // 10 IPC10 Request from CPU2 to CPU1
|
||||
Uint16 IPC11:1; // 11 IPC11 Request from CPU2 to CPU1
|
||||
Uint16 IPC12:1; // 12 IPC12 Request from CPU2 to CPU1
|
||||
Uint16 IPC13:1; // 13 IPC13 Request from CPU2 to CPU1
|
||||
Uint16 IPC14:1; // 14 IPC14 Request from CPU2 to CPU1
|
||||
Uint16 IPC15:1; // 15 IPC15 Request from CPU2 to CPU1
|
||||
Uint16 IPC16:1; // 16 IPC16 Request from CPU2 to CPU1
|
||||
Uint16 IPC17:1; // 17 IPC17 Request from CPU2 to CPU1
|
||||
Uint16 IPC18:1; // 18 IPC18 Request from CPU2 to CPU1
|
||||
Uint16 IPC19:1; // 19 IPC19 Request from CPU2 to CPU1
|
||||
Uint16 IPC20:1; // 20 IPC20 Request from CPU2 to CPU1
|
||||
Uint16 IPC21:1; // 21 IPC21 Request from CPU2 to CPU1
|
||||
Uint16 IPC22:1; // 22 IPC22 Request from CPU2 to CPU1
|
||||
Uint16 IPC23:1; // 23 IPC23 Request from CPU2 to CPU1
|
||||
Uint16 IPC24:1; // 24 IPC24 Request from CPU2 to CPU1
|
||||
Uint16 IPC25:1; // 25 IPC25 Request from CPU2 to CPU1
|
||||
Uint16 IPC26:1; // 26 IPC26 Request from CPU2 to CPU1
|
||||
Uint16 IPC27:1; // 27 IPC27 Request from CPU2 to CPU1
|
||||
Uint16 IPC28:1; // 28 IPC28 Request from CPU2 to CPU1
|
||||
Uint16 IPC29:1; // 29 IPC29 Request from CPU2 to CPU1
|
||||
Uint16 IPC30:1; // 30 IPC30 Request from CPU2 to CPU1
|
||||
Uint16 IPC31:1; // 31 IPC31 Request from CPU2 to CPU1
|
||||
};
|
||||
|
||||
union CPU2TOCPU1IPCSTS_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCPU1IPCSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2IPCSET_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Set CPU1TOCPU2IPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Set CPU1TOCPU2IPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Set CPU1TOCPU2IPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Set CPU1TOCPU2IPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Set CPU1TOCPU2IPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Set CPU1TOCPU2IPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Set CPU1TOCPU2IPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Set CPU1TOCPU2IPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Set CPU1TOCPU2IPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Set CPU1TOCPU2IPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Set CPU1TOCPU2IPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Set CPU1TOCPU2IPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Set CPU1TOCPU2IPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Set CPU1TOCPU2IPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Set CPU1TOCPU2IPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Set CPU1TOCPU2IPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Set CPU1TOCPU2IPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Set CPU1TOCPU2IPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Set CPU1TOCPU2IPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Set CPU1TOCPU2IPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Set CPU1TOCPU2IPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Set CPU1TOCPU2IPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Set CPU1TOCPU2IPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Set CPU1TOCPU2IPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Set CPU1TOCPU2IPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Set CPU1TOCPU2IPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Set CPU1TOCPU2IPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Set CPU1TOCPU2IPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Set CPU1TOCPU2IPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Set CPU1TOCPU2IPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Set CPU1TOCPU2IPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Set CPU1TOCPU2IPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU1TOCPU2IPCSET_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCPU2IPCSET_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2IPCCLR_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Clear CPU1TOCPU2IPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Clear CPU1TOCPU2IPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Clear CPU1TOCPU2IPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Clear CPU1TOCPU2IPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Clear CPU1TOCPU2IPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Clear CPU1TOCPU2IPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Clear CPU1TOCPU2IPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Clear CPU1TOCPU2IPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Clear CPU1TOCPU2IPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Clear CPU1TOCPU2IPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Clear CPU1TOCPU2IPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Clear CPU1TOCPU2IPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Clear CPU1TOCPU2IPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Clear CPU1TOCPU2IPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Clear CPU1TOCPU2IPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Clear CPU1TOCPU2IPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Clear CPU1TOCPU2IPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Clear CPU1TOCPU2IPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Clear CPU1TOCPU2IPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Clear CPU1TOCPU2IPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Clear CPU1TOCPU2IPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Clear CPU1TOCPU2IPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Clear CPU1TOCPU2IPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Clear CPU1TOCPU2IPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Clear CPU1TOCPU2IPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Clear CPU1TOCPU2IPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Clear CPU1TOCPU2IPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Clear CPU1TOCPU2IPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Clear CPU1TOCPU2IPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Clear CPU1TOCPU2IPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Clear CPU1TOCPU2IPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Clear CPU1TOCPU2IPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU1TOCPU2IPCCLR_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCPU2IPCCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2IPCFLG_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 CPU1 to CPU2 IPC0 Flag Status
|
||||
Uint16 IPC1:1; // 1 CPU1 to CPU2 IPC1 Flag Status
|
||||
Uint16 IPC2:1; // 2 CPU1 to CPU2 IPC2 Flag Status
|
||||
Uint16 IPC3:1; // 3 CPU1 to CPU2 IPC3 Flag Status
|
||||
Uint16 IPC4:1; // 4 CPU1 to CPU2 IPC4 Flag Status
|
||||
Uint16 IPC5:1; // 5 CPU1 to CPU2 IPC5 Flag Status
|
||||
Uint16 IPC6:1; // 6 CPU1 to CPU2 IPC6 Flag Status
|
||||
Uint16 IPC7:1; // 7 CPU1 to CPU2 IPC7 Flag Status
|
||||
Uint16 IPC8:1; // 8 CPU1 to CPU2 IPC8 Flag Status
|
||||
Uint16 IPC9:1; // 9 CPU1 to CPU2 IPC9 Flag Status
|
||||
Uint16 IPC10:1; // 10 CPU1 to CPU2 IPC10 Flag Status
|
||||
Uint16 IPC11:1; // 11 CPU1 to CPU2 IPC11 Flag Status
|
||||
Uint16 IPC12:1; // 12 CPU1 to CPU2 IPC12 Flag Status
|
||||
Uint16 IPC13:1; // 13 CPU1 to CPU2 IPC13 Flag Status
|
||||
Uint16 IPC14:1; // 14 CPU1 to CPU2 IPC14 Flag Status
|
||||
Uint16 IPC15:1; // 15 CPU1 to CPU2 IPC15 Flag Status
|
||||
Uint16 IPC16:1; // 16 CPU1 to CPU2 IPC16 Flag Status
|
||||
Uint16 IPC17:1; // 17 CPU1 to CPU2 IPC17 Flag Status
|
||||
Uint16 IPC18:1; // 18 CPU1 to CPU2 IPC18 Flag Status
|
||||
Uint16 IPC19:1; // 19 CPU1 to CPU2 IPC19 Flag Status
|
||||
Uint16 IPC20:1; // 20 CPU1 to CPU2 IPC20 Flag Status
|
||||
Uint16 IPC21:1; // 21 CPU1 to CPU2 IPC21 Flag Status
|
||||
Uint16 IPC22:1; // 22 CPU1 to CPU2 IPC22 Flag Status
|
||||
Uint16 IPC23:1; // 23 CPU1 to CPU2 IPC23 Flag Status
|
||||
Uint16 IPC24:1; // 24 CPU1 to CPU2 IPC24 Flag Status
|
||||
Uint16 IPC25:1; // 25 CPU1 to CPU2 IPC25 Flag Status
|
||||
Uint16 IPC26:1; // 26 CPU1 to CPU2 IPC26 Flag Status
|
||||
Uint16 IPC27:1; // 27 CPU1 to CPU2 IPC27 Flag Status
|
||||
Uint16 IPC28:1; // 28 CPU1 to CPU2 IPC28 Flag Status
|
||||
Uint16 IPC29:1; // 29 CPU1 to CPU2 IPC29 Flag Status
|
||||
Uint16 IPC30:1; // 30 CPU1 to CPU2 IPC30 Flag Status
|
||||
Uint16 IPC31:1; // 31 CPU1 to CPU2 IPC31 Flag Status
|
||||
};
|
||||
|
||||
union CPU1TOCPU2IPCFLG_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCPU2IPCFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct PUMPREQUEST_BITS { // bits description
|
||||
Uint16 SEM:2; // 1:0 Flash Pump Request Semaphore between CPU1, CPU2 and CM
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
Uint16 KEY:16; // 31:16 Key Qualifier for writes to this register
|
||||
};
|
||||
|
||||
union PUMPREQUEST_REG {
|
||||
Uint32 all;
|
||||
struct PUMPREQUEST_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2_IPC_REGS_CPU1VIEW {
|
||||
union CPU1TOCPU2IPCACK_REG CPU1TOCPU2IPCACK; // CPU1TOCPU2IPCACK Register
|
||||
union CPU2TOCPU1IPCSTS_REG CPU2TOCPU1IPCSTS; // CPU2TOCPU1IPCSTS Register
|
||||
union CPU1TOCPU2IPCSET_REG CPU1TOCPU2IPCSET; // CPU1TOCPU2IPCSET Register
|
||||
union CPU1TOCPU2IPCCLR_REG CPU1TOCPU2IPCCLR; // CPU1TOCPU2IPCCLR Register
|
||||
union CPU1TOCPU2IPCFLG_REG CPU1TOCPU2IPCFLG; // CPU1TOCPU2IPCFLG Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
Uint32 IPCCOUNTERL; // IPCCOUNTERL Register
|
||||
Uint32 IPCCOUNTERH; // IPCCOUNTERH Register
|
||||
Uint32 CPU1TOCPU2IPCSENDCOM; // CPU1TOCPU2IPCSENDCOM Register
|
||||
Uint32 CPU1TOCPU2IPCSENDADDR; // CPU1TOCPU2IPCSENDADDR Register
|
||||
Uint32 CPU1TOCPU2IPCSENDDATA; // CPU1TOCPU2IPCSENDDATA Register
|
||||
Uint32 CPU2TOCPU1IPCREPLY; // CPU2TOCPU1IPCREPLY Register
|
||||
Uint32 CPU2TOCPU1IPCRECVCOM; // CPU2TOCPU1IPCRECVCOM Register
|
||||
Uint32 CPU2TOCPU1IPCRECVADDR; // CPU2TOCPU1IPCRECVADDR Register
|
||||
Uint32 CPU2TOCPU1IPCRECVDATA; // CPU2TOCPU1IPCRECVDATA Register
|
||||
Uint32 CPU1TOCPU2IPCREPLY; // CPU1TOCPU2IPCREPLY Register
|
||||
Uint32 CPU2TOCPU1IPCBOOTSTS; // CPU2TOCPU1IPCBOOTSTS Register
|
||||
Uint32 CPU1TOCPU2IPCBOOTMODE; // CPU1TOCPU2IPCBOOTMODE Register
|
||||
union PUMPREQUEST_REG PUMPREQUEST; // PUMPREQUEST Register
|
||||
};
|
||||
|
||||
struct CPU2TOCPU1IPCACK_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC0 bit
|
||||
Uint16 IPC1:1; // 1 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC1 bit
|
||||
Uint16 IPC2:1; // 2 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC2 bit
|
||||
Uint16 IPC3:1; // 3 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC3 bit
|
||||
Uint16 IPC4:1; // 4 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC4 bit
|
||||
Uint16 IPC5:1; // 5 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC5 bit
|
||||
Uint16 IPC6:1; // 6 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC6 bit
|
||||
Uint16 IPC7:1; // 7 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC7 bit
|
||||
Uint16 IPC8:1; // 8 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC8 bit
|
||||
Uint16 IPC9:1; // 9 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC9 bit
|
||||
Uint16 IPC10:1; // 10 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC10 bit
|
||||
Uint16 IPC11:1; // 11 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC11 bit
|
||||
Uint16 IPC12:1; // 12 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC12 bit
|
||||
Uint16 IPC13:1; // 13 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC13 bit
|
||||
Uint16 IPC14:1; // 14 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC14 bit
|
||||
Uint16 IPC15:1; // 15 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC15 bit
|
||||
Uint16 IPC16:1; // 16 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC16 bit
|
||||
Uint16 IPC17:1; // 17 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC17 bit
|
||||
Uint16 IPC18:1; // 18 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC18 bit
|
||||
Uint16 IPC19:1; // 19 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC19 bit
|
||||
Uint16 IPC20:1; // 20 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC20 bit
|
||||
Uint16 IPC21:1; // 21 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC21 bit
|
||||
Uint16 IPC22:1; // 22 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC22 bit
|
||||
Uint16 IPC23:1; // 23 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC23 bit
|
||||
Uint16 IPC24:1; // 24 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC24 bit
|
||||
Uint16 IPC25:1; // 25 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC25 bit
|
||||
Uint16 IPC26:1; // 26 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC26 bit
|
||||
Uint16 IPC27:1; // 27 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC27 bit
|
||||
Uint16 IPC28:1; // 28 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC28 bit
|
||||
Uint16 IPC29:1; // 29 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC29 bit
|
||||
Uint16 IPC30:1; // 30 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC30 bit
|
||||
Uint16 IPC31:1; // 31 Acknowledgement from CPU2 to CPU1TOCPU2IPCFLG.IPC31 bit
|
||||
};
|
||||
|
||||
union CPU2TOCPU1IPCACK_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCPU1IPCACK_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2IPCSTS_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 IPC0 Request from CPU1 to CPU2
|
||||
Uint16 IPC1:1; // 1 IPC1 Request from CPU1 to CPU2
|
||||
Uint16 IPC2:1; // 2 IPC2 Request from CPU1 to CPU2
|
||||
Uint16 IPC3:1; // 3 IPC3 Request from CPU1 to CPU2
|
||||
Uint16 IPC4:1; // 4 IPC4 Request from CPU1 to CPU2
|
||||
Uint16 IPC5:1; // 5 IPC5 Request from CPU1 to CPU2
|
||||
Uint16 IPC6:1; // 6 IPC6 Request from CPU1 to CPU2
|
||||
Uint16 IPC7:1; // 7 IPC7 Request from CPU1 to CPU2
|
||||
Uint16 IPC8:1; // 8 IPC8 Request from CPU1 to CPU2
|
||||
Uint16 IPC9:1; // 9 IPC9 Request from CPU1 to CPU2
|
||||
Uint16 IPC10:1; // 10 IPC10 Request from CPU1 to CPU2
|
||||
Uint16 IPC11:1; // 11 IPC11 Request from CPU1 to CPU2
|
||||
Uint16 IPC12:1; // 12 IPC12 Request from CPU1 to CPU2
|
||||
Uint16 IPC13:1; // 13 IPC13 Request from CPU1 to CPU2
|
||||
Uint16 IPC14:1; // 14 IPC14 Request from CPU1 to CPU2
|
||||
Uint16 IPC15:1; // 15 IPC15 Request from CPU1 to CPU2
|
||||
Uint16 IPC16:1; // 16 IPC16 Request from CPU1 to CPU2
|
||||
Uint16 IPC17:1; // 17 IPC17 Request from CPU1 to CPU2
|
||||
Uint16 IPC18:1; // 18 IPC18 Request from CPU1 to CPU2
|
||||
Uint16 IPC19:1; // 19 IPC19 Request from CPU1 to CPU2
|
||||
Uint16 IPC20:1; // 20 IPC20 Request from CPU1 to CPU2
|
||||
Uint16 IPC21:1; // 21 IPC21 Request from CPU1 to CPU2
|
||||
Uint16 IPC22:1; // 22 IPC22 Request from CPU1 to CPU2
|
||||
Uint16 IPC23:1; // 23 IPC23 Request from CPU1 to CPU2
|
||||
Uint16 IPC24:1; // 24 IPC24 Request from CPU1 to CPU2
|
||||
Uint16 IPC25:1; // 25 IPC25 Request from CPU1 to CPU2
|
||||
Uint16 IPC26:1; // 26 IPC26 Request from CPU1 to CPU2
|
||||
Uint16 IPC27:1; // 27 IPC27 Request from CPU1 to CPU2
|
||||
Uint16 IPC28:1; // 28 IPC28 Request from CPU1 to CPU2
|
||||
Uint16 IPC29:1; // 29 IPC29 Request from CPU1 to CPU2
|
||||
Uint16 IPC30:1; // 30 IPC30 Request from CPU1 to CPU2
|
||||
Uint16 IPC31:1; // 31 IPC31 Request from CPU1 to CPU2
|
||||
};
|
||||
|
||||
union CPU1TOCPU2IPCSTS_REG {
|
||||
Uint32 all;
|
||||
struct CPU1TOCPU2IPCSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCPU1IPCSET_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Set CPU2TOCPU1IPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Set CPU2TOCPU1IPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Set CPU2TOCPU1IPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Set CPU2TOCPU1IPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Set CPU2TOCPU1IPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Set CPU2TOCPU1IPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Set CPU2TOCPU1IPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Set CPU2TOCPU1IPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Set CPU2TOCPU1IPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Set CPU2TOCPU1IPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Set CPU2TOCPU1IPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Set CPU2TOCPU1IPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Set CPU2TOCPU1IPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Set CPU2TOCPU1IPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Set CPU2TOCPU1IPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Set CPU2TOCPU1IPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Set CPU2TOCPU1IPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Set CPU2TOCPU1IPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Set CPU2TOCPU1IPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Set CPU2TOCPU1IPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Set CPU2TOCPU1IPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Set CPU2TOCPU1IPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Set CPU2TOCPU1IPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Set CPU2TOCPU1IPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Set CPU2TOCPU1IPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Set CPU2TOCPU1IPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Set CPU2TOCPU1IPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Set CPU2TOCPU1IPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Set CPU2TOCPU1IPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Set CPU2TOCPU1IPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Set CPU2TOCPU1IPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Set CPU2TOCPU1IPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU2TOCPU1IPCSET_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCPU1IPCSET_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCPU1IPCCLR_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 Clear CPU2TOCPU1IPCFLG.IPC0 Flag
|
||||
Uint16 IPC1:1; // 1 Clear CPU2TOCPU1IPCFLG.IPC1 Flag
|
||||
Uint16 IPC2:1; // 2 Clear CPU2TOCPU1IPCFLG.IPC2 Flag
|
||||
Uint16 IPC3:1; // 3 Clear CPU2TOCPU1IPCFLG.IPC3 Flag
|
||||
Uint16 IPC4:1; // 4 Clear CPU2TOCPU1IPCFLG.IPC4 Flag
|
||||
Uint16 IPC5:1; // 5 Clear CPU2TOCPU1IPCFLG.IPC5 Flag
|
||||
Uint16 IPC6:1; // 6 Clear CPU2TOCPU1IPCFLG.IPC6 Flag
|
||||
Uint16 IPC7:1; // 7 Clear CPU2TOCPU1IPCFLG.IPC7 Flag
|
||||
Uint16 IPC8:1; // 8 Clear CPU2TOCPU1IPCFLG.IPC8 Flag
|
||||
Uint16 IPC9:1; // 9 Clear CPU2TOCPU1IPCFLG.IPC9 Flag
|
||||
Uint16 IPC10:1; // 10 Clear CPU2TOCPU1IPCFLG.IPC10 Flag
|
||||
Uint16 IPC11:1; // 11 Clear CPU2TOCPU1IPCFLG.IPC11 Flag
|
||||
Uint16 IPC12:1; // 12 Clear CPU2TOCPU1IPCFLG.IPC12 Flag
|
||||
Uint16 IPC13:1; // 13 Clear CPU2TOCPU1IPCFLG.IPC13 Flag
|
||||
Uint16 IPC14:1; // 14 Clear CPU2TOCPU1IPCFLG.IPC14 Flag
|
||||
Uint16 IPC15:1; // 15 Clear CPU2TOCPU1IPCFLG.IPC15 Flag
|
||||
Uint16 IPC16:1; // 16 Clear CPU2TOCPU1IPCFLG.IPC16 Flag
|
||||
Uint16 IPC17:1; // 17 Clear CPU2TOCPU1IPCFLG.IPC17 Flag
|
||||
Uint16 IPC18:1; // 18 Clear CPU2TOCPU1IPCFLG.IPC18 Flag
|
||||
Uint16 IPC19:1; // 19 Clear CPU2TOCPU1IPCFLG.IPC19 Flag
|
||||
Uint16 IPC20:1; // 20 Clear CPU2TOCPU1IPCFLG.IPC20 Flag
|
||||
Uint16 IPC21:1; // 21 Clear CPU2TOCPU1IPCFLG.IPC21 Flag
|
||||
Uint16 IPC22:1; // 22 Clear CPU2TOCPU1IPCFLG.IPC22 Flag
|
||||
Uint16 IPC23:1; // 23 Clear CPU2TOCPU1IPCFLG.IPC23 Flag
|
||||
Uint16 IPC24:1; // 24 Clear CPU2TOCPU1IPCFLG.IPC24 Flag
|
||||
Uint16 IPC25:1; // 25 Clear CPU2TOCPU1IPCFLG.IPC25 Flag
|
||||
Uint16 IPC26:1; // 26 Clear CPU2TOCPU1IPCFLG.IPC26 Flag
|
||||
Uint16 IPC27:1; // 27 Clear CPU2TOCPU1IPCFLG.IPC27 Flag
|
||||
Uint16 IPC28:1; // 28 Clear CPU2TOCPU1IPCFLG.IPC28 Flag
|
||||
Uint16 IPC29:1; // 29 Clear CPU2TOCPU1IPCFLG.IPC29 Flag
|
||||
Uint16 IPC30:1; // 30 Clear CPU2TOCPU1IPCFLG.IPC30 Flag
|
||||
Uint16 IPC31:1; // 31 Clear CPU2TOCPU1IPCFLG.IPC31 Flag
|
||||
};
|
||||
|
||||
union CPU2TOCPU1IPCCLR_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCPU1IPCCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU2TOCPU1IPCFLG_BITS { // bits description
|
||||
Uint16 IPC0:1; // 0 CPU2 to CPU1 IPC0 Flag Status
|
||||
Uint16 IPC1:1; // 1 CPU2 to CPU1 IPC1 Flag Status
|
||||
Uint16 IPC2:1; // 2 CPU2 to CPU1 IPC2 Flag Status
|
||||
Uint16 IPC3:1; // 3 CPU2 to CPU1 IPC3 Flag Status
|
||||
Uint16 IPC4:1; // 4 CPU2 to CPU1 IPC4 Flag Status
|
||||
Uint16 IPC5:1; // 5 CPU2 to CPU1 IPC5 Flag Status
|
||||
Uint16 IPC6:1; // 6 CPU2 to CPU1 IPC6 Flag Status
|
||||
Uint16 IPC7:1; // 7 CPU2 to CPU1 IPC7 Flag Status
|
||||
Uint16 IPC8:1; // 8 CPU2 to CPU1 IPC8 Flag Status
|
||||
Uint16 IPC9:1; // 9 CPU2 to CPU1 IPC9 Flag Status
|
||||
Uint16 IPC10:1; // 10 CPU2 to CPU1 IPC10 Flag Status
|
||||
Uint16 IPC11:1; // 11 CPU2 to CPU1 IPC11 Flag Status
|
||||
Uint16 IPC12:1; // 12 CPU2 to CPU1 IPC12 Flag Status
|
||||
Uint16 IPC13:1; // 13 CPU2 to CPU1 IPC13 Flag Status
|
||||
Uint16 IPC14:1; // 14 CPU2 to CPU1 IPC14 Flag Status
|
||||
Uint16 IPC15:1; // 15 CPU2 to CPU1 IPC15 Flag Status
|
||||
Uint16 IPC16:1; // 16 CPU2 to CPU1 IPC16 Flag Status
|
||||
Uint16 IPC17:1; // 17 CPU2 to CPU1 IPC17 Flag Status
|
||||
Uint16 IPC18:1; // 18 CPU2 to CPU1 IPC18 Flag Status
|
||||
Uint16 IPC19:1; // 19 CPU2 to CPU1 IPC19 Flag Status
|
||||
Uint16 IPC20:1; // 20 CPU2 to CPU1 IPC20 Flag Status
|
||||
Uint16 IPC21:1; // 21 CPU2 to CPU1 IPC21 Flag Status
|
||||
Uint16 IPC22:1; // 22 CPU2 to CPU1 IPC22 Flag Status
|
||||
Uint16 IPC23:1; // 23 CPU2 to CPU1 IPC23 Flag Status
|
||||
Uint16 IPC24:1; // 24 CPU2 to CPU1 IPC24 Flag Status
|
||||
Uint16 IPC25:1; // 25 CPU2 to CPU1 IPC25 Flag Status
|
||||
Uint16 IPC26:1; // 26 CPU2 to CPU1 IPC26 Flag Status
|
||||
Uint16 IPC27:1; // 27 CPU2 to CPU1 IPC27 Flag Status
|
||||
Uint16 IPC28:1; // 28 CPU2 to CPU1 IPC28 Flag Status
|
||||
Uint16 IPC29:1; // 29 CPU2 to CPU1 IPC29 Flag Status
|
||||
Uint16 IPC30:1; // 30 CPU2 to CPU1 IPC30 Flag Status
|
||||
Uint16 IPC31:1; // 31 CPU2 to CPU1 IPC31 Flag Status
|
||||
};
|
||||
|
||||
union CPU2TOCPU1IPCFLG_REG {
|
||||
Uint32 all;
|
||||
struct CPU2TOCPU1IPCFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct CPU1TOCPU2_IPC_REGS_CPU2VIEW {
|
||||
union CPU2TOCPU1IPCACK_REG CPU2TOCPU1IPCACK; // CPU2TOCPU1IPCACK Register
|
||||
union CPU1TOCPU2IPCSTS_REG CPU1TOCPU2IPCSTS; // CPU1TOCPU2IPCSTS Register
|
||||
union CPU2TOCPU1IPCSET_REG CPU2TOCPU1IPCSET; // CPU2TOCPU1IPCSET Register
|
||||
union CPU2TOCPU1IPCCLR_REG CPU2TOCPU1IPCCLR; // CPU2TOCPU1IPCCLR Register
|
||||
union CPU2TOCPU1IPCFLG_REG CPU2TOCPU1IPCFLG; // CPU2TOCPU1IPCFLG Register
|
||||
Uint16 rsvd1[2]; // Reserved
|
||||
Uint32 IPCCOUNTERL; // IPCCOUNTERL Register
|
||||
Uint32 IPCCOUNTERH; // IPCCOUNTERH Register
|
||||
Uint32 CPU1TOCPU2IPCRECVCOM; // CPU1TOCPU2IPCRECVCOM Register
|
||||
Uint32 CPU1TOCPU2IPCRECVADDR; // CPU1TOCPU2IPCRECVADDR Register
|
||||
Uint32 CPU1TOCPU2IPCRECVDATA; // CPU1TOCPU2IPCRECVDATA Register
|
||||
Uint32 CPU2TOCPU1IPCREPLY; // CPU2TOCPU1IPCREPLY Register
|
||||
Uint32 CPU2TOCPU1IPCSENDCOM; // CPU2TOCPU1IPCSENDCOM Register
|
||||
Uint32 CPU2TOCPU1IPCSENDADDR; // CPU2TOCPU1IPCSENDADDR Register
|
||||
Uint32 CPU2TOCPU1IPCSENDDATA; // CPU2TOCPU1IPCSENDDATA Register
|
||||
Uint32 CPU1TOCPU2IPCREPLY; // CPU1TOCPU2IPCREPLY Register
|
||||
Uint32 CPU2TOCPU1IPCBOOTSTS; // CPU2TOCPU1IPCBOOTSTS Register
|
||||
Uint32 CPU1TOCPU2IPCBOOTMODE; // CPU1TOCPU2IPCBOOTMODE Register
|
||||
union PUMPREQUEST_REG PUMPREQUEST; // PUMPREQUEST Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// IPC External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct CPU1TOCM_IPC_REGS_CPU1VIEW Cpu1toCmIpcRegs;
|
||||
extern volatile struct CPU1TOCPU2_IPC_REGS_CPU1VIEW Cpu1toCpu2IpcRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct CPU2TOCM_IPC_REGS_CPU2VIEW Cpu2toCmIpcRegs;
|
||||
extern volatile struct CPU1TOCPU2_IPC_REGS_CPU2VIEW Cpu2toCpu1IpcRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,323 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_mcbsp.h
|
||||
//
|
||||
// TITLE: Definitions for the MCBSP registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_MCBSP_H
|
||||
#define F2838X_MCBSP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// MCBSP Individual Register Bit Definitions:
|
||||
|
||||
struct DRR2_BITS { // bits description
|
||||
Uint16 HWLB:8; // 7:0 High word low byte
|
||||
Uint16 HWHB:8; // 15:8 High word high byte
|
||||
};
|
||||
|
||||
union DRR2_REG {
|
||||
Uint16 all;
|
||||
struct DRR2_BITS bit;
|
||||
};
|
||||
|
||||
struct DRR1_BITS { // bits description
|
||||
Uint16 LWLB:8; // 7:0 Low word low byte
|
||||
Uint16 LWHB:8; // 15:8 Low word high byte
|
||||
};
|
||||
|
||||
union DRR1_REG {
|
||||
Uint16 all;
|
||||
struct DRR1_BITS bit;
|
||||
};
|
||||
|
||||
struct DXR2_BITS { // bits description
|
||||
Uint16 HWLB:8; // 7:0 High word low byte
|
||||
Uint16 HWHB:8; // 15:8 High word high byte
|
||||
};
|
||||
|
||||
union DXR2_REG {
|
||||
Uint16 all;
|
||||
struct DXR2_BITS bit;
|
||||
};
|
||||
|
||||
struct DXR1_BITS { // bits description
|
||||
Uint16 LWLB:8; // 7:0 Low word low byte
|
||||
Uint16 LWHB:8; // 15:8 Low word high byte
|
||||
};
|
||||
|
||||
union DXR1_REG {
|
||||
Uint16 all;
|
||||
struct DXR1_BITS bit;
|
||||
};
|
||||
|
||||
struct SPCR2_BITS { // bits description
|
||||
Uint16 XRST:1; // 0 Transmitter reset
|
||||
Uint16 XRDY:1; // 1 Transmitter ready
|
||||
Uint16 XEMPTY:1; // 2 Transmitter empty
|
||||
Uint16 XSYNCERR:1; // 3 Transmit sync error INT flag
|
||||
Uint16 XINTM:2; // 5:4 Transmit Interupt mode bits
|
||||
Uint16 GRST:1; // 6 Sample rate generator reset
|
||||
Uint16 FRST:1; // 7 Frame sync logic reset
|
||||
Uint16 SOFT:1; // 8 SOFT bit
|
||||
Uint16 FREE:1; // 9 FREE bit
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union SPCR2_REG {
|
||||
Uint16 all;
|
||||
struct SPCR2_BITS bit;
|
||||
};
|
||||
|
||||
struct SPCR1_BITS { // bits description
|
||||
Uint16 RRST:1; // 0 Receiver reset
|
||||
Uint16 RRDY:1; // 1 Receiver ready
|
||||
Uint16 RFULL:1; // 2 Receiver full
|
||||
Uint16 RSYNCERR:1; // 3 Receive sync error INT flag
|
||||
Uint16 RINTM:2; // 5:4 Receive Interupt mode bits
|
||||
Uint16 rsvd1:1; // 6 Reserved
|
||||
Uint16 DXENA:1; // 7 DX delay enable
|
||||
Uint16 rsvd2:3; // 10:8 Reserved
|
||||
Uint16 CLKSTP:2; // 12:11 Clock stop mode
|
||||
Uint16 RJUST:2; // 14:13 Rx sign extension and justification mode
|
||||
Uint16 DLB:1; // 15 Digital loopback
|
||||
};
|
||||
|
||||
union SPCR1_REG {
|
||||
Uint16 all;
|
||||
struct SPCR1_BITS bit;
|
||||
};
|
||||
|
||||
struct RCR2_BITS { // bits description
|
||||
Uint16 RDATDLY:2; // 1:0 Receive data delay
|
||||
Uint16 RFIG:1; // 2 Receive frame sync ignore
|
||||
Uint16 RCOMPAND:2; // 4:3 Receive Companding Mode selects
|
||||
Uint16 RWDLEN2:3; // 7:5 Receive word length 2
|
||||
Uint16 RFRLEN2:7; // 14:8 Receive Frame length 2
|
||||
Uint16 RPHASE:1; // 15 Receive Phase
|
||||
};
|
||||
|
||||
union RCR2_REG {
|
||||
Uint16 all;
|
||||
struct RCR2_BITS bit;
|
||||
};
|
||||
|
||||
struct RCR1_BITS { // bits description
|
||||
Uint16 rsvd1:5; // 4:0 Reserved
|
||||
Uint16 RWDLEN1:3; // 7:5 Receive word length 1
|
||||
Uint16 RFRLEN1:7; // 14:8 Receive Frame length 1
|
||||
Uint16 rsvd2:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union RCR1_REG {
|
||||
Uint16 all;
|
||||
struct RCR1_BITS bit;
|
||||
};
|
||||
|
||||
struct XCR2_BITS { // bits description
|
||||
Uint16 XDATDLY:2; // 1:0 Transmit data delay
|
||||
Uint16 XFIG:1; // 2 Transmit frame sync ignore
|
||||
Uint16 XCOMPAND:2; // 4:3 Transmit Companding Mode selects
|
||||
Uint16 XWDLEN2:3; // 7:5 Transmit word length 2
|
||||
Uint16 XFRLEN2:7; // 14:8 Transmit Frame length 2
|
||||
Uint16 XPHASE:1; // 15 Transmit Phase
|
||||
};
|
||||
|
||||
union XCR2_REG {
|
||||
Uint16 all;
|
||||
struct XCR2_BITS bit;
|
||||
};
|
||||
|
||||
struct XCR1_BITS { // bits description
|
||||
Uint16 rsvd1:5; // 4:0 Reserved
|
||||
Uint16 XWDLEN1:3; // 7:5 Transmit word length 1
|
||||
Uint16 XFRLEN1:7; // 14:8 Transmit Frame length 1
|
||||
Uint16 rsvd2:1; // 15 Reserved
|
||||
};
|
||||
|
||||
union XCR1_REG {
|
||||
Uint16 all;
|
||||
struct XCR1_BITS bit;
|
||||
};
|
||||
|
||||
struct SRGR2_BITS { // bits description
|
||||
Uint16 FPER:12; // 11:0 Frame-sync period
|
||||
Uint16 FSGM:1; // 12 Frame sync generator mode
|
||||
Uint16 CLKSM:1; // 13 Sample rate generator mode
|
||||
Uint16 rsvd1:1; // 14 Reserved
|
||||
Uint16 GSYNC:1; // 15 CLKG sync
|
||||
};
|
||||
|
||||
union SRGR2_REG {
|
||||
Uint16 all;
|
||||
struct SRGR2_BITS bit;
|
||||
};
|
||||
|
||||
struct SRGR1_BITS { // bits description
|
||||
Uint16 CLKGDV:8; // 7:0 CLKG divider
|
||||
Uint16 FWID:8; // 15:8 Frame width
|
||||
};
|
||||
|
||||
union SRGR1_REG {
|
||||
Uint16 all;
|
||||
struct SRGR1_BITS bit;
|
||||
};
|
||||
|
||||
struct MCR2_BITS { // bits description
|
||||
Uint16 XMCM:2; // 1:0 Transmit data delay
|
||||
Uint16 XCBLK:3; // 4:2 Transmit frame sync ignore
|
||||
Uint16 XPABLK:2; // 6:5 Transmit Companding Mode selects
|
||||
Uint16 XPBBLK:2; // 8:7 Transmit word length 2
|
||||
Uint16 XMCME:1; // 9 Transmit Frame length 2
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union MCR2_REG {
|
||||
Uint16 all;
|
||||
struct MCR2_BITS bit;
|
||||
};
|
||||
|
||||
struct MCR1_BITS { // bits description
|
||||
Uint16 RMCM:1; // 0 Receive multichannel mode
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 RCBLK:3; // 4:2 eceive current block
|
||||
Uint16 RPABLK:2; // 6:5 Receive partition A Block
|
||||
Uint16 RPBBLK:2; // 8:7 Receive partition B Block
|
||||
Uint16 RMCME:1; // 9 Receive multi-channel enhance mode
|
||||
Uint16 rsvd2:6; // 15:10 Reserved
|
||||
};
|
||||
|
||||
union MCR1_REG {
|
||||
Uint16 all;
|
||||
struct MCR1_BITS bit;
|
||||
};
|
||||
|
||||
struct PCR_BITS { // bits description
|
||||
Uint16 CLKRP:1; // 0 Receive Clock polarity
|
||||
Uint16 CLKXP:1; // 1 Transmit clock polarity
|
||||
Uint16 FSRP:1; // 2 Receive Frame synchronization polarity
|
||||
Uint16 FSXP:1; // 3 Transmit Frame synchronization polarity
|
||||
Uint16 rsvd1:1; // 4 Reserved
|
||||
Uint16 rsvd2:1; // 5 Reserved
|
||||
Uint16 rsvd3:1; // 6 Reserved
|
||||
Uint16 SCLKME:1; // 7 Sample clock mode selection
|
||||
Uint16 CLKRM:1; // 8 Receiver Clock Mode
|
||||
Uint16 CLKXM:1; // 9 Transmit Clock Mode.
|
||||
Uint16 FSRM:1; // 10 Receive Frame Synchronization Mode
|
||||
Uint16 FSXM:1; // 11 Transmit Frame Synchronization Mode
|
||||
Uint16 rsvd4:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union PCR_REG {
|
||||
Uint16 all;
|
||||
struct PCR_BITS bit;
|
||||
};
|
||||
|
||||
struct MFFINT_BITS { // bits description
|
||||
Uint16 XINT:1; // 0 Enable for Receive Interrupt
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 RINT:1; // 2 Enable for transmit Interrupt
|
||||
Uint16 rsvd2:13; // 15:3 Reserved
|
||||
};
|
||||
|
||||
union MFFINT_REG {
|
||||
Uint16 all;
|
||||
struct MFFINT_BITS bit;
|
||||
};
|
||||
|
||||
struct McBSP_REGS {
|
||||
union DRR2_REG DRR2; // Data receive register bits 31-16
|
||||
union DRR1_REG DRR1; // Data receive register bits 15-0
|
||||
union DXR2_REG DXR2; // Data transmit register bits 31-16
|
||||
union DXR1_REG DXR1; // Data transmit register bits 15-0
|
||||
union SPCR2_REG SPCR2; // Serial port control register 2
|
||||
union SPCR1_REG SPCR1; // Serial port control register 1
|
||||
union RCR2_REG RCR2; // Receive Control register 2
|
||||
union RCR1_REG RCR1; // Receive Control register 1
|
||||
union XCR2_REG XCR2; // Transmit Control register 2
|
||||
union XCR1_REG XCR1; // Transmit Control register 1
|
||||
union SRGR2_REG SRGR2; // Sample rate generator register 2
|
||||
union SRGR1_REG SRGR1; // Sample rate generator register 1
|
||||
union MCR2_REG MCR2; // Multi-channel control register 2
|
||||
union MCR1_REG MCR1; // Multi-channel control register 1
|
||||
Uint16 RCERA; // Receive channel enable partition A
|
||||
Uint16 RCERB; // Receive channel enable partition B
|
||||
Uint16 XCERA; // Transmit channel enable partition A
|
||||
Uint16 XCERB; // Transmit channel enable partition B
|
||||
union PCR_REG PCR; // Pin Control register
|
||||
Uint16 RCERC; // Receive channel enable partition C
|
||||
Uint16 RCERD; // Receive channel enable partition D
|
||||
Uint16 XCERC; // Transmit channel enable partition C
|
||||
Uint16 XCERD; // Transmit channel enable partition D
|
||||
Uint16 RCERE; // Receive channel enable partition E
|
||||
Uint16 RCERF; // Receive channel enable partition F
|
||||
Uint16 XCERE; // Transmit channel enable partition E
|
||||
Uint16 XCERF; // Transmit channel enable partition F
|
||||
Uint16 RCERG; // Receive channel enable partition G
|
||||
Uint16 RCERH; // Receive channel enable partition H
|
||||
Uint16 XCERG; // Transmit channel enable partition G
|
||||
Uint16 XCERH; // Transmit channel enable partition H
|
||||
Uint16 rsvd1[4]; // Reserved
|
||||
union MFFINT_REG MFFINT; // Interrupt enable
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// MCBSP External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct McBSP_REGS McbspaRegs;
|
||||
extern volatile struct McBSP_REGS McbspbRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct McBSP_REGS McbspaRegs;
|
||||
extern volatile struct McBSP_REGS McbspbRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,243 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_nmiintrupt.h
|
||||
//
|
||||
// TITLE: Definitions for the NMIINTRUPT registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_NMIINTRUPT_H
|
||||
#define F2838X_NMIINTRUPT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// NMIINTRUPT Individual Register Bit Definitions:
|
||||
|
||||
struct NMICFG_BITS { // bits description
|
||||
Uint16 NMIE:1; // 0 Global NMI Enable
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union NMICFG_REG {
|
||||
Uint16 all;
|
||||
struct NMICFG_BITS bit;
|
||||
};
|
||||
|
||||
struct NMIFLG_BITS { // bits description
|
||||
Uint16 NMIINT:1; // 0 NMI Interrupt Flag
|
||||
Uint16 CLOCKFAIL:1; // 1 Clock Fail Interrupt Flag
|
||||
Uint16 RAMUNCERR:1; // 2 RAM Uncorrectable Error NMI Flag
|
||||
Uint16 FLUNCERR:1; // 3 Flash Uncorrectable Error NMI Flag
|
||||
Uint16 CPU1HWBISTERR:1; // 4 HW BIST Error NMI Flag
|
||||
Uint16 CPU2HWBISTERR:1; // 5 HW BIST Error NMI Flag
|
||||
Uint16 PIEVECTERR:1; // 6 PIE Vector Fetch Error Flag
|
||||
Uint16 ERADNMI:1; // 7 ERAD Module NMI Flag
|
||||
Uint16 CLBNMI:1; // 8 Configurable Logic Block NMI Flag
|
||||
Uint16 CPU2WDRSn:1; // 9 CPU2 WDRSn Reset Indication Flag
|
||||
Uint16 CPU2NMIWDRSn:1; // 10 CPU2 NMIWDRSn Reset Indication Flag
|
||||
Uint16 rsvd1:1; // 11 Reserved
|
||||
Uint16 CMNMIWDRSn:1; // 12 CM NMI watch dog has timed out.
|
||||
Uint16 ECATNMIn:1; // 13 NMI from EtherCAT reset out
|
||||
Uint16 CRC_FAIL:1; // 14 CRC calculation failed.
|
||||
Uint16 MCAN_ERR:1; // 15 MCAN module generated an ECC error.
|
||||
};
|
||||
|
||||
union NMIFLG_REG {
|
||||
Uint16 all;
|
||||
struct NMIFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct NMIFLGCLR_BITS { // bits description
|
||||
Uint16 NMIINT:1; // 0 NMIINT Flag Clear
|
||||
Uint16 CLOCKFAIL:1; // 1 CLOCKFAIL Flag Clear
|
||||
Uint16 RAMUNCERR:1; // 2 RAMUNCERR Flag Clear
|
||||
Uint16 FLUNCERR:1; // 3 FLUNCERR Flag Clear
|
||||
Uint16 CPU1HWBISTERR:1; // 4 CPU1HWBISTERR Flag Clear
|
||||
Uint16 CPU2HWBISTERR:1; // 5 CPU2HWBISTERR Flag Clear
|
||||
Uint16 PIEVECTERR:1; // 6 PIEVECTERR Flag Clear
|
||||
Uint16 ERADNMI:1; // 7 ERADNMI Flag Clear
|
||||
Uint16 CLBNMI:1; // 8 CLBNMI Flag Clear
|
||||
Uint16 CPU2WDRSn:1; // 9 CPU2WDRSn Flag Clear
|
||||
Uint16 CPU2NMIWDRSn:1; // 10 CPU2NMIWDRSn Flag Clear
|
||||
Uint16 rsvd1:1; // 11 Reserved
|
||||
Uint16 CMNMIWDRSn:1; // 12 DCDCOLF Flag Clear
|
||||
Uint16 ECATNMIn:1; // 13 ECATNMIn flag clear
|
||||
Uint16 CRC_FAIL:1; // 14 CRC_FAIL flag clear
|
||||
Uint16 MCAN_ERR:1; // 15 MCAN_ERR flag clear
|
||||
};
|
||||
|
||||
union NMIFLGCLR_REG {
|
||||
Uint16 all;
|
||||
struct NMIFLGCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct NMIFLGFRC_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 CLOCKFAIL:1; // 1 CLOCKFAIL Flag Force
|
||||
Uint16 RAMUNCERR:1; // 2 RAMUNCERR Flag Force
|
||||
Uint16 FLUNCERR:1; // 3 FLUNCERR Flag Force
|
||||
Uint16 CPU1HWBISTERR:1; // 4 CPU1HWBISTERR Flag Force
|
||||
Uint16 CPU2HWBISTERR:1; // 5 CPU2HWBISTERR Flag Force
|
||||
Uint16 PIEVECTERR:1; // 6 PIEVECTERR Flag Force
|
||||
Uint16 ERADNMI:1; // 7 ERADNMI Flag Force
|
||||
Uint16 CLBNMI:1; // 8 CLBNMI Flag Force
|
||||
Uint16 CPU2WDRSn:1; // 9 CPU2WDRSn Flag Force
|
||||
Uint16 CPU2NMIWDRSn:1; // 10 CPU2NMIWDRSn Flag Force
|
||||
Uint16 rsvd2:1; // 11 Reserved
|
||||
Uint16 CMNMIWDRSn:1; // 12 DCDCOLF Flag Force
|
||||
Uint16 ECATNMIn:1; // 13 ECATNMIn flag force
|
||||
Uint16 CRC_FAIL:1; // 14 CRC_FAIL flag force
|
||||
Uint16 MCAN_ERR:1; // 15 MCAN_ERR flag force
|
||||
};
|
||||
|
||||
union NMIFLGFRC_REG {
|
||||
Uint16 all;
|
||||
struct NMIFLGFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct NMISHDFLG_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 CLOCKFAIL:1; // 1 Shadow CLOCKFAIL Flag
|
||||
Uint16 RAMUNCERR:1; // 2 Shadow RAMUNCERR Flag
|
||||
Uint16 FLUNCERR:1; // 3 Shadow FLUNCERR Flag
|
||||
Uint16 CPU1HWBISTERR:1; // 4 Shadow CPU1HWBISTERR Flag
|
||||
Uint16 CPU2HWBISTERR:1; // 5 Shadow CPU2HWBISTERR Flag
|
||||
Uint16 PIEVECTERR:1; // 6 Shadow PIEVECTERR Flag
|
||||
Uint16 ERADNMI:1; // 7 Shadow ERADNMI Flag
|
||||
Uint16 CLBNMI:1; // 8 Shadow CLBNMI Flag
|
||||
Uint16 CPU2WDRSn:1; // 9 Shadow CPU2WDRSn Flag
|
||||
Uint16 CPU2NMIWDRSn:1; // 10 Shadow CPU2NMIWDRSn Flag
|
||||
Uint16 rsvd2:1; // 11 Reserved
|
||||
Uint16 CMNMIWDRSn:1; // 12 Shadow DCDCOLF Flag
|
||||
Uint16 ECATNMIn:1; // 13 ECATNMIn flag
|
||||
Uint16 CRC_FAIL:1; // 14 CRC_FAIL flag
|
||||
Uint16 MCAN_ERR:1; // 15 MCAN_ERR flag
|
||||
};
|
||||
|
||||
union NMISHDFLG_REG {
|
||||
Uint16 all;
|
||||
struct NMISHDFLG_BITS bit;
|
||||
};
|
||||
|
||||
struct ERRORSTS_BITS { // bits description
|
||||
Uint16 ERROR:1; // 0 Error flag.
|
||||
Uint16 PINSTS:1; // 1 Error pin status.
|
||||
Uint16 rsvd1:14; // 15:2 Reserved
|
||||
};
|
||||
|
||||
union ERRORSTS_REG {
|
||||
Uint16 all;
|
||||
struct ERRORSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct ERRORSTSCLR_BITS { // bits description
|
||||
Uint16 ERROR:1; // 0 ERRORFLG.ERROR clear bit
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union ERRORSTSCLR_REG {
|
||||
Uint16 all;
|
||||
struct ERRORSTSCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct ERRORSTSFRC_BITS { // bits description
|
||||
Uint16 ERROR:1; // 0 ERRORSTS.ERROR pin force.
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union ERRORSTSFRC_REG {
|
||||
Uint16 all;
|
||||
struct ERRORSTSFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct ERRORCTL_BITS { // bits description
|
||||
Uint16 ERRORPOLSEL:1; // 0 ERROR pin polarity select
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union ERRORCTL_REG {
|
||||
Uint16 all;
|
||||
struct ERRORCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct ERRORLOCK_BITS { // bits description
|
||||
Uint16 ERRORCTL:1; // 0 ERRORCTL Lock bit
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
};
|
||||
|
||||
union ERRORLOCK_REG {
|
||||
Uint16 all;
|
||||
struct ERRORLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct NMI_INTRUPT_REGS {
|
||||
union NMICFG_REG NMICFG; // NMI Configuration Register
|
||||
union NMIFLG_REG NMIFLG; // NMI Flag Register (SYSRsn Clear)
|
||||
union NMIFLGCLR_REG NMIFLGCLR; // NMI Flag Clear Register
|
||||
union NMIFLGFRC_REG NMIFLGFRC; // NMI Flag Force Register
|
||||
Uint16 NMIWDCNT; // NMI Watchdog Counter Register
|
||||
Uint16 NMIWDPRD; // NMI Watchdog Period Register
|
||||
union NMISHDFLG_REG NMISHDFLG; // NMI Shadow Flag Register
|
||||
union ERRORSTS_REG ERRORSTS; // Error pin status
|
||||
union ERRORSTSCLR_REG ERRORSTSCLR; // ERRORSTS clear register
|
||||
union ERRORSTSFRC_REG ERRORSTSFRC; // ERRORSTS force register
|
||||
union ERRORCTL_REG ERRORCTL; // Error pin control register
|
||||
union ERRORLOCK_REG ERRORLOCK; // Lock register to Error pin registers.
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// NMIINTRUPT External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct NMI_INTRUPT_REGS NmiIntruptRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct NMI_INTRUPT_REGS NmiIntruptRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,77 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_otp.h
|
||||
//
|
||||
// TITLE: Definitions for the OTP registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_OTP_H
|
||||
#define F2838X_OTP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// OTP Individual Register Bit Definitions:
|
||||
|
||||
struct UID_REGS {
|
||||
Uint32 UID_PSRAND0; // UID Psuedo-random 160 bit number
|
||||
Uint32 UID_PSRAND1; // UID Psuedo-random 160 bit number
|
||||
Uint32 UID_PSRAND2; // UID Psuedo-random 160 bit number
|
||||
Uint32 UID_PSRAND3; // UID Psuedo-random 160 bit number
|
||||
Uint32 UID_PSRAND4; // UID Psuedo-random 160 bit number
|
||||
Uint32 UID_PSRAND5; // UID Psuedo-random 160 bit number
|
||||
Uint32 UID_UNIQUE; // UID Unique 32 bit number
|
||||
Uint32 UID_CHECKSUM; // UID Checksum
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// OTP External References & Function Declarations:
|
||||
//
|
||||
extern volatile struct UID_REGS UidRegs;
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,908 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_outputxbar.h
|
||||
//
|
||||
// TITLE: Definitions for the OUTPUTXBAR registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_OUTPUTXBAR_H
|
||||
#define F2838X_OUTPUTXBAR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// OUTPUTXBAR Individual Register Bit Definitions:
|
||||
|
||||
struct OUTPUT1MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT1MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT1MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT1MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT1 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT1MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT1MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT2MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT2MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT2MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT2MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT2 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT2MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT2MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT3MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT3MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT3MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT3MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT3 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT3MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT3MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT4MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT4MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT4MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT4MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT4 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT4MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT4MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT5MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT5MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT5MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT5MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT5 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT5MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT5MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT6MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT6MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT6MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT6MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT6 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT6MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT6MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT7MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT7MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT7MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT7MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT7 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT7MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT7MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT8MUX0TO15CFG_BITS { // bits description
|
||||
Uint16 MUX0:2; // 1:0 Mux0 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX1:2; // 3:2 Mux1 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX2:2; // 5:4 Mux2 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX3:2; // 7:6 Mux3 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX4:2; // 9:8 Mux4 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX5:2; // 11:10 Mux5 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX6:2; // 13:12 Mux6 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX7:2; // 15:14 Mux7 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX8:2; // 17:16 Mux8 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX9:2; // 19:18 Mux9 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX10:2; // 21:20 Mux10 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX11:2; // 23:22 Mux11 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX12:2; // 25:24 Mux12 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX13:2; // 27:26 Mux13 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX14:2; // 29:28 Mux14 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX15:2; // 31:30 Mux15 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT8MUX0TO15CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT8MUX0TO15CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT8MUX16TO31CFG_BITS { // bits description
|
||||
Uint16 MUX16:2; // 1:0 Mux16 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX17:2; // 3:2 Mux17 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX18:2; // 5:4 Mux18 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX19:2; // 7:6 Mux19 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX20:2; // 9:8 Mux20 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX21:2; // 11:10 Mux21 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX22:2; // 13:12 Mux22 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX23:2; // 15:14 Mux23 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX24:2; // 17:16 Mux24 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX25:2; // 19:18 Mux25 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX26:2; // 21:20 Mux26 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX27:2; // 23:22 Mux27 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX28:2; // 25:24 Mux28 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX29:2; // 27:26 Mux29 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX30:2; // 29:28 Mux30 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX31:2; // 31:30 Mux31 Configuration for OUTPUT8 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT8MUX16TO31CFG_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT8MUX16TO31CFG_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT1MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT1 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT1MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT1MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT2MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT2 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT2MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT2MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT3MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT3 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT3MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT3MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT4MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT4 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT4MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT4MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT5MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT5 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT5MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT5MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT6MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT6 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT6MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT6MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT7MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT7 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT7MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT7MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT8MUXENABLE_BITS { // bits description
|
||||
Uint16 MUX0:1; // 0 Mux0 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX1:1; // 1 Mux1 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX2:1; // 2 Mux2 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX3:1; // 3 Mux3 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX4:1; // 4 Mux4 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX5:1; // 5 Mux5 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX6:1; // 6 Mux6 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX7:1; // 7 Mux7 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX8:1; // 8 Mux8 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX9:1; // 9 Mux9 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX10:1; // 10 Mux10 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX11:1; // 11 Mux11 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX12:1; // 12 Mux12 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX13:1; // 13 Mux13 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX14:1; // 14 Mux14 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX15:1; // 15 Mux15 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX16:1; // 16 Mux16 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX17:1; // 17 Mux17 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX18:1; // 18 Mux18 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX19:1; // 19 Mux19 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX20:1; // 20 Mux20 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX21:1; // 21 Mux21 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX22:1; // 22 Mux22 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX23:1; // 23 Mux23 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX24:1; // 24 Mux24 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX25:1; // 25 Mux25 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX26:1; // 26 Mux26 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX27:1; // 27 Mux27 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX28:1; // 28 Mux28 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX29:1; // 29 Mux29 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX30:1; // 30 Mux30 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 MUX31:1; // 31 Mux31 to drive OUTPUT8 of OUTPUT-XBAR
|
||||
};
|
||||
|
||||
union OUTPUT8MUXENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUT8MUXENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUTLATCH_BITS { // bits description
|
||||
Uint16 OUTPUT1:1; // 0 Records the OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT2:1; // 1 Records the OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT3:1; // 2 Records the OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT4:1; // 3 Records the OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT5:1; // 4 Records the OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT6:1; // 5 Records the OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT7:1; // 6 Records the OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT8:1; // 7 Records the OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union OUTPUTLATCH_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUTLATCH_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUTLATCHCLR_BITS { // bits description
|
||||
Uint16 OUTPUT1:1; // 0 Clears the Output-Latch for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT2:1; // 1 Clears the Output-Latch for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT3:1; // 2 Clears the Output-Latch for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT4:1; // 3 Clears the Output-Latch for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT5:1; // 4 Clears the Output-Latch for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT6:1; // 5 Clears the Output-Latch for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT7:1; // 6 Clears the Output-Latch for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT8:1; // 7 Clears the Output-Latch for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union OUTPUTLATCHCLR_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUTLATCHCLR_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUTLATCHFRC_BITS { // bits description
|
||||
Uint16 OUTPUT1:1; // 0 Sets the Output-Latch for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT2:1; // 1 Sets the Output-Latch for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT3:1; // 2 Sets the Output-Latch for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT4:1; // 3 Sets the Output-Latch for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT5:1; // 4 Sets the Output-Latch for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT6:1; // 5 Sets the Output-Latch for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT7:1; // 6 Sets the Output-Latch for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT8:1; // 7 Sets the Output-Latch for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union OUTPUTLATCHFRC_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUTLATCHFRC_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUTLATCHENABLE_BITS { // bits description
|
||||
Uint16 OUTPUT1:1; // 0 Selects the output latch to drive OUTPUT1 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT2:1; // 1 Selects the output latch to drive OUTPUT2 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT3:1; // 2 Selects the output latch to drive OUTPUT3 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT4:1; // 3 Selects the output latch to drive OUTPUT4 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT5:1; // 4 Selects the output latch to drive OUTPUT5 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT6:1; // 5 Selects the output latch to drive OUTPUT6 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT7:1; // 6 Selects the output latch to drive OUTPUT7 for OUTPUT-XBAR
|
||||
Uint16 OUTPUT8:1; // 7 Selects the output latch to drive OUTPUT8 for OUTPUT-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union OUTPUTLATCHENABLE_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUTLATCHENABLE_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUTINV_BITS { // bits description
|
||||
Uint16 OUTPUT1:1; // 0 Selects polarity for OUTPUT1 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT2:1; // 1 Selects polarity for OUTPUT2 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT3:1; // 2 Selects polarity for OUTPUT3 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT4:1; // 3 Selects polarity for OUTPUT4 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT5:1; // 4 Selects polarity for OUTPUT5 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT6:1; // 5 Selects polarity for OUTPUT6 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT7:1; // 6 Selects polarity for OUTPUT7 of OUTPUT-XBAR
|
||||
Uint16 OUTPUT8:1; // 7 Selects polarity for OUTPUT8 of OUTPUT-XBAR
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union OUTPUTINV_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUTINV_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUTLOCK_BITS { // bits description
|
||||
Uint16 LOCK:1; // 0 Locks the configuration for OUTPUT-XBAR
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 KEY:16; // 31:16 Write Protection KEY
|
||||
};
|
||||
|
||||
union OUTPUTLOCK_REG {
|
||||
Uint32 all;
|
||||
struct OUTPUTLOCK_BITS bit;
|
||||
};
|
||||
|
||||
struct OUTPUT_XBAR_REGS {
|
||||
union OUTPUT1MUX0TO15CFG_REG OUTPUT1MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 1
|
||||
union OUTPUT1MUX16TO31CFG_REG OUTPUT1MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 1
|
||||
union OUTPUT2MUX0TO15CFG_REG OUTPUT2MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 2
|
||||
union OUTPUT2MUX16TO31CFG_REG OUTPUT2MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 2
|
||||
union OUTPUT3MUX0TO15CFG_REG OUTPUT3MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 3
|
||||
union OUTPUT3MUX16TO31CFG_REG OUTPUT3MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 3
|
||||
union OUTPUT4MUX0TO15CFG_REG OUTPUT4MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 4
|
||||
union OUTPUT4MUX16TO31CFG_REG OUTPUT4MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 4
|
||||
union OUTPUT5MUX0TO15CFG_REG OUTPUT5MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 5
|
||||
union OUTPUT5MUX16TO31CFG_REG OUTPUT5MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 5
|
||||
union OUTPUT6MUX0TO15CFG_REG OUTPUT6MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 6
|
||||
union OUTPUT6MUX16TO31CFG_REG OUTPUT6MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 6
|
||||
union OUTPUT7MUX0TO15CFG_REG OUTPUT7MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 7
|
||||
union OUTPUT7MUX16TO31CFG_REG OUTPUT7MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 7
|
||||
union OUTPUT8MUX0TO15CFG_REG OUTPUT8MUX0TO15CFG; // Output X-BAR Mux Configuration for Output 8
|
||||
union OUTPUT8MUX16TO31CFG_REG OUTPUT8MUX16TO31CFG; // Output X-BAR Mux Configuration for Output 8
|
||||
union OUTPUT1MUXENABLE_REG OUTPUT1MUXENABLE; // Output X-BAR Mux Enable for Output 1
|
||||
union OUTPUT2MUXENABLE_REG OUTPUT2MUXENABLE; // Output X-BAR Mux Enable for Output 2
|
||||
union OUTPUT3MUXENABLE_REG OUTPUT3MUXENABLE; // Output X-BAR Mux Enable for Output 3
|
||||
union OUTPUT4MUXENABLE_REG OUTPUT4MUXENABLE; // Output X-BAR Mux Enable for Output 4
|
||||
union OUTPUT5MUXENABLE_REG OUTPUT5MUXENABLE; // Output X-BAR Mux Enable for Output 5
|
||||
union OUTPUT6MUXENABLE_REG OUTPUT6MUXENABLE; // Output X-BAR Mux Enable for Output 6
|
||||
union OUTPUT7MUXENABLE_REG OUTPUT7MUXENABLE; // Output X-BAR Mux Enable for Output 7
|
||||
union OUTPUT8MUXENABLE_REG OUTPUT8MUXENABLE; // Output X-BAR Mux Enable for Output 8
|
||||
union OUTPUTLATCH_REG OUTPUTLATCH; // Output X-BAR Output Latch
|
||||
union OUTPUTLATCHCLR_REG OUTPUTLATCHCLR; // Output X-BAR Output Latch Clear
|
||||
union OUTPUTLATCHFRC_REG OUTPUTLATCHFRC; // Output X-BAR Output Latch Clear
|
||||
union OUTPUTLATCHENABLE_REG OUTPUTLATCHENABLE; // Output X-BAR Output Latch Enable
|
||||
union OUTPUTINV_REG OUTPUTINV; // Output X-BAR Output Inversion
|
||||
Uint16 rsvd1[4]; // Reserved
|
||||
union OUTPUTLOCK_REG OUTPUTLOCK; // Output X-BAR Configuration Lock register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// OUTPUTXBAR External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct OUTPUT_XBAR_REGS OutputXbarRegs;
|
||||
extern volatile struct OUTPUT_XBAR_REGS ClbOutputXbarRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,173 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_pbist.h
|
||||
//
|
||||
// TITLE: Definitions for the PBIST registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838x_PBIST_H
|
||||
#define F2838x_PBIST_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PBIST Individual Register Bit Definitions:
|
||||
|
||||
struct RAMT_BITS { // bits description
|
||||
Uint16 rsvd1:16; // 15:0 Reserved
|
||||
Uint16 RDS:8; // 23:16 Return Data Select
|
||||
Uint16 RGS:8; // 31:24 RAM Group Select
|
||||
};
|
||||
|
||||
union RAMT_REG {
|
||||
Uint32 all;
|
||||
struct RAMT_BITS bit;
|
||||
};
|
||||
|
||||
struct DLRT_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 rsvd2:1; // 1 Reserved
|
||||
Uint16 ROM_TEST:1; // 2 ROM-based testing
|
||||
Uint16 TCK_GATED:1; // 3 TCK gated
|
||||
Uint16 CONFIG_ACC:1; // 4 Config Access
|
||||
Uint16 rsvd3:1; // 5 Reserved
|
||||
Uint16 rsvd4:1; // 6 Reserved
|
||||
Uint16 rsvd5:1; // 7 Reserved
|
||||
Uint16 rsvd6:1; // 8 Reserved
|
||||
Uint16 GO_NOGO_TEST:1; // 9 GO/ NO-GO Testing
|
||||
Uint16 rsvd7:1; // 10 Reserved
|
||||
Uint16 rsvd8:5; // 15:11 Reserved
|
||||
Uint16 rsvd9:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union DLRT_REG {
|
||||
Uint32 all;
|
||||
struct DLRT_BITS bit;
|
||||
};
|
||||
|
||||
struct STR_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 RESUME:1; // 1 Resume / Emulation Read
|
||||
Uint16 STOP:1; // 2 Stops PBIST testing
|
||||
Uint16 rsvd2:1; // 3 Reserved
|
||||
Uint16 rsvd3:1; // 4 Reserved
|
||||
Uint16 rsvd4:2; // 6:5 Reserved
|
||||
Uint16 rsvd5:1; // 7 Reserved
|
||||
Uint16 rsvd6:1; // 8 Reserved
|
||||
Uint16 rsvd7:7; // 15:9 Reserved
|
||||
Uint16 rsvd8:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union STR_REG {
|
||||
Uint32 all;
|
||||
struct STR_BITS bit;
|
||||
};
|
||||
|
||||
struct PACT_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 Enable clocks to PBIST
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PACT_REG {
|
||||
Uint32 all;
|
||||
struct PACT_BITS bit;
|
||||
};
|
||||
|
||||
struct OVERRIDE_BITS { // bits description
|
||||
Uint16 RINFO_MEM_OVER:1; // 0 ROM Memory Information Override
|
||||
Uint16 rsvd1:2; // 2:1 Reserved
|
||||
Uint16 ALGO_OVER:1; // 3 ROM Algorithm Override
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
Uint16 rsvd3:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union OVERRIDE_REG {
|
||||
Uint32 all;
|
||||
struct OVERRIDE_BITS bit;
|
||||
};
|
||||
|
||||
struct PBIST_REGS {
|
||||
Uint16 rsvd1[352]; // Reserved
|
||||
union RAMT_REG RAMT; // RAM Configuration Register
|
||||
Uint16 rsvd2[2]; // Reserved
|
||||
union DLRT_REG DLRT; // PBIST Data Logger Register
|
||||
Uint16 rsvd3[6]; // Reserved
|
||||
union STR_REG STR; // Program Control Register
|
||||
Uint16 rsvd4[18]; // Reserved
|
||||
union PACT_REG PACT; // PBIST Activate Register
|
||||
Uint16 rsvd5[6]; // Reserved
|
||||
union OVERRIDE_REG OVERRIDE; // PBIST Override Register
|
||||
Uint16 rsvd6[6]; // Reserved
|
||||
Uint32 FSRF0; // Fail Status - Port 0
|
||||
Uint16 rsvd7[2]; // Reserved
|
||||
Uint32 FSRF1; // Fail Status - Port 1
|
||||
Uint16 rsvd8[2]; // Reserved
|
||||
Uint32 FSRC0; // Fail Status Count - Port 0
|
||||
Uint16 rsvd9[2]; // Reserved
|
||||
Uint32 FSRC1; // Fail Status Count - Port 1
|
||||
Uint16 rsvd10[38]; // Reserved
|
||||
Uint32 ALGO; // PBIST Algorithm
|
||||
Uint16 rsvd11[2]; // Reserved
|
||||
Uint32 RINFOL; // RAM Info Mask Register Lower
|
||||
Uint16 rsvd12[2]; // Reserved
|
||||
Uint32 RINFOU; // RAM Info Mask Register Higher
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PBIST External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct PBIST_REGS PbistRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct PBIST_REGS PbistRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,707 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_piectrl.h
|
||||
//
|
||||
// TITLE: Definitions for the PIECTRL registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_PIECTRL_H
|
||||
#define F2838X_PIECTRL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PIECTRL Individual Register Bit Definitions:
|
||||
|
||||
struct PIECTRL_BITS { // bits description
|
||||
Uint16 ENPIE:1; // 0 PIE Enable
|
||||
Uint16 PIEVECT:15; // 15:1 PIE Vector Address
|
||||
};
|
||||
|
||||
union PIECTRL_REG {
|
||||
Uint16 all;
|
||||
struct PIECTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEACK_BITS { // bits description
|
||||
Uint16 ACK1:1; // 0 Acknowledge PIE Interrupt Group 1
|
||||
Uint16 ACK2:1; // 1 Acknowledge PIE Interrupt Group 2
|
||||
Uint16 ACK3:1; // 2 Acknowledge PIE Interrupt Group 3
|
||||
Uint16 ACK4:1; // 3 Acknowledge PIE Interrupt Group 4
|
||||
Uint16 ACK5:1; // 4 Acknowledge PIE Interrupt Group 5
|
||||
Uint16 ACK6:1; // 5 Acknowledge PIE Interrupt Group 6
|
||||
Uint16 ACK7:1; // 6 Acknowledge PIE Interrupt Group 7
|
||||
Uint16 ACK8:1; // 7 Acknowledge PIE Interrupt Group 8
|
||||
Uint16 ACK9:1; // 8 Acknowledge PIE Interrupt Group 9
|
||||
Uint16 ACK10:1; // 9 Acknowledge PIE Interrupt Group 10
|
||||
Uint16 ACK11:1; // 10 Acknowledge PIE Interrupt Group 11
|
||||
Uint16 ACK12:1; // 11 Acknowledge PIE Interrupt Group 12
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union PIEACK_REG {
|
||||
Uint16 all;
|
||||
struct PIEACK_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER1_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 1.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 1.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 1.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 1.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 1.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 1.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 1.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 1.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 1.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 1.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 1.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 1.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 1.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 1.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 1.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 1.16
|
||||
};
|
||||
|
||||
union PIEIER1_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER1_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR1_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 1.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 1.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 1.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 1.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 1.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 1.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 1.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 1.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 1.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 1.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 1.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 1.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 1.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 1.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 1.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 1.16
|
||||
};
|
||||
|
||||
union PIEIFR1_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR1_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER2_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 2.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 2.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 2.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 2.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 2.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 2.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 2.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 2.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 2.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 2.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 2.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 2.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 2.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 2.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 2.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 2.16
|
||||
};
|
||||
|
||||
union PIEIER2_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER2_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR2_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 2.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 2.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 2.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 2.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 2.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 2.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 2.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 2.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 2.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 2.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 2.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 2.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 2.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 2.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 2.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 2.16
|
||||
};
|
||||
|
||||
union PIEIFR2_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR2_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER3_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 3.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 3.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 3.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 3.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 3.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 3.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 3.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 3.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 3.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 3.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 3.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 3.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 3.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 3.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 3.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 3.16
|
||||
};
|
||||
|
||||
union PIEIER3_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER3_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR3_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 3.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 3.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 3.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 3.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 3.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 3.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 3.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 3.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 3.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 3.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 3.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 3.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 3.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 3.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 3.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 3.16
|
||||
};
|
||||
|
||||
union PIEIFR3_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR3_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER4_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 4.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 4.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 4.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 4.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 4.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 4.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 4.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 4.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 4.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 4.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 4.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 4.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 4.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 4.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 4.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 4.16
|
||||
};
|
||||
|
||||
union PIEIER4_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER4_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR4_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 4.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 4.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 4.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 4.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 4.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 4.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 4.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 4.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 4.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 4.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 4.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 4.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 4.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 4.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 4.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 4.16
|
||||
};
|
||||
|
||||
union PIEIFR4_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR4_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER5_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 5.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 5.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 5.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 5.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 5.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 5.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 5.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 5.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 5.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 5.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 5.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 5.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 5.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 5.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 5.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 5.16
|
||||
};
|
||||
|
||||
union PIEIER5_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER5_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR5_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 5.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 5.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 5.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 5.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 5.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 5.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 5.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 5.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 5.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 5.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 5.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 5.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 5.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 5.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 5.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 5.16
|
||||
};
|
||||
|
||||
union PIEIFR5_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR5_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER6_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 6.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 6.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 6.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 6.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 6.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 6.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 6.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 6.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 6.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 6.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 6.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 6.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 6.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 6.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 6.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 6.16
|
||||
};
|
||||
|
||||
union PIEIER6_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER6_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR6_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 6.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 6.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 6.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 6.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 6.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 6.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 6.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 6.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 6.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 6.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 6.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 6.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 6.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 6.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 6.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 6.16
|
||||
};
|
||||
|
||||
union PIEIFR6_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR6_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER7_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 7.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 7.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 7.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 7.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 7.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 7.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 7.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 7.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 7.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 7.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 7.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 7.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 7.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 7.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 7.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 7.16
|
||||
};
|
||||
|
||||
union PIEIER7_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER7_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR7_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 7.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 7.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 7.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 7.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 7.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 7.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 7.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 7.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 7.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 7.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 7.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 7.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 7.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 7.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 7.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 7.16
|
||||
};
|
||||
|
||||
union PIEIFR7_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR7_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER8_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 8.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 8.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 8.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 8.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 8.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 8.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 8.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 8.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 8.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 8.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 8.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 8.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 8.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 8.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 8.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 8.16
|
||||
};
|
||||
|
||||
union PIEIER8_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER8_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR8_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 8.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 8.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 8.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 8.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 8.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 8.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 8.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 8.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 8.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 8.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 8.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 8.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 8.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 8.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 8.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 8.16
|
||||
};
|
||||
|
||||
union PIEIFR8_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR8_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER9_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 9.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 9.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 9.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 9.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 9.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 9.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 9.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 9.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 9.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 9.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 9.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 9.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 9.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 9.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 9.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 9.16
|
||||
};
|
||||
|
||||
union PIEIER9_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER9_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR9_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 9.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 9.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 9.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 9.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 9.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 9.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 9.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 9.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 9.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 9.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 9.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 9.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 9.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 9.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 9.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 9.16
|
||||
};
|
||||
|
||||
union PIEIFR9_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR9_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER10_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 10.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 10.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 10.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 10.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 10.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 10.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 10.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 10.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 10.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 10.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 10.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 10.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 10.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 10.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 10.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 10.16
|
||||
};
|
||||
|
||||
union PIEIER10_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER10_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR10_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 10.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 10.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 10.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 10.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 10.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 10.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 10.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 10.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 10.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 10.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 10.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 10.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 10.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 10.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 10.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 10.16
|
||||
};
|
||||
|
||||
union PIEIFR10_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR10_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER11_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 11.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 11.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 11.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 11.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 11.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 11.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 11.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 11.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 11.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 11.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 11.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 11.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 11.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 11.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 11.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 11.16
|
||||
};
|
||||
|
||||
union PIEIER11_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER11_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR11_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 11.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 11.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 11.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 11.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 11.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 11.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 11.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 11.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 11.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 11.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 11.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 11.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 11.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 11.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 11.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 11.16
|
||||
};
|
||||
|
||||
union PIEIFR11_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR11_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIER12_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Enable for Interrupt 12.1
|
||||
Uint16 INTx2:1; // 1 Enable for Interrupt 12.2
|
||||
Uint16 INTx3:1; // 2 Enable for Interrupt 12.3
|
||||
Uint16 INTx4:1; // 3 Enable for Interrupt 12.4
|
||||
Uint16 INTx5:1; // 4 Enable for Interrupt 12.5
|
||||
Uint16 INTx6:1; // 5 Enable for Interrupt 12.6
|
||||
Uint16 INTx7:1; // 6 Enable for Interrupt 12.7
|
||||
Uint16 INTx8:1; // 7 Enable for Interrupt 12.8
|
||||
Uint16 INTx9:1; // 8 Enable for Interrupt 12.9
|
||||
Uint16 INTx10:1; // 9 Enable for Interrupt 12.10
|
||||
Uint16 INTx11:1; // 10 Enable for Interrupt 12.11
|
||||
Uint16 INTx12:1; // 11 Enable for Interrupt 12.12
|
||||
Uint16 INTx13:1; // 12 Enable for Interrupt 12.13
|
||||
Uint16 INTx14:1; // 13 Enable for Interrupt 12.14
|
||||
Uint16 INTx15:1; // 14 Enable for Interrupt 12.15
|
||||
Uint16 INTx16:1; // 15 Enable for Interrupt 12.16
|
||||
};
|
||||
|
||||
union PIEIER12_REG {
|
||||
Uint16 all;
|
||||
struct PIEIER12_BITS bit;
|
||||
};
|
||||
|
||||
struct PIEIFR12_BITS { // bits description
|
||||
Uint16 INTx1:1; // 0 Flag for Interrupt 12.1
|
||||
Uint16 INTx2:1; // 1 Flag for Interrupt 12.2
|
||||
Uint16 INTx3:1; // 2 Flag for Interrupt 12.3
|
||||
Uint16 INTx4:1; // 3 Flag for Interrupt 12.4
|
||||
Uint16 INTx5:1; // 4 Flag for Interrupt 12.5
|
||||
Uint16 INTx6:1; // 5 Flag for Interrupt 12.6
|
||||
Uint16 INTx7:1; // 6 Flag for Interrupt 12.7
|
||||
Uint16 INTx8:1; // 7 Flag for Interrupt 12.8
|
||||
Uint16 INTx9:1; // 8 Flag for Interrupt 12.9
|
||||
Uint16 INTx10:1; // 9 Flag for Interrupt 12.10
|
||||
Uint16 INTx11:1; // 10 Flag for Interrupt 12.11
|
||||
Uint16 INTx12:1; // 11 Flag for Interrupt 12.12
|
||||
Uint16 INTx13:1; // 12 Flag for Interrupt 12.13
|
||||
Uint16 INTx14:1; // 13 Flag for Interrupt 12.14
|
||||
Uint16 INTx15:1; // 14 Flag for Interrupt 12.15
|
||||
Uint16 INTx16:1; // 15 Flag for Interrupt 12.16
|
||||
};
|
||||
|
||||
union PIEIFR12_REG {
|
||||
Uint16 all;
|
||||
struct PIEIFR12_BITS bit;
|
||||
};
|
||||
|
||||
struct PIE_CTRL_REGS {
|
||||
union PIECTRL_REG PIECTRL; // ePIE Control Register
|
||||
union PIEACK_REG PIEACK; // Interrupt Acknowledge Register
|
||||
union PIEIER1_REG PIEIER1; // Interrupt Group 1 Enable Register
|
||||
union PIEIFR1_REG PIEIFR1; // Interrupt Group 1 Flag Register
|
||||
union PIEIER2_REG PIEIER2; // Interrupt Group 2 Enable Register
|
||||
union PIEIFR2_REG PIEIFR2; // Interrupt Group 2 Flag Register
|
||||
union PIEIER3_REG PIEIER3; // Interrupt Group 3 Enable Register
|
||||
union PIEIFR3_REG PIEIFR3; // Interrupt Group 3 Flag Register
|
||||
union PIEIER4_REG PIEIER4; // Interrupt Group 4 Enable Register
|
||||
union PIEIFR4_REG PIEIFR4; // Interrupt Group 4 Flag Register
|
||||
union PIEIER5_REG PIEIER5; // Interrupt Group 5 Enable Register
|
||||
union PIEIFR5_REG PIEIFR5; // Interrupt Group 5 Flag Register
|
||||
union PIEIER6_REG PIEIER6; // Interrupt Group 6 Enable Register
|
||||
union PIEIFR6_REG PIEIFR6; // Interrupt Group 6 Flag Register
|
||||
union PIEIER7_REG PIEIER7; // Interrupt Group 7 Enable Register
|
||||
union PIEIFR7_REG PIEIFR7; // Interrupt Group 7 Flag Register
|
||||
union PIEIER8_REG PIEIER8; // Interrupt Group 8 Enable Register
|
||||
union PIEIFR8_REG PIEIFR8; // Interrupt Group 8 Flag Register
|
||||
union PIEIER9_REG PIEIER9; // Interrupt Group 9 Enable Register
|
||||
union PIEIFR9_REG PIEIFR9; // Interrupt Group 9 Flag Register
|
||||
union PIEIER10_REG PIEIER10; // Interrupt Group 10 Enable Register
|
||||
union PIEIFR10_REG PIEIFR10; // Interrupt Group 10 Flag Register
|
||||
union PIEIER11_REG PIEIER11; // Interrupt Group 11 Enable Register
|
||||
union PIEIFR11_REG PIEIFR11; // Interrupt Group 11 Flag Register
|
||||
union PIEIER12_REG PIEIER12; // Interrupt Group 12 Enable Register
|
||||
union PIEIFR12_REG PIEIFR12; // Interrupt Group 12 Flag Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PIECTRL External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct PIE_CTRL_REGS PieCtrlRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct PIE_CTRL_REGS PieCtrlRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,297 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_pievect.h
|
||||
//
|
||||
// TITLE: Definitions for the PIE Vector Table.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_PIEVECT_H
|
||||
#define F2838X_PIEVECT_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PIE Interrupt Vector Table Definition:
|
||||
// Create a user type called PINT (pointer to interrupt):
|
||||
|
||||
typedef __interrupt void (*PINT)(void);
|
||||
|
||||
// Define Vector Table:
|
||||
struct PIE_VECT_TABLE {
|
||||
PINT PIE1_RESERVED_INT; // Reserved
|
||||
PINT PIE2_RESERVED_INT; // Reserved
|
||||
PINT PIE3_RESERVED_INT; // Reserved
|
||||
PINT PIE4_RESERVED_INT; // Reserved
|
||||
PINT PIE5_RESERVED_INT; // Reserved
|
||||
PINT PIE6_RESERVED_INT; // Reserved
|
||||
PINT PIE7_RESERVED_INT; // Reserved
|
||||
PINT PIE8_RESERVED_INT; // Reserved
|
||||
PINT PIE9_RESERVED_INT; // Reserved
|
||||
PINT PIE10_RESERVED_INT; // Reserved
|
||||
PINT PIE11_RESERVED_INT; // Reserved
|
||||
PINT PIE12_RESERVED_INT; // Reserved
|
||||
PINT PIE13_RESERVED_INT; // Reserved
|
||||
PINT TIMER1_INT; // CPU Timer 1 Interrupt
|
||||
PINT TIMER2_INT; // CPU Timer 2 Interrupt
|
||||
PINT DATALOG_INT; // Datalogging Interrupt
|
||||
PINT RTOS_INT; // RTOS Interrupt
|
||||
PINT EMU_INT; // Emulation Interrupt
|
||||
PINT NMI_INT; // Non-Maskable Interrupt
|
||||
PINT ILLEGAL_INT; // Illegal Operation Trap
|
||||
PINT USER1_INT; // User Defined Trap 1
|
||||
PINT USER2_INT; // User Defined Trap 2
|
||||
PINT USER3_INT; // User Defined Trap 3
|
||||
PINT USER4_INT; // User Defined Trap 4
|
||||
PINT USER5_INT; // User Defined Trap 5
|
||||
PINT USER6_INT; // User Defined Trap 6
|
||||
PINT USER7_INT; // User Defined Trap 7
|
||||
PINT USER8_INT; // User Defined Trap 8
|
||||
PINT USER9_INT; // User Defined Trap 9
|
||||
PINT USER10_INT; // User Defined Trap 10
|
||||
PINT USER11_INT; // User Defined Trap 11
|
||||
PINT USER12_INT; // User Defined Trap 12
|
||||
PINT ADCA1_INT; // 1.1 - ADCA Interrupt 1
|
||||
PINT ADCB1_INT; // 1.2 - ADCB Interrupt 1
|
||||
PINT ADCC1_INT; // 1.3 - ADCC Interrupt 1
|
||||
PINT XINT1_INT; // 1.4 - XINT1 Interrupt
|
||||
PINT XINT2_INT; // 1.5 - XINT2 Interrupt
|
||||
PINT ADCD1_INT; // 1.6 - ADCD Interrupt 1
|
||||
PINT TIMER0_INT; // 1.7 - Timer 0 Interrupt
|
||||
PINT WAKE_INT; // 1.8 - Standby and Halt Wakeup Interrupt
|
||||
PINT EPWM1_TZ_INT; // 2.1 - ePWM1 Trip Zone Interrupt
|
||||
PINT EPWM2_TZ_INT; // 2.2 - ePWM2 Trip Zone Interrupt
|
||||
PINT EPWM3_TZ_INT; // 2.3 - ePWM3 Trip Zone Interrupt
|
||||
PINT EPWM4_TZ_INT; // 2.4 - ePWM4 Trip Zone Interrupt
|
||||
PINT EPWM5_TZ_INT; // 2.5 - ePWM5 Trip Zone Interrupt
|
||||
PINT EPWM6_TZ_INT; // 2.6 - ePWM6 Trip Zone Interrupt
|
||||
PINT EPWM7_TZ_INT; // 2.7 - ePWM7 Trip Zone Interrupt
|
||||
PINT EPWM8_TZ_INT; // 2.8 - ePWM8 Trip Zone Interrupt
|
||||
PINT EPWM1_INT; // 3.1 - ePWM1 Interrupt
|
||||
PINT EPWM2_INT; // 3.2 - ePWM2 Interrupt
|
||||
PINT EPWM3_INT; // 3.3 - ePWM3 Interrupt
|
||||
PINT EPWM4_INT; // 3.4 - ePWM4 Interrupt
|
||||
PINT EPWM5_INT; // 3.5 - ePWM5 Interrupt
|
||||
PINT EPWM6_INT; // 3.6 - ePWM6 Interrupt
|
||||
PINT EPWM7_INT; // 3.7 - ePWM7 Interrupt
|
||||
PINT EPWM8_INT; // 3.8 - ePWM8 Interrupt
|
||||
PINT ECAP1_INT; // 4.1 - eCAP1 Interrupt
|
||||
PINT ECAP2_INT; // 4.2 - eCAP2 Interrupt
|
||||
PINT ECAP3_INT; // 4.3 - eCAP3 Interrupt
|
||||
PINT ECAP4_INT; // 4.4 - eCAP4 Interrupt
|
||||
PINT ECAP5_INT; // 4.5 - eCAP5 Interrupt
|
||||
PINT ECAP6_INT; // 4.6 - eCAP6 Interrupt
|
||||
PINT ECAP7_INT; // 4.7 - eCAP7 Interrupt
|
||||
PINT PIE14_RESERVED_INT; // 4.8 - Reserved
|
||||
PINT EQEP1_INT; // 5.1 - eQEP1 Interrupt
|
||||
PINT EQEP2_INT; // 5.2 - eQEP2 Interrupt
|
||||
PINT EQEP3_INT; // 5.3 - eQEP3 Interrupt
|
||||
PINT PIE15_RESERVED_INT; // 5.4 - Reserved
|
||||
PINT CLB1_INT; // 5.5 - CLB1 (Reconfigurable Logic) Interrupt
|
||||
PINT CLB2_INT; // 5.6 - CLB2 (Reconfigurable Logic) Interrupt
|
||||
PINT CLB3_INT; // 5.7 - CLB3 (Reconfigurable Logic) Interrupt
|
||||
PINT CLB4_INT; // 5.8 - CLB4 (Reconfigurable Logic) Interrupt
|
||||
PINT SPIA_RX_INT; // 6.1 - SPIA Receive Interrupt
|
||||
PINT SPIA_TX_INT; // 6.2 - SPIA Transmit Interrupt
|
||||
PINT SPIB_RX_INT; // 6.3 - SPIB Receive Interrupt
|
||||
PINT SPIB_TX_INT; // 6.4 - SPIB Transmit Interrupt
|
||||
PINT MCBSPA_RX_INT; // 6.5 - McBSPA Receive Interrupt
|
||||
PINT MCBSPA_TX_INT; // 6.6 - McBSPA Transmit Interrupt
|
||||
PINT MCBSPB_RX_INT; // 6.7 - McBSPB Receive Interrupt
|
||||
PINT MCBSPB_TX_INT; // 6.8 - McBSPB Transmit Interrupt
|
||||
PINT DMA_CH1_INT; // 7.1 - DMA Channel 1 Interrupt
|
||||
PINT DMA_CH2_INT; // 7.2 - DMA Channel 2 Interrupt
|
||||
PINT DMA_CH3_INT; // 7.3 - DMA Channel 3 Interrupt
|
||||
PINT DMA_CH4_INT; // 7.4 - DMA Channel 4 Interrupt
|
||||
PINT DMA_CH5_INT; // 7.5 - DMA Channel 5 Interrupt
|
||||
PINT DMA_CH6_INT; // 7.6 - DMA Channel 6 Interrupt
|
||||
PINT PIE16_RESERVED_INT; // 7.7 - Reserved
|
||||
PINT PIE17_RESERVED_INT; // 7.8 - Reserved
|
||||
PINT I2CA_INT; // 8.1 - I2CA Interrupt 1
|
||||
PINT I2CA_FIFO_INT; // 8.2 - I2CA Interrupt 2
|
||||
PINT I2CB_INT; // 8.3 - I2CB Interrupt 1
|
||||
PINT I2CB_FIFO_INT; // 8.4 - I2CB Interrupt 2
|
||||
PINT SCIC_RX_INT; // 8.5 - SCIC Receive Interrupt
|
||||
PINT SCIC_TX_INT; // 8.6 - SCIC Transmit Interrupt
|
||||
PINT SCID_RX_INT; // 8.7 - SCID Receive Interrupt
|
||||
PINT SCID_TX_INT; // 8.8 - SCID Transmit Interrupt
|
||||
PINT SCIA_RX_INT; // 9.1 - SCIA Receive Interrupt
|
||||
PINT SCIA_TX_INT; // 9.2 - SCIA Transmit Interrupt
|
||||
PINT SCIB_RX_INT; // 9.3 - SCIB Receive Interrupt
|
||||
PINT SCIB_TX_INT; // 9.4 - SCIB Transmit Interrupt
|
||||
PINT CANA0_INT; // 9.5 - CANA Interrupt 0
|
||||
PINT CANA1_INT; // 9.6 - CANA Interrupt 1
|
||||
PINT CANB0_INT; // 9.7 - CANB Interrupt 0
|
||||
PINT CANB1_INT; // 9.8 - CANB Interrupt 1
|
||||
PINT ADCA_EVT_INT; // 10.1 - ADCA Event Interrupt
|
||||
PINT ADCA2_INT; // 10.2 - ADCA Interrupt 2
|
||||
PINT ADCA3_INT; // 10.3 - ADCA Interrupt 3
|
||||
PINT ADCA4_INT; // 10.4 - ADCA Interrupt 4
|
||||
PINT ADCB_EVT_INT; // 10.5 - ADCB Event Interrupt
|
||||
PINT ADCB2_INT; // 10.6 - ADCB Interrupt 2
|
||||
PINT ADCB3_INT; // 10.7 - ADCB Interrupt 3
|
||||
PINT ADCB4_INT; // 10.8 - ADCB Interrupt 4
|
||||
PINT CLA1_1_INT; // 11.1 - CLA1 Interrupt 1
|
||||
PINT CLA1_2_INT; // 11.2 - CLA1 Interrupt 2
|
||||
PINT CLA1_3_INT; // 11.3 - CLA1 Interrupt 3
|
||||
PINT CLA1_4_INT; // 11.4 - CLA1 Interrupt 4
|
||||
PINT CLA1_5_INT; // 11.5 - CLA1 Interrupt 5
|
||||
PINT CLA1_6_INT; // 11.6 - CLA1 Interrupt 6
|
||||
PINT CLA1_7_INT; // 11.7 - CLA1 Interrupt 7
|
||||
PINT CLA1_8_INT; // 11.8 - CLA1 Interrupt 8
|
||||
PINT XINT3_INT; // 12.1 - XINT3 Interrupt
|
||||
PINT XINT4_INT; // 12.2 - XINT4 Interrupt
|
||||
PINT XINT5_INT; // 12.3 - XINT5 Interrupt
|
||||
PINT MPOST_INT; // 12.4 - MPOST Interrupt
|
||||
PINT FMC_INT; // 12.5 - Flash Wrapper Operation Done Interrupt
|
||||
PINT PIE18_RESERVED_INT; // 12.6 - Reserved
|
||||
PINT FPU_OFLOW_INT; // 12.7 - FPU Overflow Interrupt
|
||||
PINT FPU_UFLOW_INT; // 12.8 - FPU Underflow Interrupt
|
||||
PINT I2CA_HIGH_INT; // 1.9 - I2CA Interrupt high priority
|
||||
PINT SYS_ERR_INT; // 1.10 - System error interrupt
|
||||
PINT ECATSYNC0_INT; // 1.11 - ETHERCAT SYNC0 interrupt
|
||||
PINT ECAT_INT; // 1.12 - ETHERCAT main interrupt
|
||||
PINT CIPC0_INT; // 1.13 - C28x CPU IPC interrupt 1
|
||||
PINT CIPC1_INT; // 1.14 - C28x CPU IPC interrupt 2
|
||||
PINT CIPC2_INT; // 1.15 - C28x CPU IPC interrupt 3
|
||||
PINT CIPC3_INT; // 1.16 - C28x CPU IPC interrupt 4
|
||||
PINT EPWM9_TZ_INT; // 2.9 - ePWM9 Trip Zone Interrupt
|
||||
PINT EPWM10_TZ_INT; // 2.10 - ePWM10 Trip Zone Interrupt
|
||||
PINT EPWM11_TZ_INT; // 2.11 - ePWM11 Trip Zone Interrupt
|
||||
PINT EPWM12_TZ_INT; // 2.12 - ePWM12 Trip Zone Interrupt
|
||||
PINT EPWM13_TZ_INT; // 2.13 - ePWM13 Trip Zone Interrupt
|
||||
PINT EPWM14_TZ_INT; // 2.14 - ePWM14 Trip Zone Interrupt
|
||||
PINT EPWM15_TZ_INT; // 2.15 - ePWM15 Trip Zone Interrupt
|
||||
PINT EPWM16_TZ_INT; // 2.16 - ePWM16 Trip Zone Interrupt
|
||||
PINT EPWM9_INT; // 3.9 - ePWM9 Interrupt
|
||||
PINT EPWM10_INT; // 3.10 - ePWM10 Interrupt
|
||||
PINT EPWM11_INT; // 3.11 - ePWM11 Interrupt
|
||||
PINT EPWM12_INT; // 3.12 - ePWM12 Interrupt
|
||||
PINT EPWM13_INT; // 3.13 - ePWM13 Interrupt
|
||||
PINT EPWM14_INT; // 3.14 - ePWM14 Interrupt
|
||||
PINT EPWM15_INT; // 3.15 - ePWM15 Interrupt
|
||||
PINT EPWM16_INT; // 3.16 - ePWM16 Interrupt
|
||||
PINT FSITXA1_INT; // 4.9 - FSIA Transmit interrupt 1
|
||||
PINT FSITXA2_INT; // 4.10 - FSIA Transmit interrupt 2
|
||||
PINT FSITXB1_INT; // 4.11 - FSIB Transmit interrupt 1
|
||||
PINT FSITXB2_INT; // 4.12 - FSIB Transmit interrupt 2
|
||||
PINT FSIRXA1_INT; // 4.13 - FSIA Receive interrupt 1
|
||||
PINT FSIRXA2_INT; // 4.14 - FSIA Receive interrupt 2
|
||||
PINT FSIRXB1_INT; // 4.15 - FSIB Receive interrupt 1
|
||||
PINT FSIRXB2_INT; // 4.16 - FSIB Receive interrupt 2
|
||||
PINT SDFM1_INT; // 5.9 - Sigma Delta Filter Module1 Interrupt
|
||||
PINT SDFM2_INT; // 5.10 - Sigma Delta Filter Module2 Interrupt
|
||||
PINT ECATRST_INT; // 5.11 - ETHERCAT Resetout Interrupt
|
||||
PINT ECATSYNC1_INT; // 5.12 - ETHERCAT SYNC1 interrupt
|
||||
PINT SDFM1DR1_INT; // 5.13 - Sigma Delta Filter Module1 Filter 1 Interrupt
|
||||
PINT SDFM1DR2_INT; // 5.14 - Sigma Delta Filter Module1 Filter 2 Interrupt
|
||||
PINT SDFM1DR3_INT; // 5.15 - Sigma Delta Filter Module1 Filter 3 Interrupt
|
||||
PINT SDFM1DR4_INT; // 5.16 - Sigma Delta Filter Module1 Filter 4 Interrupt
|
||||
PINT SPIC_RX_INT; // 6.9 - SPIC Receive Interrupt
|
||||
PINT SPIC_TX_INT; // 6.10 - SPIC Transmit Interrupt
|
||||
PINT SPID_RX_INT; // 6.11 - SPID Receive Interrupt
|
||||
PINT SPID_TX_INT; // 6.12 - SPID Transmit Interrupt
|
||||
PINT SDFM2DR1_INT; // 6.13 - Sigma Delta Filter Module2 Filter 1 Interrupt
|
||||
PINT SDFM2DR2_INT; // 6.14 - Sigma Delta Filter Module2 Filter 2 Interrupt
|
||||
PINT SDFM2DR3_INT; // 6.15 - Sigma Delta Filter Module2 Filter 3 Interrupt
|
||||
PINT SDFM2DR4_INT; // 6.16 - Sigma Delta Filter Module2 Filter 4 Interrupt
|
||||
PINT FSIRXC1_INT; // 7.9 - FSIC Receive interrupt 1
|
||||
PINT FSIRXC2_INT; // 7.10 - FSIC Receive interrupt 2
|
||||
PINT FSIRXD1_INT; // 7.11 - FSID Receive interrupt 1
|
||||
PINT FSIRXD2_INT; // 7.12 - FSID Receive interrupt 2
|
||||
PINT FSIRXE1_INT; // 7.13 - FSIE Receive interrupt 1
|
||||
PINT FSIRXE2_INT; // 7.14 - FSIE Receive interrupt 2
|
||||
PINT FSIRXF1_INT; // 7.15 - FSIF Receive interrupt 1
|
||||
PINT FSIRXF2_INT; // 7.16 - FSIF Receive interrupt 2
|
||||
PINT FSIRXG1_INT; // 8.9 - FSIG Receive interrupt 1
|
||||
PINT FSIRXG2_INT; // 8.10 - FSIG Receive interrupt 2
|
||||
PINT FSIRXH1_INT; // 8.11 - FSIH Receive interrupt 1
|
||||
PINT FSIRXH2_INT; // 8.12 - FSIH Receive interrupt 2
|
||||
PINT CLB5_INT; // 8.13 - CLB5 Interrupt
|
||||
PINT CLB6_INT; // 8.14 - CLB6 Interrupt
|
||||
PINT CLB7_INT; // 8.15 - CLB7 Interrupt
|
||||
PINT CLB8_INT; // 8.16 - CLB8 Interrupt
|
||||
PINT MCANA_0_INT; // 9.9 - MCAN Sub-System Interrupt 0
|
||||
PINT MCANA_1_INT; // 9.10 - MCAN Sub-System Interrupt 1
|
||||
PINT MCANA_ECC_INT; // 9.11 - MCAN Sub-System ECC error Interrupt
|
||||
PINT MCANA_WAKE_INT; // 9.12 - MCAN Sub-System wakeup Interrupt
|
||||
PINT PMBUSA_INT; // 9.13 - PMBUSA Interrupt
|
||||
PINT CM_STATUS_INT; // 9.14 - CM Reset Status Interrupt
|
||||
PINT USBA_INT; // 9.15 - USBA Interrupt
|
||||
PINT PIE19_RESERVED_INT; // 9.16 - Reserved
|
||||
PINT ADCC_EVT_INT; // 10.9 - ADCC Event Interrupt
|
||||
PINT ADCC2_INT; // 10.10 - ADCC Interrupt 2
|
||||
PINT ADCC3_INT; // 10.11 - ADCC Interrupt 3
|
||||
PINT ADCC4_INT; // 10.12 - ADCC Interrupt 4
|
||||
PINT ADCD_EVT_INT; // 10.13 - ADCD Event Interrupt
|
||||
PINT ADCD2_INT; // 10.14 - ADCD Interrupt 2
|
||||
PINT ADCD3_INT; // 10.15 - ADCD Interrupt 3
|
||||
PINT ADCD4_INT; // 10.16 - ADCD Interrupt 4
|
||||
PINT CMTOCPUXIPC0_INT; // 11.9 - CM to CPU IPC Interrupt 0
|
||||
PINT CMTOCPUXIPC1_INT; // 11.10 - CM to CPU IPC Interrupt 1
|
||||
PINT CMTOCPUXIPC2_INT; // 11.11 - CM to CPU IPC Interrupt 2
|
||||
PINT CMTOCPUXIPC3_INT; // 11.12 - CM to CPU IPC Interrupt 3
|
||||
PINT CMTOCPUXIPC4_INT; // 11.13 - CM to CPU IPC Interrupt 4
|
||||
PINT CMTOCPUXIPC5_INT; // 11.14 - CM to CPU IPC Interrupt 5
|
||||
PINT CMTOCPUXIPC6_INT; // 11.15 - CM to CPU IPC Interrupt 6
|
||||
PINT CMTOCPUXIPC7_INT; // 11.16 - CM to CPU IPC Interrupt 7
|
||||
PINT PIE20_RESERVED_INT; // 12.9 - Reserved
|
||||
PINT ECAP6_2_INT; // 12.10 - eCAP6 Interrupt 2
|
||||
PINT ECAP7_2_INT; // 12.11 - eCAP7 Interrupt 2
|
||||
PINT PIE21_RESERVED_INT; // 12.12 - Reserved
|
||||
PINT CPUCRC_INT; // 12.13 - CPU BGCRC module interrupt
|
||||
PINT CLA1CRC_INT; // 12.14 - CLA1 BGCRC module interrupt
|
||||
PINT CLA_OVERFLOW_INT; // 12.15 - CLA Overflow Interrupt
|
||||
PINT CLA_UNDERFLOW_INT; // 12.16 - CLA Underflow Interrupt
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PieVect External References & Function Declarations:
|
||||
//
|
||||
|
||||
extern volatile struct PIE_VECT_TABLE PieVectTable;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
|
||||
#endif // end of F2838X_PIEVECT_H definition
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,295 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_pmbus.h
|
||||
//
|
||||
// TITLE: Definitions for the PMBUS registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_PMBUS_H
|
||||
#define F2838X_PMBUS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PMBUS Individual Register Bit Definitions:
|
||||
|
||||
struct PMBMC_BITS { // bits description
|
||||
Uint16 RW:1; // 0 RnW bit of the Message
|
||||
Uint16 SLAVE_ADDR:7; // 7:1 Slave Address
|
||||
Uint16 BYTE_COUNT:8; // 15:8 Number of Bytes Transmitted
|
||||
Uint16 CMD_ENA:1; // 16 Master Command Code Enable
|
||||
Uint16 EXT_CMD:1; // 17 Master Extended Command Code Enable
|
||||
Uint16 PEC_ENA:1; // 18 Master PEC Processing Enable
|
||||
Uint16 GRP_CMD:1; // 19 Master Group Command Message Enable
|
||||
Uint16 PRC_CALL:1; // 20 Master Process Call Message Enable
|
||||
Uint16 rsvd1:11; // 31:21 Reserved
|
||||
};
|
||||
|
||||
union PMBMC_REG {
|
||||
Uint32 all;
|
||||
struct PMBMC_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBACK_BITS { // bits description
|
||||
Uint16 ACK:1; // 0 Allows firmware to ack/nack received data
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBACK_REG {
|
||||
Uint32 all;
|
||||
struct PMBACK_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBSTS_BITS { // bits description
|
||||
Uint16 RD_BYTE_COUNT:3; // 2:0 Number of Data Bytes available in Receive Data Register
|
||||
Uint16 DATA_READY:1; // 3 Data Ready Flag
|
||||
Uint16 DATA_REQUEST:1; // 4 Data Request Flag
|
||||
Uint16 EOM:1; // 5 End of Message Indicator
|
||||
Uint16 NACK:1; // 6 Not Acknowledge Flag Status
|
||||
Uint16 PEC_VALID:1; // 7 PEC Valid Indicator
|
||||
Uint16 CLK_LOW_TIMEOUT:1; // 8 Clock Low Timeout Status
|
||||
Uint16 CLK_HIGH_DETECTED:1; // 9 Clock High Detection Status
|
||||
Uint16 SLAVE_ADDR_READY:1; // 10 Slave Address Ready
|
||||
Uint16 RPT_START:1; // 11 Repeated Start Flag
|
||||
Uint16 UNIT_BUSY:1; // 12 PMBus Busy Indicator
|
||||
Uint16 BUS_FREE:1; // 13 PMBus Free Indicator
|
||||
Uint16 LOST_ARB:1; // 14 Lost Arbitration Flag
|
||||
Uint16 MASTER:1; // 15 Master Indicator
|
||||
Uint16 ALERT_EDGE:1; // 16 Alert Edge Detection Status
|
||||
Uint16 CONTROL_EDGE:1; // 17 Control Edge Detection Status
|
||||
Uint16 ALERT_RAW:1; // 18 Alert Pin Real Time Status
|
||||
Uint16 CONTROL_RAW:1; // 19 Control Pin Real Time Status
|
||||
Uint16 SDA_RAW:1; // 20 PMBus Data Pin Real Time Status
|
||||
Uint16 SCL_RAW:1; // 21 PMBus Clock Pin Real Time Status
|
||||
Uint16 rsvd1:10; // 31:22 Reserved
|
||||
};
|
||||
|
||||
union PMBSTS_REG {
|
||||
Uint32 all;
|
||||
struct PMBSTS_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBINTM_BITS { // bits description
|
||||
Uint16 BUS_FREE:1; // 0 Bus Free Interrupt Mask
|
||||
Uint16 BUS_LOW_TIMEOUT:1; // 1 Clock Low Timeout Interrupt Mask
|
||||
Uint16 DATA_READY:1; // 2 Data Ready Interrupt Mask
|
||||
Uint16 DATA_REQUEST:1; // 3 Data Request Interrupt Mask
|
||||
Uint16 SLAVE_ADDR_READY:1; // 4 Slave Address Ready Interrupt Mask
|
||||
Uint16 EOM:1; // 5 End of Message Interrupt Mask
|
||||
Uint16 ALERT:1; // 6 Alert Detection Interrupt Mask
|
||||
Uint16 CONTROL:1; // 7 Control Detection Interrupt Mask
|
||||
Uint16 LOST_ARB:1; // 8 Lost Arbitration Interrupt Mask
|
||||
Uint16 CLK_HIGH_DETECT:1; // 9 Clock High Detection Interrupt Mask
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBINTM_REG {
|
||||
Uint32 all;
|
||||
struct PMBINTM_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBSC_BITS { // bits description
|
||||
Uint16 SLAVE_ADDR:7; // 6:0 Configures the current device address of the slave.
|
||||
Uint16 MAN_SLAVE_ACK:1; // 7 Manual Slave Address Acknowledgement Mode
|
||||
Uint16 SLAVE_MASK:7; // 14:8 Slave address mask
|
||||
Uint16 PEC_ENA:1; // 15 PEC Processing Enable
|
||||
Uint16 TX_COUNT:3; // 18:16 Number of valid bytes in Transmit Data Register
|
||||
Uint16 TX_PEC:1; // 19 send a PEC byte at end of message
|
||||
Uint16 MAN_CMD:1; // 20 Manual Command Acknowledgement Mode
|
||||
Uint16 RX_BYTE_ACK_CNT:2; // 22:21 Number of data bytes to automatically acknowledge
|
||||
Uint16 rsvd1:9; // 31:23 Reserved
|
||||
};
|
||||
|
||||
union PMBSC_REG {
|
||||
Uint32 all;
|
||||
struct PMBSC_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBHSA_BITS { // bits description
|
||||
Uint16 SLAVE_RW:1; // 0 Stored R/W bit
|
||||
Uint16 SLAVE_ADDR:7; // 7:1 Stored device address
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBHSA_REG {
|
||||
Uint32 all;
|
||||
struct PMBHSA_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBCTRL_BITS { // bits description
|
||||
Uint16 RESET:1; // 0 PMBus Interface Synchronous Reset
|
||||
Uint16 ALERT_EN:1; // 1 Slave Alert Enable
|
||||
Uint16 BUS_LO_INT_EDGE:1; // 2 Clock Low Timeout Interrupt Edge Select
|
||||
Uint16 FAST_MODE:1; // 3 Fast Mode Enable
|
||||
Uint16 rsvd1:1; // 4 Reserved
|
||||
Uint16 CNTL_INT_EDGE:1; // 5 Control Interrupt Edge Select
|
||||
Uint16 ALERT_MODE:1; // 6 Configures mode of Alert pin
|
||||
Uint16 ALERT_VALUE:1; // 7 Configures output value of Alert pin in GPIO Mode
|
||||
Uint16 ALERT_DIR:1; // 8 Configures direction of Alert pin in GPIO mode
|
||||
Uint16 CNTL_MODE:1; // 9 Configures mode of Control pin
|
||||
Uint16 CNTL_VALUE:1; // 10 Configures output value of Control pin in GPIO Mode
|
||||
Uint16 CNTL_DIR:1; // 11 Configures direction of Control pin in GPIO mode
|
||||
Uint16 SDA_MODE:1; // 12 Configures mode of PMBus Data pin
|
||||
Uint16 SDA_VALUE:1; // 13 Configures output value of PMBus data pin in GPIO Mode
|
||||
Uint16 SDA_DIR:1; // 14 Configures direction of PMBus data pin in GPIO mode
|
||||
Uint16 SCL_MODE:1; // 15 Configures mode of PMBus Clock pin
|
||||
Uint16 SCL_VALUE:1; // 16 Configures output value of PMBus clock pin in GPIO Mode
|
||||
Uint16 SCL_DIR:1; // 17 Configures direction of PMBus clock pin in GPIO mode
|
||||
Uint16 IBIAS_A_EN:1; // 18 PMBus Current Source A Control
|
||||
Uint16 IBIAS_B_EN:1; // 19 PMBus Current Source B Control
|
||||
Uint16 CLK_LO_DIS:1; // 20 Clock Low Timeout Disable
|
||||
Uint16 SLAVE_EN:1; // 21 PMBus Slave Enable
|
||||
Uint16 MASTER_EN:1; // 22 PMBus Master Enable
|
||||
Uint16 CLKDIV:5; // 27:23 PMBUS Clock Divide Value
|
||||
Uint16 rsvd2:3; // 30:28 Reserved
|
||||
Uint16 I2CMODE:1; // 31 Bit to enable I2C mode
|
||||
};
|
||||
|
||||
union PMBCTRL_REG {
|
||||
Uint32 all;
|
||||
struct PMBCTRL_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBTIMCTL_BITS { // bits description
|
||||
Uint16 TIM_OVERRIDE:1; // 0 Overide the default settings of the timing parameters.
|
||||
Uint16 rsvd1:15; // 15:1 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBTIMCTL_REG {
|
||||
Uint32 all;
|
||||
struct PMBTIMCTL_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBTIMCLK_BITS { // bits description
|
||||
Uint16 CLK_HIGH_LIMIT:8; // 7:0 Determines the PMBUS master clock high pulse width.
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 CLK_FREQ:8; // 23:16 Determines the PMBUS master clock frequency.
|
||||
Uint16 rsvd2:8; // 31:24 Reserved
|
||||
};
|
||||
|
||||
union PMBTIMCLK_REG {
|
||||
Uint32 all;
|
||||
struct PMBTIMCLK_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBTIMSTSETUP_BITS { // bits description
|
||||
Uint16 TSU_STA:8; // 7:0 Setup time, rise edge of PMBUS master clock to start edge.
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBTIMSTSETUP_REG {
|
||||
Uint32 all;
|
||||
struct PMBTIMSTSETUP_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBTIMBIDLE_BITS { // bits description
|
||||
Uint16 BUSIDLE:10; // 9:0 Determines the Bus Idle Limit
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBTIMBIDLE_REG {
|
||||
Uint32 all;
|
||||
struct PMBTIMBIDLE_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBTIMLOWTIMOUT_BITS { // bits description
|
||||
Uint32 CLKLOWTIMOUT:20; // 19:0 Determines the clock low timeout value
|
||||
Uint16 rsvd1:12; // 31:20 Reserved
|
||||
};
|
||||
|
||||
union PMBTIMLOWTIMOUT_REG {
|
||||
Uint32 all;
|
||||
struct PMBTIMLOWTIMOUT_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBTIMHIGHTIMOUT_BITS { // bits description
|
||||
Uint16 CLKHIGHTIMOUT:10; // 9:0 Determines the clock high timeout value
|
||||
Uint16 rsvd1:6; // 15:10 Reserved
|
||||
Uint16 rsvd2:16; // 31:16 Reserved
|
||||
};
|
||||
|
||||
union PMBTIMHIGHTIMOUT_REG {
|
||||
Uint32 all;
|
||||
struct PMBTIMHIGHTIMOUT_BITS bit;
|
||||
};
|
||||
|
||||
struct PMBUS_REGS {
|
||||
union PMBMC_REG PMBMC; // PMBUS Master Mode Control Register
|
||||
Uint32 PMBTXBUF; // PMBUS Transmit Buffer
|
||||
Uint32 PMBRXBUF; // PMBUS Receive buffer
|
||||
union PMBACK_REG PMBACK; // PMBUS Acknowledge Register
|
||||
union PMBSTS_REG PMBSTS; // PMBUS Status Register
|
||||
union PMBINTM_REG PMBINTM; // PMBUS Interrupt Mask Register
|
||||
union PMBSC_REG PMBSC; // PMBUS Slave Mode Configuration Register
|
||||
union PMBHSA_REG PMBHSA; // PMBUS Hold Slave Address Register
|
||||
union PMBCTRL_REG PMBCTRL; // PMBUS Control Register
|
||||
union PMBTIMCTL_REG PMBTIMCTL; // PMBUS Timing Control Register
|
||||
union PMBTIMCLK_REG PMBTIMCLK; // PMBUS Clock Timing Register
|
||||
union PMBTIMSTSETUP_REG PMBTIMSTSETUP; // PMBUS Start Setup Time Register
|
||||
union PMBTIMBIDLE_REG PMBTIMBIDLE; // PMBUS Bus Idle Time Register
|
||||
union PMBTIMLOWTIMOUT_REG PMBTIMLOWTIMOUT; // PMBUS Clock Low Timeout Value Register
|
||||
union PMBTIMHIGHTIMOUT_REG PMBTIMHIGHTIMOUT; // PMBUS Clock High Timeout Value Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// PMBUS External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct PMBUS_REGS PmbusaRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct PMBUS_REGS PmbusaRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,266 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_sci.h
|
||||
//
|
||||
// TITLE: Definitions for the SCI registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_SCI_H
|
||||
#define F2838X_SCI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// SCI Individual Register Bit Definitions:
|
||||
|
||||
struct SCICCR_BITS { // bits description
|
||||
Uint16 SCICHAR:3; // 2:0 Character length control
|
||||
Uint16 ADDRIDLE_MODE:1; // 3 ADDR/IDLE Mode control
|
||||
Uint16 LOOPBKENA:1; // 4 Loop Back enable
|
||||
Uint16 PARITYENA:1; // 5 Parity enable
|
||||
Uint16 PARITY:1; // 6 Even or Odd Parity
|
||||
Uint16 STOPBITS:1; // 7 Number of Stop Bits
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCICCR_REG {
|
||||
Uint16 all;
|
||||
struct SCICCR_BITS bit;
|
||||
};
|
||||
|
||||
struct SCICTL1_BITS { // bits description
|
||||
Uint16 RXENA:1; // 0 SCI receiver enable
|
||||
Uint16 TXENA:1; // 1 SCI transmitter enable
|
||||
Uint16 SLEEP:1; // 2 SCI sleep
|
||||
Uint16 TXWAKE:1; // 3 Transmitter wakeup method
|
||||
Uint16 rsvd1:1; // 4 Reserved
|
||||
Uint16 SWRESET:1; // 5 Software reset
|
||||
Uint16 RXERRINTENA:1; // 6 Receive error interrupt enable
|
||||
Uint16 rsvd2:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union SCICTL1_REG {
|
||||
Uint16 all;
|
||||
struct SCICTL1_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIHBAUD_BITS { // bits description
|
||||
Uint16 BAUD:8; // 7:0 SCI 16-bit baud selection Registers SCIHBAUD
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCIHBAUD_REG {
|
||||
Uint16 all;
|
||||
struct SCIHBAUD_BITS bit;
|
||||
};
|
||||
|
||||
struct SCILBAUD_BITS { // bits description
|
||||
Uint16 BAUD:8; // 7:0 SCI 16-bit baud selection Registers SCILBAUD
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCILBAUD_REG {
|
||||
Uint16 all;
|
||||
struct SCILBAUD_BITS bit;
|
||||
};
|
||||
|
||||
struct SCICTL2_BITS { // bits description
|
||||
Uint16 TXINTENA:1; // 0 Transmit __interrupt enable
|
||||
Uint16 RXBKINTENA:1; // 1 Receiver-buffer break enable
|
||||
Uint16 rsvd1:4; // 5:2 Reserved
|
||||
Uint16 TXEMPTY:1; // 6 Transmitter empty flag
|
||||
Uint16 TXRDY:1; // 7 Transmitter ready flag
|
||||
Uint16 rsvd2:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCICTL2_REG {
|
||||
Uint16 all;
|
||||
struct SCICTL2_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIRXST_BITS { // bits description
|
||||
Uint16 rsvd1:1; // 0 Reserved
|
||||
Uint16 RXWAKE:1; // 1 Receiver wakeup detect flag
|
||||
Uint16 PE:1; // 2 Parity error flag
|
||||
Uint16 OE:1; // 3 Overrun error flag
|
||||
Uint16 FE:1; // 4 Framing error flag
|
||||
Uint16 BRKDT:1; // 5 Break-detect flag
|
||||
Uint16 RXRDY:1; // 6 Receiver ready flag
|
||||
Uint16 RXERROR:1; // 7 Receiver error flag
|
||||
Uint16 rsvd2:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCIRXST_REG {
|
||||
Uint16 all;
|
||||
struct SCIRXST_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIRXEMU_BITS { // bits description
|
||||
Uint16 ERXDT:8; // 7:0 Receive emulation buffer data
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCIRXEMU_REG {
|
||||
Uint16 all;
|
||||
struct SCIRXEMU_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIRXBUF_BITS { // bits description
|
||||
Uint16 SAR:8; // 7:0 Receive Character bits
|
||||
Uint16 rsvd1:6; // 13:8 Reserved
|
||||
Uint16 SCIFFPE:1; // 14 Receiver error flag
|
||||
Uint16 SCIFFFE:1; // 15 Receiver error flag
|
||||
};
|
||||
|
||||
union SCIRXBUF_REG {
|
||||
Uint16 all;
|
||||
struct SCIRXBUF_BITS bit;
|
||||
};
|
||||
|
||||
struct SCITXBUF_BITS { // bits description
|
||||
Uint16 TXDT:8; // 7:0 Transmit data buffer
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCITXBUF_REG {
|
||||
Uint16 all;
|
||||
struct SCITXBUF_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIFFTX_BITS { // bits description
|
||||
Uint16 TXFFIL:5; // 4:0 Interrupt level
|
||||
Uint16 TXFFIENA:1; // 5 Interrupt enable
|
||||
Uint16 TXFFINTCLR:1; // 6 Clear INT flag
|
||||
Uint16 TXFFINT:1; // 7 INT flag
|
||||
Uint16 TXFFST:5; // 12:8 FIFO status
|
||||
Uint16 TXFIFORESET:1; // 13 FIFO reset
|
||||
Uint16 SCIFFENA:1; // 14 Enhancement enable
|
||||
Uint16 SCIRST:1; // 15 SCI reset rx/tx channels
|
||||
};
|
||||
|
||||
union SCIFFTX_REG {
|
||||
Uint16 all;
|
||||
struct SCIFFTX_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIFFRX_BITS { // bits description
|
||||
Uint16 RXFFIL:5; // 4:0 Interrupt level
|
||||
Uint16 RXFFIENA:1; // 5 Interrupt enable
|
||||
Uint16 RXFFINTCLR:1; // 6 Clear INT flag
|
||||
Uint16 RXFFINT:1; // 7 INT flag
|
||||
Uint16 RXFFST:5; // 12:8 FIFO status
|
||||
Uint16 RXFIFORESET:1; // 13 FIFO reset
|
||||
Uint16 RXFFOVRCLR:1; // 14 Clear overflow
|
||||
Uint16 RXFFOVF:1; // 15 FIFO overflow
|
||||
};
|
||||
|
||||
union SCIFFRX_REG {
|
||||
Uint16 all;
|
||||
struct SCIFFRX_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIFFCT_BITS { // bits description
|
||||
Uint16 FFTXDLY:8; // 7:0 FIFO transmit delay
|
||||
Uint16 rsvd1:5; // 12:8 Reserved
|
||||
Uint16 CDC:1; // 13 Auto baud mode enable
|
||||
Uint16 ABDCLR:1; // 14 Auto baud clear
|
||||
Uint16 ABD:1; // 15 Auto baud detect
|
||||
};
|
||||
|
||||
union SCIFFCT_REG {
|
||||
Uint16 all;
|
||||
struct SCIFFCT_BITS bit;
|
||||
};
|
||||
|
||||
struct SCIPRI_BITS { // bits description
|
||||
Uint16 rsvd1:3; // 2:0 Reserved
|
||||
Uint16 FREESOFT:2; // 4:3 Emulation modes
|
||||
Uint16 rsvd2:3; // 7:5 Reserved
|
||||
Uint16 rsvd3:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SCIPRI_REG {
|
||||
Uint16 all;
|
||||
struct SCIPRI_BITS bit;
|
||||
};
|
||||
|
||||
struct SCI_REGS {
|
||||
union SCICCR_REG SCICCR; // Communications control register
|
||||
union SCICTL1_REG SCICTL1; // Control register 1
|
||||
union SCIHBAUD_REG SCIHBAUD; // Baud rate (high) register
|
||||
union SCILBAUD_REG SCILBAUD; // Baud rate (low) register
|
||||
union SCICTL2_REG SCICTL2; // Control register 2
|
||||
union SCIRXST_REG SCIRXST; // Receive status register
|
||||
union SCIRXEMU_REG SCIRXEMU; // Receive emulation buffer register
|
||||
union SCIRXBUF_REG SCIRXBUF; // Receive data buffer
|
||||
Uint16 rsvd1; // Reserved
|
||||
union SCITXBUF_REG SCITXBUF; // Transmit data buffer
|
||||
union SCIFFTX_REG SCIFFTX; // FIFO transmit register
|
||||
union SCIFFRX_REG SCIFFRX; // FIFO receive register
|
||||
union SCIFFCT_REG SCIFFCT; // FIFO control register
|
||||
Uint16 rsvd2[2]; // Reserved
|
||||
union SCIPRI_REG SCIPRI; // SCI priority control
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// SCI External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct SCI_REGS SciaRegs;
|
||||
extern volatile struct SCI_REGS ScibRegs;
|
||||
extern volatile struct SCI_REGS ScicRegs;
|
||||
extern volatile struct SCI_REGS ScidRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct SCI_REGS SciaRegs;
|
||||
extern volatile struct SCI_REGS ScibRegs;
|
||||
extern volatile struct SCI_REGS ScicRegs;
|
||||
extern volatile struct SCI_REGS ScidRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,203 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_spi.h
|
||||
//
|
||||
// TITLE: Definitions for the SPI registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_SPI_H
|
||||
#define F2838X_SPI_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// SPI Individual Register Bit Definitions:
|
||||
|
||||
struct SPICCR_BITS { // bits description
|
||||
Uint16 SPICHAR:4; // 3:0 Character Length Control
|
||||
Uint16 SPILBK:1; // 4 SPI Loopback
|
||||
Uint16 HS_MODE:1; // 5 High Speed mode control
|
||||
Uint16 CLKPOLARITY:1; // 6 Shift Clock Polarity
|
||||
Uint16 SPISWRESET:1; // 7 SPI Software Reset
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SPICCR_REG {
|
||||
Uint16 all;
|
||||
struct SPICCR_BITS bit;
|
||||
};
|
||||
|
||||
struct SPICTL_BITS { // bits description
|
||||
Uint16 SPIINTENA:1; // 0 SPI Interupt Enable
|
||||
Uint16 TALK:1; // 1 Master/Slave Transmit Enable
|
||||
Uint16 MASTER_SLAVE:1; // 2 SPI Network Mode Control
|
||||
Uint16 CLK_PHASE:1; // 3 SPI Clock Phase
|
||||
Uint16 OVERRUNINTENA:1; // 4 Overrun Interrupt Enable
|
||||
Uint16 rsvd1:11; // 15:5 Reserved
|
||||
};
|
||||
|
||||
union SPICTL_REG {
|
||||
Uint16 all;
|
||||
struct SPICTL_BITS bit;
|
||||
};
|
||||
|
||||
struct SPISTS_BITS { // bits description
|
||||
Uint16 rsvd1:5; // 4:0 Reserved
|
||||
Uint16 BUFFULL_FLAG:1; // 5 SPI Transmit Buffer Full Flag
|
||||
Uint16 INT_FLAG:1; // 6 SPI Interrupt Flag
|
||||
Uint16 OVERRUN_FLAG:1; // 7 SPI Receiver Overrun Flag
|
||||
Uint16 rsvd2:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SPISTS_REG {
|
||||
Uint16 all;
|
||||
struct SPISTS_BITS bit;
|
||||
};
|
||||
|
||||
struct SPIBRR_BITS { // bits description
|
||||
Uint16 SPI_BIT_RATE:7; // 6:0 SPI Bit Rate Control
|
||||
Uint16 rsvd1:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union SPIBRR_REG {
|
||||
Uint16 all;
|
||||
struct SPIBRR_BITS bit;
|
||||
};
|
||||
|
||||
struct SPIFFTX_BITS { // bits description
|
||||
Uint16 TXFFIL:5; // 4:0 TXFIFO Interrupt Level
|
||||
Uint16 TXFFIENA:1; // 5 TXFIFO Interrupt Enable
|
||||
Uint16 TXFFINTCLR:1; // 6 TXFIFO Interrupt Clear
|
||||
Uint16 TXFFINT:1; // 7 TXFIFO Interrupt Flag
|
||||
Uint16 TXFFST:5; // 12:8 Transmit FIFO Status
|
||||
Uint16 TXFIFO:1; // 13 TXFIFO Reset
|
||||
Uint16 SPIFFENA:1; // 14 FIFO Enhancements Enable
|
||||
Uint16 SPIRST:1; // 15 SPI Reset
|
||||
};
|
||||
|
||||
union SPIFFTX_REG {
|
||||
Uint16 all;
|
||||
struct SPIFFTX_BITS bit;
|
||||
};
|
||||
|
||||
struct SPIFFRX_BITS { // bits description
|
||||
Uint16 RXFFIL:5; // 4:0 RXFIFO Interrupt Level
|
||||
Uint16 RXFFIENA:1; // 5 RXFIFO Interrupt Enable
|
||||
Uint16 RXFFINTCLR:1; // 6 RXFIFO Interupt Clear
|
||||
Uint16 RXFFINT:1; // 7 RXFIFO Interrupt Flag
|
||||
Uint16 RXFFST:5; // 12:8 Receive FIFO Status
|
||||
Uint16 RXFIFORESET:1; // 13 RXFIFO Reset
|
||||
Uint16 RXFFOVFCLR:1; // 14 Receive FIFO Overflow Clear
|
||||
Uint16 RXFFOVF:1; // 15 Receive FIFO Overflow Flag
|
||||
};
|
||||
|
||||
union SPIFFRX_REG {
|
||||
Uint16 all;
|
||||
struct SPIFFRX_BITS bit;
|
||||
};
|
||||
|
||||
struct SPIFFCT_BITS { // bits description
|
||||
Uint16 TXDLY:8; // 7:0 FIFO Transmit Delay Bits
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union SPIFFCT_REG {
|
||||
Uint16 all;
|
||||
struct SPIFFCT_BITS bit;
|
||||
};
|
||||
|
||||
struct SPIPRI_BITS { // bits description
|
||||
Uint16 TRIWIRE:1; // 0 3-wire mode select bit
|
||||
Uint16 STEINV:1; // 1 SPISTE inversion bit
|
||||
Uint16 rsvd1:2; // 3:2 Reserved
|
||||
Uint16 FREE:1; // 4 Free emulation mode
|
||||
Uint16 SOFT:1; // 5 Soft emulation mode
|
||||
Uint16 rsvd2:1; // 6 Reserved
|
||||
Uint16 rsvd3:9; // 15:7 Reserved
|
||||
};
|
||||
|
||||
union SPIPRI_REG {
|
||||
Uint16 all;
|
||||
struct SPIPRI_BITS bit;
|
||||
};
|
||||
|
||||
struct SPI_REGS {
|
||||
union SPICCR_REG SPICCR; // SPI Configuration Control Register
|
||||
union SPICTL_REG SPICTL; // SPI Operation Control Register
|
||||
union SPISTS_REG SPISTS; // SPI Status Register
|
||||
Uint16 rsvd1; // Reserved
|
||||
union SPIBRR_REG SPIBRR; // SPI Baud Rate Register
|
||||
Uint16 rsvd2; // Reserved
|
||||
Uint16 SPIRXEMU; // SPI Emulation Buffer Register
|
||||
Uint16 SPIRXBUF; // SPI Serial Input Buffer Register
|
||||
Uint16 SPITXBUF; // SPI Serial Output Buffer Register
|
||||
Uint16 SPIDAT; // SPI Serial Data Register
|
||||
union SPIFFTX_REG SPIFFTX; // SPI FIFO Transmit Register
|
||||
union SPIFFRX_REG SPIFFRX; // SPI FIFO Receive Register
|
||||
union SPIFFCT_REG SPIFFCT; // SPI FIFO Control Register
|
||||
Uint16 rsvd3[2]; // Reserved
|
||||
union SPIPRI_REG SPIPRI; // SPI Priority Control Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// SPI External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct SPI_REGS SpiaRegs;
|
||||
extern volatile struct SPI_REGS SpibRegs;
|
||||
extern volatile struct SPI_REGS SpicRegs;
|
||||
extern volatile struct SPI_REGS SpidRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct SPI_REGS SpiaRegs;
|
||||
extern volatile struct SPI_REGS SpibRegs;
|
||||
extern volatile struct SPI_REGS SpicRegs;
|
||||
extern volatile struct SPI_REGS SpidRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,139 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_wwd.h
|
||||
//
|
||||
// TITLE: Definitions for the WWD registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_WWD_H
|
||||
#define F2838X_WWD_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// WWD Individual Register Bit Definitions:
|
||||
|
||||
struct SCSR_BITS { // bits description
|
||||
Uint16 WDOVERRIDE:1; // 0 WD Override for WDDIS bit
|
||||
Uint16 WDENINT:1; // 1 WD Interrupt Enable
|
||||
Uint16 WDINTS:1; // 2 WD Interrupt Status
|
||||
Uint16 rsvd1:13; // 15:3 Reserved
|
||||
};
|
||||
|
||||
union SCSR_REG {
|
||||
Uint16 all;
|
||||
struct SCSR_BITS bit;
|
||||
};
|
||||
|
||||
struct WDCNTR_BITS { // bits description
|
||||
Uint16 WDCNTR:8; // 7:0 WD Counter
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union WDCNTR_REG {
|
||||
Uint16 all;
|
||||
struct WDCNTR_BITS bit;
|
||||
};
|
||||
|
||||
struct WDKEY_BITS { // bits description
|
||||
Uint16 WDKEY:8; // 7:0 WD KEY
|
||||
Uint16 rsvd1:8; // 15:8 Reserved
|
||||
};
|
||||
|
||||
union WDKEY_REG {
|
||||
Uint16 all;
|
||||
struct WDKEY_BITS bit;
|
||||
};
|
||||
|
||||
struct WDCR_BITS { // bits description
|
||||
Uint16 WDPS:3; // 2:0 WD Clock Prescalar
|
||||
Uint16 WDCHK:3; // 5:3 WD Check Bits
|
||||
Uint16 WDDIS:1; // 6 WD Disable
|
||||
Uint16 WDFLG:1; // 7 WD Reset Status Flag
|
||||
Uint16 WDPRECLKDIV:4; // 11:8 WD Pre Clock Divider
|
||||
Uint16 rsvd1:4; // 15:12 Reserved
|
||||
};
|
||||
|
||||
union WDCR_REG {
|
||||
Uint16 all;
|
||||
struct WDCR_BITS bit;
|
||||
};
|
||||
|
||||
struct WDWCR_BITS { // bits description
|
||||
Uint16 MIN:8; // 7:0 WD Min Threshold setting for Windowed Watchdog functionality
|
||||
Uint16 FIRSTKEY:1; // 8 First Key Detect Flag
|
||||
Uint16 rsvd1:7; // 15:9 Reserved
|
||||
};
|
||||
|
||||
union WDWCR_REG {
|
||||
Uint16 all;
|
||||
struct WDWCR_BITS bit;
|
||||
};
|
||||
|
||||
struct WD_REGS {
|
||||
Uint16 rsvd1[34]; // Reserved
|
||||
union SCSR_REG SCSR; // System Control & Status Register
|
||||
union WDCNTR_REG WDCNTR; // Watchdog Counter Register
|
||||
Uint16 rsvd2; // Reserved
|
||||
union WDKEY_REG WDKEY; // Watchdog Reset Key Register
|
||||
Uint16 rsvd3[3]; // Reserved
|
||||
union WDCR_REG WDCR; // Watchdog Control Register
|
||||
union WDWCR_REG WDWCR; // Watchdog Windowed Control Register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// WWD External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct WD_REGS WdRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct WD_REGS WdRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,399 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_xbar.h
|
||||
//
|
||||
// TITLE: Definitions for the XBAR registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_XBAR_H
|
||||
#define F2838X_XBAR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// XBAR Individual Register Bit Definitions:
|
||||
|
||||
struct XBARFLG1_BITS { // bits description
|
||||
Uint16 CMPSS1_CTRIPL:1; // 0 Input Flag for CMPSS1.CTRIPL Signal
|
||||
Uint16 CMPSS1_CTRIPH:1; // 1 Input Flag for CMPSS1.CTRIPH Signal
|
||||
Uint16 CMPSS2_CTRIPL:1; // 2 Input Flag for CMPSS2.CTRIPL Signal
|
||||
Uint16 CMPSS2_CTRIPH:1; // 3 Input Flag for CMPSS2.CTRIPH Signal
|
||||
Uint16 CMPSS3_CTRIPL:1; // 4 Input Flag for CMPSS3.CTRIPL Signal
|
||||
Uint16 CMPSS3_CTRIPH:1; // 5 Input Flag for CMPSS3.CTRIPH Signal
|
||||
Uint16 CMPSS4_CTRIPL:1; // 6 Input Flag for CMPSS4.CTRIPL Signal
|
||||
Uint16 CMPSS4_CTRIPH:1; // 7 Input Flag for CMPSS4.CTRIPH Signal
|
||||
Uint16 CMPSS5_CTRIPL:1; // 8 Input Flag for CMPSS5.CTRIPL Signal
|
||||
Uint16 CMPSS5_CTRIPH:1; // 9 Input Flag for CMPSS5.CTRIPH Signal
|
||||
Uint16 CMPSS6_CTRIPL:1; // 10 Input Flag for CMPSS6.CTRIPL Signal
|
||||
Uint16 CMPSS6_CTRIPH:1; // 11 Input Flag for CMPSS6.CTRIPH Signal
|
||||
Uint16 CMPSS7_CTRIPL:1; // 12 Input Flag for CMPSS7.CTRIPL Signal
|
||||
Uint16 CMPSS7_CTRIPH:1; // 13 Input Flag for CMPSS7.CTRIPH Signal
|
||||
Uint16 CMPSS8_CTRIPL:1; // 14 Input Flag for CMPSS8.CTRIPL Signal
|
||||
Uint16 CMPSS8_CTRIPH:1; // 15 Input Flag for CMPSS8.CTRIPH Signal
|
||||
Uint16 CMPSS1_CTRIPOUTL:1; // 16 Input Flag for CMPSS1.CTRIPOUTL Signal
|
||||
Uint16 CMPSS1_CTRIPOUTH:1; // 17 Input Flag for CMPSS1.CTRIPOUTH Signal
|
||||
Uint16 CMPSS2_CTRIPOUTL:1; // 18 Input Flag for CMPSS2.CTRIPOUTL Signal
|
||||
Uint16 CMPSS2_CTRIPOUTH:1; // 19 Input Flag for CMPSS2.CTRIPOUTH Signal
|
||||
Uint16 CMPSS3_CTRIPOUTL:1; // 20 Input Flag for CMPSS3.CTRIPOUTL Signal
|
||||
Uint16 CMPSS3_CTRIPOUTH:1; // 21 Input Flag for CMPSS3.CTRIPOUTH Signal
|
||||
Uint16 CMPSS4_CTRIPOUTL:1; // 22 Input Flag for CMPSS4.CTRIPOUTL Signal
|
||||
Uint16 CMPSS4_CTRIPOUTH:1; // 23 Input Flag for CMPSS4.CTRIPOUTH Signal
|
||||
Uint16 CMPSS5_CTRIPOUTL:1; // 24 Input Flag for CMPSS5.CTRIPOUTL Signal
|
||||
Uint16 CMPSS5_CTRIPOUTH:1; // 25 Input Flag for CMPSS5.CTRIPOUTH Signal
|
||||
Uint16 CMPSS6_CTRIPOUTL:1; // 26 Input Flag for CMPSS6.CTRIPOUTL Signal
|
||||
Uint16 CMPSS6_CTRIPOUTH:1; // 27 Input Flag for CMPSS6.CTRIPOUTH Signal
|
||||
Uint16 CMPSS7_CTRIPOUTL:1; // 28 Input Flag for CMPSS7.CTRIPOUTL Signal
|
||||
Uint16 CMPSS7_CTRIPOUTH:1; // 29 Input Flag for CMPSS7.CTRIPOUTH Signal
|
||||
Uint16 CMPSS8_CTRIPOUTL:1; // 30 Input Flag for CMPSS8.CTRIPOUTL Signal
|
||||
Uint16 CMPSS8_CTRIPOUTH:1; // 31 Input Flag for CMPSS8.CTRIPOUTH Signal
|
||||
};
|
||||
|
||||
union XBARFLG1_REG {
|
||||
Uint32 all;
|
||||
struct XBARFLG1_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARFLG2_BITS { // bits description
|
||||
Uint16 INPUT1:1; // 0 Input Flag for INPUT1 Signal
|
||||
Uint16 INPUT2:1; // 1 Input Flag for INPUT2 Signal
|
||||
Uint16 INPUT3:1; // 2 Input Flag for INPUT3 Signal
|
||||
Uint16 INPUT4:1; // 3 Input Flag for INPUT4 Signal
|
||||
Uint16 INPUT5:1; // 4 Input Flag for INPUT5 Signal
|
||||
Uint16 INPUT6:1; // 5 Input Flag for INPUT6 Signal
|
||||
Uint16 ADCSOCA:1; // 6 Input Flag for ADCSOCA Signal
|
||||
Uint16 ADCSOCB:1; // 7 Input Flag for ADCSOCB Signal
|
||||
Uint16 INPUT7:1; // 8 Input Flag for INPUT7 Signal
|
||||
Uint16 INPUT8:1; // 9 Input Flag for INPUT8 Signal
|
||||
Uint16 INPUT9:1; // 10 Input Flag for INPUT9 Signal
|
||||
Uint16 INPUT10:1; // 11 Input Flag for INPUT10\ Signal
|
||||
Uint16 INPUT11:1; // 12 Input Flag for INPUT11 Signal
|
||||
Uint16 INPUT12:1; // 13 Input Flag for INPUT12 Signal
|
||||
Uint16 INPUT13:1; // 14 Input Flag for INPUT13 Signal
|
||||
Uint16 INPUT14:1; // 15 Input Flag for INPUT14 Signal
|
||||
Uint16 ECAP1_OUT:1; // 16 Input Flag for ECAP1.OUT Signal
|
||||
Uint16 ECAP2_OUT:1; // 17 Input Flag for ECAP2.OUT Signal
|
||||
Uint16 ECAP3_OUT:1; // 18 Input Flag for ECAP3.OUT Signal
|
||||
Uint16 ECAP4_OUT:1; // 19 Input Flag for ECAP4.OUT Signal
|
||||
Uint16 ECAP5_OUT:1; // 20 Input Flag for ECAP5.OUT Signal
|
||||
Uint16 ECAP6_OUT:1; // 21 Input Flag for ECAP6.OUT Signal
|
||||
Uint16 EXTSYNCOUT:1; // 22 Input Flag for EXTSYNCOUT Signal
|
||||
Uint16 ADCAEVT1:1; // 23 Input Flag for ADCAEVT1 Signal
|
||||
Uint16 ADCAEVT2:1; // 24 Input Flag for ADCAEVT2 Signal
|
||||
Uint16 ADCAEVT3:1; // 25 Input Flag for ADCAEVT3 Signal
|
||||
Uint16 ADCAEVT4:1; // 26 Input Flag for ADCAEVT4 Signal
|
||||
Uint16 ADCBEVT1:1; // 27 Input Flag for ADCBEVT1 Signal
|
||||
Uint16 ADCBEVT2:1; // 28 Input Flag for ADCBEVT2 Signal
|
||||
Uint16 ADCBEVT3:1; // 29 Input Flag for ADCBEVT3 Signal
|
||||
Uint16 ADCBEVT4:1; // 30 Input Flag for ADCBEVT4 Signal
|
||||
Uint16 ADCCEVT1:1; // 31 Input Flag for ADCCEVT1 Signal
|
||||
};
|
||||
|
||||
union XBARFLG2_REG {
|
||||
Uint32 all;
|
||||
struct XBARFLG2_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARFLG3_BITS { // bits description
|
||||
Uint16 ADCCEVT2:1; // 0 Input Flag for ADCCEVT2 Signal
|
||||
Uint16 ADCCEVT3:1; // 1 Input Flag for ADCCEVT3 Signal
|
||||
Uint16 ADCCEVT4:1; // 2 Input Flag for ADCCEVT4 Signal
|
||||
Uint16 ADCDEVT1:1; // 3 Input Flag for ADCDEVT1 Signal
|
||||
Uint16 ADCDEVT2:1; // 4 Input Flag for ADCDEVT2 Signal
|
||||
Uint16 ADCDEVT3:1; // 5 Input Flag for ADCDEVT3 Signal
|
||||
Uint16 ADCDEVT4:1; // 6 Input Flag for ADCDEVT4 Signal
|
||||
Uint16 SD1FLT1_COMPL:1; // 7 Input Flag for SD1FLT1.COMPL Signal
|
||||
Uint16 SD1FLT1_COMPH:1; // 8 Input Flag for SD1FLT1.COMPH Signal
|
||||
Uint16 SD1FLT2_COMPL:1; // 9 Input Flag for SD1FLT2.COMPL Signal
|
||||
Uint16 SD1FLT2_COMPH:1; // 10 Input Flag for SD1FLT2.COMPH Signal
|
||||
Uint16 SD1FLT3_COMPL:1; // 11 Input Flag for SD1FLT3.COMPL Signal
|
||||
Uint16 SD1FLT3_COMPH:1; // 12 Input Flag for SD1FLT3.COMPH Signal
|
||||
Uint16 SD1FLT4_COMPL:1; // 13 Input Flag for SD1FLT4.COMPL Signal
|
||||
Uint16 SD1FLT4_COMPH:1; // 14 Input Flag for SD1FLT4.COMPH Signal
|
||||
Uint16 SD2FLT1_COMPL:1; // 15 Input Flag for SD2FLT1.COMPL Signal
|
||||
Uint16 SD2FLT1_COMPH:1; // 16 Input Flag for SD2FLT1.COMPH Signal
|
||||
Uint16 SD2FLT2_COMPL:1; // 17 Input Flag for SD2FLT2.COMPL Signal
|
||||
Uint16 SD2FLT2_COMPH:1; // 18 Input Flag for SD2FLT2.COMPH Signal
|
||||
Uint16 SD2FLT3_COMPL:1; // 19 Input Flag for SD2FLT3.COMPL Signal
|
||||
Uint16 SD2FLT3_COMPH:1; // 20 Input Flag for SD2FLT3.COMPH Signal
|
||||
Uint16 SD2FLT4_COMPL:1; // 21 Input Flag for SD2FLT4.COMPL Signal
|
||||
Uint16 SD2FLT4_COMPH:1; // 22 Input Flag for SD2FLT4.COMPH Signal
|
||||
Uint16 ECAP7_OUT:1; // 23 Input Flag for ECAP7.OUT Signal
|
||||
Uint16 SD1FLT1_COMPZ:1; // 24 Input Flag for SD1FLT1.COMPZ Signal
|
||||
Uint16 SD1FLT1_DRINT:1; // 25 Input Flag for SD1FLT1.DRINT Signal
|
||||
Uint16 SD1FLT2_COMPZ:1; // 26 Input Flag for SD1FLT2.COMPZ Signal
|
||||
Uint16 SD1FLT2_DRINT:1; // 27 Input Flag for SD1FLT2.DRINT Signal
|
||||
Uint16 SD1FLT3_COMPZ:1; // 28 Input Flag for SD1FLT3.COMPZ Signal
|
||||
Uint16 SD1FLT3_DRINT:1; // 29 Input Flag for SD1FLT3.DRINT Signal
|
||||
Uint16 SD1FLT4_COMPZ:1; // 30 Input Flag for SD1FLT4.COMPZ Signal
|
||||
Uint16 SD1FLT4_DRINT:1; // 31 Input Flag for SD1FLT4.DRINT Signal
|
||||
};
|
||||
|
||||
union XBARFLG3_REG {
|
||||
Uint32 all;
|
||||
struct XBARFLG3_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARFLG4_BITS { // bits description
|
||||
Uint16 SD2FLT1_COMPZ:1; // 0 Input Flag for SD2FLT1.COMPZ Signal
|
||||
Uint16 SD2FLT1_DRINT:1; // 1 Input Flag for SD2FLT1.DRINT Signal
|
||||
Uint16 SD2FLT2_COMPZ:1; // 2 Input Flag for SD2FLT2.COMPZ Signal
|
||||
Uint16 SD2FLT2_DRINT:1; // 3 Input Flag for SD2FLT2.DRINT Signal
|
||||
Uint16 SD2FLT3_COMPZ:1; // 4 Input Flag for SD2FLT3.COMPZ Signal
|
||||
Uint16 SD2FLT3_DRINT:1; // 5 Input Flag for SD2FLT3.DRINT Signal
|
||||
Uint16 SD2FLT4_COMPZ:1; // 6 Input Flag for SD2FLT4.COMPZ Signal
|
||||
Uint16 SD2FLT4_DRINT:1; // 7 Input Flag for SD2FLT4.DRINT Signal
|
||||
Uint16 EMAC_PPS0:1; // 8 Input Flag for EMAC_PPS0 Signal
|
||||
Uint16 MCANA_FEVT0:1; // 9 Input Flag for MCANA_FEVT0 Signal
|
||||
Uint16 MCANA_FEVT1:1; // 10 Input Flag for MCANA_FEVT1 Signal
|
||||
Uint16 MCANA_FEVT2:1; // 11 Input Flag for MCANA_FEVT2 Signal
|
||||
Uint16 CLB7_OUT4:1; // 12 Input Flag for CLB7_4.1 Signal
|
||||
Uint16 CLB7_OUT5:1; // 13 Input Flag for CLB7_5.1 Signal
|
||||
Uint16 CLB8_OUT4:1; // 14 Input Flag for CLB8_4.1 Signal
|
||||
Uint16 CLB8_OUT5:1; // 15 Input Flag for CLB8_5.1 Signal
|
||||
Uint16 CLB1_OUT4:1; // 16 Input Flag for CLB1_4.1 Signal
|
||||
Uint16 CLB1_OUT5:1; // 17 Input Flag for CLB1_5.1 Signal
|
||||
Uint16 CLB2_OUT4:1; // 18 Input Flag for CLB2_4.1 Signal
|
||||
Uint16 CLB2_OUT5:1; // 19 Input Flag for CLB2_5.1 Signal
|
||||
Uint16 CLB3_OUT4:1; // 20 Input Flag for CLB3_4.1 Signal
|
||||
Uint16 CLB3_OUT5:1; // 21 Input Flag for CLB3_5.1 Signal
|
||||
Uint16 CLB4_OUT4:1; // 22 Input Flag for CLB4_4.1 Signal
|
||||
Uint16 CLB4_OUT5:1; // 23 Input Flag for CLB4_5.1 Signal
|
||||
Uint16 CLB5_OUT4:1; // 24 Input Latch for CLB5_OUT4 Signal
|
||||
Uint16 CLB5_OUT5:1; // 25 Input Latch for CLB5_OUT5 Signal
|
||||
Uint16 CLB6_OUT4:1; // 26 Input Latch for CLB6_OUT4 Signal
|
||||
Uint16 CLB6_OUT5:1; // 27 Input Latch for CLB6_OUT5 Signal
|
||||
Uint16 ERRORSTS_ERROR:1; // 28 Input Latch for ERRORSTS_ERROR Signal
|
||||
Uint16 ECATSYNC0:1; // 29 Input Latch for ECATSYNC0 Signal
|
||||
Uint16 ECATSYNC1:1; // 30 Input Latch for ECATSYNC1 Signal
|
||||
Uint16 CLAHALT:1; // 31 Input Latch for CLAHALT Signal
|
||||
};
|
||||
|
||||
union XBARFLG4_REG {
|
||||
Uint32 all;
|
||||
struct XBARFLG4_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARCLR1_BITS { // bits description
|
||||
Uint16 CMPSS1_CTRIPL:1; // 0 Input Flag Clear for CMPSS1.CTRIPL Signal
|
||||
Uint16 CMPSS1_CTRIPH:1; // 1 Input Flag Clear for CMPSS1.CTRIPH Signal
|
||||
Uint16 CMPSS2_CTRIPL:1; // 2 Input Flag Clear for CMPSS2.CTRIPL Signal
|
||||
Uint16 CMPSS2_CTRIPH:1; // 3 Input Flag Clear for CMPSS2.CTRIPH Signal
|
||||
Uint16 CMPSS3_CTRIPL:1; // 4 Input Flag Clear for CMPSS3.CTRIPL Signal
|
||||
Uint16 CMPSS3_CTRIPH:1; // 5 Input Flag Clear for CMPSS3.CTRIPH Signal
|
||||
Uint16 CMPSS4_CTRIPL:1; // 6 Input Flag Clear for CMPSS4.CTRIPL Signal
|
||||
Uint16 CMPSS4_CTRIPH:1; // 7 Input Flag Clear for CMPSS4.CTRIPH Signal
|
||||
Uint16 CMPSS5_CTRIPL:1; // 8 Input Flag Clear for CMPSS5.CTRIPL Signal
|
||||
Uint16 CMPSS5_CTRIPH:1; // 9 Input Flag Clear for CMPSS5.CTRIPH Signal
|
||||
Uint16 CMPSS6_CTRIPL:1; // 10 Input Flag Clear for CMPSS6.CTRIPL Signal
|
||||
Uint16 CMPSS6_CTRIPH:1; // 11 Input Flag Clear for CMPSS6.CTRIPH Signal
|
||||
Uint16 CMPSS7_CTRIPL:1; // 12 Input Flag Clear for CMPSS7.CTRIPL Signal
|
||||
Uint16 CMPSS7_CTRIPH:1; // 13 Input Flag Clear for CMPSS7.CTRIPH Signal
|
||||
Uint16 CMPSS8_CTRIPL:1; // 14 Input Flag Clear for CMPSS8.CTRIPL Signal
|
||||
Uint16 CMPSS8_CTRIPH:1; // 15 Input Flag Clear for CMPSS8.CTRIPH Signal
|
||||
Uint16 CMPSS1_CTRIPOUTL:1; // 16 Input Flag Clear for CMPSS1.CTRIPOUTL Signal
|
||||
Uint16 CMPSS1_CTRIPOUTH:1; // 17 Input Flag Clear for CMPSS1.CTRIPOUTH Signal
|
||||
Uint16 CMPSS2_CTRIPOUTL:1; // 18 Input Flag Clear for CMPSS2.CTRIPOUTL Signal
|
||||
Uint16 CMPSS2_CTRIPOUTH:1; // 19 Input Flag Clear for CMPSS2.CTRIPOUTH Signal
|
||||
Uint16 CMPSS3_CTRIPOUTL:1; // 20 Input Flag Clear for CMPSS3.CTRIPOUTL Signal
|
||||
Uint16 CMPSS3_CTRIPOUTH:1; // 21 Input Flag Clear for CMPSS3.CTRIPOUTH Signal
|
||||
Uint16 CMPSS4_CTRIPOUTL:1; // 22 Input Flag Clear for CMPSS4.CTRIPOUTL Signal
|
||||
Uint16 CMPSS4_CTRIPOUTH:1; // 23 Input Flag Clear for CMPSS4.CTRIPOUTH Signal
|
||||
Uint16 CMPSS5_CTRIPOUTL:1; // 24 Input Flag Clear for CMPSS5.CTRIPOUTL Signal
|
||||
Uint16 CMPSS5_CTRIPOUTH:1; // 25 Input Flag Clear for CMPSS5.CTRIPOUTH Signal
|
||||
Uint16 CMPSS6_CTRIPOUTL:1; // 26 Input Flag Clear for CMPSS6.CTRIPOUTL Signal
|
||||
Uint16 CMPSS6_CTRIPOUTH:1; // 27 Input Flag Clear for CMPSS6.CTRIPOUTH Signal
|
||||
Uint16 CMPSS7_CTRIPOUTL:1; // 28 Input Flag Clear for CMPSS7.CTRIPOUTL Signal
|
||||
Uint16 CMPSS7_CTRIPOUTH:1; // 29 Input Flag Clear for CMPSS7.CTRIPOUTH Signal
|
||||
Uint16 CMPSS8_CTRIPOUTL:1; // 30 Input Flag Clear for CMPSS8.CTRIPOUTL Signal
|
||||
Uint16 CMPSS8_CTRIPOUTH:1; // 31 Input Flag Clear for CMPSS8.CTRIPOUTH Signal
|
||||
};
|
||||
|
||||
union XBARCLR1_REG {
|
||||
Uint32 all;
|
||||
struct XBARCLR1_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARCLR2_BITS { // bits description
|
||||
Uint16 INPUT1:1; // 0 Input Flag Clear for INPUT1 Signal
|
||||
Uint16 INPUT2:1; // 1 Input Flag Clear for INPUT2 Signal
|
||||
Uint16 INPUT3:1; // 2 Input Flag Clear for INPUT3 Signal
|
||||
Uint16 INPUT4:1; // 3 Input Flag Clear for INPUT4 Signal
|
||||
Uint16 INPUT5:1; // 4 Input Flag Clear for INPUT5 Signal
|
||||
Uint16 INPUT6:1; // 5 Input Flag Clear for INPUT6 Signal
|
||||
Uint16 ADCSOCA:1; // 6 Input Flag Clear for ADCSOCA Signal
|
||||
Uint16 ADCSOCB:1; // 7 Input Flag Clear for ADCSOCB Signal
|
||||
Uint16 INPUT7:1; // 8 Input Flag Clear for INPUT7 Signal
|
||||
Uint16 INPUT8:1; // 9 Input Flag Clear for INPUT8 Signal
|
||||
Uint16 INPUT9:1; // 10 Input Flag Clear for INPUT9 Signal
|
||||
Uint16 INPUT10:1; // 11 Input Flag Clear for INPUT10 Signal
|
||||
Uint16 INPUT11:1; // 12 Input Flag Clear for INPUT11 Signal
|
||||
Uint16 INPUT12:1; // 13 Input Flag Clear for INPUT12 Signal
|
||||
Uint16 INPUT13:1; // 14 Input Flag Clear for INPUT13 Signal
|
||||
Uint16 INPUT14:1; // 15 Input Flag Clear for INPUT14 Signal
|
||||
Uint16 ECAP1_OUT:1; // 16 Input Flag Clear for ECAP1.OUT Signal
|
||||
Uint16 ECAP2_OUT:1; // 17 Input Flag Clear for ECAP2.OUT Signal
|
||||
Uint16 ECAP3_OUT:1; // 18 Input Flag Clear for ECAP3.OUT Signal
|
||||
Uint16 ECAP4_OUT:1; // 19 Input Flag Clear for ECAP4.OUT Signal
|
||||
Uint16 ECAP5_OUT:1; // 20 Input Flag Clear for ECAP5.OUT Signal
|
||||
Uint16 ECAP6_OUT:1; // 21 Input Flag Clear for ECAP6.OUT Signal
|
||||
Uint16 EXTSYNCOUT:1; // 22 Input Flag Clear for EXTSYNCOUT Signal
|
||||
Uint16 ADCAEVT1:1; // 23 Input Flag Clear for ADCAEVT1 Signal
|
||||
Uint16 ADCAEVT2:1; // 24 Input Flag Clear for ADCAEVT2 Signal
|
||||
Uint16 ADCAEVT3:1; // 25 Input Flag Clear for ADCAEVT3 Signal
|
||||
Uint16 ADCAEVT4:1; // 26 Input Flag Clear for ADCAEVT4 Signal
|
||||
Uint16 ADCBEVT1:1; // 27 Input Flag Clear for ADCBEVT1 Signal
|
||||
Uint16 ADCBEVT2:1; // 28 Input Flag Clear for ADCBEVT2 Signal
|
||||
Uint16 ADCBEVT3:1; // 29 Input Flag Clear for ADCBEVT3 Signal
|
||||
Uint16 ADCBEVT4:1; // 30 Input Flag Clear for ADCBEVT4 Signal
|
||||
Uint16 ADCCEVT1:1; // 31 Input Flag Clear for ADCCEVT1 Signal
|
||||
};
|
||||
|
||||
union XBARCLR2_REG {
|
||||
Uint32 all;
|
||||
struct XBARCLR2_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARCLR3_BITS { // bits description
|
||||
Uint16 ADCCEVT2:1; // 0 Input Flag Clear for ADCCEVT2 Signal
|
||||
Uint16 ADCCEVT3:1; // 1 Input Flag Clear for ADCCEVT3 Signal
|
||||
Uint16 ADCCEVT4:1; // 2 Input Flag Clear for ADCCEVT4 Signal
|
||||
Uint16 ADCDEVT1:1; // 3 Input Flag Clear for ADCDEVT1 Signal
|
||||
Uint16 ADCDEVT2:1; // 4 Input Flag Clear for ADCDEVT2 Signal
|
||||
Uint16 ADCDEVT3:1; // 5 Input Flag Clear for ADCDEVT3 Signal
|
||||
Uint16 ADCDEVT4:1; // 6 Input Flag Clear for ADCDEVT4 Signal
|
||||
Uint16 SD1FLT1_COMPL:1; // 7 Input Flag Clear for SD1FLT1.COMPL Signal
|
||||
Uint16 SD1FLT1_COMPH:1; // 8 Input Flag Clear for SD1FLT1.COMPH Signal
|
||||
Uint16 SD1FLT2_COMPL:1; // 9 Input Flag Clear for SD1FLT2.COMPL Signal
|
||||
Uint16 SD1FLT2_COMPH:1; // 10 Input Flag Clear for SD1FLT2.COMPH Signal
|
||||
Uint16 SD1FLT3_COMPL:1; // 11 Input Flag Clear for SD1FLT3.COMPL Signal
|
||||
Uint16 SD1FLT3_COMPH:1; // 12 Input Flag Clear for SD1FLT3.COMPH Signal
|
||||
Uint16 SD1FLT4_COMPL:1; // 13 Input Flag Clear for SD1FLT4.COMPL Signal
|
||||
Uint16 SD1FLT4_COMPH:1; // 14 Input Flag Clear for SD1FLT4.COMPH Signal
|
||||
Uint16 SD2FLT1_COMPL:1; // 15 Input Flag Clear for SD2FLT1.COMPL Signal
|
||||
Uint16 SD2FLT1_COMPH:1; // 16 Input Flag Clear for SD2FLT1.COMPH Signal
|
||||
Uint16 SD2FLT2_COMPL:1; // 17 Input Flag Clear for SD2FLT2.COMPL Signal
|
||||
Uint16 SD2FLT2_COMPH:1; // 18 Input Flag Clear for SD2FLT2.COMPH Signal
|
||||
Uint16 SD2FLT3_COMPL:1; // 19 Input Flag Clear for SD2FLT3.COMPL Signal
|
||||
Uint16 SD2FLT3_COMPH:1; // 20 Input Flag Clear for SD2FLT3.COMPH Signal
|
||||
Uint16 SD2FLT4_COMPL:1; // 21 Input Flag Clear for SD2FLT4.COMPL Signal
|
||||
Uint16 SD2FLT4_COMPH:1; // 22 Input Flag Clear for SD2FLT4.COMPH Signal
|
||||
Uint16 ECAP7_OUT:1; // 23 Input Flag clear for ECAP7.OUT Signal
|
||||
Uint16 SD1FLT1_COMPZ:1; // 24 Input Flag clear for SD1FLT1.COMPZ Signal
|
||||
Uint16 SD1FLT1_DRINT:1; // 25 Input Flag clear for SD1FLT1.DRINT Signal
|
||||
Uint16 SD1FLT2_COMPZ:1; // 26 Input Flag clear for SD1FLT2.COMPZ Signal
|
||||
Uint16 SD1FLT2_DRINT:1; // 27 Input Flag clear for SD1FLT2.DRINT Signal
|
||||
Uint16 SD1FLT3_COMPZ:1; // 28 Input Flag clear for SD1FLT3.COMPZ Signal
|
||||
Uint16 SD1FLT3_DRINT:1; // 29 Input Flag clear for SD1FLT3.DRINT Signal
|
||||
Uint16 SD1FLT4_COMPZ:1; // 30 Input Flag clear for SD1FLT4.COMPZ Signal
|
||||
Uint16 SD1FLT4_DRINT:1; // 31 Input Flag clear for SD1FLT4.DRINT Signal
|
||||
};
|
||||
|
||||
union XBARCLR3_REG {
|
||||
Uint32 all;
|
||||
struct XBARCLR3_BITS bit;
|
||||
};
|
||||
|
||||
struct XBARCLR4_BITS { // bits description
|
||||
Uint16 SD2FLT1_COMPZ:1; // 0 Input Flag clear for SD2FLT1.COMPZ Signal
|
||||
Uint16 SD2FLT1_DRINT:1; // 1 Input Flag clear for SD2FLT1.DRINT Signal
|
||||
Uint16 SD2FLT2_COMPZ:1; // 2 Input Flag clear for SD2FLT2.COMPZ Signal
|
||||
Uint16 SD2FLT2_DRINT:1; // 3 Input Flag clear for SD2FLT2.DRINT Signal
|
||||
Uint16 SD2FLT3_COMPZ:1; // 4 Input Flag clear for SD2FLT3.COMPZ Signal
|
||||
Uint16 SD2FLT3_DRINT:1; // 5 Input Flag clear for SD2FLT3.DRINT Signal
|
||||
Uint16 SD2FLT4_COMPZ:1; // 6 Input Flag clear for SD2FLT4.COMPZ Signal
|
||||
Uint16 SD2FLT4_DRINT:1; // 7 Input Flag clear for SD2FLT4.DRINT Signal
|
||||
Uint16 EMAC_PPS0:1; // 8 Input Flag clear for EMAC_PPS0 Signal
|
||||
Uint16 MCANA_FEVT0:1; // 9 Input Flag clear for MCANA_FEVT0 Signal
|
||||
Uint16 MCANA_FEVT1:1; // 10 Input Flag clear for MCANA_FEVT1 Signal
|
||||
Uint16 MCANA_FEVT2:1; // 11 Input Flag clear for MCANA_FEVT2 Signal
|
||||
Uint16 CLB7_OUT4:1; // 12 Input Flag clear for CLB7_OUT4 Signal
|
||||
Uint16 CLB7_OUT5:1; // 13 Input Flag clear for CLB7_OUT5 Signal
|
||||
Uint16 CLB8_OUT4:1; // 14 Input Flag clear for CLB8_OUT4 Signal
|
||||
Uint16 CLB8_OUT5:1; // 15 Input Flag clear for CLB8_OUT5 Signal
|
||||
Uint16 CLB1_OUT4:1; // 16 Input Flag clear for CLB1_4.1 Signal
|
||||
Uint16 CLB1_OUT5:1; // 17 Input Flag clear for CLB1_5.1 Signal
|
||||
Uint16 CLB2_OUT4:1; // 18 Input Flag clear for CLB2_4.1 Signal
|
||||
Uint16 CLB2_OUT5:1; // 19 Input Flag clear for CLB2_5.1 Signal
|
||||
Uint16 CLB3_OUT4:1; // 20 Input Flag clear for CLB3_4.1 Signal
|
||||
Uint16 CLB3_OUT5:1; // 21 Input Flag clear for CLB3_5.1 Signal
|
||||
Uint16 CLB4_OUT4:1; // 22 Input Flag clear for CLB4_4.1 Signal
|
||||
Uint16 CLB4_OUT5:1; // 23 Input Flag clear for CLB4_5.1 Signal
|
||||
Uint16 CLB5_OUT4:1; // 24 Input Latch clear for CLB5_OUT4 Signal
|
||||
Uint16 CLB5_OUT5:1; // 25 Input Latch clear for CLB5_OUT5 Signal
|
||||
Uint16 CLB6_OUT4:1; // 26 Input Latch clear for CLB6_OUT4 Signal
|
||||
Uint16 CLB6_OUT5:1; // 27 Input Latch clear for CLB6_OUT5 Signal
|
||||
Uint16 ERRORSTS_ERROR:1; // 28 Input Latch clear for ERRORSTS_ERROR Signal
|
||||
Uint16 ECATSYNC0:1; // 29 Input Latch clear for ECATSYNC0 Signal
|
||||
Uint16 ECATSYNC1:1; // 30 Input Latch clear for ECATSYNC1 Signal
|
||||
Uint16 CLAHALT:1; // 31 Input Flag clear for CLAHALT Signal
|
||||
};
|
||||
|
||||
union XBARCLR4_REG {
|
||||
Uint32 all;
|
||||
struct XBARCLR4_BITS bit;
|
||||
};
|
||||
|
||||
struct XBAR_REGS {
|
||||
union XBARFLG1_REG XBARFLG1; // X-Bar Input Flag Register 1
|
||||
union XBARFLG2_REG XBARFLG2; // X-Bar Input Flag Register 2
|
||||
union XBARFLG3_REG XBARFLG3; // X-Bar Input Flag Register 3
|
||||
union XBARFLG4_REG XBARFLG4; // X-Bar Input Flag Register 4
|
||||
union XBARCLR1_REG XBARCLR1; // X-Bar Input Flag Clear Register 1
|
||||
union XBARCLR2_REG XBARCLR2; // X-Bar Input Flag Clear Register 2
|
||||
union XBARCLR3_REG XBARCLR3; // X-Bar Input Flag Clear Register 3
|
||||
union XBARCLR4_REG XBARCLR4; // X-Bar Input Flag Clear Register 4
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// XBAR External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct XBAR_REGS XbarRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
@@ -0,0 +1,143 @@
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: f2838x_xint.h
|
||||
//
|
||||
// TITLE: Definitions for the XINT registers.
|
||||
//
|
||||
//###########################################################################
|
||||
//
|
||||
// C2000Ware v5.04.00.00
|
||||
//
|
||||
// Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the
|
||||
// distribution.
|
||||
//
|
||||
// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
// its contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// $
|
||||
//###########################################################################
|
||||
|
||||
#ifndef F2838X_XINT_H
|
||||
#define F2838X_XINT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// XINT Individual Register Bit Definitions:
|
||||
|
||||
struct XINT1CR_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 XINT1 Enable
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 POLARITY:2; // 3:2 XINT1 Polarity
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union XINT1CR_REG {
|
||||
Uint16 all;
|
||||
struct XINT1CR_BITS bit;
|
||||
};
|
||||
|
||||
struct XINT2CR_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 XINT2 Enable
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 POLARITY:2; // 3:2 XINT2 Polarity
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union XINT2CR_REG {
|
||||
Uint16 all;
|
||||
struct XINT2CR_BITS bit;
|
||||
};
|
||||
|
||||
struct XINT3CR_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 XINT3 Enable
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 POLARITY:2; // 3:2 XINT3 Polarity
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union XINT3CR_REG {
|
||||
Uint16 all;
|
||||
struct XINT3CR_BITS bit;
|
||||
};
|
||||
|
||||
struct XINT4CR_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 XINT4 Enable
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 POLARITY:2; // 3:2 XINT4 Polarity
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union XINT4CR_REG {
|
||||
Uint16 all;
|
||||
struct XINT4CR_BITS bit;
|
||||
};
|
||||
|
||||
struct XINT5CR_BITS { // bits description
|
||||
Uint16 ENABLE:1; // 0 XINT5 Enable
|
||||
Uint16 rsvd1:1; // 1 Reserved
|
||||
Uint16 POLARITY:2; // 3:2 XINT5 Polarity
|
||||
Uint16 rsvd2:12; // 15:4 Reserved
|
||||
};
|
||||
|
||||
union XINT5CR_REG {
|
||||
Uint16 all;
|
||||
struct XINT5CR_BITS bit;
|
||||
};
|
||||
|
||||
struct XINT_REGS {
|
||||
union XINT1CR_REG XINT1CR; // XINT1 configuration register
|
||||
union XINT2CR_REG XINT2CR; // XINT2 configuration register
|
||||
union XINT3CR_REG XINT3CR; // XINT3 configuration register
|
||||
union XINT4CR_REG XINT4CR; // XINT4 configuration register
|
||||
union XINT5CR_REG XINT5CR; // XINT5 configuration register
|
||||
Uint16 rsvd1[3]; // Reserved
|
||||
Uint16 XINT1CTR; // XINT1 counter register
|
||||
Uint16 XINT2CTR; // XINT2 counter register
|
||||
Uint16 XINT3CTR; // XINT3 counter register
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// XINT External References & Function Declarations:
|
||||
//
|
||||
#ifdef CPU1
|
||||
extern volatile struct XINT_REGS XintRegs;
|
||||
#endif
|
||||
#ifdef CPU2
|
||||
extern volatile struct XINT_REGS XintRegs;
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* extern "C" */
|
||||
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user