1#[doc = "Reader of register DCIDR1"]
2pub type R = crate::R<u32, super::DCIDR1>;
3#[doc = "Reader of field `PRMBL_1`"]
4pub type PRMBL_1_R = crate::R<u8, u8>;
5#[doc = "Reader of field `CLASS`"]
6pub type CLASS_R = crate::R<u8, u8>;
7impl R {
8 #[doc = "Bits 0:3 - CoreSight component identification preamble"]
9 #[inline(always)]
10 pub fn prmbl_1(&self) -> PRMBL_1_R {
11 PRMBL_1_R::new((self.bits & 0x0f) as u8)
12 }
13 #[doc = "Bits 4:7 - CoreSight component class"]
14 #[inline(always)]
15 pub fn class(&self) -> CLASS_R {
16 CLASS_R::new(((self.bits >> 4) & 0x0f) as u8)
17 }
18}