c2b040193a777c09bdc595c95492b57a2521db87
Stefan Schuermans added file headers

Stefan Schuermans authored 12 years ago

1) /* MIPS I system
2)  * Copyright 2011-2012 Stefan Schuermans <stefan@schuermans.info>
3)  * Copyleft GNU public license V2 or later
4)  *          http://www.gnu.org/copyleft/gpl.html
5)  */
6) 
Stefan Schuermans added cycle counter peripheral

Stefan Schuermans authored 12 years ago

7) #ifndef CYC_CNT_H
8) #define CYC_CNT_H
9) 
Stefan Schuermans improve 200ms tick and task...

Stefan Schuermans authored 12 years ago

10) #define CYC_CNT_US (50)      ///< cycles per microsecond
11) #define CYC_CNT_MS (50*1000) ///< cycles per millisecond
12) 
Stefan Schuermans added cycle counter peripheral

Stefan Schuermans authored 12 years ago

13) /**
14)  * @brief read cycle counter
15)  * @return cycle counter value
16)  */
17) unsigned int cyc_cnt_read(void);
18) 
Stefan Schuermans implemented LCD peripheral

Stefan Schuermans authored 12 years ago

19) /**
20)  * @brief delay for a number of cycles
21)  * @param[in] cyc number of cycles
22)  */
23) void cyc_cnt_delay(unsigned int cyc);
24)