mcxa_pac/crc0/
gpoly32.rs

1#[doc = "Register `GPOLY32` reader"]
2pub type R = crate::R<Gpoly32Spec>;
3#[doc = "Register `GPOLY32` writer"]
4pub type W = crate::W<Gpoly32Spec>;
5#[cfg(feature = "debug")]
6impl core::fmt::Debug for R {
7    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
8        write!(f, "{}", self.bits())
9    }
10}
11impl W {}
12#[doc = "Polynomial, 32-bit access\n\nYou can [`read`](crate::Reg::read) this register and get [`gpoly32::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gpoly32::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct Gpoly32Spec;
14impl crate::RegisterSpec for Gpoly32Spec {
15    type Ux = u32;
16}
17#[doc = "`read()` method returns [`gpoly32::R`](R) reader structure"]
18impl crate::Readable for Gpoly32Spec {}
19#[doc = "`write(|w| ..)` method takes [`gpoly32::W`](W) writer structure"]
20impl crate::Writable for Gpoly32Spec {
21    type Safety = crate::Unsafe;
22}
23#[doc = "`reset()` method sets GPOLY32 to value 0x1021"]
24impl crate::Resettable for Gpoly32Spec {
25    const RESET_VALUE: u32 = 0x1021;
26}