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:
JamieB
Date:
2021-08-17
Revision:
46:432d63e8fe64
Parent:
42:9653486372a6
Child:
49:df05784d9a5c

File content as of revision 46:432d63e8fe64:

#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 AutoHyperSmooth;
} UserSettings_t;

extern UserSettings_t UserSettings;

#endif