Next: , Previous: , 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.

TypeNameDescription
BYTEORAPort A output register
BYTEDDRAPort A data direction register
BYTEORBPort B output register
BYTEDDRBPort B data direction register
BYTEEDGECTRLBit 0/1: A0/A1 address bits written to edgecontrol registers
BYTEIRQFLBit 6/7: A6/A7 IRQ flag register. Bit 0: state of the IRQ line (0=inactive, 1=active)
BYTENtimer value
WORDDIVIDERPre-scale divider value (1, 8, 64, or 1024)
WORDRESTcycles since the last counter change
BYTEIRQENBit 0: 0= timer IRQ disabled, 1= timer IRQ enabled