2.97 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
| Name | Description |
|---|---|
| RSTC_Initialize | Initializes RSTC peripheral based on MCC configuration |
| RSTC_Reset | Resets the processor and all the embedded peripherals including the memory system and, in particular, the Remap Command or this function asserts NRST Pin |
| RSTC_NRSTPinRead | Reads the NRST pin level, sampled on each "Master Clock(MCK)" rising edge |
| RSTC_ResetCauseGet | Reports the cause of the last reset |
| RSTC_BackupExitCauseGet | Reports the cause of the Backup Exit |
| RSTC_ResetCauseGet | Reports the cause of the latest reset |
| RSTC_NRSTPinRead | Reads the NRST pin level, sampled on each "Master Clock(MCK)" rising edge |
| RSTC_CoProcessorEnable | Asserts/de-asserts reset on co-processor |
| RSTC_CoProcessorPeripheralEnable | Asserts/de-asserts reset on co-processor peripherals |
| RSTC_CallbackRegister | Allows application to register callback with PLIB |
Data types and constants
| Name | Type | Description |
|---|---|---|
| RSTC_RESET_CAUSE | Typedef | Identifies the type of reset |
| RSTC_RESET_TYPE | Enum | Identifies the type of reset |
| RSTC_BKUPEXIT_CAUSE | Typedef | Identifies the cause for Backup reset |
| RSTC_CALLBACK | Typedef | RSTC Callback Function Pointer |
