Enum aht20_driver::Command
source · pub enum Command {
Initialize = 190,
Calibrate = 225,
TriggerMeasurement = 172,
SoftReset = 186,
}
Expand description
Commands that can be sent to the AHT20 sensor.
Note that a few of these take parameters but that there are no explanations provided about what those parameters actually are. You should consider the command and specified parameters to be just one three-byte command. These can be found in the datasheet, Section 5.3, page 8, Table 9.
Variants§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more