TMP86xy12MG Toshiba, TMP86xy12MG Datasheet - Page 65

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.4 Port P3 (P37 to 30)
5.4 Port P3 (P37 to 30)
And the P3DR is initialized to "0".
corresponding bit of P3CR1 should be set to "0" and then, the corresponding bit of P3CR2 should be set to "1".
of P6CR2 should be set to "0".
Port P3 is an 8-bit input/output port which can be configured as an input or output in one-bit unit.
Port P3 is also used as an analog input, key-on wakeup input, an external interrupt and TC7 emergency stop input.
Input/output mode is specified by the P3 control register (P3CR1) and P3 input control register (P3CR2).
During reset, the P3CR1 is initialized to "0" the P3CR2 is initialized to "1" and port P3 becomes an input mode.
When used as an output port, the corresponding bit of P3CR1 should be set to "1".
When used as an input port, key-on wakeup input, an external interrupt input and TC7 emergency stop input, the
When used as an analog input, the corresponding bit of P3CR1 should be set to "0" and then, the corresponding bit
When P3CR1 is "1", the content of the corresponding output latch is read by reading P3DR.
Note: Asterisk (*) indicates “1” or “0” either of which can be selected.
Table 5-3 Register Programming for Multi-function Ports
Port input or key-on wakeup input or external input or
TC7 emergency stop input
Analog input
Port “0” output
Port “1” output
Table 5-4 Values Read from P3DR and Register Programming
P3CR1
“0”
“0”
“1”
Conditions
Function
P3CR2
“0”
“1”
“0”
“1”
Page 54
Values Read from P3DR
Output latch contents
Terminal input data
P3DR
“0”
“1”
*
*
“0”
Programmed Value
P3CR1
“0”
“0”
“1”
“1”
P3CR2
“1”
“0”
*
*
TMP86CH12MG

Related parts for TMP86xy12MG