C API for BALTECH SDK
rtc.h File Reference
#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Rtc_ErrHardware   BRP_ERR_STATUS(0x0400, 0x01)
 
#define BRP_Rtc_ErrVoltageLow   BRP_ERR_STATUS(0x0400, 0x02)
 

Functions

brp_errcode brp_Rtc_GetTime (brp_protocol protocol, unsigned ClockId, unsigned *Now)
 
brp_errcode brp_Rtc_SetTime (brp_protocol protocol, unsigned ClockId, unsigned Now)
 

Detailed Description

If the reader has a Real Time Clock (RTC) on board, its current time can be set and retrieved with commands from this command group.

Definition in file rtc.h.