From 3af0c3ad63437ac53f5e2832a22e21a8790686f5 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Wed, 30 Apr 2014 01:40:10 +1000 Subject: Minor code clean up. --- heimdall/source/BridgeManager.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'heimdall/source/BridgeManager.h') diff --git a/heimdall/source/BridgeManager.h b/heimdall/source/BridgeManager.h index e67c679..1f88cdc 100644 --- a/heimdall/source/BridgeManager.h +++ b/heimdall/source/BridgeManager.h @@ -94,6 +94,14 @@ namespace Heimdall Default = Error }; + typedef struct + { + unsigned int dteRate; + unsigned char charFormat; + unsigned char parityType; + unsigned char dataBits; + } LineCoding; + private: static const DeviceIdentifier supportedDevices[kSupportedDeviceCount]; @@ -131,6 +139,9 @@ namespace Heimdall bool InitialiseProtocol(void); + bool SetControlLineState(unsigned short controlSignalFlags); + bool SetControlLineCoding(LineCoding lineCoding); + public: BridgeManager(bool verbose, int communicationDelay = BridgeManager::kCommunicationDelayDefault); -- cgit v1.1