pub fn read_digital_in_mask(&mut self, mask: DigitalChannel) -> Result<DigitalChannel> {
        match self.read_digital_in() {
            Ok(c) => Ok(c & mask),
            Err(e) => Err(e),
        }
    }
/// Read the digital in channel masked with `mask`.
///
/// Returns `None` on failure
Read the digital in channel masked with `mask`.
Returns `None` on failure
Read the digital in channel masked with ` mask ` . Returns ` None ` on failure
pub fn read_digital_in_mask(&mut self, mask: DigitalChannel) -> Result<DigitalChannel> {
        match self.read_digital_in() {
            Ok(c) => Ok(c & mask),
            Err(e) => Err(e),
        }
    }
pub fn read_digital_in_mask ( & mut self , mask : DigitalChannel ) -> Result < DigitalChannel > { match self . read_digital_in ( ) { Ok ( c ) => Ok ( c & mask ) , Err ( e ) => Err ( e ) , } }
Read the digital in channel masked with `mask`.
Read the digital in channel masked with ` mask ` .
&mut self
mask
DigitalChannel
&mut self
mask
DigitalChannel