Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
control.h@4:179fc666147c, 2016-12-06 (annotated)
- Committer:
- kieftea
- Date:
- Tue Dec 06 19:55:30 2016 +0000
- Revision:
- 4:179fc666147c
Receive returns just a single string; Each parameter has its unique ID as an enum value for the switch; All set functions must be updated/written
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kieftea | 4:179fc666147c | 1 | /* |
kieftea | 4:179fc666147c | 2 | * File: pacemaker.h |
kieftea | 4:179fc666147c | 3 | * Author: Evan |
kieftea | 4:179fc666147c | 4 | * |
kieftea | 4:179fc666147c | 5 | * Created on December 5, 2016, 1:56 PM |
kieftea | 4:179fc666147c | 6 | */ |
kieftea | 4:179fc666147c | 7 | |
kieftea | 4:179fc666147c | 8 | #ifndef CONTROL_H |
kieftea | 4:179fc666147c | 9 | #define CONTROL_H |
kieftea | 4:179fc666147c | 10 | |
kieftea | 4:179fc666147c | 11 | class control{ |
kieftea | 4:179fc666147c | 12 | |
kieftea | 4:179fc666147c | 13 | public: |
kieftea | 4:179fc666147c | 14 | void sendProgData(); |
kieftea | 4:179fc666147c | 15 | void sendProgData(ID input); |
kieftea | 4:179fc666147c | 16 | void sendActivityThreshold(); |
kieftea | 4:179fc666147c | 17 | void sendATRDuration(); |
kieftea | 4:179fc666147c | 18 | void sendATREnable(); |
kieftea | 4:179fc666147c | 19 | void sendATRFallback(); |
kieftea | 4:179fc666147c | 20 | void sendAtrRP(); |
kieftea | 4:179fc666147c | 21 | void sendDynamicAVDelay(); |
kieftea | 4:179fc666147c | 22 | void sendFixedAVDelay(); |
kieftea | 4:179fc666147c | 23 | void sendHysterisisRateLimit(); |
kieftea | 4:179fc666147c | 24 | void sendLowerRateLimit(); |
kieftea | 4:179fc666147c | 25 | void sendMaximumSensorRate(); |
kieftea | 4:179fc666147c | 26 | void sendPulseWidth(); |
kieftea | 4:179fc666147c | 27 | void sendPVARP(); |
kieftea | 4:179fc666147c | 28 | void sendPVARPExt(); |
kieftea | 4:179fc666147c | 29 | void sendRateSmoothing(); |
kieftea | 4:179fc666147c | 30 | void sendReactionTime(); |
kieftea | 4:179fc666147c | 31 | void sendRecoveryTime(); |
kieftea | 4:179fc666147c | 32 | void sendRegulatedAmplitude(); |
kieftea | 4:179fc666147c | 33 | void sendResponseFactor(); |
kieftea | 4:179fc666147c | 34 | void sendSensedAVDelayOffset(); |
kieftea | 4:179fc666147c | 35 | void sendSensitivity(); |
kieftea | 4:179fc666147c | 36 | void sendUnregulatedAmplitude(); |
kieftea | 4:179fc666147c | 37 | void sendUpperRateLimit(); |
kieftea | 4:179fc666147c | 38 | void sendVentBlanking(); |
kieftea | 4:179fc666147c | 39 | void sendVentRP(); |
kieftea | 4:179fc666147c | 40 | void sendpaceMode(); |
kieftea | 4:179fc666147c | 41 | |
kieftea | 4:179fc666147c | 42 | void getProgData(ID input); |
kieftea | 4:179fc666147c | 43 | void getActivityThreshold(); |
kieftea | 4:179fc666147c | 44 | void getATRDuration(); |
kieftea | 4:179fc666147c | 45 | void getATREnable(); |
kieftea | 4:179fc666147c | 46 | void getATRFallback(); |
kieftea | 4:179fc666147c | 47 | void getAtrRP(); |
kieftea | 4:179fc666147c | 48 | void getDynamicAVDelay(); |
kieftea | 4:179fc666147c | 49 | void getFixedAVDelay(); |
kieftea | 4:179fc666147c | 50 | void getHysterisisRateLimit(); |
kieftea | 4:179fc666147c | 51 | void getLowerRateLimit(); |
kieftea | 4:179fc666147c | 52 | void getMaximumSensorRate(); |
kieftea | 4:179fc666147c | 53 | void getPulseWidth(); |
kieftea | 4:179fc666147c | 54 | void getPVARP(); |
kieftea | 4:179fc666147c | 55 | void getPVARPExt(); |
kieftea | 4:179fc666147c | 56 | void getRateSmoothing(); |
kieftea | 4:179fc666147c | 57 | void getReactionTime(); |
kieftea | 4:179fc666147c | 58 | void getRecoveryTime(); |
kieftea | 4:179fc666147c | 59 | void getRegulatedAmplitude(); |
kieftea | 4:179fc666147c | 60 | void getResponseFactor(); |
kieftea | 4:179fc666147c | 61 | void getSensedAVDelayOffset(); |
kieftea | 4:179fc666147c | 62 | void getSensitivity(); |
kieftea | 4:179fc666147c | 63 | void getUnregulatedAmplitude(); |
kieftea | 4:179fc666147c | 64 | void getUpperRateLimit(); |
kieftea | 4:179fc666147c | 65 | void getVentBlanking(); |
kieftea | 4:179fc666147c | 66 | void getVentRP(); |
kieftea | 4:179fc666147c | 67 | void getpaceMode(); |
kieftea | 4:179fc666147c | 68 | |
kieftea | 4:179fc666147c | 69 | enum ID { |
kieftea | 4:179fc666147c | 70 | P0000, |
kieftea | 4:179fc666147c | 71 | PS001, |
kieftea | 4:179fc666147c | 72 | PI002, |
kieftea | 4:179fc666147c | 73 | PS003, |
kieftea | 4:179fc666147c | 74 | PI004, |
kieftea | 4:179fc666147c | 75 | PI005, |
kieftea | 4:179fc666147c | 76 | PS006, |
kieftea | 4:179fc666147c | 77 | PI007, |
kieftea | 4:179fc666147c | 78 | PI008, |
kieftea | 4:179fc666147c | 79 | PI009, |
kieftea | 4:179fc666147c | 80 | PI010, |
kieftea | 4:179fc666147c | 81 | PD011, |
kieftea | 4:179fc666147c | 82 | PI012, |
kieftea | 4:179fc666147c | 83 | PI013, |
kieftea | 4:179fc666147c | 84 | PI014, |
kieftea | 4:179fc666147c | 85 | PI015, |
kieftea | 4:179fc666147c | 86 | PI016, |
kieftea | 4:179fc666147c | 87 | PD017, |
kieftea | 4:179fc666147c | 88 | PI018, |
kieftea | 4:179fc666147c | 89 | PI019, |
kieftea | 4:179fc666147c | 90 | PD020, |
kieftea | 4:179fc666147c | 91 | PD021, |
kieftea | 4:179fc666147c | 92 | PI022, |
kieftea | 4:179fc666147c | 93 | PI023, |
kieftea | 4:179fc666147c | 94 | PI024, |
kieftea | 4:179fc666147c | 95 | PS025 |
kieftea | 4:179fc666147c | 96 | }; |
kieftea | 4:179fc666147c | 97 | }; |
kieftea | 4:179fc666147c | 98 | |
kieftea | 4:179fc666147c | 99 | |
kieftea | 4:179fc666147c | 100 | |
kieftea | 4:179fc666147c | 101 | #endif /* CONTROL_H */ |
kieftea | 4:179fc666147c | 102 |