HD6475328-CP10 HITACHI [Hitachi Semiconductor], HD6475328-CP10 Datasheet - Page 180

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
A: Before Execution of BSET Instruction
B: Execution of BSET Instruction
C: After Execution of BSET Instruction
9.7 Port 6
9.7.1 Overview
Port 6 is a 4-bit input/output port with the pin configuration shown in figure 9-15. In mode 4 (the
expanded maximum mode that uses the on-chip ROM), the pins of port 6 function either as
general-purpose input pins or as the page address bus, depending on the port 6 data direction
register (P6DDR).
Port 6 has built-in MOS pull-ups that can be turned on or off under program control.
Outputs from port 6 can drive one TTL load and a 90pF capacitive load. They can also drive a
Darlington transistor pair.
Input/output
Pin state
DDR
DR
Pull-up
RAM0
Input/output
Pin state
DDR
DR
Pull-up
RAM0
MOV.B
MOV.B
MOV.B
BSET.B
MOV.B @RAM0, R0
MOV.B R0, @PORT5
#80, R0
R0,
R0,
#0, @RAM0
P5
Input
Low
0
1
On
1
P5
Input
Low
0
1
On
1
@RAM0
@PORT5
7
7
P5
Input
High
0
0
Off
0
P5
Input
High
0
0
Off
0
6
6
;write to work area (RAM0)
;write to P5DR
;write value to P5DR
;write data (H'80) for data register
;set bit 0 in work area (RAM0)
;get value in work area (RAM0)
P5
Output
Low
1
0
Off
0
P5
Output
Low
1
0
Off
0
5
5
P5
Output
Low
1
0
Off
0
P5
Output
Low
1
0
Off
0
163
4
4
P5
Output
Low
1
0
Off
0
P5
Output
Low
1
0
Off
0
3
3
P5
Low
1
0
0
P5
Low
1
0
0
Output
Off
Output
Off
2
2
P5
Low
1
0
Off
0
P5
Low
1
0
Off
0
Output
Output
1
1
P5
Low
1
0
Off
0
P5
High
1
1
Off
0
Output
Output
0
0

Related parts for HD6475328-CP10