board.h 384 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "rotor-light.hpp"
  3. namespace rl = rotor_light;
  4. struct Board {
  5. static constexpr uint32_t samples = 10;
  6. static void init_start();
  7. static void disable_interrupts();
  8. static void enable_interrupts();
  9. static void enable_timer();
  10. static void disable_timer();
  11. static rl::TimePoint get_now();
  12. static void toggle_led();
  13. static void delay();
  14. };