1.3.22.52 RTC_RTCCTimeStampGet Function

C

void RTC_RTCCTimeStampGet( struct tm * timeStamp );

Summary

Get the Time stamp of Tamper Detection.

Description

This function is used to get the recorded Time Stamp of the tamper Detection.

Precondition

Tamper channels must be configured properly using MHC.

Parameters

Param Description
timeStamp Time structure to be filled

Returns

None.

Example

struct tm currentTime;
RTC_RTCCTimeStampGet(&currentTime);

Remarks

This Feature may not be available on all devices. Refer to device Datasheet for more information.