syncSlave for problem 2

Committer:
the729
Date:
Fri Dec 03 20:52:44 2010 +0000
Revision:
0:988132ee7271

        

Who changed what in which revision?

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