GONEC_BOOT_NEW/APP/main.h

62 lines
1.2 KiB
C
Executable File

//
// Created by xemon on 01.11.22.
//
#ifndef UVEOS_ON_ARTERY_MAIN_H
#define UVEOS_ON_ARTERY_MAIN_H
#include "stdio.h"
#include "AtCmdCommonProtected.h"
extern tAtCmd At0;
AtCommandResult
AtModem_Get_Version(tAtCmd *env, char *versionModem, uint8_t *sizeModem, char *versionCrypto, uint8_t *sizeCrypto);
typedef struct {
uint32_t isErrorCardSD;
uint32_t isErrorFirmwareWEB;
uint32_t isErrorFirmwareDEV;
} tFirmwareInfo;
extern tFirmwareInfo firmwareInfo;
/*
#include <SerialPortNation.h>
#include <GpioPinInterface.h>
#include <SerialPortHalfDuplexIO.h>
typedef struct {
tGpioPin red;
tGpioPin green;
tGpioPin blue;
tGpioPin bipRed;
tGpioPin bipGreen;
tGpioPin bipPower;
tGpioPin addButton;
tGpioPin rs485Power;
tGpioPin rs485Receive;
tGpioPin rs485Transmit;
} tGpioPins;
typedef struct {
tSerialPortNation ComIntPort;
tSerialPortIO ComIntIO;
tSerialPortNation DebugPort;
tSerialPortIO DebugIO;
tSerialPortHalfDuplex ComIntHalfDuplex;
tSerialPortIO ComIntHalfDuplexIo;
} tSerialPorts;
extern tGpioPins GPIO_PINS;
extern tSerialPorts SERIAL_PORTS;
void InitGpioPins();
void InitSerialPorts();
*/
#endif //UVEOS_ON_ARTERY_MAIN_H