xwrl64xx_pac/app_crc/
raw_dataregl2.rs1#[doc = "Register `RAW_DATAREGL2` reader"]
2pub type R = crate::R<RawDataregl2Spec>;
3#[doc = "Register `RAW_DATAREGL2` writer"]
4pub type W = crate::W<RawDataregl2Spec>;
5#[doc = "Field `RAW_DATA2_31_0` reader - 31:0\\]
6Channel 2 Raw Data Low Register. This register contains bit 31:0 of the un-compressed raw data."]
7pub type RawData2_31_0R = crate::FieldReader<u32>;
8#[doc = "Field `RAW_DATA2_31_0` writer - 31:0\\]
9Channel 2 Raw Data Low Register. This register contains bit 31:0 of the un-compressed raw data."]
10pub type RawData2_31_0W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
11impl R {
12 #[doc = "Bits 0:31 - 31:0\\]
13Channel 2 Raw Data Low Register. This register contains bit 31:0 of the un-compressed raw data."]
14 #[inline(always)]
15 pub fn raw_data2_31_0(&self) -> RawData2_31_0R {
16 RawData2_31_0R::new(self.bits)
17 }
18}
19impl W {
20 #[doc = "Bits 0:31 - 31:0\\]
21Channel 2 Raw Data Low Register. This register contains bit 31:0 of the un-compressed raw data."]
22 #[inline(always)]
23 #[must_use]
24 pub fn raw_data2_31_0(&mut self) -> RawData2_31_0W<RawDataregl2Spec> {
25 RawData2_31_0W::new(self, 0)
26 }
27}
28#[doc = "Channel 2 un-compressed raw data low register\n\nYou can [`read`](crate::Reg::read) this register and get [`raw_dataregl2::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`raw_dataregl2::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
29pub struct RawDataregl2Spec;
30impl crate::RegisterSpec for RawDataregl2Spec {
31 type Ux = u32;
32}
33#[doc = "`read()` method returns [`raw_dataregl2::R`](R) reader structure"]
34impl crate::Readable for RawDataregl2Spec {}
35#[doc = "`write(|w| ..)` method takes [`raw_dataregl2::W`](W) writer structure"]
36impl crate::Writable for RawDataregl2Spec {
37 type Safety = crate::Unsafe;
38 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
39 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
40}
41#[doc = "`reset()` method sets RAW_DATAREGL2 to value 0"]
42impl crate::Resettable for RawDataregl2Spec {
43 const RESET_VALUE: u32 = 0;
44}