314
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
Figure 10-30:
Timer Gn Mode Register (TMGMn) (2/2)
Bit Position
Bit Name
Function
7, 6
CCSG5n,
CCSG0n
Specifies the mode of the TMGn0 (TMGn1)(CCSG5n for TMGn1, CCSG0n for
TMGn0):
0: Free-run mode for TMGn1 (TMGn0), GCCn5 (GCCn0) in capture mode (an
detected edge at Pin TIGn5 (TIGn0) stores the value of TMGn1 (TMGn0) in
GCCn5 (GCCn0) and an interrupt INTCCGn5 (INTCCGn0) is output)
1: Match and Clear mode of the TMGn1 (TMGn0), GCCn5 (GCCn0) in compare
mode (when the data of GCCn5 (GCCn0) match the count value of the TMGn1
(TMGn0), the counter is cleared and the interrupt INTCCGn5 (INTCCGn0)
occurs)
Caution:
When the POWER bit is set, the rewriting of this Bits are
prohibited! Simultaneously writing with the POWER bit is allowed.
3, 1
CLRGx
Specifies software clear for TMGx (x = 0, 1):
0: Continue TMGx operation
1: Clears (0) the count value of TMGx, the corresponding TOGx is deactivated.
Remark:
TMGx starts 1 peripheral-clock after this bit is set this bit is not readable
(always read 0)
2, 0
TMGxE
Specifies TMGx (x = 0, 1) count operation enable/disable
0: Stop count operation the counter holds the immediate preceding value the
corresponding TOGx is deactivated
1: Enable count operation
Remarks: 1. the counter needs at least 1 peripheral-clock (f
PCLK
) to stop
2. the counter needs at least 4 peripheral-clocks (f
PCLK
) to start
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......