<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.jegatron.se/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.jegatron.se/feed.php">
        <title>Jegatron - arm:atsamc21</title>
        <description></description>
        <link>https://wiki.jegatron.se/</link>
        <image rdf:resource="https://wiki.jegatron.se/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-07-03T20:58:55+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.jegatron.se/doku.php?id=arm:atsamc21:pinout&amp;rev=1662942654&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.jegatron.se/doku.php?id=arm:atsamc21:tc&amp;rev=1662942654&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.jegatron.se/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Jegatron</title>
        <link>https://wiki.jegatron.se/</link>
        <url>https://wiki.jegatron.se/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.jegatron.se/doku.php?id=arm:atsamc21:pinout&amp;rev=1662942654&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-12T00:30:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pinout</title>
        <link>https://wiki.jegatron.se/doku.php?id=arm:atsamc21:pinout&amp;rev=1662942654&amp;do=diff</link>
        <description>ATSAMC21 pinout

[Sortable excel sheet]

C21E 32-pin package

&lt;sortable&gt;
 PIN		 I/O	 SUPPLY	 XTAL		 EIC			 REF			 ADC0		 ADC1		 AC		 PTC			 DAC	 SDADC		 SERCOM			 SERCOM-ALT		 TC/TCC		 TCC			 COM				 AC/GCLK		 CCL			 IOMUX:					  			  A													  B											  C					 D</description>
    </item>
    <item rdf:about="https://wiki.jegatron.se/doku.php?id=arm:atsamc21:tc&amp;rev=1662942654&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-12T00:30:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tc</title>
        <link>https://wiki.jegatron.se/doku.php?id=arm:atsamc21:tc&amp;rev=1662942654&amp;do=diff</link>
        <description>Examples

Setup TC2 sourced by the external 32 kHz oscillator


#include &quot;sam.h&quot;

#include &lt;stdint.h&gt;

int main(void)
{
	int u = 0;
	/* Initialize the SAM system */
	SystemInit();

	uint16_t last_time, now;
	last_time = now = 0;

	// LED pin, PA15, output
	PORT-&gt;Group[0].DIRSET.reg  = PORT_PA15;

	// Button pin, PA28, enable input driver and pull-up
	PORT-&gt;Group[0].PINCFG[28].bit.INEN = 1;
	PORT-&gt;Group[0].PINCFG[28].bit.PULLEN = 1;
	PORT-&gt;Group[0].OUTSET.reg = PORT_PA28;

	// Enable the external…</description>
    </item>
</rdf:RDF>
