2.91 Reset Controller (RSTC)

This Plib implements software abstraction for RSTC Peripheral.

Note: Not all APIs maybe implemented. See the specific device family section for available APIs.

Library Interface

Reset Controller peripheral library provides the following interfaces:

Functions

NameDescription
RSTC_InitializeInitializes RSTC peripheral based on MCC configuration
RSTC_ResetResets the processor and all the embedded peripherals including the memory system and, in particular, the Remap Command or this function asserts NRST Pin
RSTC_NRSTPinReadReads the NRST pin level, sampled on each "Master Clock(MCK)" rising edge
RSTC_ResetCauseGetReports the cause of the last reset
RSTC_BackupExitCauseGetReports the cause of the Backup Exit
RSTC_ResetCauseGetReports the cause of the latest reset
RSTC_NRSTPinReadReads the NRST pin level, sampled on each "Master Clock(MCK)" rising edge
RSTC_CoProcessorEnableAsserts/de-asserts reset on co-processor
RSTC_CoProcessorPeripheralEnableAsserts/de-asserts reset on co-processor peripherals
RSTC_CallbackRegisterAllows application to register callback with PLIB

Data types and constants

NameTypeDescription
RSTC_RESET_CAUSETypedefIdentifies the type of reset
RSTC_RESET_TYPEEnumIdentifies the type of reset
RSTC_BKUPEXIT_CAUSETypedefIdentifies the cause for Backup reset
RSTC_CALLBACKTypedefRSTC Callback Function Pointer