atsamd11c/mtb/
base.rs

1#[doc = "Register `BASE` reader"]
2pub type R = crate::R<BaseSpec>;
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}
8#[doc = "MTB Base\n\nYou can [`read`](crate::Reg::read) this register and get [`base::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
9pub struct BaseSpec;
10impl crate::RegisterSpec for BaseSpec {
11    type Ux = u32;
12}
13#[doc = "`read()` method returns [`base::R`](R) reader structure"]
14impl crate::Readable for BaseSpec {}
15#[doc = "`reset()` method sets BASE to value 0"]
16impl crate::Resettable for BaseSpec {
17    const RESET_VALUE: u32 = 0;
18}