微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > uboot 下S3C6410 的LCD 显示

uboot 下S3C6410 的LCD 显示

时间:11-11 来源:互联网 点击:

DE_1BPP (0x0 < 2)

#define WINCON1_BPPMODE_2BPP (0x1 < 2)

#define WINCON1_BPPMODE_4BPP (0x2 < 2)

#define WINCON1_BPPMODE_8BPP_PALETTE (0x3 < 2)

#define WINCON1_BPPMODE_8BPP_1232 (0x4 < 2)

#define WINCON1_BPPMODE_16BPP_565 (0x5 < 2)

#define WINCON1_BPPMODE_16BPP_A1555 (0x6 < 2)

#define WINCON1_BPPMODE_16BPP_I1555 (0x7 < 2)

#define WINCON1_BPPMODE_18BPP_666 (0x8 < 2)

#define WINCON1_BPPMODE_18BPP_A1665 (0x9 < 2)

#define WINCON1_BPPMODE_19BPP_A1666 (0xa < 2)

#define WINCON1_BPPMODE_24BPP_888 (0xb < 2)

#define WINCON1_BPPMODE_24BPP_A1887 (0xc < 2)

#define WINCON1_BPPMODE_25BPP_A1888 (0xd < 2)

#define WINCON1_BPPMODE_28BPP_A4888 (0xd < 2)

/* S5PV210 */

#define SHADOWCON (0x34)

#define SHADOWCON_WINx_PROTECT(_win) (1 < (10 + (_win)))

/* DMA channels (all windows) */

#define SHADOWCON_CHx_ENABLE(_win) (1 < (_win))

/* Local input channels (windows 0-2) */

#define SHADOWCON_CHx_LOCAL_ENABLE(_win) (1 < (5 + (_win)))

#define VIDOSDxA_TOPLEFT_X_MASK (0x7ff < 11)

#define VIDOSDxA_TOPLEFT_X_SHIFT (11)

#define VIDOSDxA_TOPLEFT_X_LIMIT (0x7ff)

#define VIDOSDxA_TOPLEFT_X(_x) ((_x) < 11)

#define VIDOSDxA_TOPLEFT_Y_MASK (0x7ff < 0)

#define VIDOSDxA_TOPLEFT_Y_SHIFT (0)

#define VIDOSDxA_TOPLEFT_Y_LIMIT (0x7ff)

#define VIDOSDxA_TOPLEFT_Y(_x) ((_x) < 0)

#define VIDOSDxB_BOTRIGHT_X_MASK (0x7ff < 11)

#define VIDOSDxB_BOTRIGHT_X_SHIFT (11)

#define VIDOSDxB_BOTRIGHT_X_LIMIT (0x7ff)

#define VIDOSDxB_BOTRIGHT_X(_x) ((_x) < 11)

#define VIDOSDxB_BOTRIGHT_Y_MASK (0x7ff < 0)

#define VIDOSDxB_BOTRIGHT_Y_SHIFT (0)

#define VIDOSDxB_BOTRIGHT_Y_LIMIT (0x7ff)

#define VIDOSDxB_BOTRIGHT_Y(_x) ((_x) < 0)

/* For VIDOSD[1..4]C */

#define VIDISD14C_ALPHA0_R(_x) ((_x) < 20)

#define VIDISD14C_ALPHA0_G_MASK (0xf < 16)

#define VIDISD14C_ALPHA0_G_SHIFT (16)

#define VIDISD14C_ALPHA0_G_LIMIT (0xf)

#define VIDISD14C_ALPHA0_G(_x) ((_x) < 16)

#define VIDISD14C_ALPHA0_B_MASK (0xf < 12)

#define VIDISD14C_ALPHA0_B_SHIFT (12)

#define VIDISD14C_ALPHA0_B_LIMIT (0xf)

#define VIDISD14C_ALPHA0_B(_x) ((_x) < 12)

#define VIDISD14C_ALPHA1_R_MASK (0xf < 8)

#define VIDISD14C_ALPHA1_R_SHIFT (8)

#define VIDISD14C_ALPHA1_R_LIMIT (0xf)

#define VIDISD14C_ALPHA1_R(_x) ((_x) < 8)

#define VIDISD14C_ALPHA1_G_MASK (0xf < 4)

#define VIDISD14C_ALPHA1_G_SHIFT (4)

#define VIDISD14C_ALPHA1_G_LIMIT (0xf)

#define VIDISD14C_ALPHA1_G(_x) ((_x) < 4)

#define VIDISD14C_ALPHA1_B_MASK (0xf < 0)

#define VIDISD14C_ALPHA1_B_SHIFT (0)

#define VIDISD14C_ALPHA1_B_LIMIT (0xf)

#define VIDISD14C_ALPHA1_B(_x) ((_x) < 0)

/* Video buffer addresses */

#define VIDW_BUF_START(_buff) (0xA0 + ((_buff) * 8))

#define VIDW_BUF_START1(_buff) (0xA4 + ((_buff) * 8))

#define VIDW_BUF_END(_buff) (0xD0 + ((_buff) * 8))

#define VIDW_BUF_END1(_buff) (0xD4 + ((_buff) * 8))

#define VIDW_BUF_SIZE(_buff) (0x100 + ((_buff) * 4))

#define VIDW_BUF_SIZE_OFFSET_MASK (0x1fff < 13)

#define VIDW_BUF_SIZE_OFFSET_SHIFT (13)

#define VIDW_BUF_SIZE_OFFSET_LIMIT (0x1fff)

#define VIDW_BUF_SIZE_OFFSET(_x) ((_x) < 13)

#define VIDW_BUF_SIZE_PAGEWIDTH_MASK (0x1fff < 0)

#define VIDW_BUF_SIZE_PAGEWIDTH_SHIFT (0)

#define VIDW_BUF_SIZE_PAGEWIDTH_LIMIT (0x1fff)

#define VIDW_BUF_SIZE_PAGEWIDTH(_x) ((_x) < 0)

/* Interrupt controls and status */

#define VIDINTCON0_FIFOINTERVAL_MASK (0x3f < 20)

#define VIDINTCON0_FIFOINTERVAL_SHIFT (20)

#define VIDINTCON0_FIFOINTERVAL_LIMIT (0x3f)

#define VIDINTCON0_FIFOINTERVAL(_x) ((_x) < 20)

#define VIDINTCON0_INT_SYSMAINCON (1 < 19)

#define VIDINTCON0_INT_SYSSUBCON (1 < 18)

#define VIDINTCON0_INT_I80IFDONE (1 < 17)

#define VIDINTCON0_FRAMESEL0_MASK (0x3 < 15)

#define VIDINTCON0_FRAMESEL0_SHIFT (15)

#define VIDINTCON0_FRAMESEL0_BACKPORCH (0x0 < 15)

#define VIDINTCON0_FRAMESEL0_VSYNC (0x1 < 15)

#define VIDI

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top