User guide
DS4830A User’s Guide
140
programming flexibility for any application. The associated registers and their module addresses are listed in Table
15-2. The user should not write to any reserved bits as this may cause undesired behavior.
Table 15-2: GPIO Registers
REGISTER
FUNCTION
PORT 0
PORT 1
PORT 2
PORT 6
POp
Port Output Register
M0[02h]
M0[01h]
M0[00h]
M1[03h]
PIp
Port Input Register
M0[0Ah]
M0[09h]
M0[08h]
M1[08h]
PDp
Port Direction Register
M0[12h]
M0[11h]
M0[10h]
M1[11h]
EIFp
Port External Interrupt Flag Register
M0[05h]
M0[04h]
M0[03h]
M1[06h]
EIEp
Port External Interrupt Enable
Register
M0[0Fh] M0[0Eh] M0[0Dh] M1[07h]
EIESp
Port External Interrupt Edge Select
Register
M0[15h] M0[14h] M0[13h] M1[10h]