EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines

S3C24xxPkg/Sec/include/s3c2440.h File Reference

#include "hardware.h"
#include "bitfield.h"

Go to the source code of this file.

Defines

#define USR26_MODE   0x00
#define FIQ26_MODE   0x01
#define IRQ26_MODE   0x02
#define SVC26_MODE   0x03
#define USR_MODE   0x10
#define FIQ_MODE   0x11
#define IRQ_MODE   0x12
#define SVC_MODE   0x13
#define ABT_MODE   0x17
#define UND_MODE   0x1b
#define SYSTEM_MODE   0x1f
#define MODE_MASK   0x1f
#define F_BIT   0x40
#define I_BIT   0x80
#define CC_V_BIT   (1 << 28)
#define CC_C_BIT   (1 << 29)
#define CC_Z_BIT   (1 << 30)
#define CC_N_BIT   (1 << 31)
#define R1_nF   (1 << 30)
#define R1_iA   (1 << 31)
#define MEM_CTL_BASE   0x48000000
#define bMEMCTL(Nb)   __REGl(MEM_CTL_BASE + (Nb))
#define oBWSCON   0x00
#define oBANKCON0   0x04
#define oBANKCON1   0x08
#define oBANKCON2   0x0C
#define oBANKCON3   0x10
#define oBANKCON4   0x14
#define oBANKCON5   0x18
#define oBANKCON6   0x1C
#define oBANKCON7   0x20
#define oREFRESH   0x24
#define oBANKSIZE   0x28
#define oMRSRB6   0x2C
#define oMRSRB7   0x2C
#define BWSCON   bMEMCTL(oBWSCON)
#define BANKCON0   bMEMCTL(oBANKCON0)
#define BANKCON1   bMEMCTL(oBANKCON1)
#define BANKCON2   bMEMCTL(oBANKCON2)
#define BANKCON3   bMEMCTL(oBANKCON3)
#define BANKCON4   bMEMCTL(oBANKCON4)
#define BANKCON5   bMEMCTL(oBANKCON5)
#define BANKCON6   bMEMCTL(oBANKCON6)
#define BANKCON7   bMEMCTL(oBANKCON7)
#define REFRESH   bMEMCTL(oREFRESH)
#define BANKSIZE   bMEMCTL(oBANKSIZE)
#define MRSRB6   bMEMCTL(oMRSRB6)
#define MRSRB7   bMEMCTL(oMRSRB7)
#define SELF_REFRESH   (1 << 22)
#define CLK_CTL_BASE   0x4C000000
#define bCLKCTL(Nb)   __REGl(CLK_CTL_BASE + (Nb))
#define oLOCKTIME   0x00
#define oMPLLCON   0x04
#define oUPLLCON   0x08
#define oCLKCON   0x0C
#define oCLKSLOW   0x10
#define oCLKDIVN   0x14
#define LOCKTIME   bCLKCTL(oLOCKTIME)
#define MPLLCON   bCLKCTL(oMPLLCON)
#define UPLLCON   bCLKCTL(oUPLLCON)
#define CLKCON   bCLKCTL(oCLKCON)
#define CLKSLOW   bCLKCTL(oCLKSLOW)
#define CLKDIVN   bCLKCTL(oCLKDIVN)
#define fMPLL_MDIV   Fld(8,12)
#define fMPLL_PDIV   Fld(6,4)
#define fMPLL_SDIV   Fld(2,0)
#define GET_MDIV(x)   FExtr(x, fMPLL_MDIV)
#define GET_PDIV(x)   FExtr(x, fMPLL_PDIV)
#define GET_SDIV(x)   FExtr(x, fMPLL_SDIV)
#define GPIO_CTL_BASE   0x56000000
#define bGPIO(p, o)   __REGl(GPIO_CTL_BASE + (p) + (o))
#define oGPIO_CON   0x0
#define oGPIO_DAT   0x4
#define oGPIO_UP   0x8
#define oGPIO_RESERVED   0xC
#define oGPIO_A   0x00
#define oGPIO_B   0x10
#define oGPIO_C   0x20
#define oGPIO_D   0x30
#define oGPIO_E   0x40
#define oGPIO_F   0x50
#define oGPIO_G   0x60
#define oGPIO_H   0x70
#define oMISCCR   0x80
#define oDCLKCON   0x84
#define oEXTINT0   0x88
#define oEXTINT1   0x8C
#define oEXTINT2   0x90
#define oEINTFLT0   0x94
#define oEINTFLT1   0x98
#define oEINTFLT2   0x9C
#define oEINTFLT3   0xA0
#define oEINTMASK   0xA4
#define oEINTPEND   0xA8
#define GPACON   bGPIO(oGPIO_A, oGPIO_CON)
#define GPADAT   bGPIO(oGPIO_A, oGPIO_DAT)
#define GPBCON   bGPIO(oGPIO_B, oGPIO_CON)
#define GPBDAT   bGPIO(oGPIO_B, oGPIO_DAT)
#define GPBUP   bGPIO(oGPIO_B, oGPIO_UP)
#define GPCCON   bGPIO(oGPIO_C, oGPIO_CON)
#define GPCDAT   bGPIO(oGPIO_C, oGPIO_DAT)
#define GPCUP   bGPIO(oGPIO_C, oGPIO_UP)
#define GPDCON   bGPIO(oGPIO_D, oGPIO_CON)
#define GPDDAT   bGPIO(oGPIO_D, oGPIO_DAT)
#define GPDUP   bGPIO(oGPIO_D, oGPIO_UP)
#define GPECON   bGPIO(oGPIO_E, oGPIO_CON)
#define GPEDAT   bGPIO(oGPIO_E, oGPIO_DAT)
#define GPEUP   bGPIO(oGPIO_E, oGPIO_UP)
#define GPFCON   bGPIO(oGPIO_F, oGPIO_CON)
#define GPFDAT   bGPIO(oGPIO_F, oGPIO_DAT)
#define GPFUP   bGPIO(oGPIO_F, oGPIO_UP)
#define GPGCON   bGPIO(oGPIO_G, oGPIO_CON)
#define GPGDAT   bGPIO(oGPIO_G, oGPIO_DAT)
#define GPGUP   bGPIO(oGPIO_G, oGPIO_UP)
#define GPHCON   bGPIO(oGPIO_H, oGPIO_CON)
#define GPHDAT   bGPIO(oGPIO_H, oGPIO_DAT)
#define GPHUP   bGPIO(oGPIO_H, oGPIO_UP)
#define MISCCR   bGPIO(oMISCCR, 0)
#define DCLKCON   bGPIO(oDCLKCON, 0)
#define EXTINT0   bGPIO(oEXTINT0, 0)
#define EXTINT1   bGPIO(oEXTINT1, 0)
#define EXTINT2   bGPIO(oEXTINT2, 0)
#define EINTFLT0   bGPIO(oEINTFLT0, 0)
#define EINTFLT1   bGPIO(oEINTFLT1, 0)
#define EINTFLT2   bGPIO(oEINTFLT2, 0)
#define EINTFLT3   bGPIO(oEINTFLT3, 0)
#define EINTMASK   bGPIO(oEINTMASK, 0)
#define EINTPEND   bGPIO(oEINTPEND, 0)
#define UART_CTL_BASE   0x50000000
#define UART0_CTL_BASE   UART_CTL_BASE
#define UART1_CTL_BASE   UART_CTL_BASE + 0x4000
#define UART2_CTL_BASE   UART_CTL_BASE + 0x8000
#define bUART(x, Nb)   __REGl(UART_CTL_BASE + (x)*0x4000 + (Nb))
#define bUARTb(x, Nb)   __REGb(UART_CTL_BASE + (x)*0x4000 + (Nb))
#define oULCON   0x00
#define oUCON   0x04
#define oUFCON   0x08
#define oUMCON   0x0C
#define oUTRSTAT   0x10
#define oUERSTAT   0x14
#define oUFSTAT   0x18
#define oUMSTAT   0x1C
#define oUTXHL   0x20
#define oUTXHB   0x23
#define oURXHL   0x24
#define oURXHB   0x27
#define oUBRDIV   0x28
#define ULCON0   bUART(0, oULCON)
#define UCON0   bUART(0, oUCON)
#define UFCON0   bUART(0, oUFCON)
#define UMCON0   bUART(0, oUMCON)
#define UTRSTAT0   bUART(0, oUTRSTAT)
#define UERSTAT0   bUART(0, oUERSTAT)
#define UFSTAT0   bUART(0, oUFSTAT)
#define UMSTAT0   bUART(0, oUMSTAT)
#define UTXH0   bUARTb(0, oUTXHL)
#define URXH0   bUARTb(0, oURXHL)
#define UBRDIV0   bUART(0, oUBRDIV)
#define ULCON1   bUART(1, oULCON)
#define UCON1   bUART(1, oUCON)
#define UFCON1   bUART(1, oUFCON)
#define UMCON1   bUART(1, oUMCON)
#define UTRSTAT1   bUART(1, oUTRSTAT)
#define UERSTAT1   bUART(1, oUERSTAT)
#define UFSTAT1   bUART(1, oUFSTAT)
#define UMSTAT1   bUART(1, oUMSTAT)
#define UTXH1   bUARTb(1, oUTXHL)
#define URXH1   bUARTb(1, oURXHL)
#define UBRDIV1   bUART(1, oUBRDIV)
#define ULCON2   bUART(2, oULCON)
#define UCON2   bUART(2, oUCON)
#define UFCON2   bUART(2, oUFCON)
#define UMCON2   bUART(2, oUMCON)
#define UTRSTAT2   bUART(2, oUTRSTAT)
#define UERSTAT2   bUART(2, oUERSTAT)
#define UFSTAT2   bUART(2, oUFSTAT)
#define UMSTAT2   bUART(2, oUMSTAT)
#define UTXH2   bUARTb(2, oUTXHL)
#define URXH2   bUARTb(2, oURXHL)
#define UBRDIV2   bUART(2, oUBRDIV)
#define UTRSTAT_TX_EMPTY   (1 << 2)
#define UTRSTAT_RX_READY   (1 << 0)
#define UART_ERR_MASK   0xF
#define INT_CTL_BASE   0x4A000000
#define bINT_CTL(Nb)   __REG(INT_CTL_BASE + (Nb))
#define oSRCPND   0x00
#define oINTMOD   0x04
#define oINTMSK   0x08
#define oPRIORITY   0x0a
#define oINTPND   0x10
#define oINTOFFSET   0x14
#define oSUBSRCPND   0x18
#define oINTSUBMSK   0x1C
#define SRCPND   bINT_CTL(oSRCPND)
#define INTMOD   bINT_CTL(oINTMOD)
#define INTMSK   bINT_CTL(oINTMSK)
#define PRIORITY   bINT_CTL(oPRIORITY)
#define INTPND   bINT_CTL(oINTPND)
#define INTOFFSET   bINT_CTL(oINTOFFSET)
#define SUBSRCPND   bINT_CTL(oSUBSRCPND)
#define INTSUBMSK   bINT_CTL(oINTSUBMSK)
#define INT_ADCTC   (1 << 31)
#define INT_RTC   (1 << 30)
#define INT_SPI1   (1 << 29)
#define INT_UART0   (1 << 28)
#define INT_IIC   (1 << 27)
#define INT_USBH   (1 << 26)
#define INT_USBD   (1 << 25)
#define INT_RESERVED24   (1 << 24)
#define INT_UART1   (1 << 23)
#define INT_SPI0   (1 << 22)
#define INT_MMC   (1 << 21)
#define INT_DMA3   (1 << 20)
#define INT_DMA2   (1 << 19)
#define INT_DMA1   (1 << 18)
#define INT_DMA0   (1 << 17)
#define INT_LCD   (1 << 16)
#define INT_UART2   (1 << 15)
#define INT_TIMER4   (1 << 14)
#define INT_TIMER3   (1 << 13)
#define INT_TIMER2   (1 << 12)
#define INT_TIMER1   (1 << 11)
#define INT_TIMER0   (1 << 10)
#define INT_WDT   (1 << 9)
#define INT_TICK   (1 << 8)
#define INT_BAT_FLT   (1 << 7)
#define INT_RESERVED6   (1 << 6)
#define INT_EINT8_23   (1 << 5)
#define INT_EINT4_7   (1 << 4)
#define INT_EINT3   (1 << 3)
#define INT_EINT2   (1 << 2)
#define INT_EINT1   (1 << 1)
#define INT_EINT0   (1 << 0)
#define INT_ADC   (1 << 10)
#define INT_TC   (1 << 9)
#define INT_ERR2   (1 << 8)
#define INT_TXD2   (1 << 7)
#define INT_RXD2   (1 << 6)
#define INT_ERR1   (1 << 5)
#define INT_TXD1   (1 << 4)
#define INT_RXD1   (1 << 3)
#define INT_ERR0   (1 << 2)
#define INT_TXD0   (1 << 1)
#define INT_RXD0   (1 << 0)
#define NAND_CTL_BASE   0x4E000000
#define bINT_CTL(Nb)   __REG(INT_CTL_BASE + (Nb))
#define oNFCONF   0x00
#define oNFCONT   0x04
#define oNFCMD   0x08
#define oNFADDR   0x0c
#define oNFDATA   0x10
#define oNFSTAT   0x20
#define oNFECC   0x2c
#define bPWM_TIMER(Nb)   __REG(0x51000000 + (Nb))
#define bPWM_BUFn(Nb, x)   bPWM_TIMER(0x0c + (Nb)*0x0c + (x))
#define TCFG0   bPWM_TIMER(0x00)
#define TCFG1   bPWM_TIMER(0x04)
#define TCON   bPWM_TIMER(0x08)
#define TCNTB0   bPWM_BUFn(0,0x0)
#define TCMPB0   bPWM_BUFn(0,0x4)
#define TCNTO0   bPWM_BUFn(0,0x8)
#define TCNTB1   bPWM_BUFn(1,0x0)
#define TCMPB1   bPWM_BUFn(1,0x4)
#define TCNTO1   bPWM_BUFn(1,0x8)
#define TCNTB2   bPWM_BUFn(2,0x0)
#define TCMPB2   bPWM_BUFn(2,0x4)
#define TCNTO2   bPWM_BUFn(2,0x8)
#define TCNTB3   bPWM_BUFn(3,0x0)
#define TCMPB3   bPWM_BUFn(3,0x4)
#define TCNTO3   bPWM_BUFn(3,0x8)
#define TCNTB4   bPWM_BUFn(4,0x0)
#define TCNTO4   bPWM_BUFn(4,0x4)
#define fTCFG0_DZONE   Fld(8,16)
#define fTCFG0_PRE1   Fld(8,8)
#define fTCFG0_PRE0   Fld(8,0)
#define fTCFG1_MUX4   Fld(4,16)
#define TCFG0_DZONE(x)   FInsrt((x), fTCFG0_DZONE)
#define TCFG0_PRE1(x)   FInsrt((x), fTCFG0_PRE1)
#define TCFG0_PRE0(x)   FInsrt((x), fTCFG0_PRE0)
#define TCON_4_AUTO   (1 << 22)
#define TCON_4_UPDATE   (1 << 21)
#define TCON_4_ONOFF   (1 << 20)
#define COUNT_4_ON   (TCON_4_ONOFF*1)
#define COUNT_4_OFF   (TCON_4_ONOFF*0)
#define TCON_3_AUTO   (1 << 19)
#define TIMER3_ATLOAD_ON   (TCON_3_AUTO*1)
#define TIMER3_ATLAOD_OFF   FClrBit(TCON, TCON_3_AUTO)
#define TCON_3_INVERT   (1 << 18)
#define TIMER3_IVT_ON   (TCON_3_INVERT*1)
#define TIMER3_IVT_OFF   (FClrBit(TCON, TCON_3_INVERT))
#define TCON_3_MAN   (1 << 17)
#define TIMER3_MANUP   (TCON_3_MAN*1)
#define TIMER3_NOP   (FClrBit(TCON, TCON_3_MAN))
#define TCON_3_ONOFF   (1 << 16)
#define TIMER3_ON   (TCON_3_ONOFF*1)
#define TIMER3_OFF   (FClrBit(TCON, TCON_3_ONOFF))
#define GET_PRESCALE_TIMER4(x)   FExtr((x), fTCFG0_PRE1)
#define GET_DIVIDER_TIMER4(x)   FExtr((x), fTCFG1_MUX4)
#define bNAND_CTL(Nb)   __REG(0x4e000000 + (Nb))
#define NFCONF   bNAND_CTL(0x00)
#define NFCONT   bNAND_CTL(0x04)
#define NFCMD   bNAND_CTL(0x08)
#define NFADDR   bNAND_CTL(0x0c)
#define NFDATA   __REGb(0x4e000000 + (0x10))
#define NFSTAT   bNAND_CTL(0x20)
#define NFECC   bNAND_CTL(0x2c)
#define fNFCONF_TWRPH1   Fld(3,4)
#define NFCONF_TWRPH1   FMsk(fNFCONF_TWRPH1)
#define NFCONF_TWRPH1_7   FInsrt(0x7, fNFCONF_TWRPH1)
#define fNFCONF_TWRPH0   Fld(3,8)
#define NFCONF_TWRPH0   FMsk(fNFCONF_TWRPH0)
#define NFCONF_TWRPH0_7   FInsrt(0x7, fNFCONF_TWRPH0)
#define fNFCONF_TACLS   Fld(3,12)
#define NFCONF_TACLS   FMsk(fNFCONF_TACLS)
#define NFCONF_TACLS_7   FInsrt(0x7, fNFCONF_TACLS)
#define fNFCONT_nFCE   Fld(1,1)
#define NFCONT_nFCE   FMsk(fNFCONT_nFCE)
#define NFCONT_nFCE_LOW   FInsrt(0x0, fNFCONT_nFCE)
#define NFCONT_nFCE_HIGH   FInsrt(0x1, fNFCONT_nFCE)
#define fNFCONT_ECC   Fld(1,4)
#define NFCONT_ECC   FMsk(fNFCONT_ECC)
#define NFCONT_ECC_NINIT   FInsrt(0x0, fNFCONT_ECC)
#define NFCONT_ECC_INIT   FInsrt(0x1, fNFCONT_ECC)
#define fNFCONT_MAINECC   Fld(1,5)
#define NFCONT_MAINECC   FMsk(fNFCONT_MAINECC)
#define NFCONT_MAINECC_UNLOCK   FInsrt(0x0, fNFCONT_MAINECC)
#define NFCONT_MAINECC_LOCK   FInsrt(0x1, fNFCONT_MAINECC)
#define fNFCONF_ADDRSTEP   Fld(1,13)
#define NFCONF_ADDRSTEP   FMsk(fNFCONF_ADDRSTEP)
#define fNFCONF_PAGESIZE   Fld(1,2)
#define NFCONF_PAGESIZE   FMsk(fNFCONF_PAGESIZE)
#define NFCONF_PAGESIZE_256   FInsrt(0x0, fNFCONF_PAGESIZE)
#define NFCONF_PAGESIZE_512   FInsrt(0x1, fNFCONF_PAGESIZE)
#define fNFCONT_FCTRL   Fld(1,0)
#define NFCONT_FCTRL   FMsk(fNFCONT_FCTRL)
#define NFCONT_FCTRL_DIS   FInsrt(0x0, fNFCONT_FCTRL)
#define NFCONT_FCTRL_EN   FInsrt(0x1, fNFCONT_FCTRL)
#define NFSTAT_RnB   (1 << 2)
#define SPI_CLK   (1 << 18)
#define IIS_CLK   (1 << 17)
#define IIC_CLK   (1 << 16
#define ADC_CLK   (1 << 15)
#define RTC_CLK   (1 << 14)
#define GPIO_CLK   (1 << 13)
#define UART2_CLK   (1 << 12)
#define UART1_CLK   (1 << 11)
#define UART0_CLK   (1 << 10)
#define SDI_CLK   (1 << 9)
#define PWM_CLK   (1 << 8)
#define USBSLAVE_CLK   (1 << 7)
#define USBHOST_CLK   (1 << 6)
#define LCDC_CLK   (1 << 5)
#define NANDCTL_CLK   (1 << 4)
#define SLEEP_ON   (1 << 3)
#define IDLE   (1 << 2)
#define GSTATUS(Nb)   __REG(0x560000AC + (Nb*4))
#define GSTATUS0   GSTATUS(0)
#define GSTATUS1   GSTATUS(1)
#define GSTATUS2   GSTATUS(2)
#define GSTATUS3   GSTATUS(3)
#define GSTATUS4   GSTATUS(4)
#define PMST   GSTATUS2
#define PMSR0   GSTATUS3
#define PMSR1   GSTATUS4
#define PMCTL0   CLKCON
#define PMCTL1   MISCCR
#define SCLKE   (1 << 19)
#define SCLK1   (1 << 18)
#define SCLK0   (1 << 17)
#define USBSPD1   (1 << 13)
#define USBSPD0   (1 << 12)
#define PMST_HWR   (1 << 0)
#define PMST_SMR   (1 << 1)
#define PMST_WDR   (1 << 2)
#define HIDDEN(Nb)   __REG(0x560000C0 + (Nb*4))
#define FLTOUT   HIDDEN(0)
#define DSC0   HIDDEN(1)
#define DSC1   HIDDEN(2)
#define MSLCON   HIDDEN(3)

