summaryrefslogtreecommitdiff
path: root/monitor/mon.h
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-04 13:09:05 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-04 13:09:05 +0100
commit906d9a5356fe7b90fc14a9c0d6a0d65abb7e80a8 (patch)
tree3bc66c64240ee0b2cda71c1879169ff01e5cfc58 /monitor/mon.h
parent39df9f197b987e0a2c564276d5b65a97f1fb2700 (diff)
downloadSystDigit-Projet-906d9a5356fe7b90fc14a9c0d6a0d65abb7e80a8.tar.gz
SystDigit-Projet-906d9a5356fe7b90fc14a9c0d6a0d65abb7e80a8.zip
Document programs ; better time support in monitor.
Diffstat (limited to 'monitor/mon.h')
-rw-r--r--monitor/mon.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/monitor/mon.h b/monitor/mon.h
index 39ac37e..7abcf8c 100644
--- a/monitor/mon.h
+++ b/monitor/mon.h
@@ -22,7 +22,8 @@ typedef struct {
typedef enum {
MS_FINISH,
MS_RUN,
- MS_AUTO
+ MS_AUTO,
+ MS_FREQ
} t_status;
typedef enum {
@@ -39,6 +40,8 @@ typedef struct {
t_output *outputs;
int step;
+ int freq;
+ int max_freq;
t_status status;
@@ -49,6 +52,8 @@ typedef struct {
int ser_in_in, ser_in_busy_out, ser_out;
char ser_buf[256];
char ser_out_buf;
+
+ int d7[8];
} t_mon;
void disp_init();