Tianji Wu
/
syncSlave_2
syncSlave for problem 2
hdtimeval_math.h
- Committer:
- the729
- Date:
- 2010-12-03
- Revision:
- 0:988132ee7271
File content as of revision 0:988132ee7271:
#ifndef HDTIMEVAL_MATH_H #define HDTIMEVAL_MATH_H #include "timesync.h" void hdtv_add (hdtimeval_t * r, hdtimeval_t * v1, hdtimeval_t * v2); void hdtv_div2 (hdtimeval_t * r, hdtimeval_t * v); void hdtv_div8 (hdtimeval_t * r, hdtimeval_t * v); void hdtv_sub (hdtimeval_t * r, hdtimeval_t * v1, hdtimeval_t * v2); void hdtv_muldiv (hdtimeval_t * r, hdtimeval_t * v, hdtimeval_t * m, hdtimeval_t * d); void hdtv_totv(timeval_t * r, hdtimeval_t * v); #endif //HDTIMEVAL_MATH_H