TB2026-YDS Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
i2s_bus.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <stdint.h>
12
#include "esp_err.h"
13
#include "driver/i2s_std.h"
14
21
31
esp_err_t
i2s_bus_init
(i2s_chan_handle_t *out_tx_handle);
32
44
esp_err_t
i2s_bus_reconfig
(i2s_chan_handle_t tx, uint32_t rate_hz, uint8_t bits);
45
i2s_bus_init
esp_err_t i2s_bus_init(i2s_chan_handle_t *out_tx_handle)
Bring up I2S0 as master TX to the PCM5242.
Definition
i2s_bus.c:43
i2s_bus_reconfig
esp_err_t i2s_bus_reconfig(i2s_chan_handle_t tx, uint32_t rate_hz, uint8_t bits)
Retune the TX channel for a track: disable, reconfigure clock + slot, re-enable.
Definition
i2s_bus.c:63
components
bsp
i2s_bus.h
Generated by
1.17.0