Driver API for RSTC (plib_rstc.h) More...
Functions | |
| uint32_t | RSTC_GetResetCause (void) |
| void | RSTC_EnableResetPin (void) |
| Enable the external RESET pin. | |
| void | RSTC_DisableResetPin (void) |
| Disable the external RESET pin. | |
| void | RSTC_EnableWriteProtection (void) |
| Enable write protection for RSTC registers. | |
| void | RSTC_DisableWriteProtection (void) |
| Disable write protection for RSTC registers. | |
| void | RSTC_LockupResetEnableInDebug (void) |
| Enable lockup reset in debug mode. | |
| void | RSTC_LockupResetDisableInDebug (void) |
| Disable lockup reset in debug mode. | |
Driver API for RSTC (plib_rstc.h)
| void RSTC_DisableResetPin | ( | void | ) |
Disable the external RESET pin.
Sets the RSTPINDIS bit to disable the external RESET pin.
Example usage:
| void RSTC_DisableWriteProtection | ( | void | ) |
Disable write protection for RSTC registers.
Disables write protection for the RSTC registers.
Example usage:
| void RSTC_EnableResetPin | ( | void | ) |
Enable the external RESET pin.
Clears the RSTPINDIS bit to enable the external RESET pin.
Example usage:
| void RSTC_EnableWriteProtection | ( | void | ) |
Enable write protection for RSTC registers.
Enables write protection for the RSTC registers.
Example usage:
| uint32_t RSTC_GetResetCause | ( | void | ) |
| void RSTC_LockupResetDisableInDebug | ( | void | ) |
Disable lockup reset in debug mode.
Sets the LCKUPDIS bit to disable lockup reset in debug mode.
Example usage:
| void RSTC_LockupResetEnableInDebug | ( | void | ) |
Enable lockup reset in debug mode.
Clears the LCKUPDIS bit to enable lockup reset in debug mode.
Example usage: