123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceServicePort.h

Committer:
Kovalev_D
Date:
2016-10-19
Revision:
197:7a05523bf588
Parent:
182:2bd8ec44998f

File content as of revision 197:7a05523bf588:

#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__ */