void CPU_clearIntFlags(CPU_Handle cpuHandle)
Clears all interrupt flags.
void CPU_enableGlobalInts(CPU_Handle cpuHandle)
Enables global interrupts.
Defines the central processing unit (CPU) object.
CPU_Handle CPU_init(void *pMemory, const size_t numBytes)
Initializes the central processing unit (CPU) object handle.
void CPU_disableProtectedRegisterWrite(CPU_Handle cpuHandle)
Disables protected register writes.
CPU_Obj cpu
Defines the CPU object.
void CPU_enableDebugInt(CPU_Handle cpuHandle)
Enables the debug interrupt.
CPU_IntNumber_e
Enumeration to define the interrupt numbers.
void CPU_disableInt(CPU_Handle cpuHandle, const CPU_IntNumber_e intNumber)
Disables a specified interrupt number.
cregister volatile unsigned int IER
External reference to the interrupt enable register (IER) register.
cregister volatile unsigned int IFR
External reference to the interrupt flag register (IFR) register.
void CPU_disableGlobalInts(CPU_Handle cpuHandle)
Disables global interrupts.
struct _CPU_Obj_ * CPU_Handle
Defines the central processing unit (CPU) handle.
Contains public interface to various functions related to the central processing unit (CPU) object...
void CPU_enableInt(CPU_Handle cpuHandle, const CPU_IntNumber_e intNumber)
Enables a specified interrupt number.
void CPU_enableProtectedRegisterWrite(CPU_Handle cpuHandle)
Enables protected register writes.
void CPU_disableInts(CPU_Handle cpuHandle)
Disables all interrupts.
void CPU_disableDebugInt(CPU_Handle cpuHandle)
Disables the debug interrupt.