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.
parameters.h@2:4fb5a8d15f9c, 2016-12-02 (annotated)
- Committer:
- kieftea
- Date:
- Fri Dec 02 19:15:25 2016 +0000
- Revision:
- 2:4fb5a8d15f9c
- Parent:
- 0:00669618559e
Update
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| kieftea | 0:00669618559e | 1 | #ifndef PARAMETERS_H |
| kieftea | 0:00669618559e | 2 | #define PARAMETERS_H |
| kieftea | 0:00669618559e | 3 | |
| kieftea | 2:4fb5a8d15f9c | 4 | #include <stdint.h> |
| kieftea | 2:4fb5a8d15f9c | 5 | #include "mbed.h" |
| kieftea | 2:4fb5a8d15f9c | 6 | #include <string> |
| kieftea | 2:4fb5a8d15f9c | 7 | |
| kieftea | 2:4fb5a8d15f9c | 8 | |
| kieftea | 0:00669618559e | 9 | /********************************************** |
| kieftea | 0:00669618559e | 10 | * |
| kieftea | 0:00669618559e | 11 | * Programmable Parameters Access Functions |
| kieftea | 0:00669618559e | 12 | * |
| kieftea | 0:00669618559e | 13 | **********************************************/ |
| kieftea | 0:00669618559e | 14 | |
| kieftea | 2:4fb5a8d15f9c | 15 | //void param_initialize(string* strArray); |
| kieftea | 2:4fb5a8d15f9c | 16 | |
| kieftea | 0:00669618559e | 17 | uint16_t get_lower_rate_limit(); // # of pace pulses per minute |
| kieftea | 0:00669618559e | 18 | uint16_t get_lower_rate_limit_period_ms(); // LRL as a period in milliseconds |
| kieftea | 0:00669618559e | 19 | void set_lower_rate_limit(uint16_t lrl); |
| kieftea | 0:00669618559e | 20 | |
| kieftea | 0:00669618559e | 21 | uint16_t get_upper_rate_limit(); // min t b/w vent event and next vent pace |
| kieftea | 0:00669618559e | 22 | uint16_t get_upper_rate_limit_period_ms(); // URL as a period in milliseconds |
| kieftea | 0:00669618559e | 23 | void set_upper_rate_limit(uint16_t url); |
| kieftea | 0:00669618559e | 24 | |
| kieftea | 0:00669618559e | 25 | uint16_t get_max_sensor_rate(); // max rate allowed from adaptive pacing |
| kieftea | 0:00669618559e | 26 | uint16_t get_max_sensor_rate_period_ms(); // MSR as a period in milliseconds |
| kieftea | 0:00669618559e | 27 | void set_max_sensor_rate(uint16_t msr); |
| kieftea | 0:00669618559e | 28 | |
| kieftea | 0:00669618559e | 29 | uint16_t get_fixed_av_delay_ms(); // time between atrial and vent events in milliseconds |
| kieftea | 0:00669618559e | 30 | void set_fixed_av_delay_ms(uint16_t av_delay_ms); |
| kieftea | 0:00669618559e | 31 | |
| kieftea | 0:00669618559e | 32 | uint16_t get_atr_pulse_width_us(); // duration of atrial pulse in microseconds |
| kieftea | 0:00669618559e | 33 | void set_atr_pulse_width_us(uint16_t atr_pulse_width); |
| kieftea | 0:00669618559e | 34 | |
| kieftea | 0:00669618559e | 35 | uint16_t get_vent_pulse_width_us(); // duration of ventricular pulse in microseconds |
| kieftea | 0:00669618559e | 36 | void set_vent_pulse_width_us(uint16_t v_pulse_width_us); |
| kieftea | 0:00669618559e | 37 | |
| kieftea | 0:00669618559e | 38 | uint16_t get_atr_pulse_amp(); // amplitude of atrial pulses |
| kieftea | 0:00669618559e | 39 | void set_atr_pulse_amp(uint16_t atr_pulse_amp); |
| kieftea | 0:00669618559e | 40 | |
| kieftea | 0:00669618559e | 41 | uint16_t get_vent_pulse_amp(); // amplitude of ventricular pulses |
| kieftea | 0:00669618559e | 42 | void set_vent_pulse_amp(uint16_t vent_pulse_amp); |
| kieftea | 0:00669618559e | 43 | |
| kieftea | 0:00669618559e | 44 | #endif |