Timers.h 416 B

1234567891011121314151617
  1. #ifndef INCLUDE_TIMERS_H
  2. #define INCLUDE_TIMERS_H
  3. namespace WalrusRPG
  4. {
  5. namespace Timers
  6. {
  7. void init(unsigned timer);
  8. void restore(unsigned timer);
  9. void mode(unsigned timer, bool free_run, bool oneshot, bool interrupt,
  10. unsigned div, bool full_width_counter);
  11. void load(unsigned timer, unsigned value);
  12. unsigned read(unsigned timer);
  13. }
  14. }
  15. #endif