aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall/source/BridgeManager.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-04-30 01:40:10 +1000
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-05-06 21:39:04 +1000
commit3af0c3ad63437ac53f5e2832a22e21a8790686f5 (patch)
tree38d653a3a80a9889e8fc3a17cadfa5fd62fa5ce1 /heimdall/source/BridgeManager.h
parent4435da4a8ac764e3b3a55669cf27c78fa4e6dc8f (diff)
downloadexternal_heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.zip
external_heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.gz
external_heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.bz2
Minor code clean up.
Diffstat (limited to 'heimdall/source/BridgeManager.h')
-rw-r--r--heimdall/source/BridgeManager.h11
1 files changed, 11 insertions, 0 deletions
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);