Define Documentation

#define ABT_MODE   0x17

Definition at line 33 of file s3c2440.h.

#define ADC_CLK   (1 << 15)

Definition at line 431 of file s3c2440.h.

#define BANKCON0   bMEMCTL(oBANKCON0)

Definition at line 68 of file s3c2440.h.

#define BANKCON1   bMEMCTL(oBANKCON1)

Definition at line 69 of file s3c2440.h.

#define BANKCON2   bMEMCTL(oBANKCON2)

Definition at line 70 of file s3c2440.h.

#define BANKCON3   bMEMCTL(oBANKCON3)

Definition at line 71 of file s3c2440.h.

#define BANKCON4   bMEMCTL(oBANKCON4)

Definition at line 72 of file s3c2440.h.

#define BANKCON5   bMEMCTL(oBANKCON5)

Definition at line 73 of file s3c2440.h.

#define BANKCON6   bMEMCTL(oBANKCON6)

Definition at line 74 of file s3c2440.h.

#define BANKCON7   bMEMCTL(oBANKCON7)

Definition at line 75 of file s3c2440.h.

#define BANKSIZE   bMEMCTL(oBANKSIZE)

Definition at line 77 of file s3c2440.h.

#define bCLKCTL (   Nb)    __REGl(CLK_CTL_BASE + (Nb))

