stm32f3_staging/stm32f373/tim13/
arr.rs1pub type R = crate::R<ARRrs>;
3pub type W = crate::W<ARRrs>;
5pub type ARR_R = crate::FieldReader<u16>;
7pub type ARR_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
9impl R {
10 #[inline(always)]
12 pub fn arr(&self) -> ARR_R {
13 ARR_R::new((self.bits & 0xffff) as u16)
14 }
15}
16impl core::fmt::Debug for R {
17 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
18 f.debug_struct("ARR").field("arr", &self.arr()).finish()
19 }
20}
21impl W {
22 #[inline(always)]
24 pub fn arr(&mut self) -> ARR_W<ARRrs> {
25 ARR_W::new(self, 0)
26 }
27}
28pub struct ARRrs;
34impl crate::RegisterSpec for ARRrs {
35 type Ux = u32;
36}
37impl crate::Readable for ARRrs {}
39impl crate::Writable for ARRrs {
41 type Safety = crate::Unsafe;
42 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
43 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
44}
45impl crate::Resettable for ARRrs {
47 const RESET_VALUE: u32 = 0;
48}