<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://192.168.253.116:8016/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="http://192.168.253.116:8016/feed.php">
        <title>Alabourre.com - public:tech:tm4c123g</title>
        <description></description>
        <link>http://192.168.253.116:8016/</link>
        <image rdf:resource="http://192.168.253.116:8016/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-07-16T09:23:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://192.168.253.116:8016/public:tech:tm4c123g:fsm?rev=1737564568&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.253.116:8016/public:tech:tm4c123g:io_ports?rev=1737564568&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.253.116:8016/public:tech:tm4c123g:pll?rev=1737564568&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.253.116:8016/public:tech:tm4c123g:systick?rev=1737564568&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.253.116:8016/public:tech:tm4c123g:uart?rev=1737564568&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://192.168.253.116:8016/_media/wiki:dokuwiki.svg">
        <title>Alabourre.com</title>
        <link>http://192.168.253.116:8016/</link>
        <url>http://192.168.253.116:8016/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://192.168.253.116:8016/public:tech:tm4c123g:fsm?rev=1737564568&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-22T16:49:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fsm</title>
        <link>http://192.168.253.116:8016/public:tech:tm4c123g:fsm?rev=1737564568&amp;do=diff</link>
        <description>// Linked data structure
struct State {
  unsigned long out;        // 2-bit output 
  unsigned long delay;      // time to delay in 10ms
  unsigned long next[4];};  // Next if 2-bit input is 0-3
typedef const struct State StateType;
typedef StateType *StatePtr;
#define Center 0
#define Left 1
#define Right 2
StateType fsm[3]={
  {0x03, 1, { Right, Left,   Right,  Center }},  // Center
  {0x02, 1, { Left,  Center, Right,  Center }},  // Left
  {0x01, 1, { Right, Left,   Center, Center }}   // Ri…</description>
    </item>
    <item rdf:about="http://192.168.253.116:8016/public:tech:tm4c123g:io_ports?rev=1737564568&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-22T16:49:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>io_ports</title>
        <link>http://192.168.253.116:8016/public:tech:tm4c123g:io_ports?rev=1737564568&amp;do=diff</link>
        <description>Port   Base address  PortA  0x40004000  PortB  0x40005000  PortC  0x40006000  PortD  0x40007000  PortE  0x40024000  PortF  0x40025000  If we wish to access bit  Constant  7  0x0200  6  0x0100  5  0x0080  4  0x0040  3  0x0020  2  0x0010  1  0x0008  0</description>
    </item>
    <item rdf:about="http://192.168.253.116:8016/public:tech:tm4c123g:pll?rev=1737564568&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-22T16:49:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pll</title>
        <link>http://192.168.253.116:8016/public:tech:tm4c123g:pll?rev=1737564568&amp;do=diff</link>
        <description>Activate the LM4F/TM4C with a 16 MHz crystal to run at 80 MHz
void PLL_Init(void){
  // 0) Use RCC2
  SYSCTL_RCC2_R |=  0x80000000;  // USERCC2
  // 1) bypass PLL while initializing
  SYSCTL_RCC2_R |=  0x00000800;  // BYPASS2, PLL bypass
  // 2) select the crystal value and oscillator source
  SYSCTL_RCC_R = (SYSCTL_RCC_R &amp;~0x000007C0)   // clear XTAL field, bits 10-6
               + 0x00000540;   // 10101, configure for 16 MHz crystal
  SYSCTL_RCC2_R &amp;= ~0x00000070;  // configure for main osci…</description>
    </item>
    <item rdf:about="http://192.168.253.116:8016/public:tech:tm4c123g:systick?rev=1737564568&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-22T16:49:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>systick</title>
        <link>http://192.168.253.116:8016/public:tech:tm4c123g:systick?rev=1737564568&amp;do=diff</link>
        <description>Initialization of SysTick
#define NVIC_ST_CTRL_R      (*((volatile unsigned long *)0xE000E010))
#define NVIC_ST_RELOAD_R    (*((volatile unsigned long *)0xE000E014))
#define NVIC_ST_CURRENT_R   (*((volatile unsigned long *)0xE000E018))
void SysTick_Init(void){
  NVIC_ST_CTRL_R = 0;              // 1) disable SysTick during setup
  NVIC_ST_RELOAD_R = 0x00FFFFFF;   // 2) maximum reload value
  NVIC_ST_CURRENT_R = 0;           // 3) any write to current clears it
  NVIC_ST_CTRL_R = 0x00000005;     …</description>
    </item>
    <item rdf:about="http://192.168.253.116:8016/public:tech:tm4c123g:uart?rev=1737564568&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-22T16:49:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>uart</title>
        <link>http://192.168.253.116:8016/public:tech:tm4c123g:uart?rev=1737564568&amp;do=diff</link>
        <description>To activate a UART you will need to turn on the UART clock in the RCGC1 register. You should also turn on the clock for the digital port in the RCGC2 register. You need to enable the transmit and receive pins as digital signals. The alternative function for these pins must also be selected. In particular we set bits in both the AFSEL and PCTL registers.</description>
    </item>
</rdf:RDF>
