syncSlave for problem 3

Committer:
the729
Date:
Fri Dec 03 20:53:52 2010 +0000
Revision:
0:362932d519c6

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
the729 0:362932d519c6 1 #ifndef TIMESYNC_SLAVE_H
the729 0:362932d519c6 2 #define TIMESYNC_SLAVE_H
the729 0:362932d519c6 3
the729 0:362932d519c6 4 #include "timesync.h"
the729 0:362932d519c6 5
the729 0:362932d519c6 6 #define HISTORY_LEN 8
the729 0:362932d519c6 7
the729 0:362932d519c6 8 typedef struct {
the729 0:362932d519c6 9 hdtimeval_t v1div2;
the729 0:362932d519c6 10 hdtimeval_t w1div2;
the729 0:362932d519c6 11 hdtimeval_t beta1;
the729 0:362932d519c6 12 hdtimeval_t beta2;
the729 0:362932d519c6 13 hdtimeval_t hisw[HISTORY_LEN];
the729 0:362932d519c6 14 hdtimeval_t hisv[HISTORY_LEN];
the729 0:362932d519c6 15 uint8_t front;
the729 0:362932d519c6 16 uint8_t size;
the729 0:362932d519c6 17 } coeff_t;
the729 0:362932d519c6 18
the729 0:362932d519c6 19 #endif //TIMESYNC_SLAVE_H