stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `TTMLM` reader
pub type R = crate::R<TTMLMrs>;
///Register `TTMLM` writer
pub type W = crate::W<TTMLMrs>;
///Field `CCM` reader - Cycle Count Max
pub type CCM_R = crate::FieldReader;
///Field `CCM` writer - Cycle Count Max
pub type CCM_W<'a, REG> = crate::FieldWriter<'a, REG, 6>;
///Field `CSS` reader - Cycle Start Synchronization
pub type CSS_R = crate::FieldReader;
///Field `CSS` writer - Cycle Start Synchronization
pub type CSS_W<'a, REG> = crate::FieldWriter<'a, REG, 2>;
///Field `TXEW` reader - Tx Enable Window
pub type TXEW_R = crate::FieldReader;
///Field `TXEW` writer - Tx Enable Window
pub type TXEW_W<'a, REG> = crate::FieldWriter<'a, REG, 4>;
///Field `ENTT` reader - Expected Number of Tx Triggers
pub type ENTT_R = crate::FieldReader<u16>;
///Field `ENTT` writer - Expected Number of Tx Triggers
pub type ENTT_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>;
impl R {
    ///Bits 0:5 - Cycle Count Max
    #[inline(always)]
    pub fn ccm(&self) -> CCM_R {
        CCM_R::new((self.bits & 0x3f) as u8)
    }
    ///Bits 6:7 - Cycle Start Synchronization
    #[inline(always)]
    pub fn css(&self) -> CSS_R {
        CSS_R::new(((self.bits >> 6) & 3) as u8)
    }
    ///Bits 8:11 - Tx Enable Window
    #[inline(always)]
    pub fn txew(&self) -> TXEW_R {
        TXEW_R::new(((self.bits >> 8) & 0x0f) as u8)
    }
    ///Bits 16:27 - Expected Number of Tx Triggers
    #[inline(always)]
    pub fn entt(&self) -> ENTT_R {
        ENTT_R::new(((self.bits >> 16) & 0x0fff) as u16)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TTMLM")
            .field("ccm", &self.ccm())
            .field("css", &self.css())
            .field("txew", &self.txew())
            .field("entt", &self.entt())
            .finish()
    }
}
impl W {
    ///Bits 0:5 - Cycle Count Max
    #[inline(always)]
    pub fn ccm(&mut self) -> CCM_W<TTMLMrs> {
        CCM_W::new(self, 0)
    }
    ///Bits 6:7 - Cycle Start Synchronization
    #[inline(always)]
    pub fn css(&mut self) -> CSS_W<TTMLMrs> {
        CSS_W::new(self, 6)
    }
    ///Bits 8:11 - Tx Enable Window
    #[inline(always)]
    pub fn txew(&mut self) -> TXEW_W<TTMLMrs> {
        TXEW_W::new(self, 8)
    }
    ///Bits 16:27 - Expected Number of Tx Triggers
    #[inline(always)]
    pub fn entt(&mut self) -> ENTT_W<TTMLMrs> {
        ENTT_W::new(self, 16)
    }
}
/**FDCAN TT Matrix Limits Register

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