Hi all,
I am using ATSAMC21G18A-MUT.
I previously used ATXMEGA which had different datasheet and manual.
Somehow SAM21C seems difficult to start with. Are there any basic examples (non-ASF coding) to configure basic clock and start using PORTS pins?
And is there only one datasheet for SAMC21 series? No separate manual for registers like for XMEGA?
Non-ASF baisc start and coding for SAM21C
Author
Message
For example, if i want to enable OSC48M, how do I access it? Which file I have to look into to get the names for accessing. The names mentioned in datasheet e.g OSC48MCRTL can't be accessed directly
Also what is a non-ASF way of accessing and writing to 32 bit registers?
Alex Taradov (AVRFreak alexru) has some starter projects on GitHub.
For manuals there are the ARM Cortex M0+ TRM and User's Guide.
And the Datasheet covers each of the peripherals...