atsamd51g/etm/
pidr0.rs

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