atsamd51g19a/supc/
bkin.rs1#[doc = "Reader of register BKIN"]
2pub type R = crate::R<u32, super::BKIN>;
3#[doc = "Reader of field `BKIN0`"]
4pub type BKIN0_R = crate::R<bool, bool>;
5#[doc = "Reader of field `BKIN1`"]
6pub type BKIN1_R = crate::R<bool, bool>;
7impl R {
8 #[doc = "Bit 0 - Backup Input 0"]
9 #[inline(always)]
10 pub fn bkin0(&self) -> BKIN0_R {
11 BKIN0_R::new((self.bits & 0x01) != 0)
12 }
13 #[doc = "Bit 1 - Backup Input 1"]
14 #[inline(always)]
15 pub fn bkin1(&self) -> BKIN1_R {
16 BKIN1_R::new(((self.bits >> 1) & 0x01) != 0)
17 }
18}