NEC UPD703116 User Manual page 381

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Bit position
Bit name
6 to 4
CS2 to CS0
1
TM3CE
0
TM3CAE
CHAPTER 9 TIMER/COUNTER FUNCTION
Selects the internal count clock for TM3.
CS2
CS1
CS0
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
Caution
Do not change the CS2 to CS0 bits during timer operation. If they
are to be changed, they must be changed after setting the TM3CE bit
to "0". If the CS2 to CS0 bits are overwritten during timer operation,
the operation is not guaranteed.
Remark f
: Base clock
CLK
Controls the operation of TM3.
0: Disable count (timer stopped at 0000H and does not operate)
1: Perform count operation.
Caution
If TM3CE = 0, the external pulse output (TO3) becomes inactive level
(the active level of TO3 output is set with the ALV bit of the TMC31
register).
Controls the internal count clock.
0: Asynchronously reset entire TM3 unit. Stop base clock supply to TM3 unit.
1: Supply base clock (f
) to TM3 unit.
CLK
Cautions 1. When TM3CAE = 0 is set, the TM3 unit can be reset
asynchronously.
2. When TM3CAE = 0, the TM3 unit is in a reset state. To operate
TM3, first set TM3CAE = 1.
3. When the TM3CAE bit is changed from "1" to "0", all the
registers of the TM3 unit are initialized. When again setting
TM3CAE = 1, be sure to then again set all the registers of the TM3
unit.
User's Manual U14492EJ5V0UD
Function
Count clock
0
f
/2
CLK
1
f
/4
CLK
0
f
/8
CLK
1
f
/16
CLK
0
f
/32
CLK
1
f
/64
CLK
0
f
/128
CLK
1
f
/256
CLK
(2/2)
381

Advertisement

Table of Contents
loading

Table of Contents