These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
EMAC/uIP/lpc17xx_port/clock-arch.h@0:bf7b9fba3924, 2011-03-20 (annotated)
- Committer:
- frank26080115
- Date:
- Sun Mar 20 05:38:56 2011 +0000
- Revision:
- 0:bf7b9fba3924
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
frank26080115 | 0:bf7b9fba3924 | 1 | #ifndef __CLOCK_ARCH_H__ |
frank26080115 | 0:bf7b9fba3924 | 2 | #define __CLOCK_ARCH_H__ |
frank26080115 | 0:bf7b9fba3924 | 3 | |
frank26080115 | 0:bf7b9fba3924 | 4 | #include "lpc_types.h" |
frank26080115 | 0:bf7b9fba3924 | 5 | |
frank26080115 | 0:bf7b9fba3924 | 6 | typedef unsigned int clock_time_t; |
frank26080115 | 0:bf7b9fba3924 | 7 | |
frank26080115 | 0:bf7b9fba3924 | 8 | #define CLOCK_CONF_SECOND 100 // tick number every second |
frank26080115 | 0:bf7b9fba3924 | 9 | |
frank26080115 | 0:bf7b9fba3924 | 10 | #endif /* __CLOCK_ARCH_H__ */ |