|
|
@ -1,8 +1,8 @@ |
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* @file uClock.cpp |
|
|
|
* @file uClock.cpp |
|
|
|
* Project BPM clock generator for Arduino |
|
|
|
* Project BPM clock generator for Arduino |
|
|
|
* @brief A Library to implement BPM clock tick calls using hardware interruption. Supported and tested on AVR boards(ATmega168/328, ATmega16u4/32u4 and ATmega2560) and ARM boards(Teensy, Seedstudio XIAO M0 and ESP32) |
|
|
|
* @brief A Library to implement BPM clock tick calls using hardware interruption. Supported and tested on AVR boards(ATmega168/328, ATmega16u4/32u4 and ATmega2560) and ARM boards(RPI2040, Teensy, Seedstudio XIAO M0 and ESP32) |
|
|
|
* @version 2.0.0 |
|
|
|
* @version 2.2.0 |
|
|
|
* @author Romulo Silva |
|
|
|
* @author Romulo Silva |
|
|
|
* @date 10/06/2017 |
|
|
|
* @date 10/06/2017 |
|
|
|
* @license MIT - (c) 2024 - Romulo Silva - contact@midilab.co |
|
|
|
* @license MIT - (c) 2024 - Romulo Silva - contact@midilab.co |
|
|
@ -57,6 +57,12 @@ |
|
|
|
#if defined(ARDUINO_ARCH_STM32) |
|
|
|
#if defined(ARDUINO_ARCH_STM32) |
|
|
|
#include "platforms/stm32.h" |
|
|
|
#include "platforms/stm32.h" |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// RP2040 (Raspberry Pico) family
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
#if defined(ARDUINO_ARCH_RP2040) |
|
|
|
|
|
|
|
#include "platforms/rp2040.h" |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Platform specific timer setup/control
|
|
|
|
// Platform specific timer setup/control
|
|
|
|