10 #ifndef __BRP_BALTECH_SDK_CMDS_RTC_H__ 11 #define __BRP_BALTECH_SDK_CMDS_RTC_H__ 12 #include "../typedefs.h" 13 #ifdef BALTECH_SDK_INTERNAL 17 #define BRP_Rtc_ErrHardware BRP_ERR_STATUS(0x0400, 0x01) 18 #endif // BALTECH_SDK_INTERNAL 19 #ifdef BALTECH_SDK_INTERNAL 23 #define BRP_Rtc_ErrVoltageLow BRP_ERR_STATUS(0x0400, 0x02) 24 #endif // BALTECH_SDK_INTERNAL 25 #ifdef BALTECH_SDK_INTERNAL 39 #ifdef BRP_SUPPORT_LEGACY_METHODS 42 brp_errcode brp_Rtc_GetTime(brp_Rtc_GetTime_t params);
44 #endif // BALTECH_SDK_INTERNAL 45 #ifdef BALTECH_SDK_INTERNAL 59 #ifdef BRP_SUPPORT_LEGACY_METHODS 62 brp_errcode brp_Rtc_SetTime(brp_Rtc_SetTime_t params);
64 #endif // BALTECH_SDK_INTERNAL unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.