Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
clps711x.h File Reference

Go to the source code of this file.

Macros

#define CLPS711X_PHYS_BASE   (0x80000000)
 
#define PADR   (0x0000)
 
#define PBDR   (0x0001)
 
#define PCDR   (0x0002)
 
#define PDDR   (0x0003)
 
#define PADDR   (0x0040)
 
#define PBDDR   (0x0041)
 
#define PCDDR   (0x0042)
 
#define PDDDR   (0x0043)
 
#define PEDR   (0x0083)
 
#define PEDDR   (0x00c3)
 
#define SYSCON1   (0x0100)
 
#define SYSFLG1   (0x0140)
 
#define MEMCFG1   (0x0180)
 
#define MEMCFG2   (0x01c0)
 
#define DRFPR   (0x0200)
 
#define INTSR1   (0x0240)
 
#define INTMR1   (0x0280)
 
#define LCDCON   (0x02c0)
 
#define TC1D   (0x0300)
 
#define TC2D   (0x0340)
 
#define RTCDR   (0x0380)
 
#define RTCMR   (0x03c0)
 
#define PMPCON   (0x0400)
 
#define CODR   (0x0440)
 
#define UARTDR1   (0x0480)
 
#define UBRLCR1   (0x04c0)
 
#define SYNCIO   (0x0500)
 
#define PALLSW   (0x0540)
 
#define PALMSW   (0x0580)
 
#define STFCLR   (0x05c0)
 
#define BLEOI   (0x0600)
 
#define MCEOI   (0x0640)
 
#define TEOI   (0x0680)
 
#define TC1EOI   (0x06c0)
 
#define TC2EOI   (0x0700)
 
#define RTCEOI   (0x0740)
 
#define UMSEOI   (0x0780)
 
#define COEOI   (0x07c0)
 
#define HALT   (0x0800)
 
#define STDBY   (0x0840)
 
#define FBADDR   (0x1000)
 
#define SYSCON2   (0x1100)
 
#define SYSFLG2   (0x1140)
 
#define INTSR2   (0x1240)
 
#define INTMR2   (0x1280)
 
#define UARTDR2   (0x1480)
 
#define UBRLCR2   (0x14c0)
 
#define SS2DR   (0x1500)
 
#define SRXEOF   (0x1600)
 
#define SS2POP   (0x16c0)
 
#define KBDEOI   (0x1700)
 
#define DAIR   (0x2000)
 
#define DAIDR0   (0x2040)
 
#define DAIDR1   (0x2080)
 
#define DAIDR2   (0x20c0)
 
#define DAISR   (0x2100)
 
#define SYSCON3   (0x2200)
 
#define INTSR3   (0x2240)
 
#define INTMR3   (0x2280)
 
#define LEDFLSH   (0x22c0)
 
#define SDCONF   (0x2300)
 
#define SDRFPR   (0x2340)
 
#define UNIQID   (0x2440)
 
#define DAI64FS   (0x2600)
 
#define PLLW   (0x2610)
 
#define PLLR   (0xa5a8)
 
#define RANDID0   (0x2700)
 
#define RANDID1   (0x2704)
 
#define RANDID2   (0x2708)
 
#define RANDID3   (0x270c)
 
#define SYSCON_UARTEN   (1 << 8)
 
#define SYSCON1_KBDSCAN(x)   ((x) & 15)
 
#define SYSCON1_KBDSCANMASK   (15)
 
#define SYSCON1_TC1M   (1 << 4)
 
#define SYSCON1_TC1S   (1 << 5)
 
#define SYSCON1_TC2M   (1 << 6)
 
#define SYSCON1_TC2S   (1 << 7)
 
#define SYSCON1_UART1EN   SYSCON_UARTEN
 
#define SYSCON1_BZTOG   (1 << 9)
 
#define SYSCON1_BZMOD   (1 << 10)
 
#define SYSCON1_DBGEN   (1 << 11)
 
#define SYSCON1_LCDEN   (1 << 12)
 
#define SYSCON1_CDENTX   (1 << 13)
 
#define SYSCON1_CDENRX   (1 << 14)
 
#define SYSCON1_SIREN   (1 << 15)
 
#define SYSCON1_ADCKSEL(x)   (((x) & 3) << 16)
 
#define SYSCON1_ADCKSEL_MASK   (3 << 16)
 
#define SYSCON1_EXCKEN   (1 << 18)
 
#define SYSCON1_WAKEDIS   (1 << 19)
 
#define SYSCON1_IRTXM   (1 << 20)
 
