hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 122

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 2 CPU
Example 2: BSET instruction executed designating port 3
P3
signal at P3
example, the BSET instruction is used to change pin P3
[A: Prior to executing BSET]
Input/output
Pin state
PCR3
PDR3
[B: BSET instruction executed]
BSET
Rev. 6.00 Aug 04, 2006 page 86 of 680
REJ09B0145-0600
7
and P3
6
#0
6
Count clock
are designated as input pins, with a low-level signal input at P3
. The remaining pins, P3
P3
Input
Low
level
0
1
,
7
@PDR3
Figure 2.18 Timer Configuration Example
P3
Input
High
level
0
0
6
5
P3
Output
Low
level
1
0
to P3
The BSET instruction is executed designating port 3.
Timer load register
5
Timer counter
0
, are output pins and output low-level signals. In this
P3
Output
Low
level
1
0
Reload
4
0
to high-level output.
P3
Output
Low
level
1
0
3
P3
Output
Low
level
1
0
Read
Write
2
Internal bus
7
and a high-level
P3
Output
Low
level
1
0
1
P3
Output
Low
level
1
0
0

Related parts for hd64338342hw