Datasheet
FS98O22
Rev. 1.6 62/146
7. I/O Port
Table 7-1 FS98O22 I/O port register table
Address Name
Detail on
Chapter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on Power on Reset
06H INTF 3/6/7/9/10/11 -- I2CIF - E1IF E0IF 00000000
07H INTE 3/6/7/9/10/11 GIE -- I2CIE - E1IE E0IE 00000000
16H INTF2 6/7 -- E3IF E2IF 00000000
17H INTE2 6/7 -- E3IE E2IE 00000000
20H PT1 7 PT1 [7:0] uuuuuuuu
21H PT1EN 7 PT1EN [7:0] 00000000
22H PT1PU 7 PT1PU [7:0] 00000000
23H AIENB1 7 AIENB[7:6] AIENB[5:0] 00000000
24H PT2 7 PT2 [7:0] uuuuuuuu
25H PT2EN 7 PT2EN [7:0] 00000000
26H PT2PU 7 PT2PU [7:0] 00000000
27H PT2MR 7.2/7.5/8 BZEN PM1EN E1M[1:0] E0M[1:0] 00000000
28H PT3 PT3 [7:0] uuuuuuuu
29H PT3EN PT3EN [7:0] 00000000
2AH PT3PU PT3PU [7:0] 00000000
2BH PT3MR PFOEN E3M[1:0] E2M[1:0] 00000000
37H PT2OC
B
9 PT2OC[4:3]
uuu11uuu
The GPIO (General Purpose Input Output) in a micro-controller is used for general purpose input or output
function. Users could use these ports to get digital signal or transmit data to any other digital device. Some
GPIOs in FS98O22 are also defined for other special functions. In this Chapter, the GPIO will be illustrated as
the GPIO function. The special functions defined in the GPIO will be illustrated in the following Chapters.
FORTUNE'
Properties
For Reference Only