HD6435348R Hitachi Semiconductor, HD6435348R Datasheet - Page 182

no-image

HD6435348R

Manufacturer Part Number
HD6435348R
Description
Single-Chip Microcomputer
Manufacturer
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 modes 7, 2,
and 1, port 6 is used for IRQ
IRQ
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 90 pF 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
MOV.B
2
to IRQ
#80, R0
R0,
R0,
@RAM0, R0
R0, @PORT5
5
#0, @RAM0
input and page address output. In mode 3, port 6 is used for page address output.
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
2
6
6
to IRQ
;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
input and PWM timer output. In mode 4, port 6 is used for
5
5
P5
Output
Low
1
0
Off
0
P5
Output
Low
1
0
Off
0
165
4
4
P5
0
P5
0
Output
Low
1
0
Off
Output
Low
1
0
Off
3
3
P5
Output
Low
1
0
Off
0
P5
Output
Low
1
0
Off
0
2
2
P5
Low
1
0
Off
0
P5
Low
1
0
Off
0
Output
Output
1
1
P5
1
0
Off
0
P5
1
1
Off
0
Output
Low
Output
High
0
0

Related parts for HD6435348R