Files
tonberry-pico/software/src/audiocore/i2s.h
Matthias Blankertz a4028b11e8 Add audiocore module and I2S audio driver
This is the skeleton of the code that will run on core1 to perform the
audio decoding and output. In this initial commit, the module
infrastructure, starting code on core1, and the I2S audio driver with
DMA are implemented.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2024-06-02 11:58:21 +02:00

11 lines
221 B
C

// SPDX-License-Identifier: MIT
// Copyright (c) 2024 Matthias Blankertz <matthias@blankertz.org>
#pragma once
#include <stdbool.h>
bool i2s_init(int out_pin, int sideset_base, int samplerate);
void i2s_deinit(void);