Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/***************
CTAG TBD >>to be determined<< is an open source eurorack synthesizer module.
A project conceived within the Creative Technologies Arbeitsgruppe of
Kiel University of Applied Sciences: https://www.creative-technologies.de
(c) 2020-2026 by Robert Manzke. All rights reserved.
(c) 2023 MIDI-Message-Parser aka 'bba_update()' by Mathias Brüssel.
The CTAG TBD software is licensed under the GNU General Public License
(GPL 3.0), available here: https://www.gnu.org/licenses/gpl-3.0.txt
The CTAG TBD hardware design is released under the Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
Details here: https://creativecommons.org/licenses/by-nc-sa/4.0/
CTAG TBD is provided "as is" without any express or implied warranties.
License and copyright details for specific submodules are included in their
respective component folders / files if different from this license.
***************/
#include "Control.hpp"
#include "sdkconfig.h"
#if CONFIG_TBD_USE_RP2350
#include "rp2350_spi_stream.hpp"
#endif
uint8_t *CTAG::CTRL::Control::buf_ptr = nullptr; // buffer pointer for current cv + trig data
uint16_t updatecounter = 0;
#if CONFIG_TBD_USE_RP2350
IRAM_ATTR int CTAG::CTRL::Control::Update(void *sendbuffer, void **receivebuffer) {
return CTAG::DRIVERS::rp2350_spi_stream::GetCurrentBuffer(sendbuffer, receivebuffer);
}
void CTAG::CTRL::Control::Init() {
buf_ptr = DRIVERS::rp2350_spi_stream::Init();
}
#else
IRAM_ATTR int CTAG::CTRL::Control::Update(void *sendbuffer, void **receivebuffer) {
return 0;
}
void CTAG::CTRL::Control::Init() {
}
#endif
edc0d4a32This file is pinned to the selected release. Download the original to open it in your design tool.