3.10.7.3.1.6 T2MR – Timer 2 Mode Register

Name: T2MR
Offset: 0x075
Reset: 0x00

This register must only be modified while the timer is disabled (T2CR.T2ENA = 0). Modifying the bits during operation leads to unpredictable operation.

Bit 76543210 
 T2DC[1:0]T2PS[3:0]T2CS[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:6 – T2DC[1:0] Timer2 Duty Cycle

The T2DC[1:0] bits select the duty cycle mode of the duty cycle generator as shown in the following table.
Table 3-92. Timer2 Duty Cycle Bit Description
T2DC1T2DC0Function of the Duty Cycle GeneratorAdditional Divider Effect
00Bypassed (DCG0)1
01Duty cycle 1/1 (DCG1)2
10Duty cycle 1/2 (DCG2)3
11Duty cycle 1/3 (DCG3)4
Figure 3-77. DCG Output Signals

Bits 5:2 – T2PS[3:0] Timer2 Prescaler Select

The T2PS[3:0] bits select the prescaler value of Timer2 as shown in the following formula:
prescalerValue=2T2PS[3:0]......(49)

CL2PFrequency=CL2FrequencyprescalerValue=CL2Frequency2T2PS[3:0]......(50)

T2PS[3:0] ∈ {0..15}

Bits 1:0 – T2CS[1:0] Timer 2 Clock Select

The T2CS[1:0] bits select the input clock (CL2) of Timer2 as shown in the following table.
Table 3-93. Timer2 Input Clock Select Bit Description
T2CS[1:0]Input Clock (CL2) of Timer
00CLKSRC
01CLKVDIV
10CLKT
11CLKXTO4