User’s Manual U11969EJ3V0UM00
169
CHAPTER 7 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
(4) Timer control register 1 (TMC1)
TMC1 specifies count enable/disable and controls the count clock of TM1.
This register can be read/written in 8- or 1-bit units.
Bit Position
Bit Name
Function
7
CE1
Count Enable
Specifies enable/disable of timer count.
0 : Timer count disabled (stops at TM1 = 000000H)
1 : Timer count enabled
6
OST1
Overflow Stop
Specifies the operation after overflow of timer.
0 : The timer continues counting after overflow has occurred
1 : The timer retains 000000H and stops after overflow has occurred
The timer resumes counting when the following operation is performed.
Writing 1 to CE1 bit
Writing 1 to CS1 bit
5
CS1
Clear & Start
Controls clear/start of TM1 by software. This bit is always 0 when writing.
0 : Continues counting
1 : Clears TM1 and resumes counting
4
IMS1
Interrupt Mode Select
Selects interrupt source.
0 : Interrupt occurs by overflow of TM1
1 : Interrupt occurs by INTP14 signal
3 to 0
PRM13 to
Prescaler Clock Mode
PRM10
Selects the count clock frequency.
PRM13 PRM12 PRM11 PRM10
Count Clock
0
0
0
0
φ
0
0
0
1
φ
/2
0
0
1
0
φ
/4
0
0
1
1
φ
/8
0
1
0
0
φ
/16
0
1
0
1
φ
/32
0
1
1
0
φ
/64
0
1
1
1
φ
/128
1
0
0
0
φ
/256
1
1
1
1
TI1 input
Caution
Do not change the count clock frequency while the timer operates.
Remark
φ
: Internal system clock
Address
FFFFF270H
7
CE1
TMC1
6
OST1
5
CS1
4
IMS1
3
PRM13
2
PRM12
1
PRM11
0
PRM10
After reset
01H
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...