#define SYSFLG_UBUSY   (1 << 11)
 
#define SYSFLG_URXFE   (1 << 22)
 
#define SYSFLG_UTXFF   (1 << 23)
 
#define SYSFLG1_MCDR   (1 << 0)
 
#define SYSFLG1_DCDET   (1 << 1)
 
#define SYSFLG1_WUDR   (1 << 2)
 
#define SYSFLG1_WUON   (1 << 3)
 
#define SYSFLG1_CTS   (1 << 8)
 
#define SYSFLG1_DSR   (1 << 9)
 
#define SYSFLG1_DCD   (1 << 10)
 
#define SYSFLG1_UBUSY   SYSFLG_UBUSY
 
#define SYSFLG1_NBFLG   (1 << 12)
 
#define SYSFLG1_RSTFLG   (1 << 13)
 
#define SYSFLG1_PFFLG   (1 << 14)
 
#define SYSFLG1_CLDFLG   (1 << 15)
 
#define SYSFLG1_URXFE   SYSFLG_URXFE
 
#define SYSFLG1_UTXFF   SYSFLG_UTXFF
 
#define SYSFLG1_CRXFE   (1 << 24)
 
#define SYSFLG1_CTXFF   (1 << 25)
 
#define SYSFLG1_SSIBUSY   (1 << 26)
 
#define SYSFLG1_ID   (1 << 29)
 
#define SYSFLG1_VERID(x)   (((x) >> 30) & 3)
 
#define SYSFLG1_VERID_MASK   (3 << 30)
 
#define SYSFLG2_SSRXOF   (1 << 0)
 
#define SYSFLG2_RESVAL   (1 << 1)
 
#define SYSFLG2_RESFRM   (1 << 2)
 
#define SYSFLG2_SS2RXFE   (1 << 3)
 
#define SYSFLG2_SS2TXFF   (1 << 4)
 
#define SYSFLG2_SS2TXUF   (1 << 5)
 
#define SYSFLG2_CKMODE   (1 << 6)
 
#define SYSFLG2_UBUSY   SYSFLG_UBUSY
 
#define SYSFLG2_URXFE   SYSFLG_URXFE
 
#define SYSFLG2_UTXFF   SYSFLG_UTXFF
 
#define LCDCON_GSEN   (1 << 30)
 
#define LCDCON_GSMD   (1 << 31)
 
#define SYSCON2_SERSEL   (1 << 0)
 
#define SYSCON2_KBD6   (1 << 1)
 
#define SYSCON2_DRAMZ   (1 << 2)
 
#define SYSCON2_KBWEN   (1 << 3)
 
#define SYSCON2_SS2TXEN   (1 << 4)
 
#define SYSCON2_PCCARD1   (1 << 5)
 
#define SYSCON2_PCCARD2   (1 << 6)
 
#define SYSCON2_SS2RXEN   (1 << 7)
 
#define SYSCON2_UART2EN   SYSCON_UARTEN
 
#define SYSCON2_SS2MAEN   (1 << 9)
 
#define SYSCON2_OSTB   (1 << 12)
 
#define SYSCON2_CLKENSL   (1 << 13)
 
#define SYSCON2_BUZFREQ   (1 << 14)
 
#define UARTDR_FRMERR   (1 << 8)
 
#define UARTDR_PARERR   (1 << 9)
 
#define UARTDR_OVERR   (1 << 10)
 
#define UBRLCR_BAUD_MASK   ((1 << 12) - 1)
 
#define UBRLCR_BREAK   (1 << 12)
 
#define UBRLCR_PRTEN   (1 << 13)
 
#define UBRLCR_EVENPRT   (1 << 14)
 
#define UBRLCR_XSTOP   (1 << 15)
 
#define UBRLCR_FIFOEN   (1 << 16)
 
#define UBRLCR_WRDLEN5   (0 << 17)
 
#define UBRLCR_WRDLEN6   (1 << 17)
 
#define UBRLCR_WRDLEN7   (2 << 17)
 
#define UBRLCR_WRDLEN8   (3 << 17)
 
#define UBRLCR_WRDLEN_MASK   (3 << 17)
 
#define SYNCIO_FRMLEN(x)   (((x) & 0x1f) << 8)
 
#define SYNCIO_SMCKEN   (1 << 13)
 
#define SYNCIO_TXFRMEN   (1 << 14)
 
#define DAIR_RESERVED   (0x0404)
 
#define DAIR_DAIEN   (1 << 16)
 
#define DAIR_ECS   (1 << 17)
 
