Skip to content

TEA5767 platform agnostic driver

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Nekspire/tea5767

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.io docs.rs No Std downloads

TEA5767

Rust platform agnostic driver for the TEA5767, electronically tuned FM stereo radio.

An additional description can be found in the device datasheet. The datasheet is placed in doc folder of this repository. The driver is based on embedded-hal traits and I2C.

Usage

General initialization code, which create new instance of TEA5767 with default configuration. Here you can specify radio channel frequency, band limit, and sound mode. To change this default behaviour and to control the device use methods defined in defs module. Additional information about this methods can be obtained from examples folder.

use tea5767::defs::*;
let radio_tuner = TEA5767::new(
    i2c,
    107.0,
    BandLimits::EuropeUS,
    SoundMode::Stereo
).unwrap();

Support

For questions, issues, feature requests, and other changes, please file an issue in the github project.

License

Licensed under either of

at your option.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

TEA5767 platform agnostic driver

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages