Operation internal RTC

The internal RTC uses a standard Linux framework and is able to use a unified interface to operate the RTC.Here is an example of an RTC operation:

# date -s "2020-11-12 10:10:10"   //Set system time
# hwclock -w                      //Update the system time to the RTC
# hwclock                         //Read RTC time
# hwclock -s                      //Synchronize the RTC time with the system time
文档更新时间: 2021-03-18 10:47   作者:Aeeditor