| Crates.io | sgtl5000 |
| lib.rs | sgtl5000 |
| version | 0.0.1 |
| created_at | 2025-07-01 21:40:35.737525+00 |
| updated_at | 2025-07-01 21:40:35.737525+00 |
| description | Embedded driver crate for the SGTL5000 DAC. |
| homepage | |
| repository | https://github.com/libesz/sgtl5000-rs |
| max_upload_size | |
| id | 1734050 |
| size | 15,010 |
This is a no_std-compatible Rust driver crate for the NXP SGTL5000 audio codec chip.
The design aims to be generic; however, the primary goal is to enable audio projects on Teensy 4.x microcontroller boards (imxrt-hal) using the original audio adaptor board based on this codec. The driver uses I²C to control the codec (SPI support is not planned at the moment).
The goal is to hide low-level register manipulation from the user. Instead, the driver exposes high-level control functions (e.g., mute, input select, etc.) for convenience.