ds323x-rs/tests/common/mod.rs

17 lines
298 B
Rust
Raw Normal View History

2018-10-28 10:52:07 +00:00
extern crate embedded_hal;
pub const DEVICE_ADDRESS: u8 = 0b110_1000;
pub struct Register;
impl Register {
pub const SECONDS : u8 = 0x00;
2018-10-28 10:57:46 +00:00
}
2018-10-28 10:52:07 +00:00
pub struct DummyOutputPin;
impl embedded_hal::digital::OutputPin for DummyOutputPin {
fn set_low(&mut self) {}
fn set_high(&mut self) {}
}