mcxa_pac/syscon/
jtag_id.rs1#[doc = "Register `JTAG_ID` reader"]
2pub type R = crate::R<JtagIdSpec>;
3#[doc = "Field `JTAG_ID` reader - Indicates the device ID"]
4pub type JtagIdR = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Indicates the device ID"]
7 #[inline(always)]
8 pub fn jtag_id(&self) -> JtagIdR {
9 JtagIdR::new(self.bits)
10 }
11}
12#[cfg(feature = "debug")]
13impl core::fmt::Debug for R {
14 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15 f.debug_struct("JTAG_ID").field("jtag_id", &self.jtag_id()).finish()
16 }
17}
18#[doc = "JTAG Chip ID\n\nYou can [`read`](crate::Reg::read) this register and get [`jtag_id::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct JtagIdSpec;
20impl crate::RegisterSpec for JtagIdSpec {
21 type Ux = u32;
22}
23#[doc = "`read()` method returns [`jtag_id::R`](R) reader structure"]
24impl crate::Readable for JtagIdSpec {}
25#[doc = "`reset()` method sets JTAG_ID to value 0x0726_802b"]
26impl crate::Resettable for JtagIdSpec {
27 const RESET_VALUE: u32 = 0x0726_802b;
28}