123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceServicePort.h

Committer:
Diletant
Date:
2016-07-10
Revision:
182:2bd8ec44998f
Parent:
167:bedc0a9d559a

File content as of revision 182:2bd8ec44998f:

#ifndef __DEVICE_SERVICE_PORT_H__
#define __DEVICE_SERVICE_PORT_H__

//User port typedefs
typedef struct _DeviceServicePortSettings {
  uint32_t baud; //Baud rate
} DeviceServicePortSettings;

typedef struct _DeviceServicePortState {
  uint32_t baud; //Baud rate
} DeviceServicePortState;

typedef struct _DeviceServicePort {
  DeviceServicePortSettings settings;
  DeviceServicePortState state;
} DeviceServicePort;

void InitServicePortDefaultSettings(void);
void InitServicePortState(void);
void DeviceStartServicePort(void);

void Concole(void);
int  ReadConcole(void);
void WriteConcole(void);
#endif  /* __DEVICE_SERVICE_PORT_H__ */