stm32g0 0.9.0

Device support crates for STM32G0 devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[doc = "Reader of register ITLINE3"]
pub type R = crate::R<u32, super::ITLINE3>;
#[doc = "Reader of field `FLASH_ITF`"]
pub type FLASH_ITF_R = crate::R<bool, bool>;
#[doc = "Reader of field `FLASH_ECC`"]
pub type FLASH_ECC_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bit 0 - FLASH_ITF"]
    #[inline(always)]
    pub fn flash_itf(&self) -> FLASH_ITF_R {
        FLASH_ITF_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - FLASH_ECC"]
    #[inline(always)]
    pub fn flash_ecc(&self) -> FLASH_ECC_R {
        FLASH_ECC_R::new(((self.bits >> 1) & 0x01) != 0)
    }
}