Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/SantaClaas/embedded-fan-control.
Something went wrong. Try again.
271 B · 8 lines
Rust
123456789pub const READ_HOLDING_REGISTERS: u8 = 0x03;
pub const READ_INPUT_REGISTERS: u8 = 0x04;
pub const WRITE_SINGLE_REGISTER: u8 = 0x06;
/// A device reports an error by responding with the function code of the request and this bit setpub const EXCEPTION_MASK: u8 = 0x80;