d1_pac/emac/
emac_rx_cur_buf.rs1#[doc = "Register `emac_rx_cur_buf` reader"]
2pub type R = crate::R<EMAC_RX_CUR_BUF_SPEC>;
3impl core::fmt::Debug for R {
4 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
5 write!(f, "{}", self.bits())
6 }
7}
8impl core::fmt::Debug for crate::generic::Reg<EMAC_RX_CUR_BUF_SPEC> {
9 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
10 core::fmt::Debug::fmt(&self.read(), f)
11 }
12}
13#[doc = "EMAC Current Receive Buffer Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_cur_buf::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
14pub struct EMAC_RX_CUR_BUF_SPEC;
15impl crate::RegisterSpec for EMAC_RX_CUR_BUF_SPEC {
16 type Ux = u32;
17}
18#[doc = "`read()` method returns [`emac_rx_cur_buf::R`](R) reader structure"]
19impl crate::Readable for EMAC_RX_CUR_BUF_SPEC {}
20#[doc = "`reset()` method sets emac_rx_cur_buf to value 0"]
21impl crate::Resettable for EMAC_RX_CUR_BUF_SPEC {
22 const RESET_VALUE: Self::Ux = 0;
23}