123
Fork of LG by
DevicePLCS.h@156:e68ee0bcdcda, 2016-05-09 (annotated)
- Committer:
- Diletant
- Date:
- Mon May 09 20:03:26 2016 +0000
- Revision:
- 156:e68ee0bcdcda
- Parent:
- 149:abbf7663d27d
- Child:
- 161:efd949e8d536
Device & ... update. Not final!!!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Diletant | 149:abbf7663d27d | 1 | #ifndef __DEVICE_PLCS_H__ |
Diletant | 149:abbf7663d27d | 2 | #define __DEVICE_PLCS_H__ |
Diletant | 149:abbf7663d27d | 3 | |
Diletant | 156:e68ee0bcdcda | 4 | typedef struct _DevicePathLengthControlAmplifierSettings { |
Diletant | 156:e68ee0bcdcda | 5 | uint32_t reference; //Reference voltage |
Diletant | 156:e68ee0bcdcda | 6 | uint32_t gain; //Amplifier gain |
Diletant | 156:e68ee0bcdcda | 7 | } DevicePathLengthControlAmplifierSettings; |
Diletant | 156:e68ee0bcdcda | 8 | |
Diletant | 156:e68ee0bcdcda | 9 | typedef struct _DevicePathLengthControlAmplifier { |
Diletant | 156:e68ee0bcdcda | 10 | DevicePathLengthControlAmplifierSettings settings; |
Diletant | 156:e68ee0bcdcda | 11 | } DevicePathLengthControlAmplifier; |
Diletant | 156:e68ee0bcdcda | 12 | |
Diletant | 149:abbf7663d27d | 13 | typedef struct _DevicePathLengthControlSystemSettings { |
Diletant | 149:abbf7663d27d | 14 | } DevicePathLengthControlSystemSettings; |
Diletant | 149:abbf7663d27d | 15 | |
Diletant | 149:abbf7663d27d | 16 | typedef struct _DevicePathLengthControlSystemState { |
Diletant | 149:abbf7663d27d | 17 | uint8_t loop; |
Diletant | 149:abbf7663d27d | 18 | uint8_t modulation; |
Diletant | 149:abbf7663d27d | 19 | } DevicePathLengthControlSystemState; |
Diletant | 149:abbf7663d27d | 20 | |
Diletant | 149:abbf7663d27d | 21 | typedef struct _DevicePathLengthControlSystem { |
Diletant | 149:abbf7663d27d | 22 | DevicePathLengthControlSystemSettings settings; |
Diletant | 149:abbf7663d27d | 23 | DevicePathLengthControlSystemState state; |
Diletant | 156:e68ee0bcdcda | 24 | DevicePathLengthControlAmplifier amplifier; |
Diletant | 149:abbf7663d27d | 25 | } DevicePathLengthControlSystem; |
Diletant | 149:abbf7663d27d | 26 | |
Diletant | 149:abbf7663d27d | 27 | void InitPathLengthControlSystemWithDefaults(void); |
Diletant | 149:abbf7663d27d | 28 | void InitPathLengthControlSystem(void); |
Diletant | 149:abbf7663d27d | 29 | void StartPathLengthControlSystem(void); |
Diletant | 149:abbf7663d27d | 30 | |
Diletant | 149:abbf7663d27d | 31 | #endif /* __DEVICE_PLCS_H__ */ |