Control Registers - NEC PD703114 User Manual

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

9.3.4 Control registers

(1) Timer 1/timer 2 clock selection register (PRM02)
The PRM02 register is used to select the base clock (f
This register can be read/written in 8-bit or 1-bit units.
Cautions 1. Always set this register to 01H before using timer 1 and timer 2. Setting of other than
01H is prohibited.
2. Set f
7
6
PRM02
0
0
Bit position
Bit name
0
PRM2
Remark
f
: Internal system clock
XX
(2) Timer 2 clock stop register 0 (STOPTE0)
The STOPTE0 register is used to stop the operation clock input to timer 2.
This register can be read/written in 16-bit units.
When the higher 8 bits of the STOPTE0 register are used as the STOPTE0H register, and the lower 8 bits
are used as the STOPTE0L register, the STOPTE0H register can be read/written in 8-bit or 1-bit units, and
the STOPTE0L register is read-only, in 8-bit units.
Cautions 1. Initialize timer 2 when the STFTE bit = 0. Timer 2 cannot be initialized when the STFTE
bit = 1.
2. If, following initialization, the value of the STFTE bit is made "1", the initialized state is
maintained.
<15>
14
13
STOPTE0
STFTE
0
0
Bit position
Bit name
15
STFTE
330
CHAPTER 9 TIMER/COUNTER FUNCTION
to 20 MHz or less.
CLK
5
4
3
0
0
0
Specifies the base clock (f
1: f
= f
/2
CLK
XX
12
11
10
9
8
7
0
0
0
0
0
0
Stops the operation clock to timer 2.
0: Normal operation
1: Stop operation clock to timer 2
User's Manual U15195EJ5V0UD
) of timer 1 and timer 2.
CLK
2
1
0
0
0
PRM2
Function
) of timer 1 and timer 2.
CLK
6
5
4
3
2
1
0
0
0
0
0
0
Function
Address
After reset
FFFFF5D8H
00H
0
Address
After reset
0
FFFFF640H
0000H

Advertisement

Table of Contents
loading

Table of Contents