#define DAIR_LCTM   (1 << 19)
 
#define DAIR_LCRM   (1 << 20)
 
#define DAIR_RCTM   (1 << 21)
 
#define DAIR_RCRM   (1 << 22)
 
#define DAIR_LBM   (1 << 23)
 
#define DAIDR2_FIFOEN   (1 << 15)
 
#define DAIDR2_FIFOLEFT   (0x0d << 16)
 
#define DAIDR2_FIFORIGHT   (0x11 << 16)
 
#define DAISR_RCTS   (1 << 0)
 
#define DAISR_RCRS   (1 << 1)
 
#define DAISR_LCTS   (1 << 2)
 
#define DAISR_LCRS   (1 << 3)
 
#define DAISR_RCTU   (1 << 4)
 
#define DAISR_RCRO   (1 << 5)
 
#define DAISR_LCTU   (1 << 6)
 
#define DAISR_LCRO   (1 << 7)
 
#define DAISR_RCNF   (1 << 8)
 
#define DAISR_RCNE   (1 << 9)
 
#define DAISR_LCNF   (1 << 10)
 
#define DAISR_LCNE   (1 << 11)
 
#define DAISR_FIFO   (1 << 12)
 
#define DAI64FS_I2SF64   (1 << 0)
 
#define DAI64FS_AUDIOCLKEN   (1 << 1)
 
#define DAI64FS_AUDIOCLKSRC   (1 << 2)
 
#define DAI64FS_MCLK256EN   (1 << 3)
 
#define DAI64FS_LOOPBACK   (1 << 5)
 
#define SYSCON3_ADCCON   (1 << 0)
 
#define SYSCON3_CLKCTL0   (1 << 1)
 
#define SYSCON3_CLKCTL1   (1 << 2)
 
#define SYSCON3_DAISEL   (1 << 3)
 
#define SYSCON3_ADCCKNSEN   (1 << 4)
 
#define SYSCON3_VERSN(x)   (((x) >> 5) & 7)
 
#define SYSCON3_VERSN_MASK   (7 << 5)
 
#define SYSCON3_FASTWAKE   (1 << 8)
 
#define SYSCON3_DAIEN   (1 << 9)
 
#define SYSCON3_128FS   SYSCON3_DAIEN
 
#define SYSCON3_ENPD67   (1 << 10)
 
#define SDCONF_ACTIVE   (1 << 10)
 
#define SDCONF_CLKCTL   (1 << 9)
 
#define SDCONF_WIDTH_4   (0 << 7)
 
#define SDCONF_WIDTH_8   (1 << 7)
 
#define SDCONF_WIDTH_16   (2 << 7)
 
#define SDCONF_WIDTH_32   (3 << 7)
 
#define SDCONF_SIZE_16   (0 << 5)
 
#define SDCONF_SIZE_64   (1 << 5)
 
#define SDCONF_SIZE_128   (2 << 5)
 
#define SDCONF_SIZE_256   (3 << 5)
 
#define SDCONF_CASLAT_2   (2)
 
#define SDCONF_CASLAT_3   (3)
 
#define MEMCFG_BUS_WIDTH_32   (1)
 
#define MEMCFG_BUS_WIDTH_16   (0)
 
#define MEMCFG_BUS_WIDTH_8   (3)
 
#define MEMCFG_WAITSTATE_8_3   (0 << 2)
 
#define MEMCFG_WAITSTATE_7_3   (1 << 2)
 
#define MEMCFG_WAITSTATE_6_3   (2 << 2)
 
#define MEMCFG_WAITSTATE_5_3   (3 << 2)
 
#define MEMCFG_WAITSTATE_4_2   (4 << 2)
 
#define MEMCFG_WAITSTATE_3_2   (5 << 2)
 
#define MEMCFG_WAITSTATE_2_2   (6 << 2)
 
#define MEMCFG_WAITSTATE_1_2   (7 << 2)
 
#define MEMCFG_WAITSTATE_8_1   (8 << 2)
 
#define MEMCFG_WAITSTATE_7_1   (9 << 2)
 
#define MEMCFG_WAITSTATE_6_1   (10 << 2)
 
#define MEMCFG_WAITSTATE_5_1   (11 << 2)
 
#define MEMCFG_WAITSTATE_4_0   (12 << 2)
 
#define MEMCFG_WAITSTATE_3_0   (13 << 2)
 
#define MEMCFG_WAITSTATE_2_0   (14 << 2)
 
#define MEMCFG_WAITSTATE_1_0   (15 << 2)
 

Macro Definition Documentation