Definition at line 85 of file s3c2440.h.

#define bGPIO (   p,
 
)    __REGl(GPIO_CTL_BASE + (p) + (o))

Definition at line 111 of file s3c2440.h.

#define bINT_CTL (   Nb)    __REG(INT_CTL_BASE + (Nb))

Definition at line 301 of file s3c2440.h.

#define bINT_CTL (   Nb)    __REG(INT_CTL_BASE + (Nb))

Definition at line 301 of file s3c2440.h.

#define bMEMCTL (   Nb)    __REGl(MEM_CTL_BASE + (Nb))

Definition at line 51 of file s3c2440.h.

#define bNAND_CTL (   Nb)    __REG(0x4e000000 + (Nb))

Definition at line 375 of file s3c2440.h.

#define bPWM_BUFn (   Nb,
  x 
)    bPWM_TIMER(0x0c + (Nb)*0x0c + (x))

Definition at line 314 of file s3c2440.h.

#define bPWM_TIMER (   Nb)    __REG(0x51000000 + (Nb))

Definition at line 313 of file s3c2440.h.

#define bUART (   x,
  Nb 
)    __REGl(UART_CTL_BASE + (x)*0x4000 + (Nb))

Definition at line 177 of file s3c2440.h.

#define bUARTb (   x,
  Nb 
)    __REGb(UART_CTL_BASE + (x)*0x4000 + (Nb))

