e5fcec6a1bf4df271812c85bc515906c9c2afbc5
Stefan Schuermans added cycle counter peripheral

Stefan Schuermans authored 12 years ago

1) #ifndef CYC_CNT_H
2) #define CYC_CNT_H
3) 
Stefan Schuermans improve 200ms tick and task...

Stefan Schuermans authored 12 years ago

4) #define CYC_CNT_US (50)      ///< cycles per microsecond
5) #define CYC_CNT_MS (50*1000) ///< cycles per millisecond
6) 
Stefan Schuermans added cycle counter peripheral

Stefan Schuermans authored 12 years ago

7) /**
8)  * @brief read cycle counter
9)  * @return cycle counter value
10)  */
11) unsigned int cyc_cnt_read(void);
12) 
Stefan Schuermans implemented LCD peripheral

Stefan Schuermans authored 12 years ago

13) /**
14)  * @brief delay for a number of cycles
15)  * @param[in] cyc number of cycles
16)  */
17) void cyc_cnt_delay(unsigned int cyc);
18)