board.h 336 B

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