ModbusStorageSmall

Type Alias ModbusStorageSmall 

Source
pub type ModbusStorageSmall = ModbusStorage<SMALL_STORAGE_SIZE, SMALL_STORAGE_SIZE, SMALL_STORAGE_SIZE, SMALL_STORAGE_SIZE>;
Expand description

Small context (1000) registers per type

Aliased Type§

pub struct ModbusStorageSmall {
    pub coils: [bool; 1000],
    pub discretes: [bool; 1000],
    pub inputs: [u16; 1000],
    pub holdings: [u16; 1000],
}

Fields§

§coils: [bool; 1000]§discretes: [bool; 1000]§inputs: [u16; 1000]§holdings: [u16; 1000]