esp32p4 0.2.0

Peripheral access crate for the ESP32-P4
Documentation
#[doc = "Register `TIMESTAMP_DATA` reader"]
pub type R = crate::R<TIMESTAMP_DATA_SPEC>;
#[doc = "Field `TIMESTAMP_DATA` reader - Data of timestamp of a CAN frame."]
pub type TIMESTAMP_DATA_R = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - Data of timestamp of a CAN frame."]
    #[inline(always)]
    pub fn timestamp_data(&self) -> TIMESTAMP_DATA_R {
        TIMESTAMP_DATA_R::new(self.bits)
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMESTAMP_DATA")
            .field(
                "timestamp_data",
                &format_args!("{}", self.timestamp_data().bits()),
            )
            .finish()
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<TIMESTAMP_DATA_SPEC> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        core::fmt::Debug::fmt(&self.read(), f)
    }
}
#[doc = "Timestamp data register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`timestamp_data::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct TIMESTAMP_DATA_SPEC;
impl crate::RegisterSpec for TIMESTAMP_DATA_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`timestamp_data::R`](R) reader structure"]
impl crate::Readable for TIMESTAMP_DATA_SPEC {}
#[doc = "`reset()` method sets TIMESTAMP_DATA to value 0"]
impl crate::Resettable for TIMESTAMP_DATA_SPEC {
    const RESET_VALUE: u32 = 0;
}