Home |
RTTarget-32 Programming Manual Function RTCMOSWriteTime System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTCMOSWriteTimeRTCMOSWriteTime writes the given date and time of day to the Real-Time Clock: void RTCMOSWriteTime(const SYSTEMTIME * T); ParametersTPointer to a SYSTEMTIME structure (defined in windows.h and windows.pas for Delphi) containing the date and time to write into the CMOS real-time clock. The passed structure is not translated for time zones or daylight saving (summer) time. It is not recommended to use this function frequently. RTCMOSWriteTime is slow and must stop the real-time clock for a short period of time. To use RTTarget-32's Win32 Date and Time Management, the time set should be local standard time, but not local daylight saving (summer) time. It is recommended to use function RTCMOSSetRTC instead. This function requires an MC146818A Real-Time Clock on the target.
|