Callback_agg_rtc_sg()

Top  Previous  Next

Description:

Callback procedure, invoked when the library needs to get or set the device's date and time. Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

sub callback_agg_rtc_sg(byref wdaycount as word, byref wmincount as word, byref bsec as byte, byref wmilsec as word, op as en_agg_rdwr)

Returns:

---

See Also:

---

 


Part

Description

wdaycount

Number of elapsed days.

wmincount

Number of elapsed minutes.

bsec

Number of elapsed seconds.

wmilsec

Number of elapsed milliseconds.

op

EN_AGG_GET or EN_AGG_SET

Details

Necessary only when Use custom RTC option is enabled in the configurator.