www.ti.com
Output Compare Mode
A compare output pin is initialized to the value listed in Table 9-1 when:
• a value is written to T1CNTL (all Timer 1 channels)
• 0x7 is written to T1CCTLn.CMP (channel n)
Table 9-1. Initial Compare Output Values (Compare Mode)
Initial Compare Output
Compare Mode (T1CCTLn.CMP)
Set output on compare (000) 0
Clear output on compare (001) 1
Toggle output on compare (010) 0
Set output on compare-up, clear on compare down in up-down mode (011) 0
In other modes than up-down mode, set output on compare, clear on 0 (011) 0
Clear output on compare-up, set on compare down in up-down mode (100) 1
In other modes than up-down mode, clear output on compare, set on 0 (100) 1
0
Clear when equal T1CC0, set when equal T1CCn (101)
1
Set when equal T1CC0, clear when equal T1CCn (110)
111
SWRU191C–April 2009–Revised January 2012 Timer 1 (16-Bit Timer)
Submit Documentation Feedback
Copyright © 2009–2012, Texas Instruments Incorporated