board.h 328 B

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