分类: 嵌入式
2010-07-20 20:52:36
cfg |= S3C_VIDTCON0_VBPDE(time->v_bpe - 1);
cfg |= S3C_VIDTCON0_VBPD(time->v_bp - 1);
cfg |= S3C_VIDTCON0_VFPD(time->v_fp - 1);
cfg |= S3C_VIDTCON0_VSPW(time->v_sw - 1);
cfg |= S3C_VIDTCON1_VFPDE(time->v_fpe - 1);
cfg |= S3C_VIDTCON1_HBPD(time->h_bp - 1);
cfg |= S3C_VIDTCON1_HFPD(time->h_fp - 1);
cfg |= S3C_VIDTCON1_HSPW(time->h_sw - 1);
由此得出
v_bpe = VBPDE + 1;
v_bp = VBPD + 1;
v_fp = VFPD + 1;
v_sw = VSPW + 1;
v_fpe = VFPDE + 1;
h_bp = HBPD + 1;
h_fp = HFPD + 1;
h_sw = HSPW + 1;