Navigation bar
  Start Previous page
 200 of 283 
Next page End 195 196 197 198 199 200 201 202 203 204 205  

191
PutTimeStamp
Type
Subroutine
Invocation
PutTimeStamp(year, month, day, hour, minute, seconds)
Parameter
Method
Type
Description
year
ByVal
int16
The year value (1999-2177).
month
ByVal
Byte
The month value (1-12).
day
ByVal
Byte
The day value (1-31).
hour
ByVal
Byte
The hour value (0-23).
minute
ByVal
Byte
The minutes value (0-59).
seconds
ByVal
Single
The seconds value.
Discussion
This routine combines the given date values into the corresponding Register.RTCDay value and
combines the given time values into the corresponding RTC tick count and stores the result in
their respective parameters.
Note that Register.RTCDay and Register.RTCTick are initialized to zero on power-up or reset.
Previous page Top Next page