Gast
#403945
Hallo Leute! Ich muß im Zuge meiner Dipl. Arbeit einen Timer mit Capture Compare Unit bauen (VHDL). Hab mir dazu das Konzept der PIC Timer angeschaut... echt super Teile! Eine Frage stellt sich mir aber zur Compare Unit: Wie verhält sich der CCP pin? Im Datenblatt hab ich folgendes gefunden: "Selecting the compare output mode, forces the state of the CCP pin to the state that is opposite of the match state. So if the Compare mode is selected to force the output pin low on match, then the output will be forced high until the match occurs (or the mode is changed)." Die konkrete Frage: Was passiert mit dem Pin wenn ich kein match mehr habe? Geht er zurück auf seinen default Value? (würde nur einen kurzen Puls generieren, eben solange compare=counter value) Oder bleibt er im match Zustand und ich kann den Pin nur durch ändern der default value wieder änder? Hab leider keinen PIC zur Verfügung um das ganze auszuprobiern... Schon mal Danke für eure Hilfe! Beste Grüße, Naro