Add header files

This commit is contained in:
Sanyog Nevase Nevase 2024-11-29 15:15:14 +05:30
parent e03c1c2a68
commit 3f711a8b87
1 changed files with 7 additions and 0 deletions

7
main.c
View File

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