FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
RSTCTRL Driver

Contains API prototypes for the RSTCTRL (Reset Controller) driver. More...

Files

file  driver_rstctrl.c
 Implements APIs for the RSTCTRL (Reset Controller) driver.

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

Contains API prototypes for the RSTCTRL (Reset Controller) driver.

Version
1.0.0-alpha.1

These APIs provide direct register access and have no functional knowledge of the register interface. No input or output validation is performed in the drivers. It is the responsibility of the calling function to use them correctly according to the register interface specification.

UML Class Diagrams

Function Documentation

◆ RSTCTRL_ReadMachineCheckFlagsA()

uint8_t RSTCTRL_ReadMachineCheckFlagsA ( void )

Reads the MCFLAGSA register value.

Returns
The read value.

Definition at line 48 of file driver_rstctrl.c.

◆ RSTCTRL_ReadMachineCheckFlagsB()

uint8_t RSTCTRL_ReadMachineCheckFlagsB ( void )

Reads the MCFLAGSB register value.

Returns
The read value.

Definition at line 58 of file driver_rstctrl.c.

◆ RSTCTRL_ReadResetFlagRegister()

uint8_t RSTCTRL_ReadResetFlagRegister ( void )

Reads the RSTFR register value.

Returns
The read value.

Definition at line 33 of file driver_rstctrl.c.

◆ RSTCTRL_WriteMachineCheckFlagsA()

void RSTCTRL_WriteMachineCheckFlagsA ( uint8_t value)

Overwrites the MCFLAGSA register value.

Parameters
valueSpecifies the value to write.

Definition at line 53 of file driver_rstctrl.c.

◆ RSTCTRL_WriteMachineCheckFlagsB()

void RSTCTRL_WriteMachineCheckFlagsB ( uint8_t value)

Overwrites the MCFLAGSB register value.

Parameters
valueSpecifies the value to write.

Definition at line 63 of file driver_rstctrl.c.

◆ RSTCTRL_WriteResetFlagRegister()

void RSTCTRL_WriteResetFlagRegister ( uint8_t value)

Overwrites the RSTFR register value.

Parameters
valueSpecifies the value to write.

Definition at line 38 of file driver_rstctrl.c.

◆ RSTCTRL_WriteSoftwareResetRegister()

void RSTCTRL_WriteSoftwareResetRegister ( uint8_t value)

Overwrites the SWRR register value.

Parameters
valueSpecifies the value to write.

Definition at line 43 of file driver_rstctrl.c.