board.h 321 B

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