| 12345678910111213141516171819202122 |
- #ifndef _TIMER_COUNT32_H__
- #define _TIMER_COUNT32_H__
- #include "os/os_type.h"
- typedef struct {
- u32 exec_count;
- u32 exec_time;
- u32 intval_count;
- u32 intval_time;
- u32 exec_max_time;
- u32 exec_max_error_time;
- u32 exec_time_error;
- }measure_time_t;
- void timer_count32_init(void);
- u32 timer_count32_get(void);
- u32 timer_count32_delta_us(u32 prev_count, u32 *p_update);
- void time_measure_start(measure_time_t *m);
- void time_measure_end(measure_time_t *m);
- #endif /* _TIMER_COUNT32_H__ */
|