atsamd51g/nvmctrl/
pbldata.rs
1#[doc = "Register `PBLDATA[%s]` reader"]
2pub type R = crate::R<PbldataSpec>;
3#[doc = "Field `DATA` reader - Page Buffer Data"]
4pub type DataR = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Page Buffer Data"]
7 #[inline(always)]
8 pub fn data(&self) -> DataR {
9 DataR::new(self.bits)
10 }
11}
12#[doc = "Page Buffer Load Data x\n\nYou can [`read`](crate::Reg::read) this register and get [`pbldata::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct PbldataSpec;
14impl crate::RegisterSpec for PbldataSpec {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`pbldata::R`](R) reader structure"]
18impl crate::Readable for PbldataSpec {}
19#[doc = "`reset()` method sets PBLDATA[%s]
20to value 0xffff_ffff"]
21impl crate::Resettable for PbldataSpec {
22 const RESET_VALUE: u32 = 0xffff_ffff;
23}