Definition at line 178 of file s3c2440.h.

#define BWSCON   bMEMCTL(oBWSCON)

Definition at line 67 of file s3c2440.h.

#define CC_C_BIT   (1 << 29)

Definition at line 40 of file s3c2440.h.

#define CC_N_BIT   (1 << 31)

Definition at line 42 of file s3c2440.h.

#define CC_V_BIT   (1 << 28)

Definition at line 39 of file s3c2440.h.

#define CC_Z_BIT   (1 << 30)

Definition at line 41 of file s3c2440.h.

#define CLK_CTL_BASE   0x4C000000

Definition at line 84 of file s3c2440.h.

#define CLKCON   bCLKCTL(oCLKCON)

Definition at line 97 of file s3c2440.h.

#define CLKDIVN   bCLKCTL(oCLKDIVN)

Definition at line 99 of file s3c2440.h.

#define CLKSLOW   bCLKCTL(oCLKSLOW)

Definition at line 98 of file s3c2440.h.

#define COUNT_4_OFF   (TCON_4_ONOFF*0)

Definition at line 346 of file s3c2440.h.

#define COUNT_4_ON   (TCON_4_ONOFF*1)

Definition at line 345 of file s3c2440.h.

#define DCLKCON   bGPIO(oDCLKCON, 0)

Definition at line 161 of file s3c2440.h.

#define DSC0   HIDDEN(1)

Definition at line 469 of file s3c2440.h.

#define DSC1   HIDDEN(2)

Definition at line 470 of file s3c2440.h.

#define EINTFLT0   bGPIO(oEINTFLT0, 0)

Definition at line 165 of file s3c2440.h.

#define EINTFLT1   bGPIO(oEINTFLT1, 0)

Definition at line 166 of file s3c2440.h.

#define EINTFLT2   bGPIO(oEINTFLT2, 0)

Definition at line 167 of file s3c2440.h.

#define EINTFLT3   bGPIO(oEINTFLT3, 0)

Definition at line 168 of file s3c2440.h.

#define EINTMASK   bGPIO(oEINTMASK, 0)

Definition at line 169 of file s3c2440.h.

#define EINTPEND   bGPIO(oEINTPEND, 0)

Definition at line 170 of file s3c2440.h.

#define EXTINT0   bGPIO(oEXTINT0, 0)

Definition at line 162 of file s3c2440.h.

#define EXTINT1   bGPIO(oEXTINT1, 0)

Definition at line 163 of file s3c2440.h.

#define EXTINT2   bGPIO(oEXTINT2, 0)

Definition at line 164 of file s3c2440.h.

#define F_BIT   0x40

Definition at line 37 of file s3c2440.h.

#define FIQ26_MODE   0x01

Definition at line 26 of file s3c2440.h.

#define FIQ_MODE   0x11

Definition at line 30 of file s3c2440.h.

#define FLTOUT   HIDDEN(0)

Definition at line 468 of file s3c2440.h.

#define fMPLL_MDIV   Fld(8,12)

Definition at line 101 of file s3c2440.h.

#define fMPLL_PDIV   Fld(6,4)

Definition at line 102 of file s3c2440.h.

#define fMPLL_SDIV   Fld(2,0)

Definition at line 103 of file s3c2440.h.

#define fNFCONF_ADDRSTEP   Fld(1,13)

Definition at line 408 of file s3c2440.h.

#define fNFCONF_PAGESIZE   Fld(1,2)

Definition at line 412 of file s3c2440.h.

#define fNFCONF_TACLS   Fld(3,12)

Definition at line 390 of file s3c2440.h.

#define fNFCONF_TWRPH0   Fld(3,8)

Definition at line 387 of file s3c2440.h.

#define fNFCONF_TWRPH1   Fld(3,4)

Definition at line 384 of file s3c2440.h.

#define fNFCONT_ECC   Fld(1,4)

Definition at line 398 of file s3c2440.h.

#define fNFCONT_FCTRL   Fld(1,0)

Definition at line 417 of file s3c2440.h.

#define fNFCONT_MAINECC   Fld(1,5)

Definition at line 403 of file s3c2440.h.

#define fNFCONT_nFCE   Fld(1,1)

Definition at line 393 of file s3c2440.h.

#define fTCFG0_DZONE   Fld(8,16)

Definition at line 334 of file s3c2440.h.

#define fTCFG0_PRE0   Fld(8,0)

Definition at line 336 of file s3c2440.h.

#define fTCFG0_PRE1   Fld(8,8)

Definition at line 335 of file s3c2440.h.

#define fTCFG1_MUX4   Fld(4,16)

Definition at line 337 of file s3c2440.h.

#define GET_DIVIDER_TIMER4 (   x)    FExtr((x), fTCFG1_MUX4)

Definition at line 361 of file s3c2440.h.

#define GET_MDIV (   x)    FExtr(x, fMPLL_MDIV)

Definition at line 105 of file s3c2440.h.

#define GET_PDIV (   x)    FExtr(x, fMPLL_PDIV)

Definition at line 106 of file s3c2440.h.

#define GET_PRESCALE_TIMER4 (   x)    FExtr((x), fTCFG0_PRE1)

Definition at line 360 of file s3c2440.h.

#define GET_SDIV (   x)    FExtr(x, fMPLL_SDIV)

Definition at line 107 of file s3c2440.h.

#define GPACON   bGPIO(oGPIO_A, oGPIO_CON)

Definition at line 137 of file s3c2440.h.

#define GPADAT   bGPIO(oGPIO_A, oGPIO_DAT)

Definition at line 138 of file s3c2440.h.

#define GPBCON   bGPIO(oGPIO_B, oGPIO_CON)

Definition at line 139 of file s3c2440.h.

#define GPBDAT   bGPIO(oGPIO_B, oGPIO_DAT)

Definition at line 140 of file s3c2440.h.

#define GPBUP   bGPIO(oGPIO_B, oGPIO_UP)

Definition at line 141 of file s3c2440.h.

#define GPCCON   bGPIO(oGPIO_C, oGPIO_CON)

Definition at line 142 of file s3c2440.h.

#define GPCDAT   bGPIO(oGPIO_C, oGPIO_DAT)

Definition at line 143 of file s3c2440.h.

#define GPCUP   bGPIO(oGPIO_C, oGPIO_UP)

