316
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
(4)
Timer Gn Channel Mode Register (TMGCMn)
This register specifies the assigned counter (TMGn0 or TMGn1) for the GCCnm register.
Furthermore it specifies the edge detection for the TIGy-input-pins (y = 0 to 5).
This register can be read/written in 16-bit, 8-bit or 1-bit units.
Figure 10-33:
Timer Gn Channel Mode Register (TMGCMn)
Remarks: 1. y = 0 to 5
2. m = 1 to 4
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Initial
value
TMGCM0H TBG4 TBG3 TBG2 TBG1 IEG51 IEG50 IEG41 IEG40 IEG31 IEG30 IEG21 IEG20 IEG11 IEG10 IEG01 IEG00 FFFF 642H 0000H
TMGCM1H TBG4 TBG3 TBG2 TBG1 IEG51 IEG50 IEG41 IEG40 IEG31 IEG30 IEG21 IEG20 IEG11 IEG10 IEG01 IEG00 FFFF 682H 0000H
Bit Position
Bit Name
Function
15 to 12
TBGm
Assigns Capture/Compare registers GCCn1 to GCCn4 to one of the 2 counters
TMGn0 or TMGn1:
0: Set TMGn0 as the corresponding counter to GCCnm register and TIGm/
TOGnm-pin
1: Set TMGn1 as the corresponding counter to GCCnm register and TIGm/
TOGnm-pin
11 to 4
IEGy1,
IEGy0
Specifies the valid edge of external capture signal input pin (TIGm) for the
capture register performing capture-match with the assigned counter TMGn0 or
TMGn1:
IEGy1
IEGy0
Valid
Edge
0
0
Falling
edge
0
1
Rising
edge
1
0
No edge detection performed
1
1
Both rising and falling edges
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: ......