> OK.
>
> It now seems as this a difference between the CCP and
> the ECCP modules.
>
> Thanks all.
>
> Jan-Erik.
>
>
>
> Matt Callow wrote 2012-08-03 13:35:
>> What about:
>> 0010 = Compare mode, toggle output on match (CCP1IF bit is set)
>>> From page 127 of 41262E.pdf
>>
>> Matt
>>
>> On 3 August 2012 20:46, Jan-Erik Soderholm <
.....jan-erik.soderholmKILLspam
.....telia.com>
>> wrote:
>>> Hi.
>>>
>>> Checked datasheet for 12F683 and 16F690.
>>>
>>> In the CCP section, "Compare mode", it says :
>>>
>>> When a match occurs, the CCP1 module may:
>>> - Toggle the CCP1 output. <<<=== Note!
>>> - Set the CCP1 output.
>>> - Clear the CCP1 output.
>>> ...
>>> The action on the pin is based on the value of the
>>> CCP1M<3:0> control bits of the CCP1CON register.
>>>
>>>
>>> Now, the table for the CCP1CON register says :
>>>
>>> 1000 = Compare mode, set output on match (CCP1IF bit is set)
>>> 1001 = Compare mode, clear output on match (CCP1IF bit is set)
>>>
>>> There is no "toggle output on match" option there
>>>
>>> Is this a (known) datasheet error?
>>> There is nothing in the errata documents.
>>>
>>> Jan-Erik.