stm32wb 0.16.0

Device support crates for STM32WB devices
Documentation
///Register `COUNT3_TX` reader
pub type R = crate::R<COUNT3_TXrs>;
///Register `COUNT3_TX` writer
pub type W = crate::W<COUNT3_TXrs>;
///Field `COUNT3_TX` reader - Transmission byte count
pub type COUNT3_TX_R = crate::FieldReader<u16>;
///Field `COUNT3_TX` writer - Transmission byte count
pub type COUNT3_TX_W<'a, REG> = crate::FieldWriter<'a, REG, 10, u16>;
impl R {
    ///Bits 0:9 - Transmission byte count
    #[inline(always)]
    pub fn count3_tx(&self) -> COUNT3_TX_R {
        COUNT3_TX_R::new(self.bits & 0x03ff)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("COUNT3_TX")
            .field("count3_tx", &self.count3_tx())
            .finish()
    }
}
impl W {
    ///Bits 0:9 - Transmission byte count
    #[inline(always)]
    pub fn count3_tx(&mut self) -> COUNT3_TX_W<COUNT3_TXrs> {
        COUNT3_TX_W::new(self, 0)
    }
}
/**Transmission byte count 0

You can [`read`](crate::Reg::read) this register and get [`count3_tx::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`count3_tx::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

See register [structure](https://stm32-rs.github.io/stm32-rs/STM32WB55.html#USB:COUNT3_TX)*/
pub struct COUNT3_TXrs;
impl crate::RegisterSpec for COUNT3_TXrs {
    type Ux = u16;
}
///`read()` method returns [`count3_tx::R`](R) reader structure
impl crate::Readable for COUNT3_TXrs {}
///`write(|w| ..)` method takes [`count3_tx::W`](W) writer structure
impl crate::Writable for COUNT3_TXrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets COUNT3_TX to value 0
impl crate::Resettable for COUNT3_TXrs {}