2 releases
new 0.1.1 | Jan 11, 2025 |
---|---|
0.1.0 | Jan 7, 2025 |
#435 in Embedded development
246 downloads per month
Used in vs1003-driver
19KB
285 lines
Low-level support for SCI communication with VS1003 audio codec.
This crate provides definitions of registers available over SCI in PAC-like fashion.
lib.rs
:
The low-level peripheral access definitions for VS1003 codec. Some of those definition may also work for other chips in the family, however there are some incompatible changes between them.
Each method checks the DREQ pin and if it is low it will return Vs1003InterfaceError::Busy
if so.
Please note though, that the device may not lower this pin immediately after a successful transfer.
This time doesn't seem well-specified, however on the forums they seem to recommend a 1us delay after
completion of a command and before checking the DREQ pin.
Dependencies
~3.5MB
~70K SLoC