BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
902aa40
Branches
Tags
master
mips_sys
fw
cyc_cnt.h
replace email address in headers with blinkenarea address
Stefan Schuermans
commited
902aa40
at 2012-05-21 17:42:50
cyc_cnt.h
Blame
History
Raw
/* MIPS I system * Copyright 2011-2012 Stefan Schuermans <stefan@blinkenarea.org> * Copyleft GNU public license V2 or later * http://www.gnu.org/copyleft/gpl.html */ #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 */