forked from njg4ne/uva-embedded-systems-mp0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.c
39 lines (34 loc) · 1.44 KB
/
Main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Modified by Mustafa Hotaki, July 2018
// Modified by Sile Shu
// main.c
// Runs on LM4F120/TM4C123
// UART runs at 115,200 baud rate
// Daniel Valvano
// May 6, 2015
/* This example accompanies the books
"Embedded Systems: Introduction to ARM Cortex M Microcontrollers",
ISBN: 978-1469998749, Jonathan Valvano, copyright (c) 2015
"Embedded Systems: Real Time Interfacing to ARM Cortex M Microcontrollers",
ISBN: 978-1463590154, Jonathan Valvano, copyright (c) 2015
Copyright 2014 by Jonathan W. Valvano, [email protected]
You may use, edit, run or distribute this file
as long as the above copyright notice remains
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
VALVANO SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
For more information about my classes, my research, and my books, see
http://users.ece.utexas.edu/~valvano/
*/
#include <stdio.h>
#include <stdint.h> // C99 variable types
#include "PLL.h"
#include "UART.h"
int main(void){
PLL_Init(Bus80MHz); // initialize bus frequency
Output_Init(); // initialize output device
while(1){
printf("HelloWorld: Wahoo\n"); // Mini Projet 0: Replace "Wahoo" with your name
}
}