Z-World RabbitCore RCM3200 User Manual - page 80
76
RabbitCore RCM3200
Table F-2. Parallel Port F Registers
Register Name
Mnemonic
I/O Address
R/W
Reset Value
Port F Data Register
PFDR
00111000 (0x38)
R/W
xxxxxxxx
Bits
Value
Description
0:7
Read
Current state of pins
Write
Port buffer. Value transferred to O/P register on next
rising edge of transfer clock.
Port F Control Register
PFCR
00111100 (0x3C)
W only
xx00xx00
Bits
Value
Description
0:1
00
Lower nibble transfer clock is CLK/2
01
Lower nibble transfer clock is Timer A1
10
Lower nibble transfer clock is Timer B1
11
Lower nibble transfer clock is Timer B2
2:3
xx
These bits are ignored
4:5
00
Upper nibble transfer clock is CLK/2
01
Upper nibble transfer clock is Timer A1
10
Upper nibble transfer clock is Timer B1
11
Upper nibble transfer clock is Timer B2
6:7
xx
These bits are ignored
Port F Function Register
PFFR
00111101 (0x3D)
W
xxxxxxxx
Bits
Value
Description
0:7
0
Corresponding port bits function normally
0
1
Bit 0 carries SCLK_D
1
1
Bit 1 carries SCLK_C
2:3
x
No effect
4
1
Bit 4 carries PWM[0] output
5
1
Bit 5 carries PWM[1] output
6
1
Bit 6 carries PWM[2] output
7
1
Bit 7 carries PWM[3] output
Port F Drive Control Register
PFDCR
00111110 (0x3E)
W
xxxxxxxx
Bits
Value
Description
0:7
0
Corresponding port bit is active high or low
1
Corresponding port bit is open drain