Created
December 31, 2017 23:36
-
-
Save n1ywb/d7fa85b5cf056d4da50e36554e63c557 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE; | |
while (TC5->COUNT16.STATUS.bit.SYNCBUSY); | |
TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST; | |
while (TC5->COUNT16.STATUS.bit.SYNCBUSY); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this didn't work because I fubard my gclk config and the tc was not clocked