UveosOnNation_VEGA_GpioPins/Gpios.h

41 lines
722 B
C

//
// Created by xemon on 29.08.22.
//
#ifndef UVEOS_DEMO_ON_NIIET_MCU_Gpios_H
#define UVEOS_DEMO_ON_NIIET_MCU_Gpios_H
#include <SerialPorts.h>
#include <PowerManagement.h>
#include "GpioPin.h"
#include "UserInput.h"
#include "UserIndication.h"
#include "SpiPorts.h"
typedef struct {
tGpioPin powerMicLed;
#if USE_POLAR_DEPENDENT_BIP
tIndicationBip uiLeds;
tPowerBip powerBip;
#else
tBipLed led;
#endif
tUserInputPins buttons;
} tBipPins;
typedef struct {
tAccelPins accel;
tFlashPins flash;
tOnBoardLed onBoardLed;
tBipPins bip;
tRs485DirectionPins comIntDir;
tPowerPins power;
} tGpios;
extern tGpios GPIOS;
void Gpios_Init();
#endif //UVEOS_DEMO_ON_NIIET_MCU_Gpios_H