tmp88cs34ng TOSHIBA Semiconductor CORPORATION, tmp88cs34ng Datasheet - Page 46

no-image

tmp88cs34ng

Manufacturer Part Number
tmp88cs34ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp88cs34ng-6F41
Manufacturer:
TOSHIBA
Quantity:
329
2.2.2
Port P3 (P35 to P30)
one-bit unit under software control. Input/output mode is specified by the corresponding bit
in the port P3 input/output control register 1 (P3CR1). Port P3 is configured as an input if
its corresponding P3CR1 bit is cleared to “0”, and as an output if its corresponding P3CR1
bit is set to “1”. During reset, P3CR1 is initialized to “0”, which configures port P3 as an
input. The P3 output latches are also initialized to “1”. Data is written into the output latch
regardless of the P3CR1 contents. Therefore initial output data should be written into the
output latch before setting P3CR1.
timer/counter input, and serial bus interface input/output. When used as a secondary
function input pin except I
input mode. When used as a secondary function output pin except I
input/output, the output pins should be set to the output mode and beforehand the output
latch should be set to “1”. When P34 and P35 are used as I
P3CR2 bits should be set to the sink open drain mode, the output latches should be set to
“1”, and the output pins should be set to the output mode.
Note: Input mode port is read the state of input pin. When input/output mode is used mixed,
Example 1: Outputs an immediate data 5AH to port P3
Example 2: Inverts the output of the lower 4 bits (P33 to P30) in port P3
Port P3 is an 6-bit input/output port which can be configured as an input or an output in
Port P3 is also used as an external interrupt input, Remote-control signal input a
the contents of output latch setting input mode may be changed by executing bit
manipulation instructions.
LD
XOR
2
C bus interface input/output, the input pins should be set to the
88CS34-46
(P3), 5AH
(P3), 00001111B
;
;
P3 ← 5AH
P33 to P30 ←
2
C bus interface input/output,
TMP88CS34/CP34
P33
2
C bus interface
to
P
2007-09-12
30

Related parts for tmp88cs34ng