English
Language : 

TMP1942CZUE Datasheet, PDF (112/406 Pages) Toshiba Semiconductor – 32bit TX System RISC
TMP1942CY/CZ
3.5.14 Port F (PF0-PF6)
Port F is a 7-bit general-purpose input/output port whose bits can each be set independently for input or
output. The control register PFCR is used to set the port for input or output. A reset clears PFCR to 0,
putting port F in input mode. In addition to functioning as an input/output port, the pins of this port can
also function as various input/output pins: PF0 functions as SIO data output, PF1 as SIO data input or key
input, PF2 as SIO CLK input/output or CTS* input, PF3, PF4 and PF5 as SBI input/output, and PF6 as
external interrupt input. These functions are enabled by setting the corresponding bits of PFFC to 1.
A reset clears PFCR and PFFC to 0, placing port F in input mode. The output open-drain control
register (PFODE) can be used to set PF0, PF2, PF4 and PF5 to open-drain output when they are used for
output. Port F becomes a 5 V input/output port when 5 V is supplied to its dedicated power supply pin
DVCC51. It becomes a VCC-based (3 V) port when VCC is supplied to DVCC51.
Reset
Direction Control
(bitwise)
Write to PFCR
Function Control
(bitwise)
Write to PFFC
S
Output Latch
TXD5
Write to PF
Read PF
AS
Selector
B
SB
Selector
A
Open-drain Setting
Possible
STOP
DRIVE
PF0 (TXD5)
Figure 3.5.42 Port F (PF0)
TMP1942CY/CZ-111