1.2.19.53 1.3.22.53 1.4.20.53 1.5.21.53 1.6.21.53 1.7.22.53 1.29.21.53 1.32.24.53 1.38.20.53 1.39.17.53 1.40.19.53 RTC_TamperSourceGet Function

C

TAMPER_CHANNEL RTC_TamperSourceGet( void );

Summary

Get the Tamper source.

Description

This function returns the channel number that resulted in Tamper Detection interrupt.

Precondition

Tamper channels must be configured properly using MHC.

Parameters

Param Description
reg Backup register to be used

Returns

The Tamper channel over which Tamper was detected.

Example

//Get Tamper channel
uint32_t value = RTC_TamperSourceGet();

Remarks

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