Jump to main content

##

# 2.97.5 RSTC_BackupExitCauseGet Function

## C

    RSTC_BKUPEXIT_CAUSE RSTC_BackupExitCauseGet (void)

## Summary

Reports the cause of the Backup Exit.

## Description

This function returns the cause of the Backup exit.

## Precondition

None.

## Parameters

None.

## Returns

Returns the cause of the Backup Exit.

## Example

    if (RSTC_BackupExitCauseGet() == RSTC_BKUPEXIT_CAUSE_HIB0)
    {
        //Application related tasks
    }

## Remarks

Refer to the specific device data sheet to determine availability.