fn clock_data(&mut self, mode: ClockData, data: &mut [u8]) -> Result<(), TimeoutError> {
        if data.is_empty() {
            return Ok(());
        }

        let cmd = MpsseCmdBuilder::new().clock_data(mode, data);
        self.write_all(cmd.as_slice())?;
        self.read_all(data)
    }
/// Clock data in and out at the same time.
Clock data in and out at the same time.
Clock data in and out at the same time .
fn clock_data(&mut self, mode: ClockData, data: &mut [u8]) -> Result<(), TimeoutError> {
        if data.is_empty() {
            return Ok(());
        }
        let cmd = MpsseCmdBuilder::new().clock_data(mode, data);
        self.write_all(cmd.as_slice())?;
        self.read_all(data)
    }
fn clock_data ( & mut self , mode : ClockData , data : & mut [ u8 ] ) -> Result < ( ) , TimeoutError > { if data . is_empty ( ) { return Ok ( ( ) ) ; } let cmd = MpsseCmdBuilder :: new ( ) . clock_data ( mode , data ) ; self . write_all ( cmd . as_slice ( ) ) ? ; self . read_all ( data ) }
Clock data in and out at the same time.
Clock data in and out at the same time .
&mut self
mode
ClockData
data
&mut [u8]
&mut self
mode
ClockData
data
&mut [u8]