;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; MP-WAN Developers Toolkit 1994 ;; Z16C32.INC ;; This header file defines the internal registers and bit ;; positions of the Zilog Z16C32 Integrated Universal ;; Serial Controller (IUSC) as they relate to the MP-WAN ;; adapter. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; The registers on the IUSC are divided into a Serial Unit and a ;; DMA Unit for Transmit and Receive. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DMA_T EQU 000000000h ; DMA Transmit Unit DMA_R EQU 000000040h ; DMA Receive Unit SERIAL_U EQU 000000080h ; Serial Unit ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Z16C32 Bus Configuration Register : This register is written ;; on the first access to the 16C32 and its value controls how ;; the IUSC interacts the rest of the card and the system bus. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; BCR EQU 000000080h ; Bus Configuration Register ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Z16C32 Serial Unit Registers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; CCAR EQU SERIAL_U OR 000h ; Channel Command/Address Reg CMR EQU SERIAL_U OR 002h ; Channel Mode Reg CCSR EQU SERIAL_U OR 004h ; Channel Command / Status Reg CCR EQU SERIAL_U OR 006h ; Channel Control Reg PSR EQU SERIAL_U OR 008h ; Port Status Reg PCR EQU SERIAL_U OR 00ah ; Port Control Reg TMDR EQU SERIAL_U OR 00ch ; Test Mode Data Reg TMCR EQU SERIAL_U OR 00eh ; Test Mode Control Reg CMCR EQU SERIAL_U OR 010h ; Clock Mode Control Reg HCR EQU SERIAL_U OR 012h ; Hardware Configuration Reg IVR EQU SERIAL_U OR 014h ; Interrupt Vector Reg IOCR EQU SERIAL_U OR 016h ; Input / Output Reg ICR EQU SERIAL_U OR 018h ; Interrupt Control Reg DCCR EQU SERIAL_U OR 01ah ; Daisy-Chain Control Reg MISR EQU SERIAL_U OR 01ch ; Misc Interrupt Status Reg SICR EQU SERIAL_U OR 01eh ; Status Interrupt Control Reg RDR EQU SERIAL_U OR 020h ; Receive Data Reg RMR EQU SERIAL_U OR 022h ; Receive Mode Reg RCSR EQU SERIAL_U OR 024h ; Receive Command / Status Reg RICR EQU SERIAL_U OR 026h ; Recieve Interrupt Control Reg RSR EQU SERIAL_U OR 028h ; Receive Sync Reg RCLR EQU SERIAL_U OR 02ah ; Receive Count Limit Reg RCCR EQU SERIAL_U OR 02ch ; Receive Character Count Reg TC0R EQU SERIAL_U OR 02eh ; Time Constant 0 Reg TDR EQU SERIAL_U OR 030h ; Transmit Data Reg TMR EQU SERIAL_U OR 032h ; Transmit Mode Reg TCSR EQU SERIAL_U OR 034h ; Transmit Command / Status Reg TICR EQU SERIAL_U OR 036h ; Transmit Interrupt Control Reg TSR EQU SERIAL_U OR 038h ; Transmit Sync Reg TCLR EQU SERIAL_U OR 03ah ; Transmit Count Limit Reg TCCR EQU SERIAL_U OR 03ch ; Transmit Character Count Reg TC1R EQU SERIAL_U OR 03eh ; Time Constant 1 Reg ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Z16C32 DMA Unit Registers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DCAR EQU DMA_T OR 000h ; DMA Command / Address TDMR EQU DMA_T OR 002h ; Transmit DMA Mode Reg DCR EQU DMA_T OR 006h ; DMA Control Reg DACR EQU DMA_T OR 008h ; DMA Array Count Reg BDCR EQU DMA_T OR 012h ; Burst / Dwell Control Reg DIVR EQU DMA_T OR 014h ; DMA Interrupt Vector Reg DICR EQU DMA_T OR 018h ; DMA Interrupt Control Reg CDIR EQU DMA_T OR 01ah ; Clear DMA Interrupt Reg SDIR EQU DMA_T OR 01ch ; Set DMA Interrupt Reg TDIAR EQU DMA_T OR 01eh ; Transmit DMA Interrupt Arm Reg TBCR EQU DMA_T OR 02ah ; Transmit Byte Count Reg TARL EQU DMA_T OR 02ch ; Transmit Address Reg (Lower) TARU EQU DMA_T OR 02eh ; Transmit Address Reg (Upper) NTBCR EQU DMA_T OR 03ah ; Next Transmit Byte Count Reg NTARL EQU DMA_T OR 03ch ; Next Transmit Address Reg (Lower) NTARU EQU DMA_T OR 03eh ; Next Transmit Address Reg (Upper) RDMR EQU DMA_R OR 002h ; Receive DMA Mode Reg RDIAR EQU DMA_R OR 01eh ; Receive DMA Interrupt Arm Reg RBCR EQU DMA_R OR 02ah ; Receive Byte Count Reg RARL EQU DMA_R OR 02ch ; Receive Address Reg (Lower) RARU EQU DMA_R OR 02eh ; Receive Address Reg (Upper) NRBCR EQU DMA_R OR 03ah ; Next Receive Byte Count Reg NRARL EQU DMA_R OR 03ch ; Next Receive Address Reg (Lower) NRARU EQU DMA_R OR 03eh ; Next Receive Address Reg (Upper) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Burst / Dwell Control Reg (BDCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "MaxTransfers" - Numerical values only ; FIELD "MaxClocks" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Bus Configuration Reg (BCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "SepAdd8BitBus" SepAdd8BitBus_No EQU 000000000h SepAdd8BitBus_Yes EQU 000008000h ; FIELD "TriStateAllPins" TriStateAllPins_No EQU 000000000h TriStateAllPins_Yes EQU 000004000h ; FIELD "IntAckMode" IntAckMode_Status EQU 000000000h IntAckMode_SinglePulse EQU 000000010h IntAckMode_DoublePulse EQU 000000030h ; FIELD "BRQ_Signal" BRQ_Signal_OpenDrain EQU 000000000h BRQ_Signal_TotemPole EQU 000000008h ; FIELD "BusWidth" BusWidth_8BitBus EQU 000000000h BusWidth_16BitBus EQU 000000004h ; FIELD "IRQ_Signal" IRQ_Signal_TotemPole EQU 000000000h IRQ_Signal_OpenDrain EQU 000000002h ; FIELD "ShiftedAddr" ShiftedAddr_ShiftLeftMode EQU 000000000h ShiftedAddr_ShiftRightMode EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Channel Command / Address Reg (CCAR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "ChannelCommand" ChannelCommand_NullCommand EQU 000000000h ChannelCommand_ResetHighIUS EQU 000001000h ChannelCommand_TrgChanLoadDMA EQU 000002000h ChannelCommand_TriggerRxDMA EQU 000002800h ChannelCommand_TriggerTxDMA EQU 000003000h ChannelCommand_TrigRx_TxDMA EQU 000003800h ChannelCommand_RxFIFO_Purge EQU 000004800h ChannelCommand_TxFIFO_Purge EQU 000005000h ChannelCommand_RxTxFIFO_Purge EQU 000005800h ChannelCommand_LoadRxCharCt EQU 000006800h ChannelCommand_LoadTxCharCt EQU 000007000h ChannelCommand_LoadRxTxChCt EQU 000007800h ChannelCommand_LoadTC0 EQU 000008800h ChannelCommand_LoadTC1 EQU 000009000h ChannelCommand_LoadTC0_TC1 EQU 000009800h ChannelCommand_SerlDataLSB1st EQU 00000a000h ChannelCommand_SerlDataMSB1st EQU 00000a800h ChannelCommand_SelctD15_8_1st EQU 00000b000h ChannelCommand_SelctD7_0_1st EQU 00000b800h ; FIELD "ChannelReset" ChannelReset_No EQU 000000000h ChannelReset_Yes EQU 000000400h ; FIELD "ModeControl" ModeControl_NormalOp EQU 000000000h ModeControl_AutoEcho EQU 000000100h ModeControl_ExtLocalLpback EQU 000000200h ModeControl_IntLocalLpback EQU 000000300h ; FIELD "DMA_ChannelLoad" DMA_ChannelLoad_Terminate EQU 000000000h DMA_ChannelLoad_Continue EQU 000000080h ; FIELD "AccessSize" AccessSize_Word EQU 000000000h AccessSize_Byte EQU 000000040h ; FIELD "RegAddress" RegAddress_CCAR EQU 000000000h RegAddress_CMR EQU 000000002h RegAddress_CCSR EQU 000000004h RegAddress_CCR EQU 000000006h RegAddress_TMDR EQU 00000000ch RegAddress_TMCR EQU 00000000eh RegAddress_CMCR EQU 000000010h RegAddress_HCR EQU 000000012h RegAddress_IVR EQU 000000014h RegAddress_IOCR EQU 000000016h RegAddress_ICR EQU 000000018h RegAddress_DCCR EQU 00000001ah RegAddress_MISR EQU 00000001ch RegAddress_SICR EQU 00000001eh RegAddress_RDR EQU 000000020h RegAddress_RMR EQU 000000022h RegAddress_RCSR EQU 000000024h RegAddress_RICR EQU 000000026h RegAddress_RSR EQU 000000028h RegAddress_RCLR EQU 00000002ah RegAddress_RCCR EQU 00000002ch RegAddress_TC0R EQU 00000002eh RegAddress_TDR EQU 000000030h RegAddress_TMR EQU 000000032h RegAddress_TCSR EQU 000000034h RegAddress_TICR EQU 000000036h RegAddress_TSR EQU 000000038h RegAddress_TCLR EQU 00000003ah RegAddress_TCCR EQU 00000003ch RegAddress_TC1R EQU 00000003eh ; FIELD "AccessByteOn" AccessByteOn_Lower EQU 000000000h AccessByteOn_Upper EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Channel Command / Status Reg (CCSR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RCC_FIFO_Overflw" RCC_FIFO_Overflw_No EQU 000000000h RCC_FIFO_Overflw_Yes EQU 000008000h ; FIELD "RCC_FIFO_Avail" RCC_FIFO_Avail_No EQU 000000000h RCC_FIFO_Avail_Yes EQU 000004000h ; FIELD "RCC_FIFO_Clear" RCC_FIFO_Clear_NullCommand EQU 000000000h RCC_FIFO_Clear_Reset EQU 000002000h ; FIELD "DPLL_SyncStat" DPLL_SyncStat_AttemptingSync EQU 000000000h DPLL_SyncStat_AchievedSync EQU 000001000h ; FIELD "DPLL_SyncCmd" DPLL_SyncCmd_NullCommand EQU 000000000h DPLL_SyncCmd_ReSync EQU 000001000h ; FIELD "ClksMissLatch" ClksMissLatch_CorrctEncodDat EQU 000000000h ClksMissLatch_Miss2ConscCell EQU 000000800h ; FIELD "ClksMissLatchCmd" ClksMissLatchCmd_NullCommand EQU 000000000h ClksMissLatchCmd_Clear EQU 000000800h ; FIELD "ClkMissLatch" ClkMissLatch_CorrctEncodDat EQU 000000000h ClkMissLatch_MissBitCell EQU 000000400h ; FIELD "ClkMissLatchCmd" ClkMissLatchCmd_NullCommand EQU 000000000h ClkMissLatchCmd_Clear EQU 000000400h ; FIELD "DPLL_AdjSyncEdge" DPLL_AdjSyncEdge_BothEdges EQU 000000000h DPLL_AdjSyncEdge_RisingOnly EQU 000000100h DPLL_AdjSyncEdge_FallingOnly EQU 000000200h DPLL_AdjSyncEdge_AdjSyncInhibit EQU 000000300h ; FIELD "OnLoopSlaveMono" OnLoopSlaveMono_Inactive EQU 000000000h OnLoopSlaveMono_TxmitterActive EQU 000000080h ; FIELD "OnLoopHDLC_Loop" OnLoopHDLC_Loop_Inactive EQU 000000000h OnLoopHDLC_Loop_ChannelInLoop EQU 000000080h ; FIELD "LoopSending" LoopSending_No EQU 000000000h LoopSending_Yes EQU 000000040h ; FIELD "PORT0_1BypassCTR" PORT0_1BypassCTR_No EQU 000000000h PORT0_1BypassCTR_Yes EQU 000000020h ;Zilog EPM Error: 0x80 ; FIELD "HDLC_TxLast" HDLC_TxLast_8Bits EQU 000000000h HDLC_TxLast_1Bit EQU 000000004h HDLC_TxLast_2Bits EQU 000000008h HDLC_TxLast_3Bits EQU 00000000ch HDLC_TxLast_4Bits EQU 000000010h HDLC_TxLast_5Bits EQU 000000014h HDLC_TxLast_6Bits EQU 000000018h HDLC_TxLast_7Bits EQU 00000001ch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Channel Control Reg (CCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxCtrlBlockXfer" TxCtrlBlockXfer_NoControlBlock EQU 000000000h TxCtrlBlockXfer_1WordCtrlBlock EQU 000004000h TxCtrlBlockXfer_2WordCtrlBlock EQU 000008000h ; FIELD "Wait4TxTrig" Wait4TxTrig_No EQU 000000000h Wait4TxTrig_Yes EQU 000002000h ; FIELD "TxFlgPreamble" TxFlgPreamble_Disable EQU 000000000h TxFlgPreamble_Enable EQU 000001000h ; FIELD "TxShavedBitLen" - Numerical values only ; FIELD "TxPreambleLength" TxPreambleLength_8Bits EQU 000000000h TxPreambleLength_16Bits EQU 000000400h TxPreambleLength_32Bits EQU 000000800h TxPreambleLength_64Bits EQU 000000c00h ; FIELD "TxPreamblPattern" TxPreamblPattern_AllZeros EQU 000000000h TxPreamblPattern_AllOnes EQU 000000100h TxPreamblPattern_Alternate1_0 EQU 000000200h TxPreamblPattern_Alternate0_1 EQU 000000300h ; FIELD "RxStatBlockXfer" RxStatBlockXfer_NoStatusBlock EQU 000000000h RxStatBlockXfer_1WordStatBlock EQU 000000040h RxStatBlockXfer_2WordStatBlock EQU 000000080h ; FIELD "RxDmaTrigger" RxDmaTrigger_Continue EQU 000000000h RxDmaTrigger_Inhibit EQU 000000020h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Channel Mode Reg (CMR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxMode" TxMode_Asynchronous EQU 000000000h TxMode_Isochronous EQU 000000200h TxMode_AsyncCodeViol EQU 000000300h TxMode_Monosync EQU 000000400h TxMode_Bisync EQU 000000500h TxMode_HDLC EQU 000000600h TxMode_TranspBisync EQU 000000700h TxMode_NBIP EQU 000000800h TxMode_802_3 EQU 000000900h TxMode_SlavedMonosync EQU 000000c00h TxMode_HDLC_Loop EQU 000000e00h ; FIELD "RxMode" RxMode_Asynchronous EQU 000000000h RxMode_ExternalSync EQU 000000001h RxMode_Isochronous EQU 000000002h RxMode_AsyncCodeViol EQU 000000003h RxMode_Monosync EQU 000000004h RxMode_Bisync EQU 000000005h RxMode_HDLC EQU 000000006h RxMode_TranspBisync EQU 000000007h RxMode_NBIP EQU 000000008h RxMode_802_3 EQU 000000009h ; FIELD "TxStopBitsAsync" TxStopBitsAsync_One EQU 000000000h TxStopBitsAsync_Two EQU 000004000h TxStopBitsAsync_OneShaved EQU 000008000h TxStopBitsAsync_TwoShaved EQU 00000c000h ; FIELD "TxClockRateAsync" TxClockRateAsync_DataRate16X EQU 000000000h TxClockRateAsync_DataRate32X EQU 000001000h TxClockRateAsync_DataRate64X EQU 000002000h ; FIELD "RxClockRateAsync" RxClockRateAsync_DataRate16X EQU 000000000h RxClockRateAsync_DataRate32X EQU 000000010h RxClockRateAsync_DataRate64X EQU 000000020h ; FIELD "TxStopBitsIso" TxStopBitsIso_One EQU 000000000h TxStopBitsIso_Two EQU 000004000h ; FIELD "TxStopBitsACV" TxStopBitsACV_One EQU 000000000h TxStopBitsACV_Two EQU 000004000h TxStopBitsACV_None EQU 000008000h ; FIELD "TxExtendedWord" TxExtendedWord_No EQU 000000000h TxExtendedWord_Yes EQU 000002000h ; FIELD "CV_Polarity" CV_Polarity_ZeroCode EQU 000000000h CV_Polarity_OneCode EQU 000001000h ; FIELD "RxExtendedWord" RxExtendedWord_No EQU 000000000h RxExtendedWord_Yes EQU 000000010h ; FIELD "TxCRC_OnUnderMon" TxCRC_OnUnderMon_No EQU 000000000h TxCRC_OnUnderMon_Yes EQU 000008000h ; FIELD "TxPreambleEnMon" TxPreambleEnMon_No EQU 000000000h TxPreambleEnMon_Yes EQU 000002000h ; FIELD "TxSyncCharMon" TxSyncCharMon_8BitsChar EQU 000000000h TxSyncCharMon_MatchTxBitChar EQU 000001000h ; FIELD "RxSyncStripMon" RxSyncStripMon_No EQU 000000000h RxSyncStripMon_Yes EQU 000000020h ; FIELD "RxSyncCharMon" RxSyncCharMon_8BitsChar EQU 000000000h RxSyncCharMon_MatchRxBitChar EQU 000000010h ; FIELD "TxUnderIdleBi" TxUnderIdleBi_Syn1 EQU 000000000h TxUnderIdleBi_Syn0_Syn1 EQU 000004000h TxUnderIdleBi_CRC_Syn1 EQU 000008000h TxUnderIdleBi_CRC_Syn0_Syn1 EQU 00000c000h ; FIELD "TxPreambleEnBi" TxPreambleEnBi_No EQU 000000000h TxPreambleEnBi_Yes EQU 000002000h ; FIELD "TxSyncCharBi" TxSyncCharBi_8BitsChar EQU 000000000h TxSyncCharBi_MatchTxBitChar EQU 000001000h ; FIELD "RxSyncStripBi" RxSyncStripBi_No EQU 000000000h RxSyncStripBi_Yes EQU 000000020h ; FIELD "RxSyncCharBi" RxSyncCharBi_8BitsChar EQU 000000000h RxSyncCharBi_MatchRxBitChar EQU 000000010h ; FIELD "TxUnderCondHDLC" TxUnderCondHDLC_Abort EQU 000000000h TxUnderCondHDLC_ExtendedAbort EQU 000004000h TxUnderCondHDLC_Flag EQU 000008000h TxUnderCondHDLC_CRC_Flag EQU 00000c000h ; FIELD "TxPreambleEnHDLC" TxPreambleEnHDLC_No EQU 000000000h TxPreambleEnHDLC_Yes EQU 000002000h ; FIELD "SharZeroFlagHDLC" SharZeroFlagHDLC_No EQU 000000000h SharZeroFlagHDLC_Yes EQU 000001000h ; FIELD "RxLogContEnable" RxLogContEnable_No EQU 000000000h RxLogContEnable_Yes EQU 000000080h ; FIELD "Rx16BitControl" Rx16BitControl_No EQU 000000000h Rx16BitControl_Yes EQU 000000040h ; FIELD "RxAddSearchMode" RxAddSearchMode_Disabled EQU 000000000h RxAddSearchMode_1ByteNoCntl EQU 000000010h RxAddSearchMode_1BytePlusCntl EQU 000000020h RxAddSearchMode_ExtendPlusCntl EQU 000000030h ; FIELD "TxUnderCondTrBi" TxUnderCondTrBi_SYN EQU 000000000h TxUnderCondTrBi_DLE_SYN EQU 000004000h TxUnderCondTrBi_CRC_SYN EQU 000008000h TxUnderCondTrBi_CRC_DLE_SYN EQU 00000c000h ; FIELD "TxPreambleEnTrBi" TxPreambleEnTrBi_No EQU 000000000h TxPreambleEnTrBi_Yes EQU 000002000h ; FIELD "TxCtrlCharCoding" TxCtrlCharCoding_ASCII EQU 000000000h TxCtrlCharCoding_EDBDIC EQU 000001000h ; FIELD "RxCtrlCharCoding" RxCtrlCharCoding_ASCII EQU 000000000h RxCtrlCharCoding_EDBDIC EQU 000000010h ; FIELD "AddressDataBit9" AddressDataBit9_DataByte EQU 000000000h AddressDataBit9_AddressByte EQU 000008000h ; FIELD "TxParityOnData" TxParityOnData_No EQU 000000000h TxParityOnData_Yes EQU 000004000h ; FIELD "TxClockRate" TxClockRate_16X EQU 000000000h TxClockRate_32X EQU 000001000h TxClockRate_64X EQU 000002000h ; FIELD "RxParityOnData" RxParityOnData_No EQU 000000000h RxParityOnData_Yes EQU 000000040h ; FIELD "RxClockRate" RxClockRate_16X EQU 000000000h RxClockRate_32X EQU 000000010h RxClockRate_64X EQU 000000020h ; FIELD "TxCRC_OnUnder802" TxCRC_OnUnder802_WithoutCRC EQU 000000000h TxCRC_OnUnder802_WithCRC EQU 000008000h ; FIELD "RxAddSearch" RxAddSearch_No EQU 000000000h RxAddSearch_Yes EQU 000000010h ; FIELD "TxCRC_OnUnderSM" TxCRC_OnUnderSM_WithoutCRC EQU 000000000h TxCRC_OnUnderSM_WithCRC EQU 000008000h ; FIELD "TxActiveOnRxSync" TxActiveOnRxSync_No EQU 000000000h TxActiveOnRxSync_Yes EQU 000002000h ; FIELD "TxSyncCharSM" TxSyncCharSM_8BitsChar EQU 000000000h TxSyncCharSM_MatchTxBitChar EQU 000001000h ; FIELD "TxUnderCondLoop" TxUnderCondLoop_Abort EQU 000000000h TxUnderCondLoop_ExtendedAbort EQU 000004000h TxUnderCondLoop_Flag EQU 000008000h TxUnderCondLoop_CRC_Flag EQU 00000c000h ; FIELD "TxActiveOnPoll" TxActiveOnPoll_No EQU 000000000h TxActiveOnPoll_Yes EQU 000002000h ; FIELD "SharZeroFlagLoop" SharZeroFlagLoop_No EQU 000000000h SharZeroFlagLoop_Yes EQU 000001000h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Clear DMA Interrupt Reg (CDIR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "Reserve1_CDIR" - Numerical values only ; FIELD "ResetDMA_RxIUS" ResetDMA_RxIUS_NullCommand EQU 000000000h ResetDMA_RxIUS_Reset EQU 000000200h ; FIELD "ResetDMA_TxIUS" ResetDMA_TxIUS_NullCommand EQU 000000000h ResetDMA_TxIUS_Reset EQU 000000100h ; FIELD "Reserve2_CDIR" - Numerical values only ; FIELD "ResetDMA_RxIP" ResetDMA_RxIP_NullCommand EQU 000000000h ResetDMA_RxIP_Reset EQU 000000002h ; FIELD "ResetDMA_TxIP" ResetDMA_TxIP_NullCommand EQU 000000000h ResetDMA_TxIP_Reset EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Clock Mode Control Reg (CMCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "CTR1_ClkSource" CTR1_ClkSource_Disabled EQU 000000000h CTR1_ClkSource_Port1_Pin EQU 000004000h CTR1_ClkSource_RxC_Pin EQU 000008000h CTR1_ClkSource_TxC_Pin EQU 00000c000h ; FIELD "CTR0_ClkSource" CTR0_ClkSource_Disabled EQU 000000000h CTR0_ClkSource_Port0_Pin EQU 000001000h CTR0_ClkSource_RxC_Pin EQU 000002000h CTR0_ClkSource_TxC_Pin EQU 000003000h ; FIELD "BRG1_ClkSource" BRG1_ClkSource_CTR0_Output EQU 000000000h BRG1_ClkSource_CTR1_Output EQU 000000400h BRG1_ClkSource_RxC_Pin EQU 000000800h BRG1_ClkSource_TxC_Pin EQU 000000c00h ; FIELD "BRG0_ClkSource" BRG0_ClkSource_CTR0_Output EQU 000000000h BRG0_ClkSource_CTR1_Output EQU 000000100h BRG0_ClkSource_RxC_Pin EQU 000000200h BRG0_ClkSource_TxC_Pin EQU 000000300h ; FIELD "DPLL_ClkSource" DPLL_ClkSource_BRG0_Output EQU 000000000h DPLL_ClkSource_BRG1_Output EQU 000000040h DPLL_ClkSource_RxC_Pin EQU 000000080h DPLL_ClkSource_TxC_Pin EQU 0000000c0h ; FIELD "TxClkSource" TxClkSource_Disabled EQU 000000000h TxClkSource_RxC_Pin EQU 000000008h TxClkSource_TxC_Pin EQU 000000010h TxClkSource_DPLL_Output EQU 000000018h TxClkSource_BRG0_Output EQU 000000020h TxClkSource_BRG1_Output EQU 000000028h TxClkSource_CTR0_Output EQU 000000030h TxClkSource_CTR1_Output EQU 000000038h ; FIELD "RxClkSource" RxClkSource_Disabled EQU 000000000h RxClkSource_RxC_Pin EQU 000000001h RxClkSource_TxC_Pin EQU 000000002h RxClkSource_DPLL_Output EQU 000000003h RxClkSource_BRG0_Output EQU 000000004h RxClkSource_BRG1_Output EQU 000000005h RxClkSource_CTR0_Output EQU 000000006h RxClkSource_CTR1_Output EQU 000000007h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Daisy Chain Control Reg (DCCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "IUS_Command" IUS_Command_NullCommand EQU 000000000h IUS_Command_NullCommand_ EQU 000004000h IUS_Command_ResetIUS EQU 000008000h IUS_Command_SetIUS EQU 00000c000h ; FIELD "RxStatusIUS" RxStatusIUS_No EQU 000000000h RxStatusIUS_Yes EQU 000002000h ; FIELD "RxDataIUS" RxDataIUS_No EQU 000000000h RxDataIUS_Yes EQU 000001000h ; FIELD "TxStatusIUS" TxStatusIUS_No EQU 000000000h TxStatusIUS_Yes EQU 000000800h ; FIELD "TxDataIUS" TxDataIUS_No EQU 000000000h TxDataIUS_Yes EQU 000000400h ; FIELD "IO_StatusIUS" IO_StatusIUS_No EQU 000000000h IO_StatusIUS_Yes EQU 000000200h ; FIELD "DeviceStatusIUS" DeviceStatusIUS_No EQU 000000000h DeviceStatusIUS_Yes EQU 000000100h ; FIELD "IP_Command" IP_Command_NullCommand EQU 000000000h IP_Command_ResetIP_IUS EQU 000000040h IP_Command_ResetIP EQU 000000080h IP_Command_SetIP EQU 0000000c0h ; FIELD "RxStatusIP" RxStatusIP_No EQU 000000000h RxStatusIP_Yes EQU 000000020h ; FIELD "RxDataIP" RxDataIP_No EQU 000000000h RxDataIP_Yes EQU 000000010h ; FIELD "TxStatusIP" TxStatusIP_No EQU 000000000h TxStatusIP_Yes EQU 000000008h ; FIELD "TxDataIP" TxDataIP_No EQU 000000000h TxDataIP_Yes EQU 000000004h ; FIELD "IO_StatusIP" IO_StatusIP_No EQU 000000000h IO_StatusIP_Yes EQU 000000002h ; FIELD "DeviceStatusIP" DeviceStatusIP_No EQU 000000000h DeviceStatusIP_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; DMA Array Count Reg (DACR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "ReservedDACR" - Numerical values only ; FIELD "RxDMAFetchStat" RxDMAFetchStat_SglBufOrPipe EQU 000000000h RxDMAFetchStat_FetchPending EQU 0000000f0h RxDMAFetchStat_BufLnkAdrByte1 EQU 0000000e0h RxDMAFetchStat_BufLnkAdrByte2 EQU 0000000d0h RxDMAFetchStat_BufLnkAdrByte3 EQU 0000000c0h RxDMAFetchStat_BufLnkAdrByte4 EQU 0000000b0h RxDMAFetchStat_ByteCountByte1 EQU 0000000a0h RxDMAFetchStat_ByteCountByte2 EQU 000000090h RxDMAFetchStat_CountByte1Clr EQU 000000080h RxDMAFetchStat_CountByte2Clr EQU 000000070h RxDMAFetchStat_RSBByte1Stored EQU 000000060h RxDMAFetchStat_RSBStatStored EQU 000000050h RxDMAFetchStat_RSBByte3Stored EQU 000000040h RxDMAFetchStat_RSBRCCStored EQU 000000030h RxDMAFetchStat_Byte11Cleared EQU 000000020h RxDMAFetchStat_Byte12Cleared EQU 000000010h ; FIELD "TxDMAFetchStat" TxDMAFetchStat_SglBufOrPipe EQU 000000000h TxDMAFetchStat_FetchPending EQU 00000000fh TxDMAFetchStat_BufLnkAdrByte1 EQU 00000000eh TxDMAFetchStat_BufLnkAdrByte2 EQU 00000000dh TxDMAFetchStat_BufLnkAdrByte3 EQU 00000000ch TxDMAFetchStat_BufLnkAdrByte4 EQU 00000000bh TxDMAFetchStat_ByteCountByte1 EQU 00000000ah TxDMAFetchStat_ByteCountByte2 EQU 000000009h TxDMAFetchStat_CountByte1Clr EQU 000000008h TxDMAFetchStat_CountByte2Clr EQU 000000007h TxDMAFetchStat_TCBByte1 EQU 000000006h TxDMAFetchStat_TCBControlWord EQU 000000005h TxDMAFetchStat_TCBByte3 EQU 000000004h TxDMAFetchStat_TCBTCCWord EQU 000000003h TxDMAFetchStat_Byte11Read EQU 000000002h TxDMAFetchStat_Byte12Read EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; DMA Command / Address Reg (DCAR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "DMA_ChannelCmd" DMA_ChannelCmd_NullCommand EQU 000000000h DMA_ChannelCmd_ResetChannel EQU 000001000h DMA_ChannelCmd_StartChannel EQU 000002000h DMA_ChannelCmd_StartContChanl EQU 000003000h DMA_ChannelCmd_PauseChannel EQU 000004000h DMA_ChannelCmd_AbortChannel EQU 000005000h DMA_ChannelCmd_StartInitChanl EQU 000007000h DMA_ChannelCmd_ResetHighstIUS EQU 000008000h DMA_ChannelCmd_ResetBoth EQU 000009000h DMA_ChannelCmd_StartBoth EQU 00000a000h DMA_ChannelCmd_StartContBoth EQU 00000b000h DMA_ChannelCmd_PauseBoth EQU 00000c000h DMA_ChannelCmd_AbortBoth EQU 00000d000h DMA_ChannelCmd_StartInitBoth EQU 00000f000h ; FIELD "Channel" Channel_Tx EQU 000000000h Channel_Rx EQU 000000200h ; FIELD "MasterBusReqEn" MasterBusReqEn_No EQU 000000000h MasterBusReqEn_Yes EQU 000000100h ; FIELD "DMA_RxTx" DMA_RxTx_TxReg EQU 000000000h DMA_RxTx_RxReg EQU 000000080h ; FIELD "DMA_AccessSize" DMA_AccessSize_Word EQU 000000000h DMA_AccessSize_Byte EQU 000000040h ; FIELD "DMA_RegAddress" DMA_RegAddress_DCAR EQU 000000000h DMA_RegAddress_TDMR_RDMR EQU 000000002h DMA_RegAddress_DCR EQU 000000006h DMA_RegAddress_DACR EQU 000000008h DMA_RegAddress_BDCR EQU 000000012h DMA_RegAddress_DIVR EQU 000000014h DMA_RegAddress_DICR EQU 000000018h DMA_RegAddress_CDIR EQU 00000001ah DMA_RegAddress_SDIR EQU 00000001ch DMA_RegAddress_TDIAR_RDIAR EQU 00000001eh DMA_RegAddress_TBCR_RBCR EQU 00000002ah DMA_RegAddress_TARL_RARL EQU 00000002ch DMA_RegAddress_TARU_RARU EQU 00000002eh DMA_RegAddress_NTBCR_NRBCR EQU 00000003ah DMA_RegAddress_NTARL_NRARL EQU 00000003ch DMA_RegAddress_NTARU_NRARU EQU 00000003eh ; FIELD "DMA_AccessByteOn" DMA_AccessByteOn_Lower EQU 000000000h DMA_AccessByteOn_Upper EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; DMA Control Reg (DCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "ChannelPriority" ChannelPriority_Tx EQU 000000000h ChannelPriority_Rx EQU 000004000h ChannelPriority_Alternating EQU 000008000h ; FIELD "PreEmptEnable" PreEmptEnable_No EQU 000000000h PreEmptEnable_Yes EQU 000002000h ; FIELD "BinaryValueOrder" BinaryValueOrder_Z80_Intel EQU 000000000h BinaryValueOrder_Z8000_Motorola EQU 000001000h ; FIELD "ReArbTime" ReArbTime_TwoPerGrant EQU 000000000h ReArbTime_OnePerSerReq EQU 000000400h ReArbTime_OnePerGrant EQU 000000800h ; FIELD "ReservedDCR" ReservedDCR_MustBeZero EQU 000000000h ; FIELD "MinOff39" MinOff39_7_ClockPeriod EQU 000000000h MinOff39_39_ClockPeriod EQU 000000020h ; FIELD "DC_SD_Out" DC_SD_Out_No EQU 000000000h DC_SD_Out_Yes EQU 000000010h ; FIELD "Wait_1" Wait_1_No EQU 000000000h Wait_1_Yes EQU 000000008h ; FIELD "UAS_Frequency" UAS_Frequency_WhenNecessary EQU 000000000h UAS_Frequency_OnAllCycles EQU 000000004h ; FIELD "AddrSeg" AddrSeg_32_Bits EQU 000000000h AddrSeg_16_Bits EQU 000000002h AddrSeg_24_Bits EQU 000000003h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; DMA Interrupt Control Reg (DICR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "DMA_MasterIntEn" DMA_MasterIntEn_No EQU 000000000h DMA_MasterIntEn_Yes EQU 000008000h ; FIELD "DMA_LowChainInt" DMA_LowChainInt_Enabled EQU 000000000h DMA_LowChainInt_Disabled EQU 000004000h ; FIELD "DMA_IntVector" DMA_IntVector_Enabled EQU 000000000h DMA_IntVector_Disabled EQU 000002000h ; FIELD "DMA_VectInclStat" DMA_VectInclStat_No EQU 000000000h DMA_VectInclStat_Yes EQU 000001000h ; FIELD "ReservedDICR" - Numerical values only ; FIELD "DMA_Rx_IE" DMA_Rx_IE_No EQU 000000000h DMA_Rx_IE_Yes EQU 000000002h ; FIELD "DMA_Tx_IE" DMA_Tx_IE_No EQU 000000000h DMA_Tx_IE_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; DMA Interrupt Vector Reg (DIVR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "DMA_ModifVector" - Numerical values only ; FIELD "DMA_IntCode" DMA_IntCode_None EQU 000000000h DMA_IntCode_TxIntPending EQU 000000400h DMA_IntCode_RxIntPending EQU 000000600h ; FIELD "DMA_IntVectField" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Hardware Configuration Reg (HCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "CTR0_Divisor" CTR0_Divisor_32X EQU 000000000h CTR0_Divisor_16X EQU 000004000h CTR0_Divisor_8X EQU 000008000h CTR0_Divisor_4X EQU 00000c000h ; FIELD "CTR1_DivisorCTR0" CTR1_DivisorCTR0_32X EQU 000000000h CTR1_DivisorCTR0_16X EQU 000004000h CTR1_DivisorCTR0_8X EQU 000008000h CTR1_DivisorCTR0_4X EQU 00000c000h ; FIELD "CTR1_DivisorSel" CTR1_DivisorSel_SameAsCTR0 EQU 000000000h CTR1_DivisorSel_SameAsDPLL EQU 000002000h ; FIELD "AcceptCodeViol" AcceptCodeViol_No EQU 000000000h AcceptCodeViol_Yes EQU 000001000h ; FIELD "DPLL_Divisor" DPLL_Divisor_32X EQU 000000000h DPLL_Divisor_16X EQU 000000400h DPLL_Divisor_8X EQU 000000800h ; FIELD "CTR1_DivisorDPLL" CTR1_DivisorDPLL_32X EQU 000000000h CTR1_DivisorDPLL_16X EQU 000000400h CTR1_DivisorDPLL_8X EQU 000000800h CTR1_DivisorDPLL_4X EQU 000000c00h ; FIELD "DPLL_Mode" DPLL_Mode_Disabled EQU 000000000h DPLL_Mode_NRZ_NRZI EQU 000000100h DPLL_Mode_BiphasMarkSpac EQU 000000200h DPLL_Mode_BiphaseLevel EQU 000000300h ; FIELD "BRG1_SingleCont" BRG1_SingleCont_ContinuousMode EQU 000000000h BRG1_SingleCont_SinglCycleMode EQU 000000020h ; FIELD "BRG1_Enable" BRG1_Enable_No EQU 000000000h BRG1_Enable_Yes EQU 000000010h ; FIELD "BRG0_SingleCont" BRG0_SingleCont_ContinuousMode EQU 000000000h BRG0_SingleCont_SinglCycleMode EQU 000000002h ; FIELD "BRG0_Enable" BRG0_Enable_No EQU 000000000h BRG0_Enable_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Input / Output Control Reg (IOCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "CTS_PinControl" CTS_PinControl_CTS_Input EQU 000000000h CTS_PinControl_CTS_Input_ EQU 000004000h CTS_PinControl_Output0 EQU 000008000h CTS_PinControl_Output1 EQU 00000c000h ; FIELD "DCD_PinControl" DCD_PinControl_DCD_Input EQU 000000000h DCD_PinControl_DCD_SYNC_Input EQU 000001000h DCD_PinControl_Output0 EQU 000002000h DCD_PinControl_Output1 EQU 000003000h ; FIELD "TxREQ_PinControl" TxREQ_PinControl_TriStateOutput EQU 000000000h TxREQ_PinControl_TxRequstOutput EQU 000000400h TxREQ_PinControl_Output0 EQU 000000800h TxREQ_PinControl_Output1 EQU 000000c00h ; FIELD "RxREQ_PinControl" RxREQ_PinControl_TriStateOutput EQU 000000000h RxREQ_PinControl_RxRequstOutput EQU 000000100h RxREQ_PinControl_Output0 EQU 000000200h RxREQ_PinControl_Output1 EQU 000000300h ; FIELD "TxD_PinControl" TxD_PinControl_TxDataOutput EQU 000000000h TxD_PinControl_TriStateOutput EQU 000000040h TxD_PinControl_Output0 EQU 000000080h TxD_PinControl_Output1 EQU 0000000c0h ; FIELD "TxC_PinControl" TxC_PinControl_InputPin EQU 000000000h TxC_PinControl_TxClkOutput EQU 000000008h TxC_PinControl_TxBytClkOutput EQU 000000010h TxC_PinControl_TxCompltOutput EQU 000000018h TxC_PinControl_BRG0_Output EQU 000000020h TxC_PinControl_BRG1_Output EQU 000000028h TxC_PinControl_CTR1_Output EQU 000000030h TxC_PinControl_DPLL_TxOutput EQU 000000038h ; FIELD "RxC_PinControl" RxC_PinControl_InputPin EQU 000000000h RxC_PinControl_RxClkOutput EQU 000000001h RxC_PinControl_RxBytClkOutput EQU 000000002h RxC_PinControl_SYNC_Output EQU 000000003h RxC_PinControl_BRG0_Output EQU 000000004h RxC_PinControl_BRG1_Output EQU 000000005h RxC_PinControl_CTR0_Output EQU 000000006h RxC_PinControl_DPLL_RxOutput EQU 000000007h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Interrupt Control Reg (ICR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "MasterIntEnable" MasterIntEnable_No EQU 000000000h MasterIntEnable_Yes EQU 000008000h ; FIELD "LowerChainIntCtl" LowerChainIntCtl_Enabled EQU 000000000h LowerChainIntCtl_Disabled EQU 000004000h ; FIELD "IntVectControl" IntVectControl_Enabled EQU 000000000h IntVectControl_Disabled EQU 000002000h ; FIELD "VectIncludeStat" VectIncludeStat_No EQU 000000000h VectIncludeStat_Yes EQU 000001000h ; FIELD "VIS_Level" VIS_Level_EnblAllSrcs EQU 000000000h VIS_Level_EnblAllSrcs_ EQU 000000200h VIS_Level_IO_Stat_Above EQU 000000400h VIS_Level_TxData_Above EQU 000000600h VIS_Level_TxStat_Above EQU 000000800h VIS_Level_RxData_Above EQU 000000a00h VIS_Level_RxStat_Above EQU 000000c00h VIS_Level_None EQU 000000e00h ; FIELD "IE_Command" IE_Command_NullCommand EQU 000000000h IE_Command_NullCommand_ EQU 000000040h IE_Command_ResetIE EQU 000000080h IE_Command_SetIE EQU 0000000c0h ; FIELD "RxStatusIE" RxStatusIE_No EQU 000000000h RxStatusIE_Yes EQU 000000020h ; FIELD "RxDataIE" RxDataIE_No EQU 000000000h RxDataIE_Yes EQU 000000010h ; FIELD "TxStatusIE" TxStatusIE_No EQU 000000000h TxStatusIE_Yes EQU 000000008h ; FIELD "TxDataIE" TxDataIE_No EQU 000000000h TxDataIE_Yes EQU 000000004h ; FIELD "IO_StatusIE" IO_StatusIE_No EQU 000000000h IO_StatusIE_Yes EQU 000000002h ; FIELD "DeviceStatusIE" DeviceStatusIE_No EQU 000000000h DeviceStatusIE_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Interrupt Vector Reg (IVR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "ModifiedVector" - Numerical values only ; FIELD "InterruptCode" InterruptCode_None EQU 000000000h InterruptCode_DeviceStatus EQU 000000200h InterruptCode_IO_Status EQU 000000400h InterruptCode_TxData EQU 000000600h InterruptCode_TxStatus EQU 000000800h InterruptCode_RxData EQU 000000a00h InterruptCode_RxStatus EQU 000000c00h InterruptCode_NotUsed EQU 000000e00h ; FIELD "IntVectCtrlField" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Misc Interrupt Status Reg (MISR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxC_TransStat" RxC_TransStat_UnLatched EQU 000000000h RxC_TransStat_Latched EQU 000008000h ; FIELD "RxC_TransCmd" RxC_TransCmd_NullCommand EQU 000000000h RxC_TransCmd_ResetLatch EQU 000008000h ; FIELD "RxC_PinStatus" RxC_PinStatus_Zero EQU 000000000h RxC_PinStatus_One EQU 000004000h ; FIELD "TxC_TransStat" TxC_TransStat_UnLatched EQU 000000000h TxC_TransStat_Latched EQU 000002000h ; FIELD "TxC_TransCmd" TxC_TransCmd_NullCommand EQU 000000000h TxC_TransCmd_ResetLatch EQU 000002000h ; FIELD "TxC_PinStatus" TxC_PinStatus_Zero EQU 000000000h TxC_PinStatus_One EQU 000001000h ; FIELD "RxREQ_TransStat" RxREQ_TransStat_UnLatched EQU 000000000h RxREQ_TransStat_Latched EQU 000000800h ; FIELD "RxREQ_TransCmd" RxREQ_TransCmd_NullCommand EQU 000000000h RxREQ_TransCmd_ResetLatch EQU 000000800h ; FIELD "RxREQ_PinStatus" RxREQ_PinStatus_Zero EQU 000000000h RxREQ_PinStatus_One EQU 000000400h ; FIELD "TxREQ_TransStat" TxREQ_TransStat_UnLatched EQU 000000000h TxREQ_TransStat_Latched EQU 000000200h ; FIELD "TxREQ_TransCmd" TxREQ_TransCmd_NullCommand EQU 000000000h TxREQ_TransCmd_ResetLatch EQU 000000200h ; FIELD "TxREQ_PinStatus" TxREQ_PinStatus_Zero EQU 000000000h TxREQ_PinStatus_One EQU 000000100h ; FIELD "DCD_TransStat" DCD_TransStat_UnLatched EQU 000000000h DCD_TransStat_Latched EQU 000000080h ; FIELD "DCD_TransCmd" DCD_TransCmd_NullCommand EQU 000000000h DCD_TransCmd_ResetLatch EQU 000000080h ; FIELD "DCD_PinStatus" DCD_PinStatus_Zero EQU 000000000h DCD_PinStatus_One EQU 000000040h ; FIELD "CTS_TransStat" CTS_TransStat_UnLatched EQU 000000000h CTS_TransStat_Latched EQU 000000020h ; FIELD "CTS_TransCmd" CTS_TransCmd_NullCommand EQU 000000000h CTS_TransCmd_ResetLatch EQU 000000020h ; FIELD "CTS_PinStatus" CTS_PinStatus_Zero EQU 000000000h CTS_PinStatus_One EQU 000000010h ; FIELD "RCC_OverStat" RCC_OverStat_UnLatched EQU 000000000h RCC_OverStat_Latched EQU 000000008h ; FIELD "RCC_OverCmd" RCC_OverCmd_NullCommand EQU 000000000h RCC_OverCmd_ResetLatch EQU 000000008h ; FIELD "DPLL_LatchStat" DPLL_LatchStat_UnLatched EQU 000000000h DPLL_LatchStat_Latched EQU 000000004h ; FIELD "DPLL_LatchCmd" DPLL_LatchCmd_NullCommand EQU 000000000h DPLL_LatchCmd_ResetLatch EQU 000000004h ; FIELD "BRG1_ZC_Stat" BRG1_ZC_Stat_UnLatched EQU 000000000h BRG1_ZC_Stat_Latched EQU 000000002h ; FIELD "BRG1_ZC_Cmd" BRG1_ZC_Cmd_NullCommand EQU 000000000h BRG1_ZC_Cmd_ResetLatch EQU 000000002h ; FIELD "BRG0_ZC_Stat" BRG0_ZC_Stat_UnLatched EQU 000000000h BRG0_ZC_Stat_Latched EQU 000000001h ; FIELD "BRG0_ZC_Cmd" BRG0_ZC_Cmd_NullCommand EQU 000000000h BRG0_ZC_Cmd_ResetLatch EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Next Receive Address Reg Lower (NRARL) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDMA_NextLowAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Next Receive Address Reg Upper (NRARU) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDMAUppNexAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Next Receive Byte Count Reg (NRBCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDMA_NextCount" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Next Transmit Address Reg Lower (NTARL) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDMA_NextLowAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Next Transmit Address Reg Upper (NTARU) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDMA_NextUppAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Next Transmit Byte Count Reg (NTBCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDMA_NextCount" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Port Control Reg (PCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "Port7_PinCtrl" Port7_PinCtrl_Input EQU 000000000h Port7_PinCtrl_TxCompleteOut EQU 000004000h Port7_PinCtrl_Output0 EQU 000008000h Port7_PinCtrl_Output1 EQU 00000c000h ; FIELD "Port6_PinCtrl" Port6_PinCtrl_Input EQU 000000000h Port6_PinCtrl_FrameSyncInput EQU 000001000h Port6_PinCtrl_Output0 EQU 000002000h Port6_PinCtrl_Output1 EQU 000003000h ; FIELD "Port5_PinCtrl" Port5_PinCtrl_Input EQU 000000000h Port5_PinCtrl_RxSyncOutput EQU 000000400h Port5_PinCtrl_Output0 EQU 000000800h Port5_PinCtrl_Output1 EQU 000000c00h ; FIELD "Port4_PinCtrl" Port4_PinCtrl_Input EQU 000000000h Port4_PinCtrl_TxTSA_GateOut EQU 000000100h Port4_PinCtrl_Output0 EQU 000000200h Port4_PinCtrl_Output1 EQU 000000300h ; FIELD "Port3_PinCtrl" Port3_PinCtrl_Input EQU 000000000h Port3_PinCtrl_RxTSA_GateOut EQU 000000040h Port3_PinCtrl_Output0 EQU 000000080h Port3_PinCtrl_Output1 EQU 0000000c0h ; FIELD "Port2_PinCtrl" Port2_PinCtrl_Input EQU 000000000h Port2_PinCtrl_Output0 EQU 000000020h Port2_PinCtrl_Output1 EQU 000000030h ; FIELD "Port1_PinCtrl" Port1_PinCtrl_Input EQU 000000000h Port1_PinCtrl_CTR1_Clock EQU 000000004h Port1_PinCtrl_Output0 EQU 000000008h Port1_PinCtrl_Output1 EQU 00000000ch ; FIELD "Port0_PinCtrl" Port0_PinCtrl_Input EQU 000000000h Port0_PinCtrl_CTR0_Clock EQU 000000001h Port0_PinCtrl_Output0 EQU 000000002h Port0_PinCtrl_Output1 EQU 000000003h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Port Status Reg (PSR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "Port7_LatchState" Port7_LatchState_NoTransition EQU 000000000h Port7_LatchState_TransDetected EQU 000008000h ; FIELD "Port7_LatchCmd" Port7_LatchCmd_NullCommand EQU 000000000h Port7_LatchCmd_ResetLatch EQU 000008000h ; FIELD "Port7_Pin" Port7_Pin_High EQU 000000000h Port7_Pin_Low EQU 000004000h ; FIELD "Port6_LatchState" Port6_LatchState_NoTransition EQU 000000000h Port6_LatchState_TransDetected EQU 000002000h ; FIELD "Port6_LatchCmd" Port6_LatchCmd_NullCommand EQU 000000000h Port6_LatchCmd_ResetLatch EQU 000002000h ; FIELD "Port6_Pin" Port6_Pin_High EQU 000000000h Port6_Pin_Low EQU 000001000h ; FIELD "Port5_LatchState" Port5_LatchState_NoTransition EQU 000000000h Port5_LatchState_TransDetected EQU 000000800h ; FIELD "Port5_LatchCmd" Port5_LatchCmd_NullCommand EQU 000000000h Port5_LatchCmd_ResetLatch EQU 000000800h ; FIELD "Port5_Pin" Port5_Pin_High EQU 000000000h Port5_Pin_Low EQU 000000400h ; FIELD "Port4_LatchState" Port4_LatchState_NoTransition EQU 000000000h Port4_LatchState_TransDetected EQU 000000200h ; FIELD "Port4_LatchCmd" Port4_LatchCmd_NullCommand EQU 000000000h Port4_LatchCmd_ResetLatch EQU 000000200h ; FIELD "Port4_Pin" Port4_Pin_High EQU 000000000h Port4_Pin_Low EQU 000000100h ; FIELD "Port3_LatchState" Port3_LatchState_NoTransition EQU 000000000h Port3_LatchState_TransDetected EQU 000000080h ; FIELD "Port3_LatchCmd" Port3_LatchCmd_NullCommand EQU 000000000h Port3_LatchCmd_ResetLatch EQU 000000080h ; FIELD "Port3_Pin" Port3_Pin_High EQU 000000000h Port3_Pin_Low EQU 000000040h ; FIELD "Port2_LatchState" Port2_LatchState_NoTransition EQU 000000000h Port2_LatchState_TransDetected EQU 000000020h ; FIELD "Port2_LatchCmd" Port2_LatchCmd_NullCommand EQU 000000000h Port2_LatchCmd_ResetLatch EQU 000000020h ; FIELD "Port2_Pin" Port2_Pin_High EQU 000000000h Port2_Pin_Low EQU 000000010h ; FIELD "Port1_LatchState" Port1_LatchState_NoTransition EQU 000000000h Port1_LatchState_TransDetected EQU 000000008h ; FIELD "Port1_LatchCmd" Port1_LatchCmd_NullCommand EQU 000000000h Port1_LatchCmd_ResetLatch EQU 000000008h ; FIELD "Port1_Pin" Port1_Pin_High EQU 000000000h Port1_Pin_Low EQU 000000004h ; FIELD "Port0_LatchState" Port0_LatchState_NoTransition EQU 000000000h Port0_LatchState_TransDetected EQU 000000002h ; FIELD "Port0_LatchCmd" Port0_LatchCmd_NullCommand EQU 000000000h Port0_LatchCmd_ResetLatch EQU 000000002h ; FIELD "Port0_Pin" Port0_Pin_High EQU 000000000h Port0_Pin_Low EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Address Reg Lower (RARL) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDMA_LowAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Address Reg Upper (RARU) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDMA_UppAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Byte Count Reg (RBCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDMA_Count" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Character Count Reg (RCCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxCharCount" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Command / Status Reg (RCSR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "SecondByteInErr" SecondByteInErr_No EQU 000000000h SecondByteInErr_Yes EQU 000008000h ; FIELD "FirstByteInErr" FirstByteInErr_No EQU 000000000h FirstByteInErr_Yes EQU 000004000h ; FIELD "RxCommand" RxCommand_NullCommand EQU 000000000h RxCommand_PresetCRC EQU 000002000h RxCommand_EnterHuntMode EQU 000003000h RxCommand_SelectTSA EQU 000004000h RxCommand_SelectFilLevel EQU 000005000h RxCommand_SelectIntLevel EQU 000006000h RxCommand_SelectReqLevel EQU 000007000h ; FIELD "ResidueCode" ResidueCode_8ValidBits EQU 000000000h ResidueCode_1ValidBits EQU 000000200h ResidueCode_2ValidBits EQU 000000400h ResidueCode_3ValidBits EQU 000000600h ResidueCode_4ValidBits EQU 000000800h ResidueCode_5ValidBits EQU 000000a00h ResidueCode_6ValidBits EQU 000000c00h ResidueCode_7ValidBits EQU 000000e00h ; FIELD "ShortFrame" ShortFrame_No EQU 000000000h ShortFrame_Yes EQU 000000100h ; FIELD "CV_Pol" CV_Pol_No EQU 000000000h CV_Pol_Yes EQU 000000100h ; FIELD "ExitHuntLatch" ExitHuntLatch_UnLatched EQU 000000000h ExitHuntLatch_Latched EQU 000000080h ; FIELD "ExitHuntCmd" ExitHuntCmd_NullCommand EQU 000000000h ExitHuntCmd_ResetLatch EQU 000000080h ; FIELD "RxIdleLatch" RxIdleLatch_UnLatched EQU 000000000h RxIdleLatch_Latched EQU 000000040h ; FIELD "RxIdleCmd" RxIdleCmd_NullCommand EQU 000000000h RxIdleCmd_ResetLatch EQU 000000040h ; FIELD "RxBreakLatch" RxBreakLatch_UnLatched EQU 000000000h RxBreakLatch_Latched EQU 000000020h ; FIELD "RxBreakCmd" RxBreakCmd_NullCommand EQU 000000000h RxBreakCmd_ResetLatch EQU 000000020h ; FIELD "RxAbortLatch" RxAbortLatch_UnLatched EQU 000000000h RxAbortLatch_Latched EQU 000000020h ; FIELD "RxAbortCmd" RxAbortCmd_NullCommand EQU 000000000h RxAbortCmd_ResetLatch EQU 000000020h ; FIELD "RxBound_Latch" RxBound_Latch_UnLatched EQU 000000000h RxBound_Latch_Latched EQU 000000010h ; FIELD "RxBound_Cmd" RxBound_Cmd_NullCommand EQU 000000000h RxBound_Cmd_ResetLatch EQU 000000010h ; FIELD "CRC_FrameError" CRC_FrameError_No EQU 000000000h CRC_FrameError_Yes EQU 000000008h ; FIELD "ParityErrorLatch" ParityErrorLatch_UnLatched EQU 000000000h ParityErrorLatch_Latched EQU 000000004h ; FIELD "ParityErrorCmd" ParityErrorCmd_NullCommand EQU 000000000h ParityErrorCmd_ResetLatch EQU 000000004h ; FIELD "RxSpecificAbort" RxSpecificAbort_Unlatched EQU 000000000h RxSpecificAbort_Latched EQU 000000004h ; FIELD "RxSpecAbortCmd" RxSpecAbortCmd_NullCommand EQU 000000000h RxSpecAbortCmd_ResetLatch EQU 000000004h ; FIELD "RxOverrunLatch" RxOverrunLatch_UnLatched EQU 000000000h RxOverrunLatch_Latched EQU 000000002h ; FIELD "RxOverrunCmd" RxOverrunCmd_NullCommand EQU 000000000h RxOverrunCmd_ResetLatch EQU 000000002h ; FIELD "RxCharAvailable" RxCharAvailable_FIFO_Empty EQU 000000000h RxCharAvailable_FIFO_NotEmpty EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Count Limit Reg (RCLR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxCountLimit" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Data Reg (RDR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDataReg" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive DMA Interrupt Arm Reg (RDIAR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "ReservedRDIAR" - Numerical values only ; FIELD "RxEOA_EOL_IA" RxEOA_EOL_IA_No EQU 000000000h RxEOA_EOL_IA_Yes EQU 000000008h ; FIELD "RxEOB_IA" RxEOB_IA_No EQU 000000000h RxEOB_IA_Yes EQU 000000004h ; FIELD "RxHardAbortIA" RxHardAbortIA_No EQU 000000000h RxHardAbortIA_Yes EQU 000000002h ; FIELD "RxSoftAbortIA" RxSoftAbortIA_No EQU 000000000h RxSoftAbortIA_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive DMA Mode Reg (RDMR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxChannelMode" RxChannelMode_SingleBuffer EQU 000000000h RxChannelMode_Pipelined EQU 000004000h RxChannelMode_Array EQU 000008000h RxChannelMode_LinkedList EQU 00000c000h ; FIELD "RxDMAAdvStatHdl" RxDMAAdvStatHdl_No EQU 000000000h RxDMAAdvStatHdl_Yes EQU 000002000h ; FIELD "RxDMAWriteBack0" RxDMAWriteBack0_No EQU 000000000h RxDMAWriteBack0_Yes EQU 000001000h ; FIELD "RxAddressMode" RxAddressMode_Increment EQU 000000000h RxAddressMode_Decrement EQU 000000400h RxAddressMode_NoChange EQU 000000800h ; FIELD "RxTermEnable" RxTermEnable_No EQU 000000000h RxTermEnable_Yes EQU 000000200h ; FIELD "RxDMA_AccessSize" RxDMA_AccessSize_Word EQU 000000000h RxDMA_AccessSize_Byte EQU 000000100h ; FIELD "RxContinues" RxContinues_No EQU 000000000h RxContinues_Yes EQU 000000080h ; FIELD "RxGetLink" RxGetLink_No EQU 000000000h RxGetLink_Yes EQU 000000040h ; FIELD "RxBusy" RxBusy_No EQU 000000000h RxBusy_Yes EQU 000000020h ; FIELD "RxInit" RxInit_No EQU 000000000h RxInit_Yes EQU 000000010h ; FIELD "RxEOA_EOL" RxEOA_EOL_No EQU 000000000h RxEOA_EOL_Yes EQU 000000008h ; FIELD "RxEOB" RxEOB_No EQU 000000000h RxEOB_Yes EQU 000000004h ; FIELD "RxHardwareAbort" RxHardwareAbort_No EQU 000000000h RxHardwareAbort_Yes EQU 000000002h ; FIELD "RxSoftwareAbort" RxSoftwareAbort_No EQU 000000000h RxSoftwareAbort_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Interrupt Control Reg (RICR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxFIFO_FillLevel" - Numerical values only ; FIELD "RxFIFO_IntLevel" - Numerical values only ; FIELD "RxFIFO_DMA_Level" - Numerical values only ; FIELD "RxTimeSlotAssign" - Numerical values only ; FIELD "RxSlotOffset" RxSlotOffset_NoOffset EQU 000000000h RxSlotOffset_7_ClkOffset EQU 000002000h RxSlotOffset_6_ClkOffset EQU 000004000h RxSlotOffset_5_ClkOffset EQU 000006000h RxSlotOffset_4_ClkOffset EQU 000008000h RxSlotOffset_3_ClkOffset EQU 00000a000h RxSlotOffset_2_ClkOffset EQU 00000c000h RxSlotOffset_1_ClkOffset EQU 00000e000h ; FIELD "RxConcatSlots" RxConcatSlots_NoSlot EQU 000000000h RxConcatSlots_1_Slot EQU 000000200h RxConcatSlots_2_Slots EQU 000000400h RxConcatSlots_3_Slots EQU 000000600h RxConcatSlots_4_Slots EQU 000000800h RxConcatSlots_5_Slots EQU 000000a00h RxConcatSlots_6_Slots EQU 000000c00h RxConcatSlots_7_Slots EQU 000000e00h RxConcatSlots_8_Slots EQU 000001000h RxConcatSlots_9_Slots EQU 000001200h RxConcatSlots_10_Slots EQU 000001400h RxConcatSlots_11_Slots EQU 000001600h RxConcatSlots_12_Slots EQU 000001800h RxConcatSlots_13_Slots EQU 000001a00h RxConcatSlots_14_Slots EQU 000001c00h RxConcatSlots_15_Slots EQU 000001e00h ; FIELD "RxModeSwitch" RxModeSwitch_TSA_Slot EQU 000000000h RxModeSwitch_TSA_OffCount EQU 000000100h ; FIELD "ExitHuntIA" ExitHuntIA_No EQU 000000000h ExitHuntIA_Yes EQU 000000080h ; FIELD "RxIdleIA" RxIdleIA_No EQU 000000000h RxIdleIA_Yes EQU 000000040h ; FIELD "RxBreakAbortIA" RxBreakAbortIA_No EQU 000000000h RxBreakAbortIA_Yes EQU 000000020h ; FIELD "RxBound_IA" RxBound_IA_No EQU 000000000h RxBound_IA_Yes EQU 000000010h ; FIELD "StatusOn" StatusOn_Bytes EQU 000000000h StatusOn_Words EQU 000000008h ; FIELD "ParityErrorIA" ParityErrorIA_No EQU 000000000h ParityErrorIA_Yes EQU 000000004h ; FIELD "RxOverrunIA" RxOverrunIA_No EQU 000000000h RxOverrunIA_Yes EQU 000000002h ; FIELD "TC0R_ReadValue" TC0R_ReadValue_TimeConstant EQU 000000000h TC0R_ReadValue_CurrentValue EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Mode Reg (RMR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxDataDecode" RxDataDecode_NRZ EQU 000000000h RxDataDecode_NRZB EQU 000002000h RxDataDecode_NRZI_Mark EQU 000004000h RxDataDecode_NRZI_Space EQU 000006000h RxDataDecode_BiphaseMark EQU 000008000h RxDataDecode_BiphaseSpace EQU 00000a000h RxDataDecode_BiphaseLevel EQU 00000c000h RxDataDecode_DiffBiphasLevl EQU 00000e000h ; FIELD "RxCRC_Polynomial" RxCRC_Polynomial_CRC_CCITT EQU 000000000h RxCRC_Polynomial_CRC_16 EQU 000000800h RxCRC_Polynomial_CRC_32 EQU 000001000h ; FIELD "RxCRC_PresetVal" RxCRC_PresetVal_Zeros EQU 000000000h RxCRC_PresetVal_Ones EQU 000000400h ; FIELD "RxCRC_Enable" RxCRC_Enable_No EQU 000000000h RxCRC_Enable_Yes EQU 000000200h ; FIELD "RxAbortHandling" RxAbortHandling_No EQU 000000000h RxAbortHandling_Yes EQU 000000100h ; FIELD "RxParitySense" RxParitySense_Even EQU 000000000h RxParitySense_Odd EQU 000000040h RxParitySense_Space EQU 000000080h RxParitySense_Mark EQU 0000000c0h ; FIELD "RxParity" RxParity_Disabled EQU 000000000h RxParity_Enabled EQU 000000020h ; FIELD "RxCharLength" RxCharLength_8Bits EQU 000000000h RxCharLength_1Bits EQU 000000004h RxCharLength_2Bits EQU 000000008h RxCharLength_3Bits EQU 00000000ch RxCharLength_4Bits EQU 000000010h RxCharLength_5Bits EQU 000000014h RxCharLength_6Bits EQU 000000018h RxCharLength_7Bits EQU 00000001ch ; FIELD "RxEnable" RxEnable_DisablImmediat EQU 000000000h RxEnable_DisableAfterRx EQU 000000001h RxEnable_Enable EQU 000000002h RxEnable_EnableWithDCD EQU 000000003h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Receive Sync Reg (RSR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxMonoSyncBits" - Numerical values only ; FIELD "RxBisyncSYN0" - Numerical values only ; FIELD "RxBisyncSYN1" - Numerical values only ; FIELD "RxAddress8" - Numerical values only ; FIELD "RxAddress16" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Set DMA Interrupt Reg (SDIR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "Reserve1_SDIR" - Numerical values only ; FIELD "DMA_RxIUS" DMA_RxIUS_No EQU 000000000h DMA_RxIUS_Yes EQU 000000200h ; FIELD "SetDMA_RxIUS" SetDMA_RxIUS_NullCommand EQU 000000000h SetDMA_RxIUS_Set EQU 000000200h ; FIELD "DMA_TxIUS" DMA_TxIUS_No EQU 000000000h DMA_TxIUS_Yes EQU 000000100h ; FIELD "SetDMA_TxIUS" SetDMA_TxIUS_NullCommand EQU 000000000h SetDMA_TxIUS_Set EQU 000000100h ; FIELD "Reserve2_SDIR" - Numerical values only ; FIELD "DMA_RxIP" DMA_RxIP_No EQU 000000000h DMA_RxIP_Yes EQU 000000002h ; FIELD "SetDMA_RxIP" SetDMA_RxIP_NullCommand EQU 000000000h SetDMA_RxIP_Set EQU 000000002h ; FIELD "DMA_TxIP" DMA_TxIP_No EQU 000000000h DMA_TxIP_Yes EQU 000000001h ; FIELD "SetDMA_TxIP" SetDMA_TxIP_NullCommand EQU 000000000h SetDMA_TxIP_Set EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Status Interrupt Control Reg (SICR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "RxC_Interrupts" RxC_Interrupts_Disabled EQU 000000000h RxC_Interrupts_RisingEdgeOnly EQU 000004000h RxC_Interrupts_FallngEdgeOnly EQU 000008000h RxC_Interrupts_BothEdges EQU 00000c000h ; FIELD "TxC_Interrupts" TxC_Interrupts_Disabled EQU 000000000h TxC_Interrupts_RisingEdgeOnly EQU 000001000h TxC_Interrupts_FallngEdgeOnly EQU 000002000h TxC_Interrupts_BothEdges EQU 000003000h ; FIELD "RxREQ_Interrupts" RxREQ_Interrupts_Disabled EQU 000000000h RxREQ_Interrupts_RisingEdgeOnly EQU 000000400h RxREQ_Interrupts_FallngEdgeOnly EQU 000000800h RxREQ_Interrupts_BothEdges EQU 000000c00h ; FIELD "TxREQ_Interrupts" TxREQ_Interrupts_Disabled EQU 000000000h TxREQ_Interrupts_RisingEdgeOnly EQU 000000100h TxREQ_Interrupts_FallngEdgeOnly EQU 000000200h TxREQ_Interrupts_BothEdges EQU 000000300h ; FIELD "DCD_Interrupts" DCD_Interrupts_Disabled EQU 000000000h DCD_Interrupts_RisingEdgeOnly EQU 000000040h DCD_Interrupts_FallngEdgeOnly EQU 000000080h DCD_Interrupts_BothEdges EQU 0000000c0h ; FIELD "CTS_Interrupts" CTS_Interrupts_Disabled EQU 000000000h CTS_Interrupts_RisingEdgeOnly EQU 000000010h CTS_Interrupts_FallngEdgeOnly EQU 000000020h CTS_Interrupts_BothEdges EQU 000000030h ; FIELD "RCC_OverflowIA" RCC_OverflowIA_No EQU 000000000h RCC_OverflowIA_Yes EQU 000000008h ; FIELD "DPLL_SyncIA" DPLL_SyncIA_No EQU 000000000h DPLL_SyncIA_Yes EQU 000000004h ; FIELD "BRG1_ZC_IA" BRG1_ZC_IA_No EQU 000000000h BRG1_ZC_IA_Yes EQU 000000002h ; FIELD "BRG0_ZC_IA" BRG0_ZC_IA_No EQU 000000000h BRG0_ZC_IA_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Test Mode Control Reg (TMCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TestRegisterAdd" TestRegisterAdd_NullAddress EQU 000000000h TestRegisterAdd_HiByteShifters EQU 000000001h TestRegisterAdd_CRC_Byte0 EQU 000000002h TestRegisterAdd_CRC_Byte1 EQU 000000003h TestRegisterAdd_RxFIFO_Write EQU 000000004h TestRegisterAdd_ClkMuxOutputs EQU 000000005h TestRegisterAdd_CTR0_CTR1count EQU 000000006h TestRegisterAdd_ClkMuxInputs EQU 000000007h TestRegisterAdd_DPLL_State EQU 000000008h TestRegisterAdd_LoByteShifters EQU 000000009h TestRegisterAdd_CRC_Byte2 EQU 00000000ah TestRegisterAdd_CRC_Byte3 EQU 00000000bh TestRegisterAdd_TxFIFO_Read EQU 00000000ch TestRegisterAdd_IO_DevStatLatc EQU 00000000eh TestRegisterAdd_IntDaisyChain EQU 00000000fh TestRegisterAdd_RxCountHoldReg EQU 000000016h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Test Mode Data Reg (TMDR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TestDataBits" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Time Constant 0 Reg (TC0R) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TimeConst0" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Time Constant 1 Reg (TC1R) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TimeConst1" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Address Reg Lower (TARL) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDMA_LowAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Address Reg Upper (TARU) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDMA_UppAdd" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Byte Count Reg (TBCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDMA_Count" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Character Count Reg (TCCR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxCharCount" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Command / Status Reg (TCSR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxCommand" TxCommand_NullCommand EQU 000000000h TxCommand_PresetCRC EQU 000002000h TxCommand_SelectTSA EQU 000004000h TxCommand_SelectFilLevel EQU 000005000h TxCommand_SelectIntLevel EQU 000006000h TxCommand_SelectReqLevel EQU 000007000h TxCommand_SendFramMessag EQU 000008000h TxCommand_SendAbort EQU 000009000h TxCommand_ResetDLE_Inhbt EQU 00000c000h TxCommand_SetDLE_Inhibit EQU 00000d000h TxCommand_ResetEOF_EOM EQU 00000e000h TxCommand_SetEOF_EOM EQU 00000f000h ; FIELD "TxIdleLineCond" TxIdleLineCond_SYNC_FlagNorml EQU 000000000h TxIdleLineCond_Alternating1_0 EQU 000000100h TxIdleLineCond_AllZeros EQU 000000200h TxIdleLineCond_AllOnes EQU 000000300h TxIdleLineCond_AltrntMarkSpac EQU 000000500h TxIdleLineCond_SpaceIdle EQU 000000600h TxIdleLineCond_MarkIdle EQU 000000700h ; FIELD "TxPreambleSentLt" TxPreambleSentLt_UnLatched EQU 000000000h TxPreambleSentLt_Latched EQU 000000080h ; FIELD "TxPreambleSentCd" TxPreambleSentCd_NullCommand EQU 000000000h TxPreambleSentCd_ResetLatch EQU 000000080h ; FIELD "TxIdleSentLatch" TxIdleSentLatch_UnLatched EQU 000000000h TxIdleSentLatch_Latched EQU 000000040h ; FIELD "TxIdleSentCmd" TxIdleSentCmd_NullCommand EQU 000000000h TxIdleSentCmd_ResetLatch EQU 000000040h ; FIELD "TxAbortSentLatch" TxAbortSentLatch_UnLatched EQU 000000000h TxAbortSentLatch_Latched EQU 000000020h ; FIELD "TxAbortSentCmd" TxAbortSentCmd_NullCommand EQU 000000000h TxAbortSentCmd_ResetLatch EQU 000000020h ; FIELD "TxEOF_EOT_SentLt" TxEOF_EOT_SentLt_UnLatched EQU 000000000h TxEOF_EOT_SentLt_Latched EQU 000000010h ; FIELD "TxEOF_EOT_SentCd" TxEOF_EOT_SentCd_NullCommand EQU 000000000h TxEOF_EOT_SentCd_ResetLatch EQU 000000010h ; FIELD "TxCRC_SentLatch" TxCRC_SentLatch_UnLatched EQU 000000000h TxCRC_SentLatch_Latched EQU 000000008h ; FIELD "TxCRC_SentCmd" TxCRC_SentCmd_NullCommand EQU 000000000h TxCRC_SentCmd_ResetLatch EQU 000000008h ; FIELD "AllSent" AllSent_No EQU 000000000h AllSent_Yes EQU 000000004h ; FIELD "TxUnderrunLatch" TxUnderrunLatch_UnLatched EQU 000000000h TxUnderrunLatch_Latched EQU 000000002h ; FIELD "TxUnderrunCmd" TxUnderrunCmd_NullCommand EQU 000000000h TxUnderrunCmd_ResetLatch EQU 000000002h ; FIELD "TxBuffer" TxBuffer_NotEmpty EQU 000000000h TxBuffer_Empty EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Count Limit Reg (TCLR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxCountLimit" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Data Reg (TDR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDataReg" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit DMA Interrupt Arm Reg (TDIAR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "ReservedTDIAR" - Numerical values only ; FIELD "TxEOA_EOL_IA" TxEOA_EOL_IA_No EQU 000000000h TxEOA_EOL_IA_Yes EQU 000000008h ; FIELD "TxEOB_IA" TxEOB_IA_No EQU 000000000h TxEOB_IA_Yes EQU 000000004h ; FIELD "TxHardAbortIA" TxHardAbortIA_No EQU 000000000h TxHardAbortIA_Yes EQU 000000002h ; FIELD "TxSoftAbortIA" TxSoftAbortIA_No EQU 000000000h TxSoftAbortIA_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit DMA Mode Reg (TDMR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxChannelMode" TxChannelMode_SingleBuffer EQU 000000000h TxChannelMode_Pipelined EQU 000004000h TxChannelMode_Array EQU 000008000h TxChannelMode_LinkedList EQU 00000c000h ; FIELD "TxDMAAdvStatHdl" TxDMAAdvStatHdl_No EQU 000000000h TxDMAAdvStatHdl_Yes EQU 000002000h ; FIELD "TxDMAWriteBack0" TxDMAWriteBack0_No EQU 000000000h TxDMAWriteBack0_Yes EQU 000001000h ; FIELD "TxAddressMode" TxAddressMode_Increment EQU 000000000h TxAddressMode_Decrement EQU 000000400h TxAddressMode_NoChange EQU 000000800h ; FIELD "TxTermEnable" TxTermEnable_No EQU 000000000h TxTermEnable_Yes EQU 000000200h ; FIELD "TxDMA_AccessSize" TxDMA_AccessSize_Word EQU 000000000h TxDMA_AccessSize_Byte EQU 000000100h ; FIELD "TxContinues" TxContinues_No EQU 000000000h TxContinues_Yes EQU 000000080h ; FIELD "TxGetLink" TxGetLink_No EQU 000000000h TxGetLink_Yes EQU 000000040h ; FIELD "TxBusy" TxBusy_No EQU 000000000h TxBusy_Yes EQU 000000020h ; FIELD "TxInit" TxInit_No EQU 000000000h TxInit_Yes EQU 000000010h ; FIELD "TxEOA_EOL" TxEOA_EOL_No EQU 000000000h TxEOA_EOL_Yes EQU 000000008h ; FIELD "TxEOB" TxEOB_No EQU 000000000h TxEOB_Yes EQU 000000004h ; FIELD "TxHardwareAbort" TxHardwareAbort_No EQU 000000000h TxHardwareAbort_Yes EQU 000000002h ; FIELD "TxSoftwareAbort" TxSoftwareAbort_No EQU 000000000h TxSoftwareAbort_Yes EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Interrupt Control Reg (TICR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxFIFO_FillLevel" - Numerical values only ; FIELD "TxFIFO_IntLevel" - Numerical values only ; FIELD "TxFIFO_DMA_Level" - Numerical values only ; FIELD "TxTimeSlotAssign" - Numerical values only ; FIELD "TxSlotOffset" TxSlotOffset_NoOffset EQU 000000000h TxSlotOffset_7_ClkOffset EQU 000002000h TxSlotOffset_6_ClkOffset EQU 000004000h TxSlotOffset_5_ClkOffset EQU 000006000h TxSlotOffset_4_ClkOffset EQU 000008000h TxSlotOffset_3_ClkOffset EQU 00000a000h TxSlotOffset_2_ClkOffset EQU 00000c000h TxSlotOffset_1_ClkOffset EQU 00000e000h ; FIELD "TxConcatSlots" TxConcatSlots_NoSlot EQU 000000000h TxConcatSlots_1_Slot EQU 000000200h TxConcatSlots_2_Slots EQU 000000400h TxConcatSlots_3_Slots EQU 000000600h TxConcatSlots_4_Slots EQU 000000800h TxConcatSlots_5_Slots EQU 000000a00h TxConcatSlots_6_Slots EQU 000000c00h TxConcatSlots_7_Slots EQU 000000e00h TxConcatSlots_8_Slots EQU 000001000h TxConcatSlots_9_Slots EQU 000001200h TxConcatSlots_10_Slots EQU 000001400h TxConcatSlots_11_Slots EQU 000001600h TxConcatSlots_12_Slots EQU 000001800h TxConcatSlots_13_Slots EQU 000001a00h TxConcatSlots_14_Slots EQU 000001c00h TxConcatSlots_15_Slots EQU 000001e00h ; FIELD "TxModeSwitch" TxModeSwitch_TSA_Slot EQU 000000000h TxModeSwitch_TSA_OffCount EQU 000000100h ; FIELD "TxPreambleSentIA" TxPreambleSentIA_No EQU 000000000h TxPreambleSentIA_Yes EQU 000000080h ; FIELD "TxIdleSentIA" TxIdleSentIA_No EQU 000000000h TxIdleSentIA_Yes EQU 000000040h ; FIELD "TxAbortSentIA" TxAbortSentIA_No EQU 000000000h TxAbortSentIA_Yes EQU 000000020h ; FIELD "TxEOF_EOT_SentIA" TxEOF_EOT_SentIA_No EQU 000000000h TxEOF_EOT_SentIA_Yes EQU 000000010h ; FIELD "TxCRC_SentIA" TxCRC_SentIA_No EQU 000000000h TxCRC_SentIA_Yes EQU 000000008h ; FIELD "TxActionAtEOT" TxActionAtEOT_GoForIt EQU 000000000h TxActionAtEOT_WaitForSendCmd EQU 000000004h ; FIELD "TxUnderrunIA" TxUnderrunIA_No EQU 000000000h TxUnderrunIA_Yes EQU 000000002h ; FIELD "TC1R_ReadValue" TC1R_ReadValue_TimeConstant EQU 000000000h TC1R_ReadValue_CurrentValue EQU 000000001h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Mode Reg (TMR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxDataEncoding" TxDataEncoding_NRZ EQU 000000000h TxDataEncoding_NRZB EQU 000002000h TxDataEncoding_NRZI_Mark EQU 000004000h TxDataEncoding_NRZI_Space EQU 000006000h TxDataEncoding_BiphaseMark EQU 000008000h TxDataEncoding_BiphaseSpace EQU 00000a000h TxDataEncoding_BiphaseLevel EQU 00000c000h TxDataEncoding_DiffBiphasLevl EQU 00000e000h ; FIELD "TxCRC_Polynomial" TxCRC_Polynomial_CRC_CCITT EQU 000000000h TxCRC_Polynomial_CRC_16 EQU 000000800h TxCRC_Polynomial_CRC_32 EQU 000001000h ; FIELD "TxCRC_PresetVal" TxCRC_PresetVal_Zeros EQU 000000000h TxCRC_PresetVal_Ones EQU 000000400h ; FIELD "TxCRC_Enable" TxCRC_Enable_No EQU 000000000h TxCRC_Enable_Yes EQU 000000200h ; FIELD "TxCRC_On_EOF_EOM" TxCRC_On_EOF_EOM_No EQU 000000000h TxCRC_On_EOF_EOM_Yes EQU 000000100h ; FIELD "TxParitySense" TxParitySense_Even EQU 000000000h TxParitySense_Odd EQU 000000040h TxParitySense_Space EQU 000000080h TxParitySense_Mark EQU 0000000c0h ; FIELD "TxParity" TxParity_Disabled EQU 000000000h TxParity_Enabled EQU 000000020h ; FIELD "TxCharLength" TxCharLength_8Bits EQU 000000000h TxCharLength_1Bits EQU 000000004h TxCharLength_2Bits EQU 000000008h TxCharLength_3Bits EQU 00000000ch TxCharLength_4Bits EQU 000000010h TxCharLength_5Bits EQU 000000014h TxCharLength_6Bits EQU 000000018h TxCharLength_7Bits EQU 00000001ch ; FIELD "TxEnable" TxEnable_DisablImmediat EQU 000000000h TxEnable_DisableAfterTx EQU 000000001h TxEnable_Enable EQU 000000002h TxEnable_EnableWithCTS EQU 000000003h ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Transmit Sync Reg (TSR) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; FIELD "TxMonoSyncBits" - Numerical values only ; FIELD "TxBisyncSYN0" - Numerical values only ; FIELD "TxBisyncSYN1" - Numerical values only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Structures */ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; tIUSC_LinkListDMA STRUCT 2t lBufferAddress DWORD ? ;; 32 bit buffer address wByteCount WORD ? ;; Byte Count wCSB WORD ? ;; Control Status Block wCCLength WORD ? ;; TCC Length, RCC Residueal, wNotUsed WORD ? ;; Not used lNextAddress DWORD ? ;; Next Buffer or Link Address tIUSC_LinkListDMA ENDS IUSC_LinkListDMA TYPEDEF tIUSC_LinkListDMA fpIUSC_LinkListDMA TYPEDEF FAR PTR tIUSC_LinkListDMA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; End of File ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;