Skip to content

CIAInfo ​

cpp
#include <Components/CIA/CIATypes.h>
cpp
struct CIAInfo

Defined in Components/CIA/CIATypes.h:142

State of a CIA chip.

Public Attributes ​

ReturnNameDescription
CIAPortInfoportAPort A.
CIAPortInfoportBPort B.
CIATimerInfotimerATimer A.
CIATimerInfotimerBTimer B.
u8sdrSerial data register (SDR).
u8ssrSerial shift register.
u8icrInterrupt control register (pending interrupts).
u8imrInterrupt mask register.
boolintLineThe interrupt line is active.
TODInfotodTime-of-day clock.
booltodIntEnableThe TOD alarm interrupt is enabled.

portA ​

cpp
CIAPortInfo portA

Type: CIAPortInfo

Defined in Components/CIA/CIATypes.h:144

Port A.


portB ​

cpp
CIAPortInfo portB

Type: CIAPortInfo

Defined in Components/CIA/CIATypes.h:145

Port B.


timerA ​

cpp
CIATimerInfo timerA

Type: CIATimerInfo

Defined in Components/CIA/CIATypes.h:147

Timer A.


timerB ​

cpp
CIATimerInfo timerB

Type: CIATimerInfo

Defined in Components/CIA/CIATypes.h:148

Timer B.


sdr ​

cpp
u8 sdr

Defined in Components/CIA/CIATypes.h:150

Serial data register (SDR).


ssr ​

cpp
u8 ssr

Defined in Components/CIA/CIATypes.h:151

Serial shift register.


icr ​

cpp
u8 icr

Defined in Components/CIA/CIATypes.h:152

Interrupt control register (pending interrupts).


imr ​

cpp
u8 imr

Defined in Components/CIA/CIATypes.h:153

Interrupt mask register.


intLine ​

cpp
bool intLine

Defined in Components/CIA/CIATypes.h:154

The interrupt line is active.


tod ​

cpp
TODInfo tod

Type: TODInfo

Defined in Components/CIA/CIATypes.h:156

Time-of-day clock.


todIntEnable ​

cpp
bool todIntEnable

Defined in Components/CIA/CIATypes.h:157

The TOD alarm interrupt is enabled.