#define BLEOI   (0x0600)

Definition at line 56 of file clps711x.h.

#define CLPS711X_PHYS_BASE   (0x80000000)

Definition at line 24 of file clps711x.h.

#define CODR   (0x0440)

Definition at line 49 of file clps711x.h.

#define COEOI   (0x07c0)

Definition at line 63 of file clps711x.h.

#define DAI64FS   (0x2600)

Definition at line 91 of file clps711x.h.

#define DAI64FS_AUDIOCLKEN   (1 << 1)

Definition at line 226 of file clps711x.h.

#define DAI64FS_AUDIOCLKSRC   (1 << 2)

Definition at line 227 of file clps711x.h.

#define DAI64FS_I2SF64   (1 << 0)

Definition at line 225 of file clps711x.h.

#define DAI64FS_LOOPBACK   (1 << 5)

Definition at line 229 of file clps711x.h.

#define DAI64FS_MCLK256EN   (1 << 3)

Definition at line 228 of file clps711x.h.

#define DAIDR0   (0x2040)

Definition at line 80 of file clps711x.h.

#define DAIDR1   (0x2080)

Definition at line 81 of file clps711x.h.

#define DAIDR2   (0x20c0)

Definition at line 82 of file clps711x.h.

#define DAIDR2_FIFOEN   (1 << 15)

Definition at line 207 of file clps711x.h.

#define DAIDR2_FIFOLEFT   (0x0d << 16)

Definition at line 208 of file clps711x.h.

#define DAIDR2_FIFORIGHT   (0x11 << 16)

Definition at line 209 of file clps711x.h.

#define DAIR   (0x2000)

Definition at line 79 of file clps711x.h.

#define DAIR_DAIEN   (1 << 16)

Definition at line 199 of file clps711x.h.

#define DAIR_ECS   (1 << 17)

Definition at line 200 of file clps711x.h.

#define DAIR_LBM   (1 << 23)

Definition at line 205 of file clps711x.h.

#define DAIR_LCRM   (1 << 20)

Definition at line 202 of file clps711x.h.

#define DAIR_LCTM   (1 << 19)

Definition at line 201 of file clps711x.h.

#define DAIR_RCRM   (1 << 22)

Definition at line 204 of file clps711x.h.

#define DAIR_RCTM   (1 << 21)

Definition at line 203 of file clps711x.h.

#define DAIR_RESERVED   (0x0404)

Definition at line 198 of file clps711x.h.

#define DAISR   (0x2100)

Definition at line 83 of file clps711x.h.

#define DAISR_FIFO   (1 << 12)

Definition at line 223 of file clps711x.h.

#define DAISR_LCNE   (1 << 11)

Definition at line 222 of file clps711x.h.

#define DAISR_LCNF   (1 << 10)

Definition at line 221 of file clps711x.h.

#define DAISR_LCRO   (1 << 7)

Definition at line 218 of file clps711x.h.

#define DAISR_LCRS   (1 << 3)

Definition at line 214 of file clps711x.h.

#define DAISR_LCTS   (1 << 2)

Definition at line 213 of file clps711x.h.

#define DAISR_LCTU   (1 << 6)

Definition at line 217 of file clps711x.h.

#define DAISR_RCNE   (1 << 9)

Definition at line 220 of file clps711x.h.

#define DAISR_RCNF   (1 << 8)

Definition at line 219 of file clps711x.h.

#define DAISR_RCRO   (1 << 5)

Definition at line 216 of file clps711x.h.

#define DAISR_RCRS   (1 << 1)

Definition at line 212 of file clps711x.h.

#define DAISR_RCTS   (1 << 0)

Definition at line 211 of file clps711x.h.

#define DAISR_RCTU   (1 << 4)

Definition at line 215 of file clps711x.h.

#define DRFPR   (0x0200)

Definition at line 40 of file clps711x.h.

#define FBADDR   (0x1000)

Definition at line 67 of file clps711x.h.

#define HALT   (0x0800)

Definition at line 64 of file clps711x.h.

#define INTMR1   (0x0280)

Definition at line 42 of file clps711x.h.

#define INTMR2   (0x1280)

Definition at line 71 of file clps711x.h.

#define INTMR3   (0x2280)

Definition at line 86 of file clps711x.h.

#define INTSR1   (0x0240)

Definition at line 41 of file clps711x.h.

#define INTSR2   (0x1240)

Definition at line 70 of file clps711x.h.

#define INTSR3   (0x2240)

Definition at line 85 of file clps711x.h.

#define KBDEOI   (0x1700)

