cs43l22-embedded
A Rust crate for interfacing with the CS43L22 DAC on embedded platforms.
Overview
The cs43l22-embedded crate provides a driver for the CS43L22 DAC. Designed for embedded applications, it allows you to initialize, configure, and control the DAC.
Features
- Initialization and configuration routines for the CS43L22.
- Control functions for audio.
- Control over data format
- Pretty much everything from the datasheet
- Minimal dependencies.
Installation
Add the following to your Cargo.toml file:
[]
= "1.0.0-alpha"
Usage
Here's a basic example to get started:
// Import the CS43L22 driver
use Cs43l22;
Refer to the crate documentation for the available API methods.
Development
For embedded targets, configure your build environment accordingly. Check the Embedded Book for additional guidance. Or check the examples for the STM32F407G-DISC1 dev board.
Notes
Not everything as been tested so alpha stage until I make sure everything works as expected.
License
Distributed under the GPL-3 License. See LICENSE for more information.