1#[doc = "Reader of register SR"]
2pub type R = crate::R<u32, super::SR>;
3#[doc = "Reader of field `WVU`"]
4pub type WVU_R = crate::R<bool, bool>;
5#[doc = "Reader of field `RVU`"]
6pub type RVU_R = crate::R<bool, bool>;
7#[doc = "Reader of field `PVU`"]
8pub type PVU_R = crate::R<bool, bool>;
9impl R {
10 #[doc = "Bit 2 - Watchdog counter window value update"]
11 #[inline(always)]
12 pub fn wvu(&self) -> WVU_R {
13 WVU_R::new(((self.bits >> 2) & 0x01) != 0)
14 }
15 #[doc = "Bit 1 - Watchdog counter reload value update"]
16 #[inline(always)]
17 pub fn rvu(&self) -> RVU_R {
18 RVU_R::new(((self.bits >> 1) & 0x01) != 0)
19 }
20 #[doc = "Bit 0 - Watchdog prescaler value update"]
21 #[inline(always)]
22 pub fn pvu(&self) -> PVU_R {
23 PVU_R::new((self.bits & 0x01) != 0)
24 }
25}