47 / 61 page

VLSI
Solution
y
VS1103b
VS1103B
8. VS1103B REGISTERS
8.7 GPIO Registers
GPIO registers, prefix GPIO
Reg
Type
Reset
Abbrev[bits]
Description
0xC017
rw
0
DDR[3:0]
Direction.
0xC018
r
0
IDATA[3:0]
Values read from the pins.
0xC019
rw
0
ODATA[3:0]
Values set to the pins.
GPIO DIR is used to set the direction of the GPIO pins. 1 means output. GPIO ODATA remembers its
values even if a GPIO DIR bit is set to input.
GPIO registers don’t generate interrupts.
Note that in VS1103b the VSDSP registers can be read and written through the SCI WRAMADDR and
SCI WRAM registers. You can thus use the GPIO pins quite conveniently.
Version 1.01, 2007-09-03
47