Definition at line 77 of file clps711x.h.

#define LCDCON   (0x02c0)

Definition at line 43 of file clps711x.h.

#define LCDCON_GSEN   (1 << 30)

Definition at line 159 of file clps711x.h.

#define LCDCON_GSMD   (1 << 31)

Definition at line 160 of file clps711x.h.

#define LEDFLSH   (0x22c0)

Definition at line 87 of file clps711x.h.

#define MCEOI   (0x0640)

Definition at line 57 of file clps711x.h.

#define MEMCFG1   (0x0180)

Definition at line 38 of file clps711x.h.

#define MEMCFG2   (0x01c0)

Definition at line 39 of file clps711x.h.

#define MEMCFG_BUS_WIDTH_16   (0)

Definition at line 257 of file clps711x.h.

#define MEMCFG_BUS_WIDTH_32   (1)

Definition at line 256 of file clps711x.h.

#define MEMCFG_BUS_WIDTH_8   (3)

Definition at line 258 of file clps711x.h.

#define MEMCFG_WAITSTATE_1_0   (15 << 2)

Definition at line 275 of file clps711x.h.

#define MEMCFG_WAITSTATE_1_2   (7 << 2)

Definition at line 267 of file clps711x.h.

#define MEMCFG_WAITSTATE_2_0   (14 << 2)

Definition at line 274 of file clps711x.h.

#define MEMCFG_WAITSTATE_2_2   (6 << 2)

Definition at line 266 of file clps711x.h.

#define MEMCFG_WAITSTATE_3_0   (13 << 2)

Definition at line 273 of file clps711x.h.

#define MEMCFG_WAITSTATE_3_2   (5 << 2)

Definition at line 265 of file clps711x.h.

#define MEMCFG_WAITSTATE_4_0   (12 << 2)

Definition at line 272 of file clps711x.h.

#define MEMCFG_WAITSTATE_4_2   (4 << 2)

Definition at line 264 of file clps711x.h.

#define MEMCFG_WAITSTATE_5_1   (11 << 2)

Definition at line 271 of file clps711x.h.

#define MEMCFG_WAITSTATE_5_3   (3 << 2)

Definition at line 263 of file clps711x.h.

#define MEMCFG_WAITSTATE_6_1   (10 << 2)

Definition at line 270 of file clps711x.h.

#define MEMCFG_WAITSTATE_6_3   (2 << 2)

Definition at line 262 of file clps711x.h.

#define MEMCFG_WAITSTATE_7_1   (9 << 2)

Definition at line 269 of file clps711x.h.

#define MEMCFG_WAITSTATE_7_3   (1 << 2)

Definition at line 261 of file clps711x.h.

#define MEMCFG_WAITSTATE_8_1   (8 << 2)

Definition at line 268 of file clps711x.h.

#define MEMCFG_WAITSTATE_8_3   (0 << 2)

Definition at line 260 of file clps711x.h.

#define PADDR   (0x0040)

Definition at line 30 of file clps711x.h.

#define PADR   (0x0000)

Definition at line 26 of file clps711x.h.

#define PALLSW   (0x0540)

Definition at line 53 of file clps711x.h.

#define PALMSW   (0x0580)

Definition at line 54 of file clps711x.h.

#define PBDDR   (0x0041)

Definition at line 31 of file clps711x.h.

#define PBDR   (0x0001)

Definition at line 27 of file clps711x.h.

#define PCDDR   (0x0042)

Definition at line 32 of file clps711x.h.

#define PCDR   (0x0002)

Definition at line 28 of file clps711x.h.

#define PDDDR   (0x0043)

Definition at line 33 of file clps711x.h.

#define PDDR   (0x0003)

Definition at line 29 of file clps711x.h.

#define PEDDR   (0x00c3)

Definition at line 35 of file clps711x.h.

#define PEDR   (0x0083)

Definition at line 34 of file clps711x.h.

#define PLLR   (0xa5a8)

Definition at line 93 of file clps711x.h.

#define PLLW   (0x2610)

Definition at line 92 of file clps711x.h.

#define PMPCON   (0x0400)

Definition at line 48 of file clps711x.h.

#define RANDID0   (0x2700)

Definition at line 94 of file clps711x.h.

#define RANDID1   (0x2704)

Definition at line 95 of file clps711x.h.

#define RANDID2   (0x2708)

Definition at line 96 of file clps711x.h.

#define RANDID3   (0x270c)

Definition at line 97 of file clps711x.h.

#define RTCDR   (0x0380)

