Next: SID module, Previous: TPI module, Up: Module formats [Contents][Index]

#### 9.2.2.9 RIOT module

The RIOT 6532 is a chip with two I/O ports, some RAM and a Timer. The chip contains 128 byte RAM, but the RAM is not saved in the RIOT snapshot, but in the memory section.

Version numbers: Major 0, Minor 0.

Type | Name | Description
BYTE | ORA | Port A output register
BYTE | DDRA | Port A data direction register
BYTE | ORB | Port B output register
BYTE | DDRB | Port B data direction register
BYTE | EDGECTRL | Bit 0/1: A0/A1 address bits written to edgecontrol registers
BYTE | IRQFL | Bit 6/7: A6/A7 IRQ flag register. Bit 0: state of the IRQ line (0=inactive, 1=active)
BYTE | N | timer value
WORD | DIVIDER | Pre-scale divider value (1, 8, 64, or 1024)
WORD | REST | cycles since the last counter change
BYTE | IRQEN | Bit 0: 0= timer IRQ disabled, 1= timer IRQ enabled