CMSIS-Driver_PIC32CM-PL  
Peripheral Library (PLIB) Documentation
 
Loading...
Searching...
No Matches
RSTC Interface

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.
 

Description

Driver API for RSTC (plib_rstc.h)

Function Documentation

◆ RSTC_DisableResetPin()

void RSTC_DisableResetPin ( void )

Disable the external RESET pin.

Sets the RSTPINDIS bit to disable the external RESET pin.

Example usage:

void RSTC_DisableResetPin(void)
Disable the external RESET pin.

◆ RSTC_DisableWriteProtection()

void RSTC_DisableWriteProtection ( void )

Disable write protection for RSTC registers.

Disables write protection for the RSTC registers.

Example usage:

void RSTC_DisableWriteProtection(void)
Disable write protection for RSTC registers.

◆ RSTC_EnableResetPin()

void RSTC_EnableResetPin ( void )

Enable the external RESET pin.

Clears the RSTPINDIS bit to enable the external RESET pin.

Example usage:

void RSTC_EnableResetPin(void)
Enable the external RESET pin.

◆ RSTC_EnableWriteProtection()

void RSTC_EnableWriteProtection ( void )

Enable write protection for RSTC registers.

Enables write protection for the RSTC registers.

Example usage:

void RSTC_EnableWriteProtection(void)
Enable write protection for RSTC registers.

◆ RSTC_GetResetCause()

uint32_t RSTC_GetResetCause ( void )

◆ RSTC_LockupResetDisableInDebug()

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_LockupResetDisableInDebug(void)
Disable lockup reset in debug mode.

◆ RSTC_LockupResetEnableInDebug()

void RSTC_LockupResetEnableInDebug ( void )

Enable lockup reset in debug mode.

Clears the LCKUPDIS bit to enable lockup reset in debug mode.

Example usage:

void RSTC_LockupResetEnableInDebug(void)
Enable lockup reset in debug mode.