Tianji Wu
/
syncSlave_2
syncSlave for problem 2
hdtimeval_math.h@0:988132ee7271, 2010-12-03 (annotated)
- Committer:
- the729
- Date:
- Fri Dec 03 20:52:44 2010 +0000
- Revision:
- 0:988132ee7271
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
the729 | 0:988132ee7271 | 1 | #ifndef HDTIMEVAL_MATH_H |
the729 | 0:988132ee7271 | 2 | #define HDTIMEVAL_MATH_H |
the729 | 0:988132ee7271 | 3 | |
the729 | 0:988132ee7271 | 4 | #include "timesync.h" |
the729 | 0:988132ee7271 | 5 | |
the729 | 0:988132ee7271 | 6 | void hdtv_add (hdtimeval_t * r, hdtimeval_t * v1, hdtimeval_t * v2); |
the729 | 0:988132ee7271 | 7 | void hdtv_div2 (hdtimeval_t * r, hdtimeval_t * v); |
the729 | 0:988132ee7271 | 8 | void hdtv_div8 (hdtimeval_t * r, hdtimeval_t * v); |
the729 | 0:988132ee7271 | 9 | void hdtv_sub (hdtimeval_t * r, hdtimeval_t * v1, hdtimeval_t * v2); |
the729 | 0:988132ee7271 | 10 | void hdtv_muldiv (hdtimeval_t * r, hdtimeval_t * v, hdtimeval_t * m, hdtimeval_t * d); |
the729 | 0:988132ee7271 | 11 | void hdtv_totv(timeval_t * r, hdtimeval_t * v); |
the729 | 0:988132ee7271 | 12 | |
the729 | 0:988132ee7271 | 13 | #endif //HDTIMEVAL_MATH_H |