PIC18F452 TIMER1 gond
Sáfár Miklós
safi at externet.hu
Wed Oct 19 08:32:46 CEST 2005
Moczik Gabor írta:
> 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.
>
Kösz.
Közben megoldódott:
safi
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 2005.10.07.
More information about the Elektro
mailing list