SB4002A_Data Sheet_EN
SB4002A
59
5.2 General Purpose I/O Interface
SB4002A provides total 8 GPIO ports.
In order to control the 8 GPIO ports, SB4002A also provides GPIO Output Enable Register, GPIO
Output Register and GPIO Input Register.
Register
Register
GPIOn
GPIO Input
GPIO Output
Register(n = 0, 1, 2, ... , 7)
GPIO Out Enable
Figure 5-2. GPIO Controller Schematic
5.3 Serial ROM Interface
In order to import the configuration data, SB4002A provides an external serial EEPROM. The EEPROM is 1K
in capacity, and allocates 00h~2Fh as the storage of internal configuration data, and 30h~7Eh for the user to
store and display data. The serial EEPROM interface other than the configuration data is executed via the
serial ROM interface register in the control register. It is necessary to limit the access addresses in order to
protect the configuration data stored in the serial EEPROM.