19 lines
349 B
C
19 lines
349 B
C
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "tm4c123gh6pm.h"
|
|
|
|
|
|
void UART7_Init(void);
|
|
void UART7_Write(char data);
|
|
char UART7_Read(void);
|
|
void PortE_Init(void);
|
|
void LED_Control(char);
|
|
|
|
|
|
int main(void)
|
|
{
|
|
|
|
SYSCTL_RCGCUART_R |= 0x80; // Enable clock to UART7
|
|
SYSCTL_RCGCGPIO_R |= 0x10; // Enable port E for uart 7
|
|
}
|