stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `MACTXTSSNR` reader
pub type R = crate::R<MACTXTSSNRrs>;
///Register `MACTXTSSNR` writer
pub type W = crate::W<MACTXTSSNRrs>;
/**Field `TXTSSLO` reader - Transmit Timestamp Status Low This field contains the 31 bits of the Nanoseconds field of the Transmit packet's captured timestamp.

<div class="warning">The field is <b>cleared</b> (set to zero) following a read operation.</div>*/
pub type TXTSSLO_R = crate::FieldReader<u32>;
///Field `TXTSSLO` writer - Transmit Timestamp Status Low This field contains the 31 bits of the Nanoseconds field of the Transmit packet's captured timestamp.
pub type TXTSSLO_W<'a, REG> = crate::FieldWriter<'a, REG, 31, u32>;
///Field `TXTSSMIS` reader - Transmit Timestamp Status Missed When this bit is set, it indicates one of the following: The timestamp of the current packet is ignored if TXTSSTSM bit of the Timestamp control Register (ETH_MACTSCR) is reset The timestamp of the previous packet is overwritten with timestamp of the current packet if TXTSSTSM bit of the Timestamp control Register (ETH_MACTSCR) is set.
pub type TXTSSMIS_R = crate::BitReader;
impl R {
    ///Bits 0:30 - Transmit Timestamp Status Low This field contains the 31 bits of the Nanoseconds field of the Transmit packet's captured timestamp.
    #[inline(always)]
    pub fn txtsslo(&self) -> TXTSSLO_R {
        TXTSSLO_R::new(self.bits & 0x7fff_ffff)
    }
    ///Bit 31 - Transmit Timestamp Status Missed When this bit is set, it indicates one of the following: The timestamp of the current packet is ignored if TXTSSTSM bit of the Timestamp control Register (ETH_MACTSCR) is reset The timestamp of the previous packet is overwritten with timestamp of the current packet if TXTSSTSM bit of the Timestamp control Register (ETH_MACTSCR) is set.
    #[inline(always)]
    pub fn txtssmis(&self) -> TXTSSMIS_R {
        TXTSSMIS_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("MACTXTSSNR").field("txtssmis", &self.txtssmis()).finish()
    }
}
impl W {
    ///Bits 0:30 - Transmit Timestamp Status Low This field contains the 31 bits of the Nanoseconds field of the Transmit packet's captured timestamp.
    #[inline(always)]
    pub fn txtsslo(&mut self) -> TXTSSLO_W<MACTXTSSNRrs> {
        TXTSSLO_W::new(self, 0)
    }
}
/**Tx timestamp status nanoseconds register

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