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

Implements APIs for the CPUCTRL (CPU Control) driver. More...

#include <driver_ccp_asm.h>
#include <driver_cpuctrl.h>
#include <xc.h>

Go to the source code of this file.

Functions

void CPUCTRL_WriteSplim (uint16_t value)
 Overwrites the SPLIM register value.
void CPUCTRL_SetControlA (uint8_t bitmask)
 Sets specific bits in the CTRLA register.
void CPUCTRL_ClearControlA (uint8_t bitmask)
 Clears specific bits in the CTRLA register.
uint8_t CPUCTRL_ReadIntFlags (void)
 Reads the INTFLAGS register value.
void CPUCTRL_WriteIntFlags (uint8_t value)
 Overwrites the INTFLAGS register value.
uint8_t CPUCTRL_ReadStatusRegister (void)
 Reads the SREG register value.
void CPUCTRL_SetStatusRegister (uint8_t bitmask)
 Sets specific bits in the SREG register.
void CPUCTRL_ClearStatusRegister (uint8_t bitmask)
 Clears specific bits in the SREG register.

Detailed Description

Implements APIs for the CPUCTRL (CPU Control) driver.

Definition in file driver_cpuctrl.c.