///Register `TXBRP` reader
pub type R = crate::R<TXBRPrs>;
///Field `TRP` reader - Transmission Request Pending
pub type TRP_R = crate::FieldReader<u32>;
impl R {
///Bits 0:31 - Transmission Request Pending
#[inline(always)]
pub fn trp(&self) -> TRP_R {
TRP_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TXBRP").field("trp", &self.trp()).finish()
}
}
/**FDCAN Tx Buffer Request Pending Register
You can [`read`](crate::Reg::read) this register and get [`txbrp::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct TXBRPrs;
impl crate::RegisterSpec for TXBRPrs {
type Ux = u32;
}
///`read()` method returns [`txbrp::R`](R) reader structure
impl crate::Readable for TXBRPrs {}
///`reset()` method sets TXBRP to value 0
impl crate::Resettable for TXBRPrs {}