Definition at line 144 of file s3c2440.h.

#define GPDCON   bGPIO(oGPIO_D, oGPIO_CON)

Definition at line 145 of file s3c2440.h.

#define GPDDAT   bGPIO(oGPIO_D, oGPIO_DAT)

Definition at line 146 of file s3c2440.h.

#define GPDUP   bGPIO(oGPIO_D, oGPIO_UP)

Definition at line 147 of file s3c2440.h.

#define GPECON   bGPIO(oGPIO_E, oGPIO_CON)

Definition at line 148 of file s3c2440.h.

#define GPEDAT   bGPIO(oGPIO_E, oGPIO_DAT)

Definition at line 149 of file s3c2440.h.

#define GPEUP   bGPIO(oGPIO_E, oGPIO_UP)

Definition at line 150 of file s3c2440.h.

#define GPFCON   bGPIO(oGPIO_F, oGPIO_CON)

Definition at line 151 of file s3c2440.h.

#define GPFDAT   bGPIO(oGPIO_F, oGPIO_DAT)

Definition at line 152 of file s3c2440.h.

#define GPFUP   bGPIO(oGPIO_F, oGPIO_UP)

Definition at line 153 of file s3c2440.h.

#define GPGCON   bGPIO(oGPIO_G, oGPIO_CON)

Definition at line 154 of file s3c2440.h.

#define GPGDAT   bGPIO(oGPIO_G, oGPIO_DAT)

Definition at line 155 of file s3c2440.h.

#define GPGUP   bGPIO(oGPIO_G, oGPIO_UP)

Definition at line 156 of file s3c2440.h.

#define GPHCON   bGPIO(oGPIO_H, oGPIO_CON)

Definition at line 157 of file s3c2440.h.

#define GPHDAT   bGPIO(oGPIO_H, oGPIO_DAT)

Definition at line 158 of file s3c2440.h.

#define GPHUP   bGPIO(oGPIO_H, oGPIO_UP)

Definition at line 159 of file s3c2440.h.

#define GPIO_CLK   (1 << 13)

Definition at line 433 of file s3c2440.h.

#define GPIO_CTL_BASE   0x56000000

Definition at line 110 of file s3c2440.h.

#define GSTATUS (   Nb)    __REG(0x560000AC + (Nb*4))

Definition at line 446 of file s3c2440.h.

#define GSTATUS0   GSTATUS(0)

Definition at line 447 of file s3c2440.h.

#define GSTATUS1   GSTATUS(1)

Definition at line 448 of file s3c2440.h.

#define GSTATUS2   GSTATUS(2)

Definition at line 449 of file s3c2440.h.

#define GSTATUS3   GSTATUS(3)

Definition at line 450 of file s3c2440.h.

#define GSTATUS4   GSTATUS(4)

Definition at line 451 of file s3c2440.h.

#define HIDDEN (   Nb)    __REG(0x560000C0 + (Nb*4))

Definition at line 467 of file s3c2440.h.

#define I_BIT   0x80

Definition at line 38 of file s3c2440.h.

#define IDLE   (1 << 2)

Definition at line 444 of file s3c2440.h.

#define IIC_CLK   (1 << 16

Definition at line 430 of file s3c2440.h.

#define IIS_CLK   (1 << 17)

Definition at line 429 of file s3c2440.h.

#define INT_ADC   (1 << 10)

Definition at line 287 of file s3c2440.h.

#define INT_ADCTC   (1 << 31)

Definition at line 254 of file s3c2440.h.

#define INT_BAT_FLT   (1 << 7)

Definition at line 278 of file s3c2440.h.

#define INT_CTL_BASE   0x4A000000

Definition at line 233 of file s3c2440.h.

#define INT_DMA0   (1 << 17)

Definition at line 268 of file s3c2440.h.

#define INT_DMA1   (1 << 18)

Definition at line 267 of file s3c2440.h.

#define INT_DMA2   (1 << 19)

Definition at line 266 of file s3c2440.h.

#define INT_DMA3   (1 << 20)

Definition at line 265 of file s3c2440.h.

#define INT_EINT0   (1 << 0)

Definition at line 285 of file s3c2440.h.

#define INT_EINT1   (1 << 1)

Definition at line 284 of file s3c2440.h.

#define INT_EINT2   (1 << 2)

Definition at line 283 of file s3c2440.h.

#define INT_EINT3   (1 << 3)

Definition at line 282 of file s3c2440.h.

#define INT_EINT4_7   (1 << 4)

Definition at line 281 of file s3c2440.h.

#define INT_EINT8_23   (1 << 5)

Definition at line 280 of file s3c2440.h.

#define INT_ERR0   (1 << 2)

Definition at line 295 of file s3c2440.h.

#define INT_ERR1   (1 << 5)

Definition at line 292 of file s3c2440.h.

#define INT_ERR2   (1 << 8)

Definition at line 289 of file s3c2440.h.

#define INT_IIC   (1 << 27)

Definition at line 258 of file s3c2440.h.

#define INT_LCD   (1 << 16)

Definition at line 269 of file s3c2440.h.

#define INT_MMC   (1 << 21)

Definition at line 264 of file s3c2440.h.

#define INT_RESERVED24   (1 << 24)

Definition at line 261 of file s3c2440.h.

#define INT_RESERVED6   (1 << 6)

Definition at line 279 of file s3c2440.h.

#define INT_RTC   (1 << 30)

Definition at line 255 of file s3c2440.h.

#define INT_RXD0   (1 << 0)

Definition at line 297 of file s3c2440.h.

#define INT_RXD1   (1 << 3)

Definition at line 294 of file s3c2440.h.

#define INT_RXD2   (1 << 6)

Definition at line 291 of file s3c2440.h.

#define INT_SPI0   (1 << 22)

Definition at line 263 of file s3c2440.h.

#define INT_SPI1   (1 << 29)

Definition at line 256 of file s3c2440.h.

#define INT_TC   (1 << 9)

Definition at line 288 of file s3c2440.h.

#define INT_TICK   (1 << 8)

Definition at line 277 of file s3c2440.h.

#define INT_TIMER0   (1 << 10)

Definition at line 275 of file s3c2440.h.

#define INT_TIMER1   (1 << 11)

Definition at line 274 of file s3c2440.h.

#define INT_TIMER2   (1 << 12)

Definition at line 273 of file s3c2440.h.

#define INT_TIMER3   (1 << 13)

Definition at line 272 of file s3c2440.h.

#define INT_TIMER4   (1 << 14)

Definition at line 271 of file s3c2440.h.

#define INT_TXD0   (1 << 1)

Definition at line 296 of file s3c2440.h.

#define INT_TXD1   (1 << 4)

Definition at line 293 of file s3c2440.h.

#define INT_TXD2   (1 << 7)

Definition at line 290 of file s3c2440.h.

#define INT_UART0   (1 << 28)

Definition at line 257 of file s3c2440.h.

#define INT_UART1   (1 << 23)

Definition at line 262 of file s3c2440.h.

#define INT_UART2   (1 << 15)

Definition at line 270 of file s3c2440.h.

#define INT_USBD   (1 << 25)

Definition at line 260 of file s3c2440.h.

#define INT_USBH   (1 << 26)

Definition at line 259 of file s3c2440.h.

#define INT_WDT   (1 << 9)

Definition at line 276 of file s3c2440.h.

#define INTMOD   bINT_CTL(oINTMOD)

Definition at line 246 of file s3c2440.h.

#define INTMSK   bINT_CTL(oINTMSK)

Definition at line 247 of file s3c2440.h.

#define INTOFFSET   bINT_CTL(oINTOFFSET)

Definition at line 250 of file s3c2440.h.

