English
Language : 

HD6473847RHV Datasheet, PDF (98/546 Pages) Renesas Technology Corp – Renesas 8-Bit Single-Chip Microcomputer H8 Family / H8/300L Super Low Power Series
Section 2 CPU
Count clock
Timer counter
Reload
Timer load register
Read
Write
Internal data bus
Figure 2.17 Example of Timer Configuration with Two Registers
Allocated to Same Address
Example 2: BSET instruction executed designating port 3
P37 and P36 are designated as input pins, with a low-level signal input at P37 and a high-level
signal at P36. The remaining pins, P35 to P31, are output pins and output low-level signals. In this
example, the BSET instruction is used to change pin P31 to high-level output.
Prior to executing BSET
Input/output
Pin state
PCR3
PDR3
P37
Input
Low
level
0
1
P36
Input
High
level
0
0
P35
P34
P33
P32
P31
⎯
Output Output Output Output Output ⎯
Low
Low
Low
Low
Low
⎯
level level level level level
1
1
1
1
1
1
0
0
0
0
0
1
BSET instruction executed
BSET #1, @PDR3
The BSET instruction is executed for port 3.
Rev. 7.00 Mar. 08, 2010 Page 66 of 510
REJ09B0024-0700