www.DataSheet4U.com
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
181
Figure 8-5. 16-Bit Timer Mode Control Register Format
Symbol
7
6
5
4
3
2
1
<0>
Address
When Reset
R/W
TMC0
0
0
0
0
TMC03 TMC02 TMC01 OVF0
FF48H
00H
R/W
OVF0
16-Bit Timer Register Overflow Detection
0
Overflow not detected
1
Overflow detected
TMC03 TMC02 TMC01
Operating Mode & Clear
TO0 Output Timing
Interrupt Request
Mode Selection
Selection
Generation
0
0
0
Operation stop
No change
Not generated
(TM0 cleared to 0)
0
0
1
PWM mode
PWM pulse output
Generated on match
(free running)
between TM0 and CR00
0
1
0
Free running mode
Match between TM0 and
CR00
0
1
1
Match between TM0 and
CR00 or TI0 valid edge
1
0
0
Clear & start on TI0 valid
Match between TM0 and
edge
CR00
1
0
1
Match between TM0 and
CR00 or TI0 valid edge
1
1
0
Clear & start on match
Match between TM0 and
between TM0 and CR00
CR00
1
1
1
Match between TM0 and
CR00 or TI0 valid edge
Cautions
1.
Switch the clear mode and the TO0 output timing after stopping the timer operation (by setting
TMC01 through TMC03 to 0, 0, 0).
2.
Set the valid edge of the INTP0/P00/TI0 pin with an external interrupt mode register (INTM0)
and select the sampling clock frequency with a sampling clock select register (SCS).
3.
When using the PWM mode, set the PWM mode and then set data to CR00.
4.
If clear & start mode on match between TM0 and CR00 is selected, OVF0 flag is set to 1 when
the set value of CR00 is FFFFH and the value of TM0 changes from FFFFH to 0000H.
Remarks
1.
TO0
:
16-bit timer/event counter output pin
2.
TI0
:
16-bit timer/event counter input pin
3.
TM0
:
16-bit timer register
4.
CR00 :
16-bit compare register
Summary of Contents for 78014Y Series
Page 2: ...www DataSheet4U com 2 MEMO...
Page 8: ...www DataSheet4U com 8 MEMO...
Page 22: ...www DataSheet4U com 22 MEMO...
Page 30: ...www DataSheet4U com 30 MEMO...
Page 34: ...www DataSheet4U com 34 MEMO...
Page 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Page 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Page 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Page 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Page 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Page 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Page 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Page 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Page 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Page 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Page 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Page 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Page 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...