參數(shù)資料
型號(hào): UPD17147GTA1
廠商: NEC Corp.
英文描述: SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 小,通用4位單晶片微控制器
文件頁數(shù): 30/102頁
文件大?。?/td> 408K
代理商: UPD17147GTA1
30
μ
PD17145(A1), 17147(A1), 17149(A1)
11. PORTS
11.1 Port 0A (P0A
0
, P0A
1
, P0A
2
, P0A
3
)
Port 0A is a 4-bit I/O port with an output latch. It is mapped at address 70H of BANK0 of the data memory.
The output format is CMOS push-pull output.
This port can be set in the input or output mode in 4-bit units. The input or output mode is specified by P0AGIO
(bit 0 of address 2CH) on the register file.
When P0AGIO = 0, all the pins of port 0A are set in the input mode. When an instruction that reads the data
of the port register is executed at this time, the pin status is read.
When P0AGIO = 1, all the pins of port 0A are set in the output mode, and the contents written to the output
latch are output to the pins. When an instruction that reads the port status is executed with the port set in the
output mode, the contents of the output latch, instead of the pin status, are read.
A pull-up resistor can be connected on-chip to this port through software. Whether the pull-up resistor is
connected is specified by P0AGPU (bit 0 at address 0CH) of the register file. All the four pins are pulled up
when P0AGPU = 1. When P0AGPU = 0, the pull-up resistor is not connected.
P0AGIO and P0AGPU are cleared to “0” at reset, and all the P0A pins are set in the input mode without the
pull-up resistor connected. The value of the output latch is also cleared to “0”.
Table 11-1. Writing and Reading Port Register (0.70H)
P0AGIO
Input/Output
BANK0 70H
RF: 2CH, bit 0
Mode of Pin
Write
Read
0
Input
Enabled
P0A pin status
1
Output
Write to P0A latch
P0A latch contents
相關(guān)PDF資料
PDF描述
UPD17149GTA1 SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17201A 4-BIT SINGLE-CHIP MICROCONTROLLER WITH LCD CONTROLLER/DRIVER AND A/D CONVERTER FOR INFRARED REMOTE CONTROL TRANSMITTERS
UPD17201AGF 4-BIT SINGLE-CHIP MICROCONTROLLER WITH LCD CONTROLLER/DRIVER AND A/D CONVERTER FOR INFRARED REMOTE CONTROL TRANSMITTERS
UPD17207 4-BIT SINGLE-CHIP MICROCONTROLLER WITH LCD CONTROLLER/DRIVER AND A/D CONVERTER FOR INFRARED REMOTE CONTROL TRANSMITTERS
UPD17207GF 4-BIT SINGLE-CHIP MICROCONTROLLER WITH LCD CONTROLLER/DRIVER AND A/D CONVERTER FOR INFRARED REMOTE CONTROL TRANSMITTERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD17149 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149CT 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149CTA1 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149GT 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149GTA1 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS