文件名称:lcd_pro_dsp
介绍说明--下载内容均来自于网络,请自行研究使用
液晶显示控制一、RTC设置时间方法
1、对于刚使用的实时时钟,先将其晶振起振
2、将时间更新设置为禁止,且要将数据模式设置好
3、将设置的数据写入
4、将时间更新设置为允许
二、RTC数据读取方法
判断寄存器A的UIP位是否为0,如果为0,表示时钟数据不处于更新状态,
可以将时钟数据,否则等待其为0-Control of a liquid crystal display, RTC set the time, method 1, for just the use of real-time clock, first date of its crystal oscillator 2 will be time to update the set to ban, and the data model to set up three, will set the data to write four will be time to update the set up to allow two, RTC register A data access method to determine whether the UIP bit is 0, If 0, the clock data is not in the update the status, you can clock and data, or wait for the 0
1、对于刚使用的实时时钟,先将其晶振起振
2、将时间更新设置为禁止,且要将数据模式设置好
3、将设置的数据写入
4、将时间更新设置为允许
二、RTC数据读取方法
判断寄存器A的UIP位是否为0,如果为0,表示时钟数据不处于更新状态,
可以将时钟数据,否则等待其为0-Control of a liquid crystal display, RTC set the time, method 1, for just the use of real-time clock, first date of its crystal oscillator 2 will be time to update the set to ban, and the data model to set up three, will set the data to write four will be time to update the set up to allow two, RTC register A data access method to determine whether the UIP bit is 0, If 0, the clock data is not in the update the status, you can clock and data, or wait for the 0
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lcd_pro_dsp.c