• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C++ LCD_DataWrite函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中LCD_DataWrite函数的典型用法代码示例。如果您正苦于以下问题:C++ LCD_DataWrite函数的具体用法?C++ LCD_DataWrite怎么用?C++ LCD_DataWrite使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了LCD_DataWrite函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: LCD_SoftReset

//Èí¼þ¸´Î»£¬¿ÉÄÜÔì³ÉÏÔʾÆÁÒì³££¬²»½¨ÒéʹÓÃ
void LCD_SoftReset(void)
{
		LCD_CmdWrite(0x01);
		LCD_DataWrite(0x01);
		LCD_DataWrite(0x00);
		SysCtlDelay(SysCtlClockGet()/10);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:8,代码来源:RA8875.c


示例2: Backlight_PWM2Initial

void Backlight_PWM2Initial(void)
{
		LCD_CmdWrite(0x8c);//PWM setting
		LCD_DataWrite(0x80);
		LCD_CmdWrite(0x8c);//PWM setting
		LCD_DataWrite(0x81);//open PWM
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:7,代码来源:RA8875.c


示例3: LCD_VerticalPixelSet

//0x19: LCD Vertical Display Height Register (VDHR0)
//0x1a: LCD Vertical Display Height Register0 (VDHR1)
void LCD_VerticalPixelSet(uint16_t verticalPixels)
{
		uint8_t tmp = (uint8_t)(verticalPixels%0x100-1);
		LCD_CmdWrite(0x19); //VDHR0 //Vertical Display Height Bit [7:0]                         
		LCD_DataWrite(tmp);//Vertical pixels = VDHR + 1   
		tmp = (uint8_t)verticalPixels/0x100;
		LCD_CmdWrite(0x1a); //VDHR1 //Vertical Display Height Bit [8]                           
		LCD_DataWrite(tmp);//Vertical pixels = VDHR + 1 
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例4: Draw_CircleYCenterSet

//0x9b: Draw Circle Center Vertical Address Register0 (DCVR0)
//0x9c: Draw Circle Center Vertical Address Register1 (DCVR1)
void Draw_CircleYCenterSet(uint16_t YCenter)
{
		uint8_t temp = (uint8_t) YCenter;
		LCD_CmdWrite(0x9b);
		LCD_DataWrite(temp);
		temp = (uint8_t)(YCenter >> 8);
		LCD_CmdWrite(0x9c);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例5: Draw_CircleXCenterSet

//0x99: Draw Circle Center Horizontal Address Register0 (DCHR0)
//0x9a: Draw Circle Center Horizontal Address Register1 (DCHR1)
void Draw_CircleXCenterSet(uint16_t XCenter)
{
		uint8_t temp = (uint8_t) XCenter;
		LCD_CmdWrite(0x99);
		LCD_DataWrite(temp);
		temp = (uint8_t)(XCenter >> 8);
		LCD_CmdWrite(0x9a);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例6: Draw_LSYEndSet

//0x97: Draw Line/Square Vertical End Address Register0 (DLVER0)
//0x98: Draw Line/Square Vertical End Address Register1 (DLVER1)
void Draw_LSYEndSet(uint16_t YEnd)
{
		uint8_t temp = (uint8_t) YEnd;
		LCD_CmdWrite(0x97);
		LCD_DataWrite(temp);
		temp = (uint8_t)(YEnd >> 8);
		LCD_CmdWrite(0x98);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例7: Draw_LSXEndSet

//0x95: Draw Line/Square Horizontal End Address Register0 (DLHER0)
//0x96: Draw Line/Square Horizontal End Address Register1 (DLHER1)
void Draw_LSXEndSet(uint16_t XEnd)
{
		uint8_t temp = (uint8_t) XEnd;
		LCD_CmdWrite(0x95);
		LCD_DataWrite(temp);
		temp = (uint8_t)(XEnd >> 8);
		LCD_CmdWrite(0x96);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例8: Draw_LSYStartSet

//0x93: Draw Line/Square Vertical Start Address Register0 (DLVSR0)
//0x94: Draw Line/Square Vertical Start Address Register1 (DLVSR1)
void Draw_LSYStartSet(uint16_t YStart)
{
		uint8_t temp = (uint8_t) YStart;
		LCD_CmdWrite(0x93);
		LCD_DataWrite(temp);
		temp = (uint8_t)(YStart >> 8);
		LCD_CmdWrite(0x94);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例9: Draw_LSXStartSet

//0x91: Draw Line/Square Horizontal Start Address Register0 (DLHSR0)
//0x92: Draw Line/Square Horizontal Start Address Register1 (DLHSR1)
void Draw_LSXStartSet(uint16_t XStart)
{
		uint8_t temp = (uint8_t) XStart;
		LCD_CmdWrite(0x91);
		LCD_DataWrite(temp);
		temp = (uint8_t)(XStart >> 8);
		LCD_CmdWrite(0x92);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例10: Window_ActiveXEndPointSet

//0x34: Horizontal End Point 0 of Active Window (HEAW0)
//0x35: Horizontal End Point 1 of Active Window (HEAW1)
void Window_ActiveXEndPointSet(uint16_t XEnd)
{
		uint8_t temp = XEnd%0x100;
		LCD_CmdWrite(0x34);
		LCD_DataWrite(temp);
		temp = XEnd/0x100;
		LCD_CmdWrite(0x35);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例11: PLL_Initial

void PLL_Initial(void)
{
		LCD_CmdWrite(0x88);
		LCD_DataWrite(0x0a);
		__Delay1ms();
		LCD_CmdWrite(0x89);
		LCD_DataWrite(0x02);
		__Delay1ms();
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:9,代码来源:RA8875.c


示例12: Window_ActiveYStartPointSet

//0x33: Vertical Start Point 1 of Active Window (VSAW0)
void Window_ActiveYStartPointSet(uint16_t YStart)
{
		uint8_t temp = YStart%0x100;
		LCD_CmdWrite(0x32);
		LCD_DataWrite(temp);
		temp = YStart/0x100;
		LCD_CmdWrite(0x33);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:10,代码来源:RA8875.c


示例13: Window_ActiveXStartPointSet

//0x31: Horizontal Start Point 1 of Active Window (HSAW1)
void Window_ActiveXStartPointSet(uint16_t XStart)
{
		uint8_t temp = XStart%0x100;
		LCD_CmdWrite(0x30);
		LCD_DataWrite(temp);
		temp = XStart/0x100;
		LCD_CmdWrite(0x31);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:10,代码来源:RA8875.c


示例14: Window_ScrollXEndPointSet

//0x3c: Horizontal End Point 0 of Scoll Window (HESW0)
//0x3d: Horizontal End Point 1 of Scoll Window (HESW1)
void Window_ScrollXEndPointSet(uint16_t XEnd)
{
		uint8_t temp = XEnd%0x100;
		LCD_CmdWrite(0x3c);
		LCD_DataWrite(temp);
		temp = XEnd/0x100;
		LCD_CmdWrite(0x3d);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例15: Window_ScrollYEndPointSet

//0x3e: Vertical End Point 0 of Scoll Window (VESW0)
//0x3f: Vertical End Point 1 of Scoll Window (VESW0)
void Window_ScrollYEndPointSet(uint16_t YEnd)
{
		uint8_t temp = YEnd%0x100;
		LCD_CmdWrite(0x3e);
		LCD_DataWrite(temp);
		temp = YEnd/0x100;
		LCD_CmdWrite(0x3f);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例16: BTE_HeightSet

//0x5e: BTE Height Register 0 (BEHR0)
//0x5f: BTE Height Register 1 (BEHR0)
void BTE_HeightSet(uint16_t height)
{
		uint8_t temp = (uint8_t)(height % 0x100);
		LCD_CmdWrite(0x5e);
		LCD_DataWrite(temp);
		temp = (uint8_t)(height / 0x100);
		LCD_CmdWrite(0x5f);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例17: BTE_YDstPointSet

//0x5a: Vertical Destination Point 0 of BTE (VDBE0) 
//0x5b: Vertical Destination Point 1 of BTE (VDBE1)
void BTE_YDstPointSet(uint16_t YDst)
{
		uint8_t temp = (uint8_t)(YDst % 0x100);
		LCD_CmdWrite(0x5a);
		LCD_DataWrite(temp);
		temp = (uint8_t)(YDst / 0x100);
		LCD_CmdWrite(0x5b);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例18: BTE_WidthSet

//0x5c: BTE Width Register 0 (BEWR0)
//0x5d: BTE Width Register 1 (BEWR1)
void BTE_WidthSet(uint16_t width)
{
		uint8_t temp = (uint8_t)(width % 0x100);
		LCD_CmdWrite(0x5c);
		LCD_DataWrite(temp);
		temp = (uint8_t)(width / 0x100);
		LCD_CmdWrite(0x5d);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例19: BTE_YSourcePointSet

//0x56: Vertical Source Point 0 of BTE (VSBE0)
//0x57: Vertical Source Point 1 of BTE (VSBE1)
void BTE_YSourcePointSet(uint16_t YSource)
{
		uint8_t temp = (uint8_t)(YSource % 0x100);
		LCD_CmdWrite(0x56);
		LCD_DataWrite(temp);
		temp = (uint8_t)(YSource / 0x100);
		LCD_CmdWrite(0x57);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c


示例20: BTE_XDstPointSet

//0x58: Horizontal Destination Point 0 of BTE (HDBE0)
//0x59: Horizontal Destination Point 1 of BTE (HDBE1)
void BTE_XDstPointSet(uint16_t XDst)
{
		uint8_t temp = (uint8_t)(XDst % 0x100);
		LCD_CmdWrite(0x58);
		LCD_DataWrite(temp);
		temp = (uint8_t)(XDst / 0x100);
		LCD_CmdWrite(0x59);
		LCD_DataWrite(temp);
}
开发者ID:lengmi,项目名称:PlasterV2_0,代码行数:11,代码来源:RA8875.c



注:本文中的LCD_DataWrite函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ LCD_DbgLog函数代码示例发布时间:2022-05-30
下一篇:
C++ LCD_DEBUG函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap