User`s guide

31
Another useful register is GPTCONA (Address 7400h)
GPTCONA as seen in the Event Manager Reference Guide
Bit(s) Name Description
15 Reserved Reads return zero; writes have no effect.
14 T2STAT GP timer 2 Status. Read only
13 T1STAT GP timer 1 Status. Read only
12 T2CTRIPE T2CTRIP Enable.
11 T1CTRIPE T1CTRIP Enable
109 T2TOADC Start ADC with timer 2 event
87 T1TOADC Start ADC with timer 1 event
6 TCMPOE Timer compare output enable
5 T2CMPOE Timer 2 compare output enable
4 T1CMPOE Timer 1 Compare Output Enable
32 T2PIN Polarity of GP timer 2 compare output
10 T1PIN Polarity of GP timer 1 compare output
GPTCONA contains a lot of options that will prove useful when capturing data with the ADC
inputs. GPTCONA handles the ADC inputs of event manager A – the same principle applies
to GPTCONB and event manager B.
COMCONA as seen in the Event Manager Reference Guide
Bit(s) Name Description
15 CENABLE Compare enable
1413 CLD1, CLD0 Compare register CMPRx reload condition
12 SVENABLE Space vector PWM mode enable
1110 ACTRLD1, ACTRLD0 Action control register reload condition
9 FCMPOE Full Compare Output Enable:
8 PDPINTA
7 FCMP3OE Full Compare 3 Output Enable
6 FCMP2OE Full Compare 2 Output Enable:
5 FCMP1OE Full Compare 1 Output Enable: