UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
board.c
Go to the documentation of this file.
1 
11 #include "../board.h"
12 
13 #include "inc/tm4c123gh6pm.h"
14 #include "inc/hw_memmap.h"
15 
16 #include "driverlib/sysctl.h"
17 
18 void Board_init(void)
19 {
20  /* 8MHz TCXO, Internal PLL runs at 400MHz, so use divide-by-5 to get 80MHz Core Clock */
21  SysCtlClockSet(SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_SYSDIV_5 | SYSCTL_XTAL_8MHZ);
22 }
23 
void Board_init(void)
Definition: board.c:13