📄 ga_reg.h
字号:
/******************************************************************************
* Filename : Ga_reg.h *
* Start date : 2002.12.16 *
* By : KIM DO YEON *
* Contact : *
* Description : Ga registers *
* *
******************************************************************************
*/
#ifndef _GA_REG_H_
#define _GA_REG_H_
/*********************************************
* INCLUDE
*********************************************/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef S5H5002_SDRAM_BASE
#define S5H5002_SDRAM_BASE 0
#endif
#define GA_BASE S5H5002_SDRAM_BASE + 0x330000
#define rGA_CTRL (*(volatile unsigned int *) (GA_BASE + 0x00))
#if 0
#define rGA_CMD_BASE_H (*(volatile unsigned int *) (GA_BASE + 0x04))
#define rGA_CMD_BASE_L (*(volatile unsigned int *) (GA_BASE + 0x06))
#define rGA_COEFF_Y (*(volatile unsigned int *) (GA_BASE + 0x08))
#define rGA_COEFF_CB (*(volatile unsigned int *) (GA_BASE + 0x0C))
#define rGA_COEFF_CR (*(volatile unsigned int *) (GA_BASE + 0x10))
#endif
#define rGA_SRC_BASE_H (*(volatile unsigned int *) (GA_BASE + 0x14))
#define rGA_SRC_BASE_L (*(volatile unsigned int *) (GA_BASE + 0x16))
#define rGA_SRC_CFG_H (*(volatile unsigned int *) (GA_BASE + 0x18))
#define rGA_SRC_CFG_L (*(volatile unsigned int *) (GA_BASE + 0x1A))
#define rGA_SRC_LOC_H (*(volatile unsigned int *) (GA_BASE + 0x1C))
#define rGA_SRC_LOC_L (*(volatile unsigned int *) (GA_BASE + 0x1E))
#define rGA_DST_BASE_H (*(volatile unsigned int *) (GA_BASE + 0x20))
#define rGA_DST_BASE_L (*(volatile unsigned int *) (GA_BASE + 0x22))
#define rGA_DST_CFG_H (*(volatile unsigned int *) (GA_BASE + 0x24))
#define rGA_DST_CFG_L (*(volatile unsigned int *) (GA_BASE + 0x26))
#define rGA_DST_LOC_H (*(volatile unsigned int *) (GA_BASE + 0x28))
#define rGA_DST_LOC_L (*(volatile unsigned int *) (GA_BASE + 0x2A))
#define rGA_BITBLT_CTRL_H (*(volatile unsigned int *) (GA_BASE + 0x2C))
#define rGA_BITBLT_CTRL_L (*(volatile unsigned int *) (GA_BASE + 0x2E))
#define rGA_BITBLT_CFG_H (*(volatile unsigned int *) (GA_BASE + 0x30))
#define rGA_BITBLT_CFG_L (*(volatile unsigned int *) (GA_BASE + 0x32))
#define rGA_KEY_SRC_H (*(volatile unsigned int *) (GA_BASE + 0x34))
#define rGA_KEY_SRC_L (*(volatile unsigned int *) (GA_BASE + 0x36))
#define rGA_KEY_DST_H (*(volatile unsigned int *) (GA_BASE + 0x38))
#define rGA_KEY_DST_L (*(volatile unsigned int *) (GA_BASE + 0x3A))
#define rGA_FILL_COLOR_H (*(volatile unsigned int *) (GA_BASE + 0x3C))
#define rGA_FILL_COLOR_L (*(volatile unsigned int *) (GA_BASE + 0x3E))
//#define rGA_MASK (*(volatile unsigned int *) (GA_BASE + 0x40))
#define rGA_INTR_H (*(volatile unsigned int *) (GA_BASE + 0X044))
#define rGA_INTR_L (*(volatile unsigned int *) (GA_BASE + 0X046))
//#define rGA_CLUT_BASE (*(volatile unsigned int *) (GA_BASE + 0x400))
#ifdef __cplusplus
}
#endif
#endif /* _GA_REG_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -