Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

clock.h 239B

12345678910111213
  1. #ifndef __CLOCK_ARCH_H__
  2. #define __CLOCK_ARCH_H__
  3. #include <stdint.h>
  4. #include <util/atomic.h>
  5. typedef uint16_t clock_time_t;
  6. #define CLOCK_SECOND 100
  7. void clock_init(void);
  8. clock_time_t clock_time(void);
  9. #endif /* __CLOCK_ARCH_H__ */