TMP86xy12MG Toshiba, TMP86xy12MG Datasheet - Page 62

no-image

TMP86xy12MG

Manufacturer Part Number
TMP86xy12MG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy12MG

Package
SSOP30
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
16
Ram Size
512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
8
Da Converter Channels
-
Timer Counter 18-bit Channel
IGBT
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
24
Power Supply (v)
4.5 to 5.5
5.2 Port P1 (P17 to P10)
should be set to "0".
of P1CR should be set to "1".
executed for the P1DR and P1CR, read data of bits 7 to 5 are unstable.
Data output (P1DR)
Port P1 is an 5-bit input/output port which can be configured as an input or output in one-bit unit.
Port P1 is also used as a timer/counter input/output, an external interrupt input and a divider output.
Input/output mode is specified by the P1 control register (P1CR).
During reset, the P1CR is initialized to "0" and port P1 becomes an input mode. And the P1DR is initialized to "0".
When used as an input port, a timer/counter input and an external interrupt input, the corresponding bit of P1CR
When used as an output port, the corresponding bit of P1CR should be set to "1".
When used as a timer/counter output and a divider output, P1DR is set to "1" beforehand and the corresponding bit
When P1CR is "1", the content of the corresponding output latch is read by reading P1DR. If a read instruction is
Note: Asterisk (*) indicates “1” or “0” either of which can be selected.
Note: i = 7 to 0
Note: The port set to an input mode reads the terminal input data. Therefore, when the input and output modes are used
Data input (P1DR)
Control output
together, the content of the output latch which is specified as input mode might be changed by executing a bit
Manipulation instruction.
Control input
P1CRi input
OUTEN
P1CRi
STOP
Table 5-2 Register Programming for Multi-function Ports
Port input, timer/counter input or external interrupt input
Port “0” output
Port “1” output, a timer output or a divider output
Output latch
D
D
Function
Q
Q
Figure 5-3 Port 1
Page 51
P1DR
Programmed Value
“0”
“1”
*
P1CR
“0”
“1”
“1”
TMP86CH12MG
P1i

Related parts for TMP86xy12MG