FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
driver_cpuctrl.h
Go to the documentation of this file.
1
28
29#ifndef DRIVER_CPUCTRL_H
30#define DRIVER_CPUCTRL_H
31
32// Standard Library Includes
33#include <stdint.h>
34
40void CPUCTRL_WriteSplim(uint16_t value);
41
47void CPUCTRL_SetControlA(uint8_t bitmask);
48
54void CPUCTRL_ClearControlA(uint8_t bitmask);
55
61uint8_t CPUCTRL_ReadIntFlags(void);
62
68void CPUCTRL_WriteIntFlags(uint8_t value);
69
75uint8_t CPUCTRL_ReadStatusRegister(void);
76
82void CPUCTRL_SetStatusRegister(uint8_t bitmask);
83
89void CPUCTRL_ClearStatusRegister(uint8_t bitmask);
90
91#endif // DRIVER_CPUCTRL_H
void CPUCTRL_WriteSplim(uint16_t value)
Overwrites the SPLIM register value.
void CPUCTRL_ClearControlA(uint8_t bitmask)
Clears specific bits in the CTRLA register.
uint8_t CPUCTRL_ReadStatusRegister(void)
Reads the SREG register value.
void CPUCTRL_ClearStatusRegister(uint8_t bitmask)
Clears specific bits in the SREG register.
void CPUCTRL_SetControlA(uint8_t bitmask)
Sets specific bits in the CTRLA register.
void CPUCTRL_SetStatusRegister(uint8_t bitmask)
Sets specific bits in the SREG register.
uint8_t CPUCTRL_ReadIntFlags(void)
Reads the INTFLAGS register value.
void CPUCTRL_WriteIntFlags(uint8_t value)
Overwrites the INTFLAGS register value.