I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later

Dependencies:   BufferedSerial FatFileSystemCpp mbed

LTCApp.h

Committer:
AndyA
Date:
2021-08-18
Revision:
52:adbbaadca0a9
Parent:
51:d4a5151af5af
Child:
53:b790ed7b838f
Child:
55:ee36cab19a58

File content as of revision 52:adbbaadca0a9:

#ifndef __LTCApp_h__
#define __LTCApp_h__

#include "mbed.h"
#include "LTCDecode.h"
#include "VIPSSerialProtocol.h"
#include "frameRates.h"
#include "BufferedSerial.h"
#include "FIZ_DISNEY.h"
#include "FIZ_digiPower.h"
#include "FIZDigiPowerActive.h"
#include "FIZCanon.h"
#include "frameclock.h"
#include "FreeD.h"
#include <stdint.h>

extern volatile uint32_t VBOXTicks;
extern volatile bool ppsActive;

extern BufferedSerial pc;

extern frameRates detectedRate;

extern Timer TimeSinceLastFrame;
extern uint32_t TimeSinceLastFrameWrap;
extern DigitalOut led1;

extern void vipsBypassRx(char byte);

typedef struct UserSettings_s {
    int FIZmode;
    int SerialOutMode;
    int FreeDPort;
    int VipsUDPPort;
    char IPAddress[32];
    char Gateway[32];
    char Subnet[32];
    int FilterOrder;
    float FilterFreq;
    float FilterRate;
    bool FilterXY;
    bool FilterZ;
    bool FilterRoll;
    bool FilterPitch;
    bool FilterYaw;
    bool FlexibleVIPSOut;
    float SerialTxDelayMS;
    float UDPTxDelayMS;
    float SerialTxDelayFrame;
    float UDPTxDelayFrame;
    bool InvertRoll;
    bool InvertPitch;
    bool InvertYaw;
    int bypassBaud;
} UserSettings_t;

#endif