Datasheet

FS98O22
Rev. 1.6 83/146
Table 7-6 PT2 register table
Address Name
Referenced
Section
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on Power on
Reset
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 -- -- -- 00000000
Read data Operation
1. Clear the PT2EN[n]
19
register flags. The PT2[n] will be defined as an input port.
2. Set the PT2PU[n] register as required. The PT2[n] will be connected to an internal pull up resistor.
3. After the signal input from outside, user could get the data through PT2[n]
Write data Operation
1. Set the PT2EN[n] register flags. The PT2[n] will be defined as an output port.
2. Set the PT2PU[n] register as required. The PT2[n] will be connected to an internal pull up resistor.
3. Set the PT2[n] to output the data. The embedded D Flip Flop will latch the data till PT2[n] is changed.
Notice Operation
1. Parallel a small resistor (about 10k ohm) between ports and VDD to increase the possible output current
when the PT2PU[n] is set.
19
n means the bits indexes user want to control
FORTUNE'
Properties
For Reference Only