atsamd51p/etm/
idr.rs

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