Declare variables required for UART1 Handler

This commit is contained in:
Sanyog Nevase Nevase 2024-11-29 15:06:52 +05:30
parent 9327fb3708
commit e03c1c2a68
1 changed files with 5 additions and 0 deletions

5
main.c
View File

@ -2,6 +2,11 @@
#include <stdbool.h>
#include "tm4c123gh6pm.h"
#define MAX_FIELD_SIZE 100
volatile char nmea_sentence[MAX_FIELD_SIZE];
volatile uint8_t nmea_index = 0;
volatile bool nmea_ready = false;
void GPIO_PORT_F_init(void)
{
SYSCTL_RCGC2_R |= 0x00000020; // ENABLE CLOCK TO GPIOF