pub fn init_pins(&mut self, rpi_gpio: &mut Gpio) -> Result<(), RpiTestChannelError> {
        let gpio = TestChannelGpio::new(self.channel, rpi_gpio)?;

        self.pins = Some(gpio);

        self.status = TestChannelStatus::Idle;

        Ok(())
    }
/// Initializes all the required pins of the Raspberry Pi and updates the status of the struct.
Initializes all the required pins of the Raspberry Pi and updates the status of the struct.
Initializes all the required pins of the Raspberry Pi and updates the status of the struct .
pub fn init_pins(&mut self, rpi_gpio: &mut Gpio) -> Result<(), RpiTestChannelError> {
        let gpio = TestChannelGpio::new(self.channel, rpi_gpio)?;
        self.pins = Some(gpio);
        self.status = TestChannelStatus::Idle;
        Ok(())
    }
pub fn init_pins ( & mut self , rpi_gpio : & mut Gpio ) -> Result < ( ) , RpiTestChannelError > { let gpio = TestChannelGpio :: new ( self . channel , rpi_gpio ) ? ; self . pins = Some ( gpio ) ; self . status = TestChannelStatus :: Idle ; Ok ( ( ) ) }
Initializes all the required pins of the Raspberry Pi and updates the status of the struct.
Initializes all the required pins of the Raspberry Pi and updates the status of the struct .
&mut self
rpi_gpio
&mut Gpio