Definition at line 46 of file clps711x.h.

#define RTCEOI   (0x0740)

Definition at line 61 of file clps711x.h.

#define RTCMR   (0x03c0)

Definition at line 47 of file clps711x.h.

#define SDCONF   (0x2300)

Definition at line 88 of file clps711x.h.

#define SDCONF_ACTIVE   (1 << 10)

Definition at line 243 of file clps711x.h.

#define SDCONF_CASLAT_2   (2)

Definition at line 253 of file clps711x.h.

#define SDCONF_CASLAT_3   (3)

Definition at line 254 of file clps711x.h.

#define SDCONF_CLKCTL   (1 << 9)

Definition at line 244 of file clps711x.h.

#define SDCONF_SIZE_128   (2 << 5)

Definition at line 251 of file clps711x.h.

#define SDCONF_SIZE_16   (0 << 5)

Definition at line 249 of file clps711x.h.

#define SDCONF_SIZE_256   (3 << 5)

Definition at line 252 of file clps711x.h.

#define SDCONF_SIZE_64   (1 << 5)

Definition at line 250 of file clps711x.h.

#define SDCONF_WIDTH_16   (2 << 7)

Definition at line 247 of file clps711x.h.

#define SDCONF_WIDTH_32   (3 << 7)

Definition at line 248 of file clps711x.h.

#define SDCONF_WIDTH_4   (0 << 7)

Definition at line 245 of file clps711x.h.

#define SDCONF_WIDTH_8   (1 << 7)

Definition at line 246 of file clps711x.h.

#define SDRFPR   (0x2340)

Definition at line 89 of file clps711x.h.

#define SRXEOF   (0x1600)

Definition at line 75 of file clps711x.h.

#define SS2DR   (0x1500)

Definition at line 74 of file clps711x.h.

#define SS2POP   (0x16c0)

Definition at line 76 of file clps711x.h.

#define STDBY   (0x0840)

Definition at line 65 of file clps711x.h.

#define STFCLR   (0x05c0)

Definition at line 55 of file clps711x.h.

#define SYNCIO   (0x0500)

Definition at line 52 of file clps711x.h.

#define SYNCIO_FRMLEN (   x)    (((x) & 0x1f) << 8)

Definition at line 194 of file clps711x.h.

#define SYNCIO_SMCKEN   (1 << 13)

Definition at line 195 of file clps711x.h.

#define SYNCIO_TXFRMEN   (1 << 14)

Definition at line 196 of file clps711x.h.

#define SYSCON1   (0x0100)

Definition at line 36 of file clps711x.h.

#define SYSCON1_ADCKSEL (   x)    (((x) & 3) << 16)

Definition at line 116 of file clps711x.h.

#define SYSCON1_ADCKSEL_MASK   (3 << 16)

Definition at line 117 of file clps711x.h.

#define SYSCON1_BZMOD   (1 << 10)

Definition at line 110 of file clps711x.h.

#define SYSCON1_BZTOG   (1 << 9)

Definition at line 109 of file clps711x.h.

#define SYSCON1_CDENRX   (1 << 14)

Definition at line 114 of file clps711x.h.

#define SYSCON1_CDENTX   (1 << 13)

Definition at line 113 of file clps711x.h.

#define SYSCON1_DBGEN   (1 << 11)

Definition at line 111 of file clps711x.h.

#define SYSCON1_EXCKEN   (1 << 18)

Definition at line 118 of file clps711x.h.

#define SYSCON1_IRTXM   (1 << 20)

Definition at line 120 of file clps711x.h.

#define SYSCON1_KBDSCAN (   x)    ((x) & 15)

Definition at line 102 of file clps711x.h.

#define SYSCON1_KBDSCANMASK   (15)

Definition at line 103 of file clps711x.h.

#define SYSCON1_LCDEN   (1 << 12)

Definition at line 112 of file clps711x.h.

#define SYSCON1_SIREN   (1 << 15)

Definition at line 115 of file clps711x.h.

#define SYSCON1_TC1M   (1 << 4)

Definition at line 104 of file clps711x.h.

#define SYSCON1_TC1S   (1 << 5)

Definition at line 105 of file clps711x.h.

#define SYSCON1_TC2M   (1 << 6)

Definition at line 106 of file clps711x.h.

#define SYSCON1_TC2S   (1 << 7)

Definition at line 107 of file clps711x.h.

#define SYSCON1_UART1EN   SYSCON_UARTEN

Definition at line 108 of file clps711x.h.

#define SYSCON1_WAKEDIS   (1 << 19)

