stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `DLY0CR` reader
pub type R = crate::R<DLY0CRrs>;
///Register `DLY0CR` writer
pub type W = crate::W<DLY0CRrs>;
///Field `SKPDLY` reader - Delay to apply to a bitstream This field is set and cleared by software. It defines the number of input samples that are skipped. Skipping is applied immediately after writing to this field, if SKPBF = 0 and DFLTEN = 1. If SKPBF = 1, the value written into the register is ignored by the delay state machine. ...
pub type SKPDLY_R = crate::FieldReader;
///Field `SKPDLY` writer - Delay to apply to a bitstream This field is set and cleared by software. It defines the number of input samples that are skipped. Skipping is applied immediately after writing to this field, if SKPBF = 0 and DFLTEN = 1. If SKPBF = 1, the value written into the register is ignored by the delay state machine. ...
pub type SKPDLY_W<'a, REG> = crate::FieldWriter<'a, REG, 7>;
///Field `SKPBF` reader - Skip busy flag This bit is set and cleared by hardware. It is used to control if the delay sequence is completed.
pub type SKPBF_R = crate::BitReader;
impl R {
    ///Bits 0:6 - Delay to apply to a bitstream This field is set and cleared by software. It defines the number of input samples that are skipped. Skipping is applied immediately after writing to this field, if SKPBF = 0 and DFLTEN = 1. If SKPBF = 1, the value written into the register is ignored by the delay state machine. ...
    #[inline(always)]
    pub fn skpdly(&self) -> SKPDLY_R {
        SKPDLY_R::new((self.bits & 0x7f) as u8)
    }
    ///Bit 31 - Skip busy flag This bit is set and cleared by hardware. It is used to control if the delay sequence is completed.
    #[inline(always)]
    pub fn skpbf(&self) -> SKPBF_R {
        SKPBF_R::new(((self.bits >> 31) & 1) != 0)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DLY0CR")
            .field("skpdly", &self.skpdly())
            .field("skpbf", &self.skpbf())
            .finish()
    }
}
impl W {
    ///Bits 0:6 - Delay to apply to a bitstream This field is set and cleared by software. It defines the number of input samples that are skipped. Skipping is applied immediately after writing to this field, if SKPBF = 0 and DFLTEN = 1. If SKPBF = 1, the value written into the register is ignored by the delay state machine. ...
    #[inline(always)]
    pub fn skpdly(&mut self) -> SKPDLY_W<DLY0CRrs> {
        SKPDLY_W::new(self, 0)
    }
}
/**ADF delay control register 0

You can [`read`](crate::Reg::read) this register and get [`dly0cr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`dly0cr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct DLY0CRrs;
impl crate::RegisterSpec for DLY0CRrs {
    type Ux = u32;
}
///`read()` method returns [`dly0cr::R`](R) reader structure
impl crate::Readable for DLY0CRrs {}
///`write(|w| ..)` method takes [`dly0cr::W`](W) writer structure
impl crate::Writable for DLY0CRrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets DLY0CR to value 0
impl crate::Resettable for DLY0CRrs {}