Forum: Mikrocontroller und Digitale Elektronik Attiny1614 TCD Counter-Register


von MosKiller (Gast)


Lesenswert?

Hallo,

ich nutze den Attiny1614.
TCA nutze ich für PWM.
TCB nutze ich für Systemtakt
TCD wollte ich für einen internen Zäler zur Messung externes Signal 
nutzen.

Wo finde ich für TCD das Count-Register? Ich sehe das irgendwie nicht?

von fop (Gast)


Lesenswert?

Wer lesen kann ist klar im Vorteil :
1
Because the TCD counter is asynchronous to the system clock it is not possible to read out the counter
2
value directly. It is possible to capture the TCD counter value, synchronized to the I/O clock domain in two
3
different ways:
4
•   Capture value on input events
5
•   Software capture
Also per Software eine Capture Event auslösen und dann das Input Capture 
Register auslesen, wenn Du den Zählerstand wissen willst.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.