What about: 0010 =3D 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 w= rote: > 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. <<<=3D=3D=3D 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 =3D Compare mode, set output on match (CCP1IF bit is set) > 1001 =3D 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. > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .