workspace with shared hid shape for cli

This commit is contained in:
ktims committed 2026-05-18 23:58:23 -07:00
1 parent 4e3f1f52ca
commit 4c2384fba5
20 files changed
+1302 -58

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
use crate::CodecPins;
pub trait Dac<T> {
fn new(i2c: T, pins: CodecPins) -> Self;
/// The DAC should start muted
fn init(&mut self);
fn change_rate(&mut self, new_rate: u32);
#[allow(unused_variables)]
fn set_volume(&mut self, left: u8, right: u8) {}
fn mute(&mut self);
fn unmute(&mut self);
}