BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
e5fcec6
Branches
Tags
master
mips_sys
fw
cyc_cnt.h
improve 200ms tick and task processing, get rid of UART output of received ethernet frames
Stefan Schuermans
commited
e5fcec6
at 2012-03-24 19:05:42
cyc_cnt.h
Blame
History
Raw
#ifndef CYC_CNT_H #define CYC_CNT_H #define CYC_CNT_US (50) ///< cycles per microsecond #define CYC_CNT_MS (50*1000) ///< cycles per millisecond /** * @brief read cycle counter * @return cycle counter value */ unsigned int cyc_cnt_read(void); /** * @brief delay for a number of cycles * @param[in] cyc number of cycles */ void cyc_cnt_delay(unsigned int cyc); #endif /* #ifndef CYC_CNT_H */