fn write_multiple_registers(&mut self, addr: u16, values: &[u16]) -> Result<()> {
        let bytes = binary::unpack_bytes(values);
        self.write_multiple(&Function::WriteMultipleRegisters(
            addr,
            values.len() as u16,
            &bytes,
        ))
    }
/// Write a multiple 16bit registers starting at address `addr`.
Write a multiple 16bit registers starting at address `addr`.
Write a multiple 16bit registers starting at address ` addr ` .
fn write_multiple_registers(&mut self, addr: u16, values: &[u16]) -> Result<()> {
        let bytes = binary::unpack_bytes(values);
        self.write_multiple(&Function::WriteMultipleRegisters(
            addr,
            values.len() as u16,
            &bytes,
        ))
    }
fn write_multiple_registers ( & mut self , addr : u16 , values : & [ u16 ] ) -> Result < ( ) > { let bytes = binary :: unpack_bytes ( values ) ; self . write_multiple ( & Function :: WriteMultipleRegisters ( addr , values . len ( ) as u16 , & bytes , ) ) }
Write a multiple 16bit registers starting at address `addr`.
Write a multiple 16bit registers starting at address ` addr ` .
&mut self
addr
u16
values
&[u16]
&mut self
addr
u16
values
&[u16]