Pages: [1]   Go Down
Author Topic: Timer counters and SAM3X8E docs.  (Read 227 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Functional description of the timer counter is found on page 873 on the manual dated "28-May-12".

I'm a little confused on why they describe it as a 32 bit counter which counts up to 0xFFFF and resets. Wouldn't this make it a 16 bit counter as each hex character is only 4 bits?

Also if any one has an example of changing the timer on the fly without stopping and starting it that would be very useful! I haven't tried it yet but I'm assuming TC_SetRA, &TC_SetRC don't work without stopping and starting the timer.
« Last Edit: August 15, 2014, 07:29:00 am by WesBrooks » Logged

0
Online Online
Shannon Member
****
Karma: 216
Posts: 12548
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Misprint?  The text will have been converted from a pre-existing datasheet for some other
microcontroller, most likely.  The register descriptions all show full 32 bit fields for the
counter etc.
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought that must have been the case but wanted to check I wan't missing something obvious! Thanks.
Logged

Pages: [1]   Go Up
Jump to: