| Crates.io | bq32002 |
| lib.rs | bq32002 |
| version | 0.1.2 |
| created_at | 2026-01-06 16:36:45.772711+00 |
| updated_at | 2026-01-07 09:43:29.527815+00 |
| description | A no_std driver for the BQ32002 Real-Time Clock (RTC) |
| homepage | |
| repository | https://github.com/kimbotto/bq32002-rs |
| max_upload_size | |
| id | 2026254 |
| size | 32,225 |
A no_std driver for the BQ32002 Real-Time Clock (RTC) written in Rust.
The BQ32002 is an I2C real-time clock with:
This driver uses embedded-hal and embedded-hal-async traits.
// Example with embassy
use bq32002::{BQ32002, DateTime};
// ... initialize I2C ...
let mut rtc = BQ32002::new(i2c, 0x68);
let dt = rtc.read_datetime().await.unwrap();
println!("Current time: {:?}", dt);
MIT license (http://opensource.org/licenses/MIT)