Definition at line 119 of file clps711x.h.

#define SYSCON2   (0x1100)

Definition at line 68 of file clps711x.h.

#define SYSCON2_BUZFREQ   (1 << 14)

Definition at line 174 of file clps711x.h.

#define SYSCON2_CLKENSL   (1 << 13)

Definition at line 173 of file clps711x.h.

#define SYSCON2_DRAMZ   (1 << 2)

Definition at line 164 of file clps711x.h.

#define SYSCON2_KBD6   (1 << 1)

Definition at line 163 of file clps711x.h.

#define SYSCON2_KBWEN   (1 << 3)

Definition at line 165 of file clps711x.h.

#define SYSCON2_OSTB   (1 << 12)

Definition at line 172 of file clps711x.h.

#define SYSCON2_PCCARD1   (1 << 5)

Definition at line 167 of file clps711x.h.

#define SYSCON2_PCCARD2   (1 << 6)

Definition at line 168 of file clps711x.h.

#define SYSCON2_SERSEL   (1 << 0)

Definition at line 162 of file clps711x.h.

#define SYSCON2_SS2MAEN   (1 << 9)

Definition at line 171 of file clps711x.h.

#define SYSCON2_SS2RXEN   (1 << 7)

Definition at line 169 of file clps711x.h.

#define SYSCON2_SS2TXEN   (1 << 4)

Definition at line 166 of file clps711x.h.

#define SYSCON2_UART2EN   SYSCON_UARTEN

Definition at line 170 of file clps711x.h.

#define SYSCON3   (0x2200)

Definition at line 84 of file clps711x.h.

#define SYSCON3_128FS   SYSCON3_DAIEN

Definition at line 240 of file clps711x.h.

#define SYSCON3_ADCCKNSEN   (1 << 4)

Definition at line 235 of file clps711x.h.

#define SYSCON3_ADCCON   (1 << 0)

Definition at line 231 of file clps711x.h.

#define SYSCON3_CLKCTL0   (1 << 1)

Definition at line 232 of file clps711x.h.

#define SYSCON3_CLKCTL1   (1 << 2)

Definition at line 233 of file clps711x.h.

#define SYSCON3_DAIEN   (1 << 9)

Definition at line 239 of file clps711x.h.

#define SYSCON3_DAISEL   (1 << 3)

Definition at line 234 of file clps711x.h.

#define SYSCON3_ENPD67   (1 << 10)

Definition at line 241 of file clps711x.h.

#define SYSCON3_FASTWAKE   (1 << 8)

Definition at line 238 of file clps711x.h.

#define SYSCON3_VERSN (   x)    (((x) >> 5) & 7)

Definition at line 236 of file clps711x.h.

#define SYSCON3_VERSN_MASK   (7 << 5)

Definition at line 237 of file clps711x.h.

#define SYSCON_UARTEN   (1 << 8)

Definition at line 100 of file clps711x.h.

#define SYSFLG1   (0x0140)

Definition at line 37 of file clps711x.h.

#define SYSFLG1_CLDFLG   (1 << 15)

Definition at line 138 of file clps711x.h.

#define SYSFLG1_CRXFE   (1 << 24)

Definition at line 141 of file clps711x.h.

#define SYSFLG1_CTS   (1 << 8)

Definition at line 131 of file clps711x.h.

#define SYSFLG1_CTXFF   (1 << 25)

Definition at line 142 of file clps711x.h.

#define SYSFLG1_DCD   (1 << 10)

Definition at line 133 of file clps711x.h.

#define SYSFLG1_DCDET   (1 << 1)

Definition at line 128 of file clps711x.h.

#define SYSFLG1_DSR   (1 << 9)

Definition at line 132 of file clps711x.h.

#define SYSFLG1_ID   (1 << 29)

Definition at line 144 of file clps711x.h.

#define SYSFLG1_MCDR   (1 << 0)

Definition at line 127 of file clps711x.h.

#define SYSFLG1_NBFLG   (1 << 12)

Definition at line 135 of file clps711x.h.

#define SYSFLG1_PFFLG   (1 << 14)

Definition at line 137 of file clps711x.h.

#define SYSFLG1_RSTFLG   (1 << 13)

Definition at line 136 of file clps711x.h.

#define SYSFLG1_SSIBUSY   (1 << 26)

Definition at line 143 of file clps711x.h.

#define SYSFLG1_UBUSY   SYSFLG_UBUSY

Definition at line 134 of file clps711x.h.

#define SYSFLG1_URXFE   SYSFLG_URXFE

