36
7679H–CAN–08/08
AT90CAN32/64/128
4.6 General Purpose I/O Registers
The AT90CAN32/64/128 contains three General Purpose I/O Registers. These registers can be
used for storing any information, and they are particularly useful for storing global variables and
status flags.
The General Purpose I/O Register 0, within the address range 0x00 - 0x1F, is directly bit-acces-
sible using the SBI, CBI, SBIS, and SBIC instructions.
4.6.1 General Purpose I/O Register 0 – GPIOR0
4.6.2 General Purpose I/O Register 1 – GPIOR1
4.6.3 General Purpose I/O Register 2 – GPIOR2
Bit 76543210
GPIOR07 GPIOR06 GPIOR05 GPIOR04 GPIOR03 GPIOR02 GPIOR01 GPIOR00 GPIOR0
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
GPIOR17 GPIOR16 GPIOR15 GPIOR14 GPIOR13 GPIOR12 GPIOR11 GPIOR10 GPIOR1
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
GPIOR27 GPIOR26 GPIOR25 GPIOR24 GPIOR23 GPIOR22 GPIOR21 GPIOR20 GPIOR2
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000