pub fn read_sid(&self) -> Result<Option<[u32; 4]>, Error> {
        if let Some(sid_addr) = self.soc_info.get_sid_addr() {
            let mut sid = [0_u32; 4];
            self.read_words(sid_addr, &mut sid)
                .context("unable to read SID registers")?;
            Ok(Some(sid))
        } else {
            Ok(None)
        }
    }
/// Reads the SID from the SoC if it has one.
Reads the SID from the SoC if it has one.
Reads the SID from the SoC if it has one .
pub fn read_sid(&self) -> Result<Option<[u32; 4]>, Error> {
        if let Some(sid_addr) = self.soc_info.get_sid_addr() {
            let mut sid = [0_u32; 4];
            self.read_words(sid_addr, &mut sid)
                .context("unable to read SID registers")?;
            Ok(Some(sid))
        } else {
            Ok(None)
        }
    }
pub fn read_sid ( & self ) -> Result < Option < [ u32 ; 4 ] > , Error > { if let Some ( sid_addr ) = self . soc_info . get_sid_addr ( ) { let mut sid = [ 0_u32 ; 4 ] ; self . read_words ( sid_addr , & mut sid ) . context ( " " ) ? ; Ok ( Some ( sid ) ) } else { Ok ( None ) } }
Reads the SID from the SoC if it has one.
Reads the SID from the SoC if it has one .
&self
&self