#define INTPND   bINT_CTL(oINTPND)

Definition at line 249 of file s3c2440.h.

#define INTSUBMSK   bINT_CTL(oINTSUBMSK)

Definition at line 252 of file s3c2440.h.

#define IRQ26_MODE   0x02

Definition at line 27 of file s3c2440.h.

#define IRQ_MODE   0x12

Definition at line 31 of file s3c2440.h.

#define LCDC_CLK   (1 << 5)

Definition at line 441 of file s3c2440.h.

#define LOCKTIME   bCLKCTL(oLOCKTIME)

Definition at line 94 of file s3c2440.h.

#define MEM_CTL_BASE   0x48000000

Definition at line 50 of file s3c2440.h.

#define MISCCR   bGPIO(oMISCCR, 0)

Definition at line 160 of file s3c2440.h.

#define MODE_MASK   0x1f

Definition at line 36 of file s3c2440.h.

#define MPLLCON   bCLKCTL(oMPLLCON)

Definition at line 95 of file s3c2440.h.

#define MRSRB6   bMEMCTL(oMRSRB6)

Definition at line 78 of file s3c2440.h.

#define MRSRB7   bMEMCTL(oMRSRB7)

Definition at line 79 of file s3c2440.h.

#define MSLCON   HIDDEN(3)

Definition at line 471 of file s3c2440.h.

#define NAND_CTL_BASE   0x4E000000

Definition at line 300 of file s3c2440.h.

#define NANDCTL_CLK   (1 << 4)

Definition at line 442 of file s3c2440.h.

#define NFADDR   bNAND_CTL(0x0c)

Definition at line 379 of file s3c2440.h.

#define NFCMD   bNAND_CTL(0x08)

Definition at line 378 of file s3c2440.h.

#define NFCONF   bNAND_CTL(0x00)

Definition at line 376 of file s3c2440.h.

#define NFCONF_ADDRSTEP   FMsk(fNFCONF_ADDRSTEP)

Definition at line 409 of file s3c2440.h.

#define NFCONF_PAGESIZE   FMsk(fNFCONF_PAGESIZE)

Definition at line 413 of file s3c2440.h.

#define NFCONF_PAGESIZE_256   FInsrt(0x0, fNFCONF_PAGESIZE)

Definition at line 414 of file s3c2440.h.

#define NFCONF_PAGESIZE_512   FInsrt(0x1, fNFCONF_PAGESIZE)

Definition at line 415 of file s3c2440.h.

#define NFCONF_TACLS   FMsk(fNFCONF_TACLS)

Definition at line 391 of file s3c2440.h.

#define NFCONF_TACLS_7   FInsrt(0x7, fNFCONF_TACLS)

Definition at line 392 of file s3c2440.h.

#define NFCONF_TWRPH0   FMsk(fNFCONF_TWRPH0)

Definition at line 388 of file s3c2440.h.

#define NFCONF_TWRPH0_7   FInsrt(0x7, fNFCONF_TWRPH0)

Definition at line 389 of file s3c2440.h.

#define NFCONF_TWRPH1   FMsk(fNFCONF_TWRPH1)

Definition at line 385 of file s3c2440.h.

#define NFCONF_TWRPH1_7   FInsrt(0x7, fNFCONF_TWRPH1)

Definition at line 386 of file s3c2440.h.

#define NFCONT   bNAND_CTL(0x04)

Definition at line 377 of file s3c2440.h.

#define NFCONT_ECC   FMsk(fNFCONT_ECC)

Definition at line 399 of file s3c2440.h.

#define NFCONT_ECC_INIT   FInsrt(0x1, fNFCONT_ECC)

Definition at line 401 of file s3c2440.h.

#define NFCONT_ECC_NINIT   FInsrt(0x0, fNFCONT_ECC)

Definition at line 400 of file s3c2440.h.

#define NFCONT_FCTRL   FMsk(fNFCONT_FCTRL)

Definition at line 418 of file s3c2440.h.

#define NFCONT_FCTRL_DIS   FInsrt(0x0, fNFCONT_FCTRL)

Definition at line 419 of file s3c2440.h.

#define NFCONT_FCTRL_EN   FInsrt(0x1, fNFCONT_FCTRL)

Definition at line 420 of file s3c2440.h.

#define NFCONT_MAINECC   FMsk(fNFCONT_MAINECC)

Definition at line 404 of file s3c2440.h.

#define NFCONT_MAINECC_LOCK   FInsrt(0x1, fNFCONT_MAINECC)

Definition at line 406 of file s3c2440.h.

#define NFCONT_MAINECC_UNLOCK   FInsrt(0x0, fNFCONT_MAINECC)

Definition at line 405 of file s3c2440.h.

#define NFCONT_nFCE   FMsk(fNFCONT_nFCE)

Definition at line 394 of file s3c2440.h.

#define NFCONT_nFCE_HIGH   FInsrt(0x1, fNFCONT_nFCE)

Definition at line 396 of file s3c2440.h.

#define NFCONT_nFCE_LOW   FInsrt(0x0, fNFCONT_nFCE)

Definition at line 395 of file s3c2440.h.

#define NFDATA   __REGb(0x4e000000 + (0x10))

Definition at line 380 of file s3c2440.h.

#define NFECC   bNAND_CTL(0x2c)

Definition at line 382 of file s3c2440.h.

#define NFSTAT   bNAND_CTL(0x20)

Definition at line 381 of file s3c2440.h.

#define NFSTAT_RnB   (1 << 2)

Definition at line 422 of file s3c2440.h.

#define oBANKCON0   0x04

Definition at line 54 of file s3c2440.h.

#define oBANKCON1   0x08

Definition at line 55 of file s3c2440.h.

#define oBANKCON2   0x0C

Definition at line 56 of file s3c2440.h.

#define oBANKCON3   0x10

Definition at line 57 of file s3c2440.h.

#define oBANKCON4   0x14

Definition at line 58 of file s3c2440.h.

#define oBANKCON5   0x18

Definition at line 59 of file s3c2440.h.

#define oBANKCON6   0x1C

Definition at line 60 of file s3c2440.h.

#define oBANKCON7   0x20

Definition at line 61 of file s3c2440.h.

#define oBANKSIZE   0x28

Definition at line 63 of file s3c2440.h.

#define oBWSCON   0x00

Definition at line 53 of file s3c2440.h.

#define oCLKCON   0x0C

Definition at line 90 of file s3c2440.h.

#define oCLKDIVN   0x14

Definition at line 92 of file s3c2440.h.

#define oCLKSLOW   0x10

Definition at line 91 of file s3c2440.h.

#define oDCLKCON   0x84

Definition at line 126 of file s3c2440.h.

#define oEINTFLT0   0x94

Definition at line 130 of file s3c2440.h.

#define oEINTFLT1   0x98

Definition at line 131 of file s3c2440.h.

#define oEINTFLT2   0x9C

Definition at line 132 of file s3c2440.h.

#define oEINTFLT3   0xA0

Definition at line 133 of file s3c2440.h.

#define oEINTMASK   0xA4

Definition at line 134 of file s3c2440.h.

#define oEINTPEND   0xA8

Definition at line 135 of file s3c2440.h.

#define oEXTINT0   0x88

Definition at line 127 of file s3c2440.h.

#define oEXTINT1   0x8C

Definition at line 128 of file s3c2440.h.

#define oEXTINT2   0x90

Definition at line 129 of file s3c2440.h.

#define oGPIO_A   0x00

Definition at line 117 of file s3c2440.h.

#define oGPIO_B   0x10

Definition at line 118 of file s3c2440.h.

#define oGPIO_C   0x20

