IPIA Senior Project V2.0
Spring-Fall 2020
Loading...
Searching...
No Matches
sim33eau.h File Reference

sim33eau driver More...

#include <ti/drivers/UART.h>
#include <ti/drivers/GPIO.h>
#include <unistd.h>
#include <stdint.h>
#include <stddef.h>
#include "GPS.h"
#include "ti_drivers_config.h"
Include dependency graph for sim33eau.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BUFFER   82
 

Functions

void GPS_init (void)
 GPS Initialize. More...
 
void GPS_read (uint8_t totalRead)
 GPS read. More...
 
void GPS_stop (void)
 GPS stop. More...
 
bool isSubstring (char *str, char *substr)
 Check if string is a substring. More...
 
uint8_t str_to_uint8 (char *str)
 String to uint8_t. More...
 
uint16_t str_to_uint16 (char *str)
 String to uint16_t. More...
 
SysTime setSysTime (const UTC_TIME *gpsUtcTime)
 Set System Time. More...
 

Variables

UART_Handle gpsUartHandle
 
char gpsData [BUFFER]
 
NMEA_GNRMC nmeaGnrmc
 
UTC_TIME utcTime
 
COORDINATE coordinate
 
SysTime sysTime
 

Detailed Description

sim33eau driver

Author
Jesus Minjares
See also
https://github.com/jminjares4
Author
Erick A. Baca
See also
https://github.com/eabaca2419
Version
0.1
Date
2022-05-20

Macro Definition Documentation

◆ BUFFER

#define BUFFER   82

Buffer Max Bytes

Function Documentation

◆ GPS_init()

void GPS_init ( void  )

GPS Initialize.

Detailed description starts here

Parameters
voidNo argument
Returns
None

◆ GPS_read()

void GPS_read ( uint8_t  totalRead)

GPS read.

Detailed description starts here

Parameters
totalReadnth number of lines
Returns
None

◆ GPS_stop()

void GPS_stop ( void  )

GPS stop.

Detailed description starts here

Parameters
voidNo argument
Returns
None

◆ isSubstring()

bool isSubstring ( char *  str,
char *  substr 
)

Check if string is a substring.

Detailed description starts here

Parameters
strprimary string
substrsubstring
Returns
bool substr is a substring of str

◆ setSysTime()

SysTime setSysTime ( const UTC_TIME gpsUtcTime)

Set System Time.

Detailed description starts here

Parameters
gpsUtcTimeUTC_TIME reference
See also
UTC_TIME
Returns
SysTime instance of SysTime

◆ str_to_uint16()

uint16_t str_to_uint16 ( char *  str)

String to uint16_t.

Detailed description starts here

Parameters
strstring
Returns
uint16_t value

◆ str_to_uint8()

uint8_t str_to_uint8 ( char *  str)

String to uint8_t.

Detailed description starts here

Parameters
strstring
Returns
uint8_t value

Variable Documentation

◆ coordinate

COORDINATE coordinate

COORDINATE object

◆ gpsData

char gpsData[BUFFER]

GPS Data

◆ gpsUartHandle

UART_Handle gpsUartHandle

GPS Uart Handle

◆ nmeaGnrmc

NMEA_GNRMC nmeaGnrmc

NMEA GNRMC object

◆ sysTime

SysTime sysTime

SysTime object

◆ utcTime

UTC_TIME utcTime

UTC TIME object