1#[doc = "Register `smhc_tbc0` reader"]
2pub type R = crate::R<SMHC_TBC0_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<SMHC_TBC0_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 = "Transferred Byte Count between Controller and Card\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`smhc_tbc0::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
14pub struct SMHC_TBC0_SPEC;
15impl crate::RegisterSpec for SMHC_TBC0_SPEC {
16 type Ux = u32;
17}
18#[doc = "`read()` method returns [`smhc_tbc0::R`](R) reader structure"]
19impl crate::Readable for SMHC_TBC0_SPEC {}
20#[doc = "`reset()` method sets smhc_tbc0 to value 0"]
21impl crate::Resettable for SMHC_TBC0_SPEC {
22 const RESET_VALUE: Self::Ux = 0;
23}