TB2026-YDS Firmware
Loading...
Searching...
No Matches
i2s_bus.h File Reference

I2S0 master TX stream to the PCM5242 DAC. More...

#include <stdint.h>
#include "esp_err.h"
#include "driver/i2s_std.h"

Go to the source code of this file.

Functions

esp_err_t i2s_bus_init (i2s_chan_handle_t *out_tx_handle)
 Bring up I2S0 as master TX to the PCM5242.
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.

Detailed Description

I2S0 master TX stream to the PCM5242 DAC.

Note
Développé avec l'assistance de Claude Opus 4.8 (Anthropic), sous la direction de Y. Dos Santos : spécification, revue et validation sur cible par l'auteur.