mcxa_pac/dma0/
mp_hrs.rs

1#[doc = "Register `MP_HRS` reader"]
2pub type R = crate::R<MpHrsSpec>;
3#[doc = "Field `HRS` reader - Hardware Request Status"]
4pub type HrsR = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - Hardware Request Status"]
7    #[inline(always)]
8    pub fn hrs(&self) -> HrsR {
9        HrsR::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("MP_HRS").field("hrs", &self.hrs()).finish()
16    }
17}
18#[doc = "Management Page Hardware Request Status\n\nYou can [`read`](crate::Reg::read) this register and get [`mp_hrs::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct MpHrsSpec;
20impl crate::RegisterSpec for MpHrsSpec {
21    type Ux = u32;
22}
23#[doc = "`read()` method returns [`mp_hrs::R`](R) reader structure"]
24impl crate::Readable for MpHrsSpec {}
25#[doc = "`reset()` method sets MP_HRS to value 0"]
26impl crate::Resettable for MpHrsSpec {}