stm32mp1/stm32mp157/ddrctrl/
swstat.rs1pub type R = crate::R<SWSTATrs>;
3pub type SW_DONE_ACK_R = crate::BitReader;
5impl R {
6 #[inline(always)]
8 pub fn sw_done_ack(&self) -> SW_DONE_ACK_R {
9 SW_DONE_ACK_R::new((self.bits & 1) != 0)
10 }
11}
12impl core::fmt::Debug for R {
13 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14 f.debug_struct("SWSTAT")
15 .field("sw_done_ack", &self.sw_done_ack())
16 .finish()
17 }
18}
19pub struct SWSTATrs;
25impl crate::RegisterSpec for SWSTATrs {
26 type Ux = u32;
27}
28impl crate::Readable for SWSTATrs {}
30impl crate::Resettable for SWSTATrs {
32 const RESET_VALUE: u32 = 0x01;
33}