Figure 2.18 Timer Configuration Example - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

Section 2 CPU
Count clock
Example 2: BSET instruction executed designating port 3
P3
and P3
are designated as input pins, with a low-level signal input at P3
7
6
signal at P3
. The remaining pins, P3
6
example, the BSET instruction is used to change pin P3
[A: Prior to executing BSET]
P3
7
Input/output
Input
Pin state
Low
level
PCR3
0
PDR3
1
[B: BSET instruction executed]
BSET
#0
,
Rev. 6.00 Aug 04, 2006 page 86 of 680
REJ09B0145-0600
Timer counter
Timer load register

Figure 2.18 Timer Configuration Example

to P3
, are output pins and output low-level signals. In this
5
0
P3
P3
6
5
Input
Output
High
Low
level
level
0
1
0
0
The BSET instruction is executed designating port 3.
@PDR3
Read
Reload
Write
to high-level output.
0
P3
P3
P3
4
3
Output
Output
Output
Low
Low
Low
level
level
level
1
1
1
0
0
0
Internal bus
and a high-level
7
P3
P3
2
1
0
Output
Output
Low
Low
level
level
1
1
0
0

Advertisement

Table of Contents
loading

Table of Contents