FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
driver_rstctrl.c File Reference

Implements APIs for the RSTCTRL (Reset Controller) driver. More...

#include <stdint.h>
#include <driver_ccp_asm.h>
#include <driver_rstctrl.h>
#include <xc.h>

Go to the source code of this file.

Functions

uint8_t RSTCTRL_ReadResetFlagRegister (void)
 Reads the RSTFR register value.
void RSTCTRL_WriteResetFlagRegister (uint8_t value)
 Overwrites the RSTFR register value.
void RSTCTRL_WriteSoftwareResetRegister (uint8_t value)
 Overwrites the SWRR register value.
uint8_t RSTCTRL_ReadMachineCheckFlagsA (void)
 Reads the MCFLAGSA register value.
void RSTCTRL_WriteMachineCheckFlagsA (uint8_t value)
 Overwrites the MCFLAGSA register value.
uint8_t RSTCTRL_ReadMachineCheckFlagsB (void)
 Reads the MCFLAGSB register value.
void RSTCTRL_WriteMachineCheckFlagsB (uint8_t value)
 Overwrites the MCFLAGSB register value.

Detailed Description

Implements APIs for the RSTCTRL (Reset Controller) driver.

Definition in file driver_rstctrl.c.