Definition at line 119 of file s3c2440.h.

#define oGPIO_CON   0x0

Definition at line 113 of file s3c2440.h.

#define oGPIO_D   0x30

Definition at line 120 of file s3c2440.h.

#define oGPIO_DAT   0x4

Definition at line 114 of file s3c2440.h.

#define oGPIO_E   0x40

Definition at line 121 of file s3c2440.h.

#define oGPIO_F   0x50

Definition at line 122 of file s3c2440.h.

#define oGPIO_G   0x60

Definition at line 123 of file s3c2440.h.

#define oGPIO_H   0x70

Definition at line 124 of file s3c2440.h.

#define oGPIO_RESERVED   0xC

Definition at line 116 of file s3c2440.h.

#define oGPIO_UP   0x8

Definition at line 115 of file s3c2440.h.

#define oINTMOD   0x04

Definition at line 237 of file s3c2440.h.

#define oINTMSK   0x08

Definition at line 238 of file s3c2440.h.

#define oINTOFFSET   0x14

Definition at line 241 of file s3c2440.h.

#define oINTPND   0x10

Definition at line 240 of file s3c2440.h.

#define oINTSUBMSK   0x1C

Definition at line 243 of file s3c2440.h.

#define oLOCKTIME   0x00

Definition at line 87 of file s3c2440.h.

#define oMISCCR   0x80

Definition at line 125 of file s3c2440.h.

#define oMPLLCON   0x04

Definition at line 88 of file s3c2440.h.

#define oMRSRB6   0x2C

Definition at line 64 of file s3c2440.h.

#define oMRSRB7   0x2C

Definition at line 65 of file s3c2440.h.

#define oNFADDR   0x0c

Definition at line 306 of file s3c2440.h.

#define oNFCMD   0x08

Definition at line 305 of file s3c2440.h.

#define oNFCONF   0x00

Definition at line 303 of file s3c2440.h.

#define oNFCONT   0x04

Definition at line 304 of file s3c2440.h.

#define oNFDATA   0x10

Definition at line 307 of file s3c2440.h.

#define oNFECC   0x2c

Definition at line 309 of file s3c2440.h.

#define oNFSTAT   0x20

Definition at line 308 of file s3c2440.h.

#define oPRIORITY   0x0a

Definition at line 239 of file s3c2440.h.

#define oREFRESH   0x24

Definition at line 62 of file s3c2440.h.

#define oSRCPND   0x00

Definition at line 236 of file s3c2440.h.

#define oSUBSRCPND   0x18

Definition at line 242 of file s3c2440.h.

#define oUBRDIV   0x28

Definition at line 192 of file s3c2440.h.

#define oUCON   0x04

Definition at line 181 of file s3c2440.h.

#define oUERSTAT   0x14

Definition at line 185 of file s3c2440.h.

#define oUFCON   0x08

Definition at line 182 of file s3c2440.h.

#define oUFSTAT   0x18

Definition at line 186 of file s3c2440.h.

#define oULCON   0x00

Definition at line 180 of file s3c2440.h.

#define oUMCON   0x0C

Definition at line 183 of file s3c2440.h.

#define oUMSTAT   0x1C

Definition at line 187 of file s3c2440.h.

#define oUPLLCON   0x08

Definition at line 89 of file s3c2440.h.

#define oURXHB   0x27

Definition at line 191 of file s3c2440.h.

#define oURXHL   0x24

Definition at line 190 of file s3c2440.h.

#define oUTRSTAT   0x10

Definition at line 184 of file s3c2440.h.

#define oUTXHB   0x23

Definition at line 189 of file s3c2440.h.

#define oUTXHL   0x20

Definition at line 188 of file s3c2440.h.

#define PMCTL0   CLKCON

Definition at line 455 of file s3c2440.h.

#define PMCTL1   MISCCR

Definition at line 456 of file s3c2440.h.

#define PMSR0   GSTATUS3

Definition at line 453 of file s3c2440.h.

#define PMSR1   GSTATUS4

Definition at line 454 of file s3c2440.h.

#define PMST   GSTATUS2

Definition at line 452 of file s3c2440.h.

#define PMST_HWR   (1 << 0)

Definition at line 462 of file s3c2440.h.

#define PMST_SMR   (1 << 1)

Definition at line 463 of file s3c2440.h.

#define PMST_WDR   (1 << 2)

Definition at line 464 of file s3c2440.h.

#define PRIORITY   bINT_CTL(oPRIORITY)

Definition at line 248 of file s3c2440.h.

#define PWM_CLK   (1 << 8)

Definition at line 438 of file s3c2440.h.

#define R1_iA   (1 << 31)

Definition at line 46 of file s3c2440.h.

#define R1_nF   (1 << 30)

Definition at line 45 of file s3c2440.h.

#define REFRESH   bMEMCTL(oREFRESH)

Definition at line 76 of file s3c2440.h.

#define RTC_CLK   (1 << 14)

Definition at line 432 of file s3c2440.h.

#define SCLK0   (1 << 17)

Definition at line 459 of file s3c2440.h.

#define SCLK1   (1 << 18)

Definition at line 458 of file s3c2440.h.

#define SCLKE   (1 << 19)

Definition at line 457 of file s3c2440.h.

#define SDI_CLK   (1 << 9)

Definition at line 437 of file s3c2440.h.

#define SELF_REFRESH   (1 << 22)

Definition at line 81 of file s3c2440.h.

#define SLEEP_ON   (1 << 3)

Definition at line 443 of file s3c2440.h.

#define SPI_CLK   (1 << 18)

Definition at line 428 of file s3c2440.h.

#define SRCPND   bINT_CTL(oSRCPND)

Definition at line 245 of file s3c2440.h.

#define SUBSRCPND   bINT_CTL(oSUBSRCPND)

Definition at line 251 of file s3c2440.h.

#define SVC26_MODE   0x03

Definition at line 28 of file s3c2440.h.

#define SVC_MODE   0x13

Definition at line 32 of file s3c2440.h.

#define SYSTEM_MODE   0x1f

Definition at line 35 of file s3c2440.h.

#define TCFG0   bPWM_TIMER(0x00)

Definition at line 316 of file s3c2440.h.

#define TCFG0_DZONE (   x)    FInsrt((x), fTCFG0_DZONE)

Definition at line 339 of file s3c2440.h.

#define TCFG0_PRE0 (   x)    FInsrt((x), fTCFG0_PRE0)

Definition at line 341 of file s3c2440.h.

#define TCFG0_PRE1 (   x)    FInsrt((x), fTCFG0_PRE1)

Definition at line 340 of file s3c2440.h.

#define TCFG1   bPWM_TIMER(0x04)

Definition at line 317 of file s3c2440.h.

#define TCMPB0   bPWM_BUFn(0,0x4)

Definition at line 320 of file s3c2440.h.

#define TCMPB1   bPWM_BUFn(1,0x4)

Definition at line 323 of file s3c2440.h.

#define TCMPB2   bPWM_BUFn(2,0x4)

Definition at line 326 of file s3c2440.h.

#define TCMPB3   bPWM_BUFn(3,0x4)

Definition at line 329 of file s3c2440.h.

#define TCNTB0   bPWM_BUFn(0,0x0)

Definition at line 319 of file s3c2440.h.

#define TCNTB1   bPWM_BUFn(1,0x0)

Definition at line 322 of file s3c2440.h.

#define TCNTB2   bPWM_BUFn(2,0x0)

Definition at line 325 of file s3c2440.h.

#define TCNTB3   bPWM_BUFn(3,0x0)

Definition at line 328 of file s3c2440.h.

#define TCNTB4   bPWM_BUFn(4,0x0)

Definition at line 331 of file s3c2440.h.

