PIC18F452 TIMER1 gond

Moczik Gabor pm at progzmaster.hu
Wed Oct 19 06:55:51 CEST 2005


Sáfár Miklós wrote:
> RCON  = 00000000
> IPR1  = 00000000
> T1CON = 00100001        1/4 osztó,belső órajel, indítás
> PIE1  = 00000001
> INTCON= 11000000
> 
> Ennek ellenére nem számol!
> Mit toltam el ?

CCPx modul nem general RESET feltetelt?

14.4.4 SPECIAL EVENT TRIGGER

In this mode, an internal hardware trigger is generated,
which may be used to initiate an action.
The special event trigger output of CCP1 resets the
TMR1 register pair. This allows the CCPR1 register to
effectively be a 16-bit programmable period register for
Timer1.
The special trigger output of CCPx resets either the
TMR1 or TMR3 register pair. Additionally, the CCP2
Special Event Trigger will start an A/D conversion if the
A/D module is enabled.

Note: Clearing the CCP1CON register will force
the RC2/CCP1 compare output latch to the
default low level. This is not the PORTC
I/O data latch.

-- 
((( Móczik Gábor  )))--((( progzmaster -> @ -> freemail . hu  )))
((( Skype: moczik )))--((( Website: http://www.progzmaster.hu )))




More information about the Elektro mailing list