stm32l4/stm32l4x5/sai1/ch/
dr.rs1pub type R = crate::R<DRrs>;
3pub type W = crate::W<DRrs>;
5pub type DATA_R = crate::FieldReader<u32>;
7pub type DATA_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
9impl R {
10 #[inline(always)]
12 pub fn data(&self) -> DATA_R {
13 DATA_R::new(self.bits)
14 }
15}
16impl core::fmt::Debug for R {
17 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
18 f.debug_struct("DR").field("data", &self.data()).finish()
19 }
20}
21impl W {
22 #[inline(always)]
24 pub fn data(&mut self) -> DATA_W<DRrs> {
25 DATA_W::new(self, 0)
26 }
27}
28pub struct DRrs;
32impl crate::RegisterSpec for DRrs {
33 type Ux = u32;
34}
35impl crate::Readable for DRrs {}
37impl crate::Writable for DRrs {
39 type Safety = crate::Unsafe;
40}
41impl crate::Resettable for DRrs {}