2021-12-14 09:57:38 +01:00

52 lines
1.8 KiB
C

/**
******************************************************************************
* @file GPS/GPS_Map_Tracker/Inc/main.h
* @author MCD Application Team
* @brief Header for main.c module
******************************************************************************
* @attention
*
* Copyright (c) 2016 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H
/* Includes ------------------------------------------------------------------*/
#include "stdio.h"
#include "stm32f7xx_hal.h"
#include "stm32f723e_discovery.h"
#include "stm32f723e_discovery_ts.h"
#include "stm32f723e_discovery_lcd.h"
#include "nano_gps_click.h"
/* Exported Defines ----------------------------------------------------------*/
#define STMOD_RX_BUF_SIZE 256
/* Exported types ------------------------------------------------------------*/
uint8_t Touchscreen_Calibration (void);
uint16_t TouchScreen_Get_Calibrated_X(uint16_t x);
uint16_t TouchScreen_Get_Calibrated_Y(uint16_t y);
uint8_t TouchScreen_IsCalibrationDone(void);
uint8_t TouchScreen_GetTouchButtonPosition(void);
void GPS_Demo( void );
void GPS_UpdateDisplay(void);
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
/* Menu API */
#endif /* __MAIN_H */