Skip to content
Snippets Groups Projects
Commit cf5db434 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

cpu/kinetis_common: periph/timer, read PIT value before stopping

Reading CVAL after stopping timer seem to return zero.
Ref. manual states: "The counter period can be restarted, by first
disabling, and then enabling the timer with TCTRLn[TEN]", but does not
state whether the reset of CVAL happens on TEN 0->1 transition, or 1->0
transtion. Empirical evidence suggests the latter is the implemented behaviour.
parent 77ca7a50
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment