PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Dec 12, 2006 9:36 pm |
|
|
It does, if you use the correct parameters as shown in the thread
that I linked. If you add the T1_CLK_OUT parameter, then bit 3 of
T1CON is set.
Without T1_CLK_OUT:
Code: | ... setup_timer_1(T1_EXTERNAL | T1_DIV_BY_1);
0048: MOVLW 87
0049: MOVWF T1CON
|
With it:
Code: |
... setup_timer_1(T1_EXTERNAL | T1_DIV_BY_1 | T1_CLK_OUT);
004A: MOVLW 8F
004B: MOVWF T1CON
|
|
|