问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - layer
  • 关于GD32F450VET6参数问题 sos

    代码中 关于位置的参数关系,还有含义,有谁能知道呢? /* TLI layer1 configuration */ tli_layer_init_struct.layer_window_leftpos = 80 + HORIZONTAL_SYNCHRONOUS_PULSE + HORIZONTAL_BACK_PORCH; tli_layer_init_struct.layer_window_rightpos = (80 + 247 + HORIZONTAL_SYNCHRONOUS_PULSE + HORIZONTAL_BACK_PORCH - 1); tli_layer_init_struct.layer_window_toppos = 20 + VERTICAL_SYNCHRONOUS_PULSE + VERTICAL_BACK_PORCH; tli_layer_init_struct.layer_window_bottompos = 20 + 118 + VERTICAL_SYNCHRONOUS_PULSE + VERTICAL_BACK_PORCH - 1; tli_layer_init_struct.layer_ppf = LAYER_PPF_RGB565; tli_layer_init_struct.layer_sa = 0xff; tli_layer_init_struct.layer_acf1 = LAYER_ACF1_PASA; tli_layer_init_struct.layer_acf2 = LAYER_ACF2_PASA; tli_layer_init_struct.layer_default_alpha = 0x80; //显示范围以外的透明度 tli_layer_init_struct.layer_default_blue = 0; //显示范围以外的背景蓝色 tli_layer_init_struct.layer_default_green = 0; //显示范围以外的背景绿色 tli_layer_init_struct.layer_default_red = 0; //显示范围以外的背景红色 tli_layer_init_struct.layer_frame_bufaddr = (uint32_t)&blended_address_buffer; tli_layer_init_struct.layer_frame_line_length = ((247 * 2) + 3); tli_layer_init_struct.layer_frame_buf_stride_offset = (247 * 2); tli_layer_init_struct.layer_frame_total_line_number = 118; tli_layer_init(LAYER1, &tli_layer_init_struct);

    GD32F450 layer ST ni struct AC

    1980浏览量 0回复量 关注量