nau88c22-rs

Crates.ionau88c22-rs
lib.rsnau88c22-rs
version0.2.0
created_at2025-12-27 00:49:04.167782+00
updated_at2025-12-29 07:37:50.834441+00
descriptionRust driver for the nau88c22 audio codec.
homepage
repositoryhttps://github.com/northernpaws/nau88c22-rs
max_upload_size
id2006500
size109,157
Kat (northernpaws)

documentation

README

NAU88C22-rs

A Rust embedded-hal-async based driver for the Nuvoton NAU88C22 24-bit stereo audio codec.

The NAU88C22 audio codec includes drivers for speaker, headphone, differential and stereo line outputs, along with integrated preamps for stereo differential microphones. Along with having a low ADC SNR of 89dB @ 0dB gain and a DAC SNR of 89dB @ 0dB gain, and it's low price of $1CAD per unit makes it a very flexible and cost effective audio codec for stereo audio applications.

Data Sheet

docs.rs Link

Example

use nau88c22_rs::Nau88c22;

async fn main () {
    // Set up the I2C device based on your HAL.
    let i2c;

    // Initialize the codec using the I2C device.
    let codec = Nau88c22yg::new(i2c);

    // Software reset the codec to known default register values.
    codec.reset().await.unwrap();
}

License

This crate is licensed under the MIT license.

Commit count: 0

cargo fmt