1#[doc = "Reader of register MBMON"]
2pub type R = crate::R<u32, super::MBMON>;
3#[doc = "Reader of field `SCL`"]
4pub type SCL_R = crate::R<bool, bool>;
5#[doc = "Reader of field `SDA`"]
6pub type SDA_R = crate::R<bool, bool>;
7impl R {
8 #[doc = "Bit 0 - I2C SCL Status"]
9 #[inline(always)]
10 pub fn scl(&self) -> SCL_R {
11 SCL_R::new((self.bits & 0x01) != 0)
12 }
13 #[doc = "Bit 1 - I2C SDA Status"]
14 #[inline(always)]
15 pub fn sda(&self) -> SDA_R {
16 SDA_R::new(((self.bits >> 1) & 0x01) != 0)
17 }
18}