參數(shù)資料
型號: TMP86CH09NG
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PDIP32
封裝: 0.400 INCH, 1.78 MM PITCH, LEAD FREE, PLASTIC, SDIP-32
文件頁數(shù): 79/120頁
文件大?。?/td> 1743K
代理商: TMP86CH09NG
Page 50
5. I/O Ports
5.1 P0 (P07 to P00) Port (High Current)
TMP86FH09ANG
5.1 P0 (P07 to P00) Port (High Current)
The P0 port is an 8-bit input/output port shared with external interrupt input, SEI serial interface input/output, and
UART and 16-bit timer counter input/output. When using this port as an input port or for external interrupt input,
SEI serial interface input/output, or UART input/output, set the output latch to 1. When using this port as an output
port, the output latch data (P0DR) is output to the P0 port.
When reset, the output latch (P0DR) and the push-pull control register (P0OUTCR) are initialized to 1 and 0,
respectively.
The P0 port allows its output circuit to be selected between N-channel open-drain output or push-pull output by the
P0OUTCR register.
When using this port as an input port, set the P0OUTCR register's corresponding bit to 0 after setting the P0DR to
1.
The P0 port has independent data input registers. To inspect the output latch status, read the P0DR register. To
inspect the pin status, read the P0PRD register.
In the serial PROM mode, P02 pin used as a BOOT/RXD0 pin, P03 pin used as a TXD0 pin. For details, see
"Serial PROM Mode Setting". In the MCU mode, P01 pin used as a RXD pin, P00 pin used as a TXD pin.
Figure 5-2 P0 Port
P0DR
(0000H)
R/W
76
543
21
0
P07
TC1
INT4
P06
INT3
PPG
P05
SS
P04
MISO
P03
MOS
(TXD0)
P02
SCLK
(BOOT/
RXD0)
P01
RxD
P00
TxD
(Initial value: 1111 1111)
P0PRD
(000CH)
Read only
76
543
21
0
P07
P06
P05
P04
P03
P02
P01
P00
P0OUTCR
(000BH)
P0OUTCR
Controls P0 port input/output
(specified bitwise)
0: Nch open-drain output
1: Push-pull output
R/W
Output latch
Data input (P0PRD)
Data output (P0DR)
Control output
STOP
OUTEN
P0OUTCRi
P0OUTCRi input
Data input (P0DR)
Control input
P0i
Note:i=7 to 0
D
Q
D
Q
相關(guān)PDF資料
PDF描述
TMP86CM29BU 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP64
TMP86FH09NG 8-BIT, FLASH, 16 MHz, MICROCONTROLLER, PDIP32
TMP86FS49BUG 8-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP64
TMP86PS25F 8-BIT, OTPROM, 16 MHz, MICROCONTROLLER, PQFP100
TMP87C800N 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TMP86CH12MG 制造商:TOSHIBA 制造商全稱:Toshiba Semiconductor 功能描述:8 Bit Microcontroller
TMP86CH21AUG 制造商:TOSHIBA 制造商全稱:Toshiba Semiconductor 功能描述:8 Bit Microcontroller
TMP86CH21F 制造商:TOSHIBA 制造商全稱:Toshiba Semiconductor 功能描述:CMOS 8-Bit Microcontroller
TMP86CH21U 制造商:TOSHIBA 制造商全稱:Toshiba Semiconductor 功能描述:CMOS 8-Bit Microcontroller
TMP86CH22UG 制造商:TOSHIBA 制造商全稱:Toshiba Semiconductor 功能描述:8 Bit Microcontroller