Definition at line 139 of file clps711x.h.

#define SYSFLG1_UTXFF   SYSFLG_UTXFF

Definition at line 140 of file clps711x.h.

#define SYSFLG1_VERID (   x)    (((x) >> 30) & 3)

Definition at line 145 of file clps711x.h.

#define SYSFLG1_VERID_MASK   (3 << 30)

Definition at line 146 of file clps711x.h.

#define SYSFLG1_WUDR   (1 << 2)

Definition at line 129 of file clps711x.h.

#define SYSFLG1_WUON   (1 << 3)

Definition at line 130 of file clps711x.h.

#define SYSFLG2   (0x1140)

Definition at line 69 of file clps711x.h.

#define SYSFLG2_CKMODE   (1 << 6)

Definition at line 154 of file clps711x.h.

#define SYSFLG2_RESFRM   (1 << 2)

Definition at line 150 of file clps711x.h.

#define SYSFLG2_RESVAL   (1 << 1)

Definition at line 149 of file clps711x.h.

#define SYSFLG2_SS2RXFE   (1 << 3)

Definition at line 151 of file clps711x.h.

#define SYSFLG2_SS2TXFF   (1 << 4)

Definition at line 152 of file clps711x.h.

#define SYSFLG2_SS2TXUF   (1 << 5)

Definition at line 153 of file clps711x.h.

#define SYSFLG2_SSRXOF   (1 << 0)

Definition at line 148 of file clps711x.h.

#define SYSFLG2_UBUSY   SYSFLG_UBUSY

Definition at line 155 of file clps711x.h.

#define SYSFLG2_URXFE   SYSFLG_URXFE

Definition at line 156 of file clps711x.h.

#define SYSFLG2_UTXFF   SYSFLG_UTXFF

Definition at line 157 of file clps711x.h.

#define SYSFLG_UBUSY   (1 << 11)

Definition at line 123 of file clps711x.h.

#define SYSFLG_URXFE   (1 << 22)

Definition at line 124 of file clps711x.h.

#define SYSFLG_UTXFF   (1 << 23)

Definition at line 125 of file clps711x.h.

#define TC1D   (0x0300)

Definition at line 44 of file clps711x.h.

#define TC1EOI   (0x06c0)

Definition at line 59 of file clps711x.h.

#define TC2D   (0x0340)

Definition at line 45 of file clps711x.h.

#define TC2EOI   (0x0700)

Definition at line 60 of file clps711x.h.

#define TEOI   (0x0680)

Definition at line 58 of file clps711x.h.

#define UARTDR1   (0x0480)

Definition at line 50 of file clps711x.h.

#define UARTDR2   (0x1480)

Definition at line 72 of file clps711x.h.

#define UARTDR_FRMERR   (1 << 8)

Definition at line 177 of file clps711x.h.

#define UARTDR_OVERR   (1 << 10)

Definition at line 179 of file clps711x.h.

#define UARTDR_PARERR   (1 << 9)

Definition at line 178 of file clps711x.h.

#define UBRLCR1   (0x04c0)

Definition at line 51 of file clps711x.h.

#define UBRLCR2   (0x14c0)

Definition at line 73 of file clps711x.h.

#define UBRLCR_BAUD_MASK   ((1 << 12) - 1)

Definition at line 182 of file clps711x.h.

#define UBRLCR_BREAK   (1 << 12)

Definition at line 183 of file clps711x.h.

#define UBRLCR_EVENPRT   (1 << 14)

Definition at line 185 of file clps711x.h.

#define UBRLCR_FIFOEN   (1 << 16)

Definition at line 187 of file clps711x.h.

#define UBRLCR_PRTEN   (1 << 13)

Definition at line 184 of file clps711x.h.

#define UBRLCR_WRDLEN5   (0 << 17)

Definition at line 188 of file clps711x.h.

#define UBRLCR_WRDLEN6   (1 << 17)

Definition at line 189 of file clps711x.h.

#define UBRLCR_WRDLEN7   (2 << 17)

Definition at line 190 of file clps711x.h.

#define UBRLCR_WRDLEN8   (3 << 17)

Definition at line 191 of file clps711x.h.

#define UBRLCR_WRDLEN_MASK   (3 << 17)

Definition at line 192 of file clps711x.h.

#define UBRLCR_XSTOP   (1 << 15)

Definition at line 186 of file clps711x.h.

#define UMSEOI   (0x0780)

Definition at line 62 of file clps711x.h.

#define UNIQID   (0x2440)

Definition at line 90 of file clps711x.h.