///Register `SIDR` reader
pub type R = crate::R<SIDRrs>;
///Field `SID` reader - SID
pub type SID_R = crate::FieldReader<u32>;
impl R {
///Bits 0:31 - SID
#[inline(always)]
pub fn sid(&self) -> SID_R {
SID_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SIDR").field("sid", &self.sid()).finish()
}
}
/**DSI Host size identification register
You can [`read`](crate::Reg::read) this register and get [`sidr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32MP157.html#DSI:SIDR)*/
pub struct SIDRrs;
impl crate::RegisterSpec for SIDRrs {
type Ux = u32;
}
///`read()` method returns [`sidr::R`](R) reader structure
impl crate::Readable for SIDRrs {}
///`reset()` method sets SIDR to value 0xa3c5_dd02
impl crate::Resettable for SIDRrs {
const RESET_VALUE: u32 = 0xa3c5_dd02;
}