#define TCNTO0   bPWM_BUFn(0,0x8)

Definition at line 321 of file s3c2440.h.

#define TCNTO1   bPWM_BUFn(1,0x8)

Definition at line 324 of file s3c2440.h.

#define TCNTO2   bPWM_BUFn(2,0x8)

Definition at line 327 of file s3c2440.h.

#define TCNTO3   bPWM_BUFn(3,0x8)

Definition at line 330 of file s3c2440.h.

#define TCNTO4   bPWM_BUFn(4,0x4)

Definition at line 332 of file s3c2440.h.

#define TCON   bPWM_TIMER(0x08)

Definition at line 318 of file s3c2440.h.

#define TCON_3_AUTO   (1 << 19)

Definition at line 347 of file s3c2440.h.

#define TCON_3_INVERT   (1 << 18)

Definition at line 350 of file s3c2440.h.

#define TCON_3_MAN   (1 << 17)

Definition at line 353 of file s3c2440.h.

#define TCON_3_ONOFF   (1 << 16)

Definition at line 356 of file s3c2440.h.

#define TCON_4_AUTO   (1 << 22)

Definition at line 342 of file s3c2440.h.

#define TCON_4_ONOFF   (1 << 20)

Definition at line 344 of file s3c2440.h.

#define TCON_4_UPDATE   (1 << 21)

Definition at line 343 of file s3c2440.h.

#define TIMER3_ATLAOD_OFF   FClrBit(TCON, TCON_3_AUTO)

Definition at line 349 of file s3c2440.h.

#define TIMER3_ATLOAD_ON   (TCON_3_AUTO*1)

Definition at line 348 of file s3c2440.h.

#define TIMER3_IVT_OFF   (FClrBit(TCON, TCON_3_INVERT))

Definition at line 352 of file s3c2440.h.

#define TIMER3_IVT_ON   (TCON_3_INVERT*1)

Definition at line 351 of file s3c2440.h.

#define TIMER3_MANUP   (TCON_3_MAN*1)

Definition at line 354 of file s3c2440.h.

#define TIMER3_NOP   (FClrBit(TCON, TCON_3_MAN))

Definition at line 355 of file s3c2440.h.

#define TIMER3_OFF   (FClrBit(TCON, TCON_3_ONOFF))

Definition at line 358 of file s3c2440.h.

#define TIMER3_ON   (TCON_3_ONOFF*1)

Definition at line 357 of file s3c2440.h.

#define UART0_CLK   (1 << 10)

Definition at line 436 of file s3c2440.h.

#define UART0_CTL_BASE   UART_CTL_BASE

Definition at line 174 of file s3c2440.h.

#define UART1_CLK   (1 << 11)

Definition at line 435 of file s3c2440.h.

#define UART1_CTL_BASE   UART_CTL_BASE + 0x4000

Definition at line 175 of file s3c2440.h.

#define UART2_CLK   (1 << 12)

Definition at line 434 of file s3c2440.h.

#define UART2_CTL_BASE   UART_CTL_BASE + 0x8000

Definition at line 176 of file s3c2440.h.

#define UART_CTL_BASE   0x50000000

Definition at line 173 of file s3c2440.h.

#define UART_ERR_MASK   0xF

Definition at line 230 of file s3c2440.h.

#define UBRDIV0   bUART(0, oUBRDIV)

Definition at line 204 of file s3c2440.h.

#define UBRDIV1   bUART(1, oUBRDIV)

Definition at line 215 of file s3c2440.h.

#define UBRDIV2   bUART(2, oUBRDIV)

Definition at line 226 of file s3c2440.h.

#define UCON0   bUART(0, oUCON)

Definition at line 195 of file s3c2440.h.

#define UCON1   bUART(1, oUCON)

Definition at line 206 of file s3c2440.h.

#define UCON2   bUART(2, oUCON)

Definition at line 217 of file s3c2440.h.

#define UERSTAT0   bUART(0, oUERSTAT)

Definition at line 199 of file s3c2440.h.

#define UERSTAT1   bUART(1, oUERSTAT)

Definition at line 210 of file s3c2440.h.

#define UERSTAT2   bUART(2, oUERSTAT)

Definition at line 221 of file s3c2440.h.

#define UFCON0   bUART(0, oUFCON)

Definition at line 196 of file s3c2440.h.

#define UFCON1   bUART(1, oUFCON)

Definition at line 207 of file s3c2440.h.

#define UFCON2   bUART(2, oUFCON)

Definition at line 218 of file s3c2440.h.

#define UFSTAT0   bUART(0, oUFSTAT)

Definition at line 200 of file s3c2440.h.

#define UFSTAT1   bUART(1, oUFSTAT)

Definition at line 211 of file s3c2440.h.

#define UFSTAT2   bUART(2, oUFSTAT)

Definition at line 222 of file s3c2440.h.

#define ULCON0   bUART(0, oULCON)

Definition at line 194 of file s3c2440.h.

#define ULCON1   bUART(1, oULCON)

Definition at line 205 of file s3c2440.h.

#define ULCON2   bUART(2, oULCON)

Definition at line 216 of file s3c2440.h.

#define UMCON0   bUART(0, oUMCON)

Definition at line 197 of file s3c2440.h.

#define UMCON1   bUART(1, oUMCON)

Definition at line 208 of file s3c2440.h.

#define UMCON2   bUART(2, oUMCON)

Definition at line 219 of file s3c2440.h.

#define UMSTAT0   bUART(0, oUMSTAT)

Definition at line 201 of file s3c2440.h.

#define UMSTAT1   bUART(1, oUMSTAT)

Definition at line 212 of file s3c2440.h.

#define UMSTAT2   bUART(2, oUMSTAT)

Definition at line 223 of file s3c2440.h.

#define UND_MODE   0x1b

Definition at line 34 of file s3c2440.h.

#define UPLLCON   bCLKCTL(oUPLLCON)

Definition at line 96 of file s3c2440.h.

#define URXH0   bUARTb(0, oURXHL)

Definition at line 203 of file s3c2440.h.

#define URXH1   bUARTb(1, oURXHL)

Definition at line 214 of file s3c2440.h.

#define URXH2   bUARTb(2, oURXHL)

Definition at line 225 of file s3c2440.h.

#define USBHOST_CLK   (1 << 6)

Definition at line 440 of file s3c2440.h.

#define USBSLAVE_CLK   (1 << 7)

Definition at line 439 of file s3c2440.h.

#define USBSPD0   (1 << 12)

Definition at line 461 of file s3c2440.h.

#define USBSPD1   (1 << 13)

Definition at line 460 of file s3c2440.h.

#define USR26_MODE   0x00

Definition at line 25 of file s3c2440.h.

#define USR_MODE   0x10

Definition at line 29 of file s3c2440.h.

#define UTRSTAT0   bUART(0, oUTRSTAT)

Definition at line 198 of file s3c2440.h.

#define UTRSTAT1   bUART(1, oUTRSTAT)

Definition at line 209 of file s3c2440.h.

#define UTRSTAT2   bUART(2, oUTRSTAT)

Definition at line 220 of file s3c2440.h.

#define UTRSTAT_RX_READY   (1 << 0)

Definition at line 229 of file s3c2440.h.

#define UTRSTAT_TX_EMPTY   (1 << 2)

Definition at line 228 of file s3c2440.h.

#define UTXH0   bUARTb(0, oUTXHL)

Definition at line 202 of file s3c2440.h.

#define UTXH1   bUARTb(1, oUTXHL)

Definition at line 213 of file s3c2440.h.

#define UTXH2   bUARTb(2, oUTXHL)

Definition at line 224 of file s3c2440.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines