|
#define | SA1100_CS0_PHYS 0x00000000 |
|
#define | SA1100_CS1_PHYS 0x08000000 |
|
#define | SA1100_CS2_PHYS 0x10000000 |
|
#define | SA1100_CS3_PHYS 0x18000000 |
|
#define | SA1100_CS4_PHYS 0x40000000 |
|
#define | SA1100_CS5_PHYS 0x48000000 |
|
#define | PCMCIAPrtSp 0x04000000 /* PCMCIA Partition Space [byte] */ |
|
#define | PCMCIASp (4*PCMCIAPrtSp) /* PCMCIA Space [byte] */ |
|
#define | PCMCIAIOSp PCMCIAPrtSp /* PCMCIA I/O Space [byte] */ |
|
#define | PCMCIAAttrSp PCMCIAPrtSp /* PCMCIA Attribute Space [byte] */ |
|
#define | PCMCIAMemSp PCMCIAPrtSp /* PCMCIA Memory Space [byte] */ |
|
#define | PCMCIA0Sp PCMCIASp /* PCMCIA 0 Space [byte] */ |
|
#define | PCMCIA0IOSp PCMCIAIOSp /* PCMCIA 0 I/O Space [byte] */ |
|
#define | PCMCIA0AttrSp PCMCIAAttrSp /* PCMCIA 0 Attribute Space [byte] */ |
|
#define | PCMCIA0MemSp PCMCIAMemSp /* PCMCIA 0 Memory Space [byte] */ |
|
#define | PCMCIA1Sp PCMCIASp /* PCMCIA 1 Space [byte] */ |
|
#define | PCMCIA1IOSp PCMCIAIOSp /* PCMCIA 1 I/O Space [byte] */ |
|
#define | PCMCIA1AttrSp PCMCIAAttrSp /* PCMCIA 1 Attribute Space [byte] */ |
|
#define | PCMCIA1MemSp PCMCIAMemSp /* PCMCIA 1 Memory Space [byte] */ |
|
#define | _PCMCIA(Nb) |
|
#define | _PCMCIAIO(Nb) _PCMCIA (Nb) /* PCMCIA I/O [0..1] */ |
|
#define | _PCMCIAAttr(Nb) |
|
#define | _PCMCIAMem(Nb) |
|
#define | _PCMCIA0 _PCMCIA (0) /* PCMCIA 0 */ |
|
#define | _PCMCIA0IO _PCMCIAIO (0) /* PCMCIA 0 I/O */ |
|
#define | _PCMCIA0Attr _PCMCIAAttr (0) /* PCMCIA 0 Attribute */ |
|
#define | _PCMCIA0Mem _PCMCIAMem (0) /* PCMCIA 0 Memory */ |
|
#define | _PCMCIA1 _PCMCIA (1) /* PCMCIA 1 */ |
|
#define | _PCMCIA1IO _PCMCIAIO (1) /* PCMCIA 1 I/O */ |
|
#define | _PCMCIA1Attr _PCMCIAAttr (1) /* PCMCIA 1 Attribute */ |
|
#define | _PCMCIA1Mem _PCMCIAMem (1) /* PCMCIA 1 Memory */ |
|
#define | Ser0UDCCR __REG(0x80000000) /* Ser. port 0 UDC Control Reg. */ |
|
#define | Ser0UDCAR __REG(0x80000004) /* Ser. port 0 UDC Address Reg. */ |
|
#define | Ser0UDCOMP __REG(0x80000008) /* Ser. port 0 UDC Output Maximum Packet size reg. */ |
|
#define | Ser0UDCIMP __REG(0x8000000C) /* Ser. port 0 UDC Input Maximum Packet size reg. */ |
|
#define | Ser0UDCCS0 __REG(0x80000010) /* Ser. port 0 UDC Control/Status reg. end-point 0 */ |
|
#define | Ser0UDCCS1 __REG(0x80000014) /* Ser. port 0 UDC Control/Status reg. end-point 1 (output) */ |
|
#define | Ser0UDCCS2 __REG(0x80000018) /* Ser. port 0 UDC Control/Status reg. end-point 2 (input) */ |
|
#define | Ser0UDCD0 __REG(0x8000001C) /* Ser. port 0 UDC Data reg. end-point 0 */ |
|
#define | Ser0UDCWC __REG(0x80000020) /* Ser. port 0 UDC Write Count reg. end-point 0 */ |
|
#define | Ser0UDCDR __REG(0x80000028) /* Ser. port 0 UDC Data Reg. */ |
|
#define | Ser0UDCSR __REG(0x80000030) /* Ser. port 0 UDC Status Reg. */ |
|
#define | UDCCR_UDD 0x00000001 /* UDC Disable */ |
|
#define | UDCCR_UDA 0x00000002 /* UDC Active (read) */ |
|
#define | UDCCR_RESIM 0x00000004 /* Resume Interrupt Mask, per errata */ |
|
#define | UDCCR_EIM 0x00000008 /* End-point 0 Interrupt Mask */ |
|
#define | UDCCR_RIM 0x00000010 /* Receive Interrupt Mask */ |
|
#define | UDCCR_TIM 0x00000020 /* Transmit Interrupt Mask */ |
|
#define | UDCCR_SRM 0x00000040 /* Suspend/Resume interrupt Mask */ |
|
#define | UDCCR_SUSIM UDCCR_SRM /* Per errata, SRM just masks suspend */ |
|
#define | UDCCR_REM 0x00000080 /* REset interrupt Mask (disable) */ |
|
#define | UDCAR_ADD Fld (7, 0) /* function ADDress */ |
|
#define | UDCOMP_OUTMAXP Fld (8, 0) /* OUTput MAXimum Packet size - 1 */ |
|
#define | UDCOMP_OutMaxPkt(Size) |
|
#define | UDCIMP_INMAXP Fld (8, 0) /* INput MAXimum Packet size - 1 */ |
|
#define | UDCIMP_InMaxPkt(Size) |
|
#define | UDCCS0_OPR 0x00000001 /* Output Packet Ready (read) */ |
|
#define | UDCCS0_IPR 0x00000002 /* Input Packet Ready */ |
|
#define | UDCCS0_SST 0x00000004 /* Sent STall */ |
|
#define | UDCCS0_FST 0x00000008 /* Force STall */ |
|
#define | UDCCS0_DE 0x00000010 /* Data End */ |
|
#define | UDCCS0_SE 0x00000020 /* Setup End (read) */ |
|
#define | UDCCS0_SO 0x00000040 /* Serviced Output packet ready */ |
|
#define | UDCCS0_SSE 0x00000080 /* Serviced Setup End (write) */ |
|
#define | UDCCS1_RFS 0x00000001 /* Receive FIFO 12-bytes or more */ |
|
#define | UDCCS1_RPC 0x00000002 /* Receive Packet Complete */ |
|
#define | UDCCS1_RPE 0x00000004 /* Receive Packet Error (read) */ |
|
#define | UDCCS1_SST 0x00000008 /* Sent STall */ |
|
#define | UDCCS1_FST 0x00000010 /* Force STall */ |
|
#define | UDCCS1_RNE 0x00000020 /* Receive FIFO Not Empty (read) */ |
|
#define | UDCCS2_TFS 0x00000001 /* Transmit FIFO 8-bytes or less */ |
|
#define | UDCCS2_TPC 0x00000002 /* Transmit Packet Complete */ |
|
#define | UDCCS2_TPE 0x00000004 /* Transmit Packet Error (read) */ |
|
#define | UDCCS2_TUR 0x00000008 /* Transmit FIFO Under-Run */ |
|
#define | UDCCS2_SST 0x00000010 /* Sent STall */ |
|
#define | UDCCS2_FST 0x00000020 /* Force STall */ |
|
#define | UDCD0_DATA Fld (8, 0) /* receive/transmit DATA FIFOs */ |
|
#define | UDCWC_WC Fld (4, 0) /* Write Count */ |
|
#define | UDCDR_DATA Fld (8, 0) /* receive/transmit DATA FIFOs */ |
|
#define | UDCSR_EIR 0x00000001 /* End-point 0 Interrupt Request */ |
|
#define | UDCSR_RIR 0x00000002 /* Receive Interrupt Request */ |
|
#define | UDCSR_TIR 0x00000004 /* Transmit Interrupt Request */ |
|
#define | UDCSR_SUSIR 0x00000008 /* SUSpend Interrupt Request */ |
|
#define | UDCSR_RESIR 0x00000010 /* RESume Interrupt Request */ |
|
#define | UDCSR_RSTIR 0x00000020 /* ReSeT Interrupt Request */ |
|
#define | _UTCR0(Nb) __REG(0x80010000 + ((Nb) - 1)*0x00020000) /* UART Control Reg. 0 [1..3] */ |
|
#define | _UTCR1(Nb) __REG(0x80010004 + ((Nb) - 1)*0x00020000) /* UART Control Reg. 1 [1..3] */ |
|
#define | _UTCR2(Nb) __REG(0x80010008 + ((Nb) - 1)*0x00020000) /* UART Control Reg. 2 [1..3] */ |
|
#define | _UTCR3(Nb) __REG(0x8001000C + ((Nb) - 1)*0x00020000) /* UART Control Reg. 3 [1..3] */ |
|
#define | _UTCR4(Nb) __REG(0x80010010 + ((Nb) - 1)*0x00020000) /* UART Control Reg. 4 [2] */ |
|
#define | _UTDR(Nb) __REG(0x80010014 + ((Nb) - 1)*0x00020000) /* UART Data Reg. [1..3] */ |
|
#define | _UTSR0(Nb) __REG(0x8001001C + ((Nb) - 1)*0x00020000) /* UART Status Reg. 0 [1..3] */ |
|
#define | _UTSR1(Nb) __REG(0x80010020 + ((Nb) - 1)*0x00020000) /* UART Status Reg. 1 [1..3] */ |
|
#define | Ser1UTCR0 _UTCR0 (1) /* Ser. port 1 UART Control Reg. 0 */ |
|
#define | Ser1UTCR1 _UTCR1 (1) /* Ser. port 1 UART Control Reg. 1 */ |
|
#define | Ser1UTCR2 _UTCR2 (1) /* Ser. port 1 UART Control Reg. 2 */ |
|
#define | Ser1UTCR3 _UTCR3 (1) /* Ser. port 1 UART Control Reg. 3 */ |
|
#define | Ser1UTDR _UTDR (1) /* Ser. port 1 UART Data Reg. */ |
|
#define | Ser1UTSR0 _UTSR0 (1) /* Ser. port 1 UART Status Reg. 0 */ |
|
#define | Ser1UTSR1 _UTSR1 (1) /* Ser. port 1 UART Status Reg. 1 */ |
|
#define | Ser2UTCR0 _UTCR0 (2) /* Ser. port 2 UART Control Reg. 0 */ |
|
#define | Ser2UTCR1 _UTCR1 (2) /* Ser. port 2 UART Control Reg. 1 */ |
|
#define | Ser2UTCR2 _UTCR2 (2) /* Ser. port 2 UART Control Reg. 2 */ |
|
#define | Ser2UTCR3 _UTCR3 (2) /* Ser. port 2 UART Control Reg. 3 */ |
|
#define | Ser2UTCR4 _UTCR4 (2) /* Ser. port 2 UART Control Reg. 4 */ |
|
#define | Ser2UTDR _UTDR (2) /* Ser. port 2 UART Data Reg. */ |
|
#define | Ser2UTSR0 _UTSR0 (2) /* Ser. port 2 UART Status Reg. 0 */ |
|
#define | Ser2UTSR1 _UTSR1 (2) /* Ser. port 2 UART Status Reg. 1 */ |
|
#define | Ser3UTCR0 _UTCR0 (3) /* Ser. port 3 UART Control Reg. 0 */ |
|
#define | Ser3UTCR1 _UTCR1 (3) /* Ser. port 3 UART Control Reg. 1 */ |
|
#define | Ser3UTCR2 _UTCR2 (3) /* Ser. port 3 UART Control Reg. 2 */ |
|
#define | Ser3UTCR3 _UTCR3 (3) /* Ser. port 3 UART Control Reg. 3 */ |
|
#define | Ser3UTDR _UTDR (3) /* Ser. port 3 UART Data Reg. */ |
|
#define | Ser3UTSR0 _UTSR0 (3) /* Ser. port 3 UART Status Reg. 0 */ |
|
#define | Ser3UTSR1 _UTSR1 (3) /* Ser. port 3 UART Status Reg. 1 */ |
|
#define | _Ser1UTCR0 __PREG(Ser1UTCR0) |
|
#define | _Ser2UTCR0 __PREG(Ser2UTCR0) |
|
#define | _Ser3UTCR0 __PREG(Ser3UTCR0) |
|
#define | UTCR0 0x00 |
|
#define | UTCR1 0x04 |
|
#define | UTCR2 0x08 |
|
#define | UTCR3 0x0c |
|
#define | UTDR 0x14 |
|
#define | UTSR0 0x1c |
|
#define | UTSR1 0x20 |
|
#define | UTCR0_PE 0x00000001 /* Parity Enable */ |
|
#define | UTCR0_OES 0x00000002 /* Odd/Even parity Select */ |
|
#define | UTCR0_OddPar (UTCR0_OES*0) /* Odd Parity */ |
|
#define | UTCR0_EvenPar (UTCR0_OES*1) /* Even Parity */ |
|
#define | UTCR0_SBS 0x00000004 /* Stop Bit Select */ |
|
#define | UTCR0_1StpBit (UTCR0_SBS*0) /* 1 Stop Bit per frame */ |
|
#define | UTCR0_2StpBit (UTCR0_SBS*1) /* 2 Stop Bits per frame */ |
|
#define | UTCR0_DSS 0x00000008 /* Data Size Select */ |
|
#define | UTCR0_7BitData (UTCR0_DSS*0) /* 7-Bit Data */ |
|
#define | UTCR0_8BitData (UTCR0_DSS*1) /* 8-Bit Data */ |
|
#define | UTCR0_SCE 0x00000010 /* Sample Clock Enable */ |
|
#define | UTCR0_RCE 0x00000020 /* Receive Clock Edge select */ |
|
#define | UTCR0_RcRsEdg (UTCR0_RCE*0) /* Receive clock Rising-Edge */ |
|
#define | UTCR0_RcFlEdg (UTCR0_RCE*1) /* Receive clock Falling-Edge */ |
|
#define | UTCR0_TCE 0x00000040 /* Transmit Clock Edge select */ |
|
#define | UTCR0_TrRsEdg (UTCR0_TCE*0) /* Transmit clock Rising-Edge */ |
|
#define | UTCR0_TrFlEdg (UTCR0_TCE*1) /* Transmit clock Falling-Edge */ |
|
#define | UTCR0_Ser2IrDA |
|
#define | UTCR1_BRD Fld (4, 0) /* Baud Rate Divisor/16 - 1 [11:8] */ |
|
#define | UTCR2_BRD Fld (8, 0) /* Baud Rate Divisor/16 - 1 [7:0] */ |
|
#define | UTCR1_BdRtDiv(Div) |
|
#define | UTCR2_BdRtDiv(Div) |
|
#define | UTCR1_CeilBdRtDiv(Div) |
|
#define | UTCR2_CeilBdRtDiv(Div) |
|
#define | UTCR3_RXE 0x00000001 /* Receive Enable */ |
|
#define | UTCR3_TXE 0x00000002 /* Transmit Enable */ |
|
#define | UTCR3_BRK 0x00000004 /* BReaK mode */ |
|
#define | UTCR3_RIE 0x00000008 /* Receive FIFO 1/3-to-2/3-full or */ |
|
#define | UTCR3_TIE 0x00000010 /* Transmit FIFO 1/2-full or less */ |
|
#define | UTCR3_LBM 0x00000020 /* Look-Back Mode */ |
|
#define | UTCR3_Ser2IrDA |
|
#define | UTCR4_HSE 0x00000001 /* Hewlett-Packard Serial InfraRed */ |
|
#define | UTCR4_NRZ (UTCR4_HSE*0) /* Non-Return to Zero modulation */ |
|
#define | UTCR4_HPSIR (UTCR4_HSE*1) /* HP-SIR modulation */ |
|
#define | UTCR4_LPM 0x00000002 /* Low-Power Mode */ |
|
#define | UTCR4_Z3_16Bit (UTCR4_LPM*0) /* Zero pulse = 3/16 Bit time */ |
|
#define | UTCR4_Z1_6us (UTCR4_LPM*1) /* Zero pulse = 1.6 us */ |
|
#define | UTDR_DATA Fld (8, 0) /* receive/transmit DATA FIFOs */ |
|
#define | UTSR0_TFS 0x00000001 /* Transmit FIFO 1/2-full or less */ |
|
#define | UTSR0_RFS 0x00000002 /* Receive FIFO 1/3-to-2/3-full or */ |
|
#define | UTSR0_RID 0x00000004 /* Receiver IDle */ |
|
#define | UTSR0_RBB 0x00000008 /* Receive Beginning of Break */ |
|
#define | UTSR0_REB 0x00000010 /* Receive End of Break */ |
|
#define | UTSR0_EIF 0x00000020 /* Error In FIFO (read) */ |
|
#define | UTSR1_TBY 0x00000001 /* Transmitter BusY (read) */ |
|
#define | UTSR1_RNE 0x00000002 /* Receive FIFO Not Empty (read) */ |
|
#define | UTSR1_TNF 0x00000004 /* Transmit FIFO Not Full (read) */ |
|
#define | UTSR1_PRE 0x00000008 /* receive PaRity Error (read) */ |
|
#define | UTSR1_FRE 0x00000010 /* receive FRaming Error (read) */ |
|
#define | UTSR1_ROR 0x00000020 /* Receive FIFO Over-Run (read) */ |
|
#define | Ser1SDCR0 __REG(0x80020060) /* Ser. port 1 SDLC Control Reg. 0 */ |
|
#define | Ser1SDCR1 __REG(0x80020064) /* Ser. port 1 SDLC Control Reg. 1 */ |
|
#define | Ser1SDCR2 __REG(0x80020068) /* Ser. port 1 SDLC Control Reg. 2 */ |
|
#define | Ser1SDCR3 __REG(0x8002006C) /* Ser. port 1 SDLC Control Reg. 3 */ |
|
#define | Ser1SDCR4 __REG(0x80020070) /* Ser. port 1 SDLC Control Reg. 4 */ |
|
#define | Ser1SDDR __REG(0x80020078) /* Ser. port 1 SDLC Data Reg. */ |
|
#define | Ser1SDSR0 __REG(0x80020080) /* Ser. port 1 SDLC Status Reg. 0 */ |
|
#define | Ser1SDSR1 __REG(0x80020084) /* Ser. port 1 SDLC Status Reg. 1 */ |
|
#define | SDCR0_SUS 0x00000001 /* SDLC/UART Select */ |
|
#define | SDCR0_SDLC (SDCR0_SUS*0) /* SDLC mode (TXD1 & RXD1) */ |
|
#define | SDCR0_UART (SDCR0_SUS*1) /* UART mode (TXD1 & RXD1) */ |
|
#define | SDCR0_SDF 0x00000002 /* Single/Double start Flag select */ |
|
#define | SDCR0_SglFlg (SDCR0_SDF*0) /* Single start Flag */ |
|
#define | SDCR0_DblFlg (SDCR0_SDF*1) /* Double start Flag */ |
|
#define | SDCR0_LBM 0x00000004 /* Look-Back Mode */ |
|
#define | SDCR0_BMS 0x00000008 /* Bit Modulation Select */ |
|
#define | SDCR0_FM0 (SDCR0_BMS*0) /* Freq. Modulation zero (0) */ |
|
#define | SDCR0_NRZ (SDCR0_BMS*1) /* Non-Return to Zero modulation */ |
|
#define | SDCR0_SCE 0x00000010 /* Sample Clock Enable (GPIO [16]) */ |
|
#define | SDCR0_SCD 0x00000020 /* Sample Clock Direction select */ |
|
#define | SDCR0_SClkIn (SDCR0_SCD*0) /* Sample Clock Input */ |
|
#define | SDCR0_SClkOut (SDCR0_SCD*1) /* Sample Clock Output */ |
|
#define | SDCR0_RCE 0x00000040 /* Receive Clock Edge select */ |
|
#define | SDCR0_RcRsEdg (SDCR0_RCE*0) /* Receive clock Rising-Edge */ |
|
#define | SDCR0_RcFlEdg (SDCR0_RCE*1) /* Receive clock Falling-Edge */ |
|
#define | SDCR0_TCE 0x00000080 /* Transmit Clock Edge select */ |
|
#define | SDCR0_TrRsEdg (SDCR0_TCE*0) /* Transmit clock Rising-Edge */ |
|
#define | SDCR0_TrFlEdg (SDCR0_TCE*1) /* Transmit clock Falling-Edge */ |
|
#define | SDCR1_AAF 0x00000001 /* Abort After Frame enable */ |
|
#define | SDCR1_TXE 0x00000002 /* Transmit Enable */ |
|
#define | SDCR1_RXE 0x00000004 /* Receive Enable */ |
|
#define | SDCR1_RIE 0x00000008 /* Receive FIFO 1/3-to-2/3-full or */ |
|
#define | SDCR1_TIE 0x00000010 /* Transmit FIFO 1/2-full or less */ |
|
#define | SDCR1_AME 0x00000020 /* Address Match Enable */ |
|
#define | SDCR1_TUS 0x00000040 /* Transmit FIFO Under-run Select */ |
|
#define | SDCR1_EFrmURn (SDCR1_TUS*0) /* End Frame on Under-Run */ |
|
#define | SDCR1_AbortURn (SDCR1_TUS*1) /* Abort on Under-Run */ |
|
#define | SDCR1_RAE 0x00000080 /* Receive Abort interrupt Enable */ |
|
#define | SDCR2_AMV Fld (8, 0) /* Address Match Value */ |
|
#define | SDCR3_BRD Fld (4, 0) /* Baud Rate Divisor/16 - 1 [11:8] */ |
|
#define | SDCR4_BRD Fld (8, 0) /* Baud Rate Divisor/16 - 1 [7:0] */ |
|
#define | SDCR3_BdRtDiv(Div) |
|
#define | SDCR4_BdRtDiv(Div) |
|
#define | SDCR3_CeilBdRtDiv(Div) |
|
#define | SDCR4_CeilBdRtDiv(Div) |
|
#define | SDDR_DATA Fld (8, 0) /* receive/transmit DATA FIFOs */ |
|
#define | SDSR0_EIF 0x00000001 /* Error In FIFO (read) */ |
|
#define | SDSR0_TUR 0x00000002 /* Transmit FIFO Under-Run */ |
|
#define | SDSR0_RAB 0x00000004 /* Receive ABort */ |
|
#define | SDSR0_TFS 0x00000008 /* Transmit FIFO 1/2-full or less */ |
|
#define | SDSR0_RFS 0x00000010 /* Receive FIFO 1/3-to-2/3-full or */ |
|
#define | SDSR1_RSY 0x00000001 /* Receiver SYnchronized (read) */ |
|
#define | SDSR1_TBY 0x00000002 /* Transmitter BusY (read) */ |
|
#define | SDSR1_RNE 0x00000004 /* Receive FIFO Not Empty (read) */ |
|
#define | SDSR1_TNF 0x00000008 /* Transmit FIFO Not Full (read) */ |
|
#define | SDSR1_RTD 0x00000010 /* Receive Transition Detected */ |
|
#define | SDSR1_EOF 0x00000020 /* receive End-Of-Frame (read) */ |
|
#define | SDSR1_CRE 0x00000040 /* receive CRC Error (read) */ |
|
#define | SDSR1_ROR 0x00000080 /* Receive FIFO Over-Run (read) */ |
|
#define | Ser2HSCR0 __REG(0x80040060) /* Ser. port 2 HSSP Control Reg. 0 */ |
|
#define | Ser2HSCR1 __REG(0x80040064) /* Ser. port 2 HSSP Control Reg. 1 */ |
|
#define | Ser2HSDR __REG(0x8004006C) /* Ser. port 2 HSSP Data Reg. */ |
|
#define | Ser2HSSR0 __REG(0x80040074) /* Ser. port 2 HSSP Status Reg. 0 */ |
|
#define | Ser2HSSR1 __REG(0x80040078) /* Ser. port 2 HSSP Status Reg. 1 */ |
|
#define | Ser2HSCR2 __REG(0x90060028) /* Ser. port 2 HSSP Control Reg. 2 */ |
|
#define | HSCR0_ITR 0x00000001 /* IrDA Transmission Rate */ |
|
#define | HSCR0_UART (HSCR0_ITR*0) /* UART mode (115.2 kb/s if IrDA) */ |
|
#define | HSCR0_HSSP (HSCR0_ITR*1) /* HSSP mode (4 Mb/s) */ |
|
#define | HSCR0_LBM 0x00000002 /* Look-Back Mode */ |
|
#define | HSCR0_TUS 0x00000004 /* Transmit FIFO Under-run Select */ |
|
#define | HSCR0_EFrmURn (HSCR0_TUS*0) /* End Frame on Under-Run */ |
|
#define | HSCR0_AbortURn (HSCR0_TUS*1) /* Abort on Under-Run */ |
|
#define | HSCR0_TXE 0x00000008 /* Transmit Enable */ |
|
#define | HSCR0_RXE 0x00000010 /* Receive Enable */ |
|
#define | HSCR0_RIE 0x00000020 /* Receive FIFO 2/5-to-3/5-full or */ |
|
#define | HSCR0_TIE 0x00000040 /* Transmit FIFO 1/2-full or less */ |
|
#define | HSCR0_AME 0x00000080 /* Address Match Enable */ |
|
#define | HSCR1_AMV Fld (8, 0) /* Address Match Value */ |
|
#define | HSDR_DATA Fld (8, 0) /* receive/transmit DATA FIFOs */ |
|
#define | HSSR0_EIF 0x00000001 /* Error In FIFO (read) */ |
|
#define | HSSR0_TUR 0x00000002 /* Transmit FIFO Under-Run */ |
|
#define | HSSR0_RAB 0x00000004 /* Receive ABort */ |
|
#define | HSSR0_TFS 0x00000008 /* Transmit FIFO 1/2-full or less */ |
|
#define | HSSR0_RFS 0x00000010 /* Receive FIFO 2/5-to-3/5-full or */ |
|
#define | HSSR0_FRE 0x00000020 /* receive FRaming Error */ |
|
#define | HSSR1_RSY 0x00000001 /* Receiver SYnchronized (read) */ |
|
#define | HSSR1_TBY 0x00000002 /* Transmitter BusY (read) */ |
|
#define | HSSR1_RNE 0x00000004 /* Receive FIFO Not Empty (read) */ |
|
#define | HSSR1_TNF 0x00000008 /* Transmit FIFO Not Full (read) */ |
|
#define | HSSR1_EOF 0x00000010 /* receive End-Of-Frame (read) */ |
|
#define | HSSR1_CRE 0x00000020 /* receive CRC Error (read) */ |
|
#define | HSSR1_ROR 0x00000040 /* Receive FIFO Over-Run (read) */ |
|
#define | HSCR2_TXP 0x00040000 /* Transmit data Polarity (TXD_2) */ |
|
#define | HSCR2_TrDataL (HSCR2_TXP*0) /* Transmit Data active Low */ |
|
#define | HSCR2_TrDataH (HSCR2_TXP*1) /* Transmit Data active High */ |
|
#define | HSCR2_RXP 0x00080000 /* Receive data Polarity (RXD_2) */ |
|
#define | HSCR2_RcDataL (HSCR2_RXP*0) /* Receive Data active Low */ |
|
#define | HSCR2_RcDataH (HSCR2_RXP*1) /* Receive Data active High */ |
|
#define | Ser4MCCR0 __REG(0x80060000) /* Ser. port 4 MCP Control Reg. 0 */ |
|
#define | Ser4MCDR0 __REG(0x80060008) /* Ser. port 4 MCP Data Reg. 0 (audio) */ |
|
#define | Ser4MCDR1 __REG(0x8006000C) /* Ser. port 4 MCP Data Reg. 1 (telecom) */ |
|
#define | Ser4MCDR2 __REG(0x80060010) /* Ser. port 4 MCP Data Reg. 2 (CODEC reg.) */ |
|
#define | Ser4MCSR __REG(0x80060018) /* Ser. port 4 MCP Status Reg. */ |
|
#define | Ser4MCCR1 __REG(0x90060030) /* Ser. port 4 MCP Control Reg. 1 */ |
|
#define | MCCR0_ASD Fld (7, 0) /* Audio Sampling rate Divisor/32 */ |
|
#define | MCCR0_AudSmpDiv(Div) |
|
#define | MCCR0_CeilAudSmpDiv(Div) |
|
#define | MCCR0_TSD Fld (7, 8) /* Telecom Sampling rate */ |
|
#define | MCCR0_TcmSmpDiv(Div) |
|
#define | MCCR0_CeilTcmSmpDiv(Div) |
|
#define | MCCR0_MCE 0x00010000 /* MCP Enable */ |
|
#define | MCCR0_ECS 0x00020000 /* External Clock Select */ |
|
#define | MCCR0_IntClk (MCCR0_ECS*0) /* Internal Clock (10 or 12 MHz) */ |
|
#define | MCCR0_ExtClk (MCCR0_ECS*1) /* External Clock (GPIO [21]) */ |
|
#define | MCCR0_ADM 0x00040000 /* A/D (audio/telecom) data */ |
|
#define | MCCR0_VldBit (MCCR0_ADM*0) /* Valid Bit storing mode */ |
|
#define | MCCR0_SmpCnt (MCCR0_ADM*1) /* Sampling Counter storing mode */ |
|
#define | MCCR0_TTE 0x00080000 /* Telecom Transmit FIFO 1/2-full */ |
|
#define | MCCR0_TRE 0x00100000 /* Telecom Receive FIFO 1/2-full */ |
|
#define | MCCR0_ATE 0x00200000 /* Audio Transmit FIFO 1/2-full */ |
|
#define | MCCR0_ARE 0x00400000 /* Audio Receive FIFO 1/2-full or */ |
|
#define | MCCR0_LBM 0x00800000 /* Look-Back Mode */ |
|
#define | MCCR0_ECP Fld (2, 24) /* External Clock Prescaler - 1 */ |
|
#define | MCCR0_ExtClkDiv(Div) |
|
#define | MCDR0_DATA Fld (12, 4) /* receive/transmit audio DATA */ |
|
#define | MCDR1_DATA Fld (14, 2) /* receive/transmit telecom DATA */ |
|
#define | MCDR2_DATA Fld (16, 0) /* reg. DATA */ |
|
#define | MCDR2_RW 0x00010000 /* reg. Read/Write (transmit) */ |
|
#define | MCDR2_Rd (MCDR2_RW*0) /* reg. Read */ |
|
#define | MCDR2_Wr (MCDR2_RW*1) /* reg. Write */ |
|
#define | MCDR2_ADD Fld (4, 17) /* reg. ADDress */ |
|
#define | MCSR_ATS 0x00000001 /* Audio Transmit FIFO 1/2-full */ |
|
#define | MCSR_ARS 0x00000002 /* Audio Receive FIFO 1/2-full or */ |
|
#define | MCSR_TTS 0x00000004 /* Telecom Transmit FIFO 1/2-full */ |
|
#define | MCSR_TRS 0x00000008 /* Telecom Receive FIFO 1/2-full */ |
|
#define | MCSR_ATU 0x00000010 /* Audio Transmit FIFO Under-run */ |
|
#define | MCSR_ARO 0x00000020 /* Audio Receive FIFO Over-run */ |
|
#define | MCSR_TTU 0x00000040 /* Telecom Transmit FIFO Under-run */ |
|
#define | MCSR_TRO 0x00000080 /* Telecom Receive FIFO Over-run */ |
|
#define | MCSR_ANF 0x00000100 /* Audio transmit FIFO Not Full */ |
|
#define | MCSR_ANE 0x00000200 /* Audio receive FIFO Not Empty */ |
|
#define | MCSR_TNF 0x00000400 /* Telecom transmit FIFO Not Full */ |
|
#define | MCSR_TNE 0x00000800 /* Telecom receive FIFO Not Empty */ |
|
#define | MCSR_CWC 0x00001000 /* CODEC register Write Completed */ |
|
#define | MCSR_CRC 0x00002000 /* CODEC register Read Completed */ |
|
#define | MCSR_ACE 0x00004000 /* Audio CODEC Enabled (read) */ |
|
#define | MCSR_TCE 0x00008000 /* Telecom CODEC Enabled (read) */ |
|
#define | MCCR1_CFS 0x00100000 /* Clock Freq. Select */ |
|
#define | MCCR1_F12MHz (MCCR1_CFS*0) /* Freq. (fmc) = ~ 12 MHz */ |
|
#define | MCCR1_F10MHz (MCCR1_CFS*1) /* Freq. (fmc) = ~ 10 MHz */ |
|
#define | Ser4SSCR0 __REG(0x80070060) /* Ser. port 4 SSP Control Reg. 0 */ |
|
#define | Ser4SSCR1 __REG(0x80070064) /* Ser. port 4 SSP Control Reg. 1 */ |
|
#define | Ser4SSDR __REG(0x8007006C) /* Ser. port 4 SSP Data Reg. */ |
|
#define | Ser4SSSR __REG(0x80070074) /* Ser. port 4 SSP Status Reg. */ |
|
#define | SSCR0_DSS Fld (4, 0) /* Data Size - 1 Select [3..15] */ |
|
#define | SSCR0_DataSize(Size) |
|
#define | SSCR0_FRF Fld (2, 4) /* FRame Format */ |
|
#define | SSCR0_Motorola |
|
#define | SSCR0_TI |
|
#define | SSCR0_National |
|
#define | SSCR0_SSE 0x00000080 /* SSP Enable */ |
|
#define | SSCR0_SCR Fld (8, 8) /* Serial Clock Rate divisor/2 - 1 */ |
|
#define | SSCR0_SerClkDiv(Div) |
|
#define | SSCR0_CeilSerClkDiv(Div) |
|
#define | SSCR1_RIE 0x00000001 /* Receive FIFO 1/2-full or more */ |
|
#define | SSCR1_TIE 0x00000002 /* Transmit FIFO 1/2-full or less */ |
|
#define | SSCR1_LBM 0x00000004 /* Look-Back Mode */ |
|
#define | SSCR1_SPO 0x00000008 /* Sample clock (SCLK) POlarity */ |
|
#define | SSCR1_SClkIactL (SSCR1_SPO*0) /* Sample Clock Inactive Low */ |
|
#define | SSCR1_SClkIactH (SSCR1_SPO*1) /* Sample Clock Inactive High */ |
|
#define | SSCR1_SP 0x00000010 /* Sample clock (SCLK) Phase */ |
|
#define | SSCR1_SClk1P (SSCR1_SP*0) /* Sample Clock active 1 Period */ |
|
#define | SSCR1_SClk1_2P (SSCR1_SP*1) /* Sample Clock active 1/2 Period */ |
|
#define | SSCR1_ECS 0x00000020 /* External Clock Select */ |
|
#define | SSCR1_IntClk (SSCR1_ECS*0) /* Internal Clock */ |
|
#define | SSCR1_ExtClk (SSCR1_ECS*1) /* External Clock (GPIO [19]) */ |
|
#define | SSDR_DATA Fld (16, 0) /* receive/transmit DATA FIFOs */ |
|
#define | SSSR_TNF 0x00000002 /* Transmit FIFO Not Full (read) */ |
|
#define | SSSR_RNE 0x00000004 /* Receive FIFO Not Empty (read) */ |
|
#define | SSSR_BSY 0x00000008 /* SSP BuSY (read) */ |
|
#define | SSSR_TFS 0x00000010 /* Transmit FIFO 1/2-full or less */ |
|
#define | SSSR_RFS 0x00000020 /* Receive FIFO 1/2-full or more */ |
|
#define | SSSR_ROR 0x00000040 /* Receive FIFO Over-Run */ |
|
#define | OSMR0 io_p2v(0x90000000) /* OS timer Match Reg. 0 */ |
|
#define | OSMR1 io_p2v(0x90000004) /* OS timer Match Reg. 1 */ |
|
#define | OSMR2 io_p2v(0x90000008) /* OS timer Match Reg. 2 */ |
|
#define | OSMR3 io_p2v(0x9000000c) /* OS timer Match Reg. 3 */ |
|
#define | OSCR io_p2v(0x90000010) /* OS timer Counter Reg. */ |
|
#define | OSSR io_p2v(0x90000014) /* OS timer Status Reg. */ |
|
#define | OWER io_p2v(0x90000018) /* OS timer Watch-dog Enable Reg. */ |
|
#define | OIER io_p2v(0x9000001C) /* OS timer Interrupt Enable Reg. */ |
|
#define | OSSR_M(Nb) |
|
#define | OSSR_M0 OSSR_M (0) /* Match detected 0 */ |
|
#define | OSSR_M1 OSSR_M (1) /* Match detected 1 */ |
|
#define | OSSR_M2 OSSR_M (2) /* Match detected 2 */ |
|
#define | OSSR_M3 OSSR_M (3) /* Match detected 3 */ |
|
#define | OWER_WME 0x00000001 /* Watch-dog Match Enable */ |
|
#define | OIER_E(Nb) |
|
#define | OIER_E0 OIER_E (0) /* match interrupt Enable 0 */ |
|
#define | OIER_E1 OIER_E (1) /* match interrupt Enable 1 */ |
|
#define | OIER_E2 OIER_E (2) /* match interrupt Enable 2 */ |
|
#define | OIER_E3 OIER_E (3) /* match interrupt Enable 3 */ |
|
#define | RTAR __REG(0x90010000) /* RTC Alarm Reg. */ |
|
#define | RCNR __REG(0x90010004) /* RTC CouNt Reg. */ |
|
#define | RTTR __REG(0x90010008) /* RTC Trim Reg. */ |
|
#define | RTSR __REG(0x90010010) /* RTC Status Reg. */ |
|
#define | RTTR_C Fld (16, 0) /* clock divider Count - 1 */ |
|
#define | RTTR_D Fld (10, 16) /* trim Delete count */ |
|
#define | RTSR_AL 0x00000001 /* ALarm detected */ |
|
#define | RTSR_HZ 0x00000002 /* 1 Hz clock detected */ |
|
#define | RTSR_ALE 0x00000004 /* ALarm interrupt Enable */ |
|
#define | RTSR_HZE 0x00000008 /* 1 Hz clock interrupt Enable */ |
|
#define | PMCR __REG(0x90020000) /* PM Control Reg. */ |
|
#define | PSSR __REG(0x90020004) /* PM Sleep Status Reg. */ |
|
#define | PSPR __REG(0x90020008) /* PM Scratch-Pad Reg. */ |
|
#define | PWER __REG(0x9002000C) /* PM Wake-up Enable Reg. */ |
|
#define | PCFR __REG(0x90020010) /* PM general ConFiguration Reg. */ |
|
#define | PPCR __REG(0x90020014) /* PM PLL Configuration Reg. */ |
|
#define | PGSR __REG(0x90020018) /* PM GPIO Sleep state Reg. */ |
|
#define | POSR __REG(0x9002001C) /* PM Oscillator Status Reg. */ |
|
#define | PMCR_SF 0x00000001 /* Sleep Force (set only) */ |
|
#define | PSSR_SS 0x00000001 /* Software Sleep */ |
|
#define | PSSR_BFS 0x00000002 /* Battery Fault Status */ |
|
#define | PSSR_VFS 0x00000004 /* Vdd Fault Status (VDD_FAULT) */ |
|
#define | PSSR_DH 0x00000008 /* DRAM control Hold */ |
|
#define | PSSR_PH 0x00000010 /* Peripheral control Hold */ |
|
#define | PWER_GPIO(Nb) GPIO_GPIO (Nb) /* GPIO [0..27] wake-up enable */ |
|
#define | PWER_GPIO0 PWER_GPIO (0) /* GPIO [0] wake-up enable */ |
|
#define | PWER_GPIO1 PWER_GPIO (1) /* GPIO [1] wake-up enable */ |
|
#define | PWER_GPIO2 PWER_GPIO (2) /* GPIO [2] wake-up enable */ |
|
#define | PWER_GPIO3 PWER_GPIO (3) /* GPIO [3] wake-up enable */ |
|
#define | PWER_GPIO4 PWER_GPIO (4) /* GPIO [4] wake-up enable */ |
|
#define | PWER_GPIO5 PWER_GPIO (5) /* GPIO [5] wake-up enable */ |
|
#define | PWER_GPIO6 PWER_GPIO (6) /* GPIO [6] wake-up enable */ |
|
#define | PWER_GPIO7 PWER_GPIO (7) /* GPIO [7] wake-up enable */ |
|
#define | PWER_GPIO8 PWER_GPIO (8) /* GPIO [8] wake-up enable */ |
|
#define | PWER_GPIO9 PWER_GPIO (9) /* GPIO [9] wake-up enable */ |
|
#define | PWER_GPIO10 PWER_GPIO (10) /* GPIO [10] wake-up enable */ |
|
#define | PWER_GPIO11 PWER_GPIO (11) /* GPIO [11] wake-up enable */ |
|
#define | PWER_GPIO12 PWER_GPIO (12) /* GPIO [12] wake-up enable */ |
|
#define | PWER_GPIO13 PWER_GPIO (13) /* GPIO [13] wake-up enable */ |
|
#define | PWER_GPIO14 PWER_GPIO (14) /* GPIO [14] wake-up enable */ |
|
#define | PWER_GPIO15 PWER_GPIO (15) /* GPIO [15] wake-up enable */ |
|
#define | PWER_GPIO16 PWER_GPIO (16) /* GPIO [16] wake-up enable */ |
|
#define | PWER_GPIO17 PWER_GPIO (17) /* GPIO [17] wake-up enable */ |
|
#define | PWER_GPIO18 PWER_GPIO (18) /* GPIO [18] wake-up enable */ |
|
#define | PWER_GPIO19 PWER_GPIO (19) /* GPIO [19] wake-up enable */ |
|
#define | PWER_GPIO20 PWER_GPIO (20) /* GPIO [20] wake-up enable */ |
|
#define | PWER_GPIO21 PWER_GPIO (21) /* GPIO [21] wake-up enable */ |
|
#define | PWER_GPIO22 PWER_GPIO (22) /* GPIO [22] wake-up enable */ |
|
#define | PWER_GPIO23 PWER_GPIO (23) /* GPIO [23] wake-up enable */ |
|
#define | PWER_GPIO24 PWER_GPIO (24) /* GPIO [24] wake-up enable */ |
|
#define | PWER_GPIO25 PWER_GPIO (25) /* GPIO [25] wake-up enable */ |
|
#define | PWER_GPIO26 PWER_GPIO (26) /* GPIO [26] wake-up enable */ |
|
#define | PWER_GPIO27 PWER_GPIO (27) /* GPIO [27] wake-up enable */ |
|
#define | PWER_RTC 0x80000000 /* RTC alarm wake-up enable */ |
|
#define | PCFR_OPDE 0x00000001 /* Oscillator Power-Down Enable */ |
|
#define | PCFR_ClkRun (PCFR_OPDE*0) /* Clock Running in sleep mode */ |
|
#define | PCFR_ClkStp (PCFR_OPDE*1) /* Clock Stopped in sleep mode */ |
|
#define | PCFR_FP 0x00000002 /* Float PCMCIA pins */ |
|
#define | PCFR_PCMCIANeg (PCFR_FP*0) /* PCMCIA pins Negated (1) */ |
|
#define | PCFR_PCMCIAFlt (PCFR_FP*1) /* PCMCIA pins Floating */ |
|
#define | PCFR_FS 0x00000004 /* Float Static memory pins */ |
|
#define | PCFR_StMemNeg (PCFR_FS*0) /* Static Memory pins Negated (1) */ |
|
#define | PCFR_StMemFlt (PCFR_FS*1) /* Static Memory pins Floating */ |
|
#define | PCFR_FO 0x00000008 /* Force RTC oscillator */ |
|
#define | PPCR_CCF Fld (5, 0) /* CPU core Clock (CCLK) Freq. */ |
|
#define | PPCR_Fx16 |
|
#define | PPCR_Fx20 |
|
#define | PPCR_Fx24 |
|
#define | PPCR_Fx28 |
|
#define | PPCR_Fx32 |
|
#define | PPCR_Fx36 |
|
#define | PPCR_Fx40 |
|
#define | PPCR_Fx44 |
|
#define | PPCR_Fx48 |
|
#define | PPCR_Fx52 |
|
#define | PPCR_Fx56 |
|
#define | PPCR_Fx60 |
|
#define | PPCR_Fx64 |
|
#define | PPCR_Fx68 |
|
#define | PPCR_Fx72 |
|
#define | PPCR_Fx76 |
|
#define | PPCR_F59_0MHz PPCR_Fx16 /* Freq. (fcpu) = 59.0 MHz */ |
|
#define | PPCR_F73_7MHz PPCR_Fx20 /* Freq. (fcpu) = 73.7 MHz */ |
|
#define | PPCR_F88_5MHz PPCR_Fx24 /* Freq. (fcpu) = 88.5 MHz */ |
|
#define | PPCR_F103_2MHz PPCR_Fx28 /* Freq. (fcpu) = 103.2 MHz */ |
|
#define | PPCR_F118_0MHz PPCR_Fx32 /* Freq. (fcpu) = 118.0 MHz */ |
|
#define | PPCR_F132_7MHz PPCR_Fx36 /* Freq. (fcpu) = 132.7 MHz */ |
|
#define | PPCR_F147_5MHz PPCR_Fx40 /* Freq. (fcpu) = 147.5 MHz */ |
|
#define | PPCR_F162_2MHz PPCR_Fx44 /* Freq. (fcpu) = 162.2 MHz */ |
|
#define | PPCR_F176_9MHz PPCR_Fx48 /* Freq. (fcpu) = 176.9 MHz */ |
|
#define | PPCR_F191_7MHz PPCR_Fx52 /* Freq. (fcpu) = 191.7 MHz */ |
|
#define | PPCR_F206_4MHz PPCR_Fx56 /* Freq. (fcpu) = 206.4 MHz */ |
|
#define | PPCR_F221_2MHz PPCR_Fx60 /* Freq. (fcpu) = 221.2 MHz */ |
|
#define | PPCR_F239_6MHz PPCR_Fx64 /* Freq. (fcpu) = 239.6 MHz */ |
|
#define | PPCR_F250_7MHz PPCR_Fx68 /* Freq. (fcpu) = 250.7 MHz */ |
|
#define | PPCR_F265_4MHz PPCR_Fx72 /* Freq. (fcpu) = 265.4 MHz */ |
|
#define | PPCR_F280_2MHz PPCR_Fx76 /* Freq. (fcpu) = 280.2 MHz */ |
|
#define | PPCR_F57_3MHz PPCR_Fx16 /* Freq. (fcpu) = 57.3 MHz */ |
|
#define | PPCR_F71_6MHz PPCR_Fx20 /* Freq. (fcpu) = 71.6 MHz */ |
|
#define | PPCR_F85_9MHz PPCR_Fx24 /* Freq. (fcpu) = 85.9 MHz */ |
|
#define | PPCR_F100_2MHz PPCR_Fx28 /* Freq. (fcpu) = 100.2 MHz */ |
|
#define | PPCR_F114_5MHz PPCR_Fx32 /* Freq. (fcpu) = 114.5 MHz */ |
|
#define | PPCR_F128_9MHz PPCR_Fx36 /* Freq. (fcpu) = 128.9 MHz */ |
|
#define | PPCR_F143_2MHz PPCR_Fx40 /* Freq. (fcpu) = 143.2 MHz */ |
|
#define | PPCR_F157_5MHz PPCR_Fx44 /* Freq. (fcpu) = 157.5 MHz */ |
|
#define | PPCR_F171_8MHz PPCR_Fx48 /* Freq. (fcpu) = 171.8 MHz */ |
|
#define | PPCR_F186_1MHz PPCR_Fx52 /* Freq. (fcpu) = 186.1 MHz */ |
|
#define | PPCR_F200_5MHz PPCR_Fx56 /* Freq. (fcpu) = 200.5 MHz */ |
|
#define | PPCR_F214_8MHz PPCR_Fx60 /* Freq. (fcpu) = 214.8 MHz */ |
|
#define | PPCR_F229_1MHz PPCR_Fx64 /* Freq. (fcpu) = 229.1 MHz */ |
|
#define | PPCR_F243_4MHz PPCR_Fx68 /* Freq. (fcpu) = 243.4 MHz */ |
|
#define | PPCR_F257_7MHz PPCR_Fx72 /* Freq. (fcpu) = 257.7 MHz */ |
|
#define | PPCR_F272_0MHz PPCR_Fx76 /* Freq. (fcpu) = 272.0 MHz */ |
|
#define | POSR_OOK 0x00000001 /* RTC Oscillator (32.768 kHz) OK */ |
|
#define | RSRR __REG(0x90030000) /* RC Software Reset Reg. */ |
|
#define | RCSR __REG(0x90030004) /* RC Status Reg. */ |
|
#define | RSRR_SWR 0x00000001 /* SoftWare Reset (set only) */ |
|
#define | RCSR_HWR 0x00000001 /* HardWare Reset */ |
|
#define | RCSR_SWR 0x00000002 /* SoftWare Reset */ |
|
#define | RCSR_WDR 0x00000004 /* Watch-Dog Reset */ |
|
#define | RCSR_SMR 0x00000008 /* Sleep-Mode Reset */ |
|
#define | TUCR __REG(0x90030008) /* Test Unit Control Reg. */ |
|
#define | TUCR_TIC 0x00000040 /* TIC mode */ |
|
#define | TUCR_TTST 0x00000080 /* Trim TeST mode */ |
|
#define | TUCR_RCRC 0x00000100 /* Richard's Cyclic Redundancy */ |
|
#define | TUCR_PMD 0x00000200 /* Power Management Disable */ |
|
#define | TUCR_MR 0x00000400 /* Memory Request mode */ |
|
#define | TUCR_NoMB (TUCR_MR*0) /* No Memory Bus request & grant */ |
|
#define | TUCR_MBGPIO (TUCR_MR*1) /* Memory Bus request (MBREQ) & */ |
|
#define | TUCR_CTB Fld (3, 20) /* Clock Test Bits */ |
|
#define | TUCR_FDC 0x00800000 /* RTC Force Delete Count */ |
|
#define | TUCR_FMC 0x01000000 /* Force Michelle's Control mode */ |
|
#define | TUCR_TMC 0x02000000 /* RTC Trimmer Multiplexer Control */ |
|
#define | TUCR_DPS 0x04000000 /* Disallow Pad Sleep */ |
|
#define | TUCR_TSEL Fld (3, 29) /* clock Test SELect on GPIO [27] */ |
|
#define | TUCR_32_768kHz |
|
#define | TUCR_3_6864MHz |
|
#define | TUCR_VDD |
|
#define | TUCR_96MHzPLL |
|
#define | TUCR_Clock |
|
#define | TUCR_3_6864MHzA |
|
#define | TUCR_MainPLL |
|
#define | TUCR_VDDL |
|
#define | GPLR __REG(0x90040000) /* GPIO Pin Level Reg. */ |
|
#define | GPDR __REG(0x90040004) /* GPIO Pin Direction Reg. */ |
|
#define | GPSR __REG(0x90040008) /* GPIO Pin output Set Reg. */ |
|
#define | GPCR __REG(0x9004000C) /* GPIO Pin output Clear Reg. */ |
|
#define | GRER __REG(0x90040010) /* GPIO Rising-Edge detect Reg. */ |
|
#define | GFER __REG(0x90040014) /* GPIO Falling-Edge detect Reg. */ |
|
#define | GEDR __REG(0x90040018) /* GPIO Edge Detect status Reg. */ |
|
#define | GAFR __REG(0x9004001C) /* GPIO Alternate Function Reg. */ |
|
#define | GPIO_MIN (0) |
|
#define | GPIO_MAX (27) |
|
#define | GPIO_GPIO(Nb) |
|
#define | GPIO_GPIO0 GPIO_GPIO (0) /* GPIO [0] */ |
|
#define | GPIO_GPIO1 GPIO_GPIO (1) /* GPIO [1] */ |
|
#define | GPIO_GPIO2 GPIO_GPIO (2) /* GPIO [2] */ |
|
#define | GPIO_GPIO3 GPIO_GPIO (3) /* GPIO [3] */ |
|
#define | GPIO_GPIO4 GPIO_GPIO (4) /* GPIO [4] */ |
|
#define | GPIO_GPIO5 GPIO_GPIO (5) /* GPIO [5] */ |
|
#define | GPIO_GPIO6 GPIO_GPIO (6) /* GPIO [6] */ |
|
#define | GPIO_GPIO7 GPIO_GPIO (7) /* GPIO [7] */ |
|
#define | GPIO_GPIO8 GPIO_GPIO (8) /* GPIO [8] */ |
|
#define | GPIO_GPIO9 GPIO_GPIO (9) /* GPIO [9] */ |
|
#define | GPIO_GPIO10 GPIO_GPIO (10) /* GPIO [10] */ |
|
#define | GPIO_GPIO11 GPIO_GPIO (11) /* GPIO [11] */ |
|
#define | GPIO_GPIO12 GPIO_GPIO (12) /* GPIO [12] */ |
|
#define | GPIO_GPIO13 GPIO_GPIO (13) /* GPIO [13] */ |
|
#define | GPIO_GPIO14 GPIO_GPIO (14) /* GPIO [14] */ |
|
#define | GPIO_GPIO15 GPIO_GPIO (15) /* GPIO [15] */ |
|
#define | GPIO_GPIO16 GPIO_GPIO (16) /* GPIO [16] */ |
|
#define | GPIO_GPIO17 GPIO_GPIO (17) /* GPIO [17] */ |
|
#define | GPIO_GPIO18 GPIO_GPIO (18) /* GPIO [18] */ |
|
#define | GPIO_GPIO19 GPIO_GPIO (19) /* GPIO [19] */ |
|
#define | GPIO_GPIO20 GPIO_GPIO (20) /* GPIO [20] */ |
|
#define | GPIO_GPIO21 GPIO_GPIO (21) /* GPIO [21] */ |
|
#define | GPIO_GPIO22 GPIO_GPIO (22) /* GPIO [22] */ |
|
#define | GPIO_GPIO23 GPIO_GPIO (23) /* GPIO [23] */ |
|
#define | GPIO_GPIO24 GPIO_GPIO (24) /* GPIO [24] */ |
|
#define | GPIO_GPIO25 GPIO_GPIO (25) /* GPIO [25] */ |
|
#define | GPIO_GPIO26 GPIO_GPIO (26) /* GPIO [26] */ |
|
#define | GPIO_GPIO27 GPIO_GPIO (27) /* GPIO [27] */ |
|
#define | GPIO_LDD(Nb) |
|
#define | GPIO_LDD8 GPIO_LDD (8) /* LCD Data [8] (O) */ |
|
#define | GPIO_LDD9 GPIO_LDD (9) /* LCD Data [9] (O) */ |
|
#define | GPIO_LDD10 GPIO_LDD (10) /* LCD Data [10] (O) */ |
|
#define | GPIO_LDD11 GPIO_LDD (11) /* LCD Data [11] (O) */ |
|
#define | GPIO_LDD12 GPIO_LDD (12) /* LCD Data [12] (O) */ |
|
#define | GPIO_LDD13 GPIO_LDD (13) /* LCD Data [13] (O) */ |
|
#define | GPIO_LDD14 GPIO_LDD (14) /* LCD Data [14] (O) */ |
|
#define | GPIO_LDD15 GPIO_LDD (15) /* LCD Data [15] (O) */ |
|
#define | GPIO_SSP_TXD GPIO_GPIO (10) /* SSP Transmit Data (O) */ |
|
#define | GPIO_SSP_RXD GPIO_GPIO (11) /* SSP Receive Data (I) */ |
|
#define | GPIO_SSP_SCLK GPIO_GPIO (12) /* SSP Sample CLocK (O) */ |
|
#define | GPIO_SSP_SFRM GPIO_GPIO (13) /* SSP Sample FRaMe (O) */ |
|
#define | GPIO_UART_TXD GPIO_GPIO (14) /* UART Transmit Data (O) */ |
|
#define | GPIO_UART_RXD GPIO_GPIO (15) /* UART Receive Data (I) */ |
|
#define | GPIO_SDLC_SCLK GPIO_GPIO (16) /* SDLC Sample CLocK (I/O) */ |
|
#define | GPIO_SDLC_AAF GPIO_GPIO (17) /* SDLC Abort After Frame (O) */ |
|
#define | GPIO_UART_SCLK1 GPIO_GPIO (18) /* UART Sample CLocK 1 (I) */ |
|
#define | GPIO_SSP_CLK GPIO_GPIO (19) /* SSP external CLocK (I) */ |
|
#define | GPIO_UART_SCLK3 GPIO_GPIO (20) /* UART Sample CLocK 3 (I) */ |
|
#define | GPIO_MCP_CLK GPIO_GPIO (21) /* MCP CLocK (I) */ |
|
#define | GPIO_TIC_ACK GPIO_GPIO (21) /* TIC ACKnowledge (O) */ |
|
#define | GPIO_MBGNT GPIO_GPIO (21) /* Memory Bus GraNT (O) */ |
|
#define | GPIO_TREQA GPIO_GPIO (22) /* TIC REQuest A (I) */ |
|
#define | GPIO_MBREQ GPIO_GPIO (22) /* Memory Bus REQuest (I) */ |
|
#define | GPIO_TREQB GPIO_GPIO (23) /* TIC REQuest B (I) */ |
|
#define | GPIO_1Hz GPIO_GPIO (25) /* 1 Hz clock (O) */ |
|
#define | GPIO_RCLK GPIO_GPIO (26) /* internal (R) CLocK (O, fcpu/2) */ |
|
#define | GPIO_32_768kHz GPIO_GPIO (27) /* 32.768 kHz clock (O, RTC) */ |
|
#define | GPDR_In 0 /* Input */ |
|
#define | GPDR_Out 1 /* Output */ |
|
#define | ICIP __REG(0x90050000) /* IC IRQ Pending reg. */ |
|
#define | ICMR __REG(0x90050004) /* IC Mask Reg. */ |
|
#define | ICLR __REG(0x90050008) /* IC Level Reg. */ |
|
#define | ICCR __REG(0x9005000C) /* IC Control Reg. */ |
|
#define | ICFP __REG(0x90050010) /* IC FIQ Pending reg. */ |
|
#define | ICPR __REG(0x90050020) /* IC Pending Reg. */ |
|
#define | IC_GPIO(Nb) |
|
#define | IC_GPIO0 IC_GPIO (0) /* GPIO [0] */ |
|
#define | IC_GPIO1 IC_GPIO (1) /* GPIO [1] */ |
|
#define | IC_GPIO2 IC_GPIO (2) /* GPIO [2] */ |
|
#define | IC_GPIO3 IC_GPIO (3) /* GPIO [3] */ |
|
#define | IC_GPIO4 IC_GPIO (4) /* GPIO [4] */ |
|
#define | IC_GPIO5 IC_GPIO (5) /* GPIO [5] */ |
|
#define | IC_GPIO6 IC_GPIO (6) /* GPIO [6] */ |
|
#define | IC_GPIO7 IC_GPIO (7) /* GPIO [7] */ |
|
#define | IC_GPIO8 IC_GPIO (8) /* GPIO [8] */ |
|
#define | IC_GPIO9 IC_GPIO (9) /* GPIO [9] */ |
|
#define | IC_GPIO10 IC_GPIO (10) /* GPIO [10] */ |
|
#define | IC_GPIO11_27 0x00000800 /* GPIO [11:27] (ORed) */ |
|
#define | IC_LCD 0x00001000 /* LCD controller */ |
|
#define | IC_Ser0UDC 0x00002000 /* Ser. port 0 UDC */ |
|
#define | IC_Ser1SDLC 0x00004000 /* Ser. port 1 SDLC */ |
|
#define | IC_Ser1UART 0x00008000 /* Ser. port 1 UART */ |
|
#define | IC_Ser2ICP 0x00010000 /* Ser. port 2 ICP */ |
|
#define | IC_Ser3UART 0x00020000 /* Ser. port 3 UART */ |
|
#define | IC_Ser4MCP 0x00040000 /* Ser. port 4 MCP */ |
|
#define | IC_Ser4SSP 0x00080000 /* Ser. port 4 SSP */ |
|
#define | IC_DMA(Nb) |
|
#define | IC_DMA0 IC_DMA (0) /* DMA controller channel 0 */ |
|
#define | IC_DMA1 IC_DMA (1) /* DMA controller channel 1 */ |
|
#define | IC_DMA2 IC_DMA (2) /* DMA controller channel 2 */ |
|
#define | IC_DMA3 IC_DMA (3) /* DMA controller channel 3 */ |
|
#define | IC_DMA4 IC_DMA (4) /* DMA controller channel 4 */ |
|
#define | IC_DMA5 IC_DMA (5) /* DMA controller channel 5 */ |
|
#define | IC_OST(Nb) |
|
#define | IC_OST0 IC_OST (0) /* OS Timer match 0 */ |
|
#define | IC_OST1 IC_OST (1) /* OS Timer match 1 */ |
|
#define | IC_OST2 IC_OST (2) /* OS Timer match 2 */ |
|
#define | IC_OST3 IC_OST (3) /* OS Timer match 3 */ |
|
#define | IC_RTC1Hz 0x40000000 /* RTC 1 Hz clock */ |
|
#define | IC_RTCAlrm 0x80000000 /* RTC Alarm */ |
|
#define | ICLR_IRQ 0 /* Interrupt ReQuest */ |
|
#define | ICLR_FIQ 1 /* Fast Interrupt reQuest */ |
|
#define | ICCR_DIM 0x00000001 /* Disable Idle-mode interrupt */ |
|
#define | ICCR_IdleAllInt (ICCR_DIM*0) /* Idle-mode All Interrupt enable */ |
|
#define | ICCR_IdleMskInt (ICCR_DIM*1) /* Idle-mode non-Masked Interrupt */ |
|
#define | PPDR __REG(0x90060000) /* PPC Pin Direction Reg. */ |
|
#define | PPSR __REG(0x90060004) /* PPC Pin State Reg. */ |
|
#define | PPAR __REG(0x90060008) /* PPC Pin Assignment Reg. */ |
|
#define | PSDR __REG(0x9006000C) /* PPC Sleep-mode pin Direction Reg. */ |
|
#define | PPFR __REG(0x90060010) /* PPC Pin Flag Reg. */ |
|
#define | PPC_LDD(Nb) |
|
#define | PPC_LDD0 PPC_LDD (0) /* LCD Data [0] */ |
|
#define | PPC_LDD1 PPC_LDD (1) /* LCD Data [1] */ |
|
#define | PPC_LDD2 PPC_LDD (2) /* LCD Data [2] */ |
|
#define | PPC_LDD3 PPC_LDD (3) /* LCD Data [3] */ |
|
#define | PPC_LDD4 PPC_LDD (4) /* LCD Data [4] */ |
|
#define | PPC_LDD5 PPC_LDD (5) /* LCD Data [5] */ |
|
#define | PPC_LDD6 PPC_LDD (6) /* LCD Data [6] */ |
|
#define | PPC_LDD7 PPC_LDD (7) /* LCD Data [7] */ |
|
#define | PPC_L_PCLK 0x00000100 /* LCD Pixel CLocK */ |
|
#define | PPC_L_LCLK 0x00000200 /* LCD Line CLocK */ |
|
#define | PPC_L_FCLK 0x00000400 /* LCD Frame CLocK */ |
|
#define | PPC_L_BIAS 0x00000800 /* LCD AC BIAS */ |
|
#define | PPC_TXD1 0x00001000 /* SDLC/UART Transmit Data 1 */ |
|
#define | PPC_RXD1 0x00002000 /* SDLC/UART Receive Data 1 */ |
|
#define | PPC_TXD2 0x00004000 /* IPC Transmit Data 2 */ |
|
#define | PPC_RXD2 0x00008000 /* IPC Receive Data 2 */ |
|
#define | PPC_TXD3 0x00010000 /* UART Transmit Data 3 */ |
|
#define | PPC_RXD3 0x00020000 /* UART Receive Data 3 */ |
|
#define | PPC_TXD4 0x00040000 /* MCP/SSP Transmit Data 4 */ |
|
#define | PPC_RXD4 0x00080000 /* MCP/SSP Receive Data 4 */ |
|
#define | PPC_SCLK 0x00100000 /* MCP/SSP Sample CLocK */ |
|
#define | PPC_SFRM 0x00200000 /* MCP/SSP Sample FRaMe */ |
|
#define | PPDR_In 0 /* Input */ |
|
#define | PPDR_Out 1 /* Output */ |
|
#define | PPAR_UPR 0x00001000 /* UART Pin Reassignment */ |
|
#define | PPAR_UARTTR (PPAR_UPR*0) /* UART on TXD_1 & RXD_1 */ |
|
#define | PPAR_UARTGPIO (PPAR_UPR*1) /* UART on GPIO [14:15] */ |
|
#define | PPAR_SPR 0x00040000 /* SSP Pin Reassignment */ |
|
#define | PPAR_SSPTRSS (PPAR_SPR*0) /* SSP on TXD_C, RXD_C, SCLK_C, */ |
|
#define | PPAR_SSPGPIO (PPAR_SPR*1) /* SSP on GPIO [10:13] */ |
|
#define | PSDR_OutL 0 /* Output Low in sleep mode */ |
|
#define | PSDR_Flt 1 /* Floating (input) in sleep mode */ |
|
#define | PPFR_LCD 0x00000001 /* LCD controller */ |
|
#define | PPFR_SP1TX 0x00001000 /* Ser. Port 1 SDLC/UART Transmit */ |
|
#define | PPFR_SP1RX 0x00002000 /* Ser. Port 1 SDLC/UART Receive */ |
|
#define | PPFR_SP2TX 0x00004000 /* Ser. Port 2 ICP Transmit */ |
|
#define | PPFR_SP2RX 0x00008000 /* Ser. Port 2 ICP Receive */ |
|
#define | PPFR_SP3TX 0x00010000 /* Ser. Port 3 UART Transmit */ |
|
#define | PPFR_SP3RX 0x00020000 /* Ser. Port 3 UART Receive */ |
|
#define | PPFR_SP4 0x00040000 /* Ser. Port 4 MCP/SSP */ |
|
#define | PPFR_PerEn 0 /* Peripheral Enabled */ |
|
#define | PPFR_PPCEn 1 /* PPC Enabled */ |
|
#define | MDCNFG __REG(0xA0000000) /* DRAM CoNFiGuration reg. */ |
|
#define | MDCAS0 __REG(0xA0000004) /* DRAM CAS shift reg. 0 */ |
|
#define | MDCAS1 __REG(0xA0000008) /* DRAM CAS shift reg. 1 */ |
|
#define | MDCAS2 __REG(0xA000000c) /* DRAM CAS shift reg. 2 */ |
|
#define | MDCNFG_DE(Nb) |
|
#define | MDCNFG_DE0 MDCNFG_DE (0) /* DRAM Enable bank 0 */ |
|
#define | MDCNFG_DE1 MDCNFG_DE (1) /* DRAM Enable bank 1 */ |
|
#define | MDCNFG_DE2 MDCNFG_DE (2) /* DRAM Enable bank 2 */ |
|
#define | MDCNFG_DE3 MDCNFG_DE (3) /* DRAM Enable bank 3 */ |
|
#define | MDCNFG_DRAC Fld (2, 4) /* DRAM Row Address Count - 9 */ |
|
#define | MDCNFG_RowAdd(Add) |
|
#define | MDCNFG_CDB2 0x00000040 /* shift reg. Clock Divide By 2 */ |
|
#define | MDCNFG_TRP Fld (4, 7) /* Time RAS Pre-charge - 1 [Tmem] */ |
|
#define | MDCNFG_PrChrg(Tcpu) |
|
#define | MDCNFG_CeilPrChrg(Tcpu) |
|
#define | MDCNFG_TRASR Fld (4, 11) /* Time RAS Refresh - 1 [Tmem] */ |
|
#define | MDCNFG_Ref(Tcpu) |
|
#define | MDCNFG_CeilRef(Tcpu) |
|
#define | MDCNFG_TDL Fld (2, 15) /* Time Data Latch [Tcpu] */ |
|
#define | MDCNFG_DataLtch(Tcpu) |
|
#define | MDCNFG_DRI Fld (15, 17) /* min. DRAM Refresh Interval/4 */ |
|
#define | MDCNFG_RefInt(Tcpu) |
|
#define | MDCNFG_SA1110_DE0 0x00000001 /* DRAM Enable bank 0 */ |
|
#define | MDCNFG_SA1110_DE1 0x00000002 /* DRAM Enable bank 1 */ |
|
#define | MDCNFG_SA1110_DTIM0 0x00000004 /* DRAM timing type 0/1 */ |
|
#define | MDCNFG_SA1110_DWID0 0x00000008 /* DRAM bus width 0/1 */ |
|
#define | MDCNFG_SA1110_DRAC0 Fld(3, 4) /* DRAM row addr bit count */ |
|
#define | MDCNFG_SA1110_CDB20 0x00000080 /* Mem Clock divide by 2 0/1 */ |
|
#define | MDCNFG_SA1110_TRP0 Fld(3, 8) /* RAS precharge 0/1 */ |
|
#define | MDCNFG_SA1110_TDL0 Fld(2, 12) /* Data input latch after CAS*/ |
|
#define | MDCNFG_SA1110_TWR0 Fld(2, 14) /* SDRAM write recovery 0/1 */ |
|
#define | MDCNFG_SA1110_DE2 0x00010000 /* DRAM Enable bank 0 */ |
|
#define | MDCNFG_SA1110_DE3 0x00020000 /* DRAM Enable bank 1 */ |
|
#define | MDCNFG_SA1110_DTIM2 0x00040000 /* DRAM timing type 0/1 */ |
|
#define | MDCNFG_SA1110_DWID2 0x00080000 /* DRAM bus width 0/1 */ |
|
#define | MDCNFG_SA1110_DRAC2 Fld(3, 20) /* DRAM row addr bit count */ |
|
#define | MDCNFG_SA1110_CDB22 0x00800000 /* Mem Clock divide by 2 0/1 */ |
|
#define | MDCNFG_SA1110_TRP2 Fld(3, 24) /* RAS precharge 0/1 */ |
|
#define | MDCNFG_SA1110_TDL2 Fld(2, 28) /* Data input latch after CAS*/ |
|
#define | MDCNFG_SA1110_TWR2 Fld(2, 30) /* SDRAM write recovery 0/1 */ |
|
#define | MSC0 __REG(0xa0000010) /* Static memory Control reg. 0 */ |
|
#define | MSC1 __REG(0xa0000014) /* Static memory Control reg. 1 */ |
|
#define | MSC2 __REG(0xa000002c) /* Static memory Control reg. 2, not contiguous */ |
|
#define | MSC_Bnk(Nb) |
|
#define | MSC0_Bnk0 MSC_Bnk (0) /* static memory Bank 0 */ |
|
#define | MSC0_Bnk1 MSC_Bnk (1) /* static memory Bank 1 */ |
|
#define | MSC1_Bnk2 MSC_Bnk (2) /* static memory Bank 2 */ |
|
#define | MSC1_Bnk3 MSC_Bnk (3) /* static memory Bank 3 */ |
|
#define | MSC_RT Fld (2, 0) /* ROM/static memory Type */ |
|
#define | MSC_NonBrst |
|
#define | MSC_SRAM |
|
#define | MSC_Brst4 |
|
#define | MSC_Brst8 |
|
#define | MSC_RBW 0x0004 /* ROM/static memory Bus Width */ |
|
#define | MSC_32BitStMem (MSC_RBW*0) /* 32-Bit Static Memory */ |
|
#define | MSC_16BitStMem (MSC_RBW*1) /* 16-Bit Static Memory */ |
|
#define | MSC_RDF Fld (5, 3) /* ROM/static memory read Delay */ |
|
#define | MSC_1stRdAcc(Tcpu) |
|
#define | MSC_Ceil1stRdAcc(Tcpu) |
|
#define | MSC_RdAcc(Tcpu) |
|
#define | MSC_CeilRdAcc(Tcpu) |
|
#define | MSC_RDN Fld (5, 8) /* ROM/static memory read Delay */ |
|
#define | MSC_NxtRdAcc(Tcpu) |
|
#define | MSC_CeilNxtRdAcc(Tcpu) |
|
#define | MSC_WrAcc(Tcpu) |
|
#define | MSC_CeilWrAcc(Tcpu) |
|
#define | MSC_RRR Fld (3, 13) /* ROM/static memory RecoveRy */ |
|
#define | MSC_Rec(Tcpu) |
|
#define | MSC_CeilRec(Tcpu) |
|
#define | MECR __REG(0xA0000018) /* Expansion memory bus (PCMCIA) Configuration Reg. */ |
|
#define | MECR_PCMCIA(Nb) |
|
#define | MECR_PCMCIA0 MECR_PCMCIA (0) /* PCMCIA 0 */ |
|
#define | MECR_PCMCIA1 MECR_PCMCIA (1) /* PCMCIA 1 */ |
|
#define | MECR_BSIO Fld (5, 0) /* BCLK Select I/O - 1 [Tmem] */ |
|
#define | MECR_IOClk(Tcpu) |
|
#define | MECR_CeilIOClk(Tcpu) |
|
#define | MECR_BSA Fld (5, 5) /* BCLK Select Attribute - 1 */ |
|
#define | MECR_AttrClk(Tcpu) |
|
#define | MECR_CeilAttrClk(Tcpu) |
|
#define | MECR_BSM Fld (5, 10) /* BCLK Select Memory - 1 [Tmem] */ |
|
#define | MECR_MemClk(Tcpu) |
|
#define | MECR_CeilMemClk(Tcpu) |
|
#define | MDREFR __REG(0xA000001C) |
|
#define | MDREFR_TRASR Fld (4, 0) |
|
#define | MDREFR_DRI Fld (12, 4) |
|
#define | MDREFR_E0PIN (1 << 16) |
|
#define | MDREFR_K0RUN (1 << 17) |
|
#define | MDREFR_K0DB2 (1 << 18) |
|
#define | MDREFR_E1PIN (1 << 20) |
|
#define | MDREFR_K1RUN (1 << 21) |
|
#define | MDREFR_K1DB2 (1 << 22) |
|
#define | MDREFR_K2RUN (1 << 25) |
|
#define | MDREFR_K2DB2 (1 << 26) |
|
#define | MDREFR_EAPD (1 << 28) |
|
#define | MDREFR_KAPD (1 << 29) |
|
#define | MDREFR_SLFRSH (1 << 31) |
|
#define | DMA_SIZE (6 * 0x20) |
|
#define | DMA_PHYS 0xb0000000 |
|
#define | LCD_PEntrySp 2 /* LCD Palette Entry Space [byte] */ |
|
#define | LCD_4BitPSp |
|
#define | LCD_8BitPSp |
|
#define | LCD_12_16BitPSp |
|
#define | LCD_PGrey Fld (4, 0) /* LCD Palette entry Grey value */ |
|
#define | LCD_PBlue Fld (4, 0) /* LCD Palette entry Blue value */ |
|
#define | LCD_PGreen Fld (4, 4) /* LCD Palette entry Green value */ |
|
#define | LCD_PRed Fld (4, 8) /* LCD Palette entry Red value */ |
|
#define | LCD_PBS Fld (2, 12) /* LCD Pixel Bit Size */ |
|
#define | LCD_4Bit |
|
#define | LCD_8Bit |
|
#define | LCD_12_16Bit |
|
#define | LCD_Int0_0 0x0 /* LCD Intensity = 0.0% = 0 */ |
|
#define | LCD_Int11_1 0x1 /* LCD Intensity = 11.1% = 1/9 */ |
|
#define | LCD_Int20_0 0x2 /* LCD Intensity = 20.0% = 1/5 */ |
|
#define | LCD_Int26_7 0x3 /* LCD Intensity = 26.7% = 4/15 */ |
|
#define | LCD_Int33_3 0x4 /* LCD Intensity = 33.3% = 3/9 */ |
|
#define | LCD_Int40_0 0x5 /* LCD Intensity = 40.0% = 2/5 */ |
|
#define | LCD_Int44_4 0x6 /* LCD Intensity = 44.4% = 4/9 */ |
|
#define | LCD_Int50_0 0x7 /* LCD Intensity = 50.0% = 1/2 */ |
|
#define | LCD_Int55_6 0x8 /* LCD Intensity = 55.6% = 5/9 */ |
|
#define | LCD_Int60_0 0x9 /* LCD Intensity = 60.0% = 3/5 */ |
|
#define | LCD_Int66_7 0xA /* LCD Intensity = 66.7% = 6/9 */ |
|
#define | LCD_Int73_3 0xB /* LCD Intensity = 73.3% = 11/15 */ |
|
#define | LCD_Int80_0 0xC /* LCD Intensity = 80.0% = 4/5 */ |
|
#define | LCD_Int88_9 0xD /* LCD Intensity = 88.9% = 8/9 */ |
|
#define | LCD_Int100_0 0xE /* LCD Intensity = 100.0% = 1 */ |
|
#define | LCD_Int100_0A 0xF /* LCD Intensity = 100.0% = 1 */ |
|
#define | LCCR0_LEN 0x00000001 /* LCD ENable */ |
|
#define | LCCR0_CMS 0x00000002 /* Color/Monochrome display Select */ |
|
#define | LCCR0_Color (LCCR0_CMS*0) /* Color display */ |
|
#define | LCCR0_Mono (LCCR0_CMS*1) /* Monochrome display */ |
|
#define | LCCR0_SDS 0x00000004 /* Single/Dual panel display */ |
|
#define | LCCR0_Sngl (LCCR0_SDS*0) /* Single panel display */ |
|
#define | LCCR0_Dual (LCCR0_SDS*1) /* Dual panel display */ |
|
#define | LCCR0_LDM 0x00000008 /* LCD Disable done (LDD) */ |
|
#define | LCCR0_BAM 0x00000010 /* Base Address update (BAU) */ |
|
#define | LCCR0_ERM 0x00000020 /* LCD ERror (BER, IOL, IUL, IOU, */ |
|
#define | LCCR0_PAS 0x00000080 /* Passive/Active display Select */ |
|
#define | LCCR0_Pas (LCCR0_PAS*0) /* Passive display (STN) */ |
|
#define | LCCR0_Act (LCCR0_PAS*1) /* Active display (TFT) */ |
|
#define | LCCR0_BLE 0x00000100 /* Big/Little Endian select */ |
|
#define | LCCR0_LtlEnd (LCCR0_BLE*0) /* Little Endian frame buffer */ |
|
#define | LCCR0_BigEnd (LCCR0_BLE*1) /* Big Endian frame buffer */ |
|
#define | LCCR0_DPD 0x00000200 /* Double Pixel Data (monochrome */ |
|
#define | LCCR0_4PixMono (LCCR0_DPD*0) /* 4-Pixel/clock Monochrome */ |
|
#define | LCCR0_8PixMono (LCCR0_DPD*1) /* 8-Pixel/clock Monochrome */ |
|
#define | LCCR0_PDD Fld (8, 12) /* Palette DMA request Delay */ |
|
#define | LCCR0_DMADel(Tcpu) |
|
#define | LCSR_LDD 0x00000001 /* LCD Disable Done */ |
|
#define | LCSR_BAU 0x00000002 /* Base Address Update (read) */ |
|
#define | LCSR_BER 0x00000004 /* Bus ERror */ |
|
#define | LCSR_ABC 0x00000008 /* AC Bias clock Count */ |
|
#define | LCSR_IOL 0x00000010 /* Input FIFO Over-run Lower */ |
|
#define | LCSR_IUL 0x00000020 /* Input FIFO Under-run Lower */ |
|
#define | LCSR_IOU 0x00000040 /* Input FIFO Over-run Upper */ |
|
#define | LCSR_IUU 0x00000080 /* Input FIFO Under-run Upper */ |
|
#define | LCSR_OOL 0x00000100 /* Output FIFO Over-run Lower */ |
|
#define | LCSR_OUL 0x00000200 /* Output FIFO Under-run Lower */ |
|
#define | LCSR_OOU 0x00000400 /* Output FIFO Over-run Upper */ |
|
#define | LCSR_OUU 0x00000800 /* Output FIFO Under-run Upper */ |
|
#define | LCCR1_PPL Fld (6, 4) /* Pixels Per Line/16 - 1 */ |
|
#define | LCCR1_DisWdth(Pixel) |
|
#define | LCCR1_HSW Fld (6, 10) /* Horizontal Synchronization */ |
|
#define | LCCR1_HorSnchWdth(Tpix) |
|
#define | LCCR1_ELW Fld (8, 16) /* End-of-Line pixel clock Wait */ |
|
#define | LCCR1_EndLnDel(Tpix) |
|
#define | LCCR1_BLW Fld (8, 24) /* Beginning-of-Line pixel clock */ |
|
#define | LCCR1_BegLnDel(Tpix) |
|
#define | LCCR2_LPP Fld (10, 0) /* Line Per Panel - 1 */ |
|
#define | LCCR2_DisHght(Line) |
|
#define | LCCR2_VSW Fld (6, 10) /* Vertical Synchronization pulse */ |
|
#define | LCCR2_VrtSnchWdth(Tln) |
|
#define | LCCR2_EFW Fld (8, 16) /* End-of-Frame line clock Wait */ |
|
#define | LCCR2_EndFrmDel(Tln) |
|
#define | LCCR2_BFW Fld (8, 24) /* Beginning-of-Frame line clock */ |
|
#define | LCCR2_BegFrmDel(Tln) |
|
#define | LCCR3_PCD Fld (8, 0) /* Pixel Clock Divisor/2 - 2 */ |
|
#define | LCCR3_PixClkDiv(Div) |
|
#define | LCCR3_CeilPixClkDiv(Div) |
|
#define | LCCR3_ACB Fld (8, 8) /* AC Bias clock half period - 1 */ |
|
#define | LCCR3_ACBsDiv(Div) |
|
#define | LCCR3_CeilACBsDiv(Div) |
|
#define | LCCR3_API Fld (4, 16) /* AC bias Pin transitions per */ |
|
#define | LCCR3_ACBsCntOff |
|
#define | LCCR3_ACBsCnt(Trans) |
|
#define | LCCR3_VSP 0x00100000 /* Vertical Synchronization pulse */ |
|
#define | LCCR3_VrtSnchH (LCCR3_VSP*0) /* Vertical Synchronization pulse */ |
|
#define | LCCR3_VrtSnchL (LCCR3_VSP*1) /* Vertical Synchronization pulse */ |
|
#define | LCCR3_HSP 0x00200000 /* Horizontal Synchronization */ |
|
#define | LCCR3_HorSnchH (LCCR3_HSP*0) /* Horizontal Synchronization */ |
|
#define | LCCR3_HorSnchL (LCCR3_HSP*1) /* Horizontal Synchronization */ |
|
#define | LCCR3_PCP 0x00400000 /* Pixel Clock Polarity (L_PCLK) */ |
|
#define | LCCR3_PixRsEdg (LCCR3_PCP*0) /* Pixel clock Rising-Edge */ |
|
#define | LCCR3_PixFlEdg (LCCR3_PCP*1) /* Pixel clock Falling-Edge */ |
|
#define | LCCR3_OEP 0x00800000 /* Output Enable Polarity (L_BIAS, */ |
|
#define | LCCR3_OutEnH (LCCR3_OEP*0) /* Output Enable active High */ |
|
#define | LCCR3_OutEnL (LCCR3_OEP*1) /* Output Enable active Low */ |
|