stm32h7 0.16.0

Device support crates for STM32H7 devices
Documentation
///Register `MKEYR%s` writer
pub type W = crate::W<MKEYRrs>;
///Field `MKEY0` writer - Master key bit 0 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY0_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY1` writer - Master key bit 1 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY1_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY2` writer - Master key bit 2 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY2_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY3` writer - Master key bit 3 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY3_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY4` writer - Master key bit 4 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY4_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY5` writer - Master key bit 5 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY5_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY6` writer - Master key bit 6 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY6_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY7` writer - Master key bit 7 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY7_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY8` writer - Master key bit 8 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY8_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY9` writer - Master key bit 9 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY9_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY10` writer - Master key bit 10 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY10_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY11` writer - Master key bit 11 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY11_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY12` writer - Master key bit 12 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY12_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY13` writer - Master key bit 13 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY13_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY14` writer - Master key bit 14 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY14_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY15` writer - Master key bit 15 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY15_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY16` writer - Master key bit 16 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY16_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY17` writer - Master key bit 17 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY17_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY18` writer - Master key bit 18 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY18_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY19` writer - Master key bit 19 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY19_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY20` writer - Master key bit 20 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY20_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY21` writer - Master key bit 21 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY21_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY22` writer - Master key bit 22 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY22_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY23` writer - Master key bit 23 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY23_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY24` writer - Master key bit 24 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY24_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY25` writer - Master key bit 25 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY25_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY26` writer - Master key bit 26 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY26_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY27` writer - Master key bit 27 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY27_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY28` writer - Master key bit 28 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY28_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY29` writer - Master key bit 29 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY29_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY30` writer - Master key bit 30 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY30_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `MKEY31` writer - Master key bit 31 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
pub type MKEY31_W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<MKEYRrs> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        write!(f, "(not readable)")
    }
}
impl W {
    ///Bit 0 - Master key bit 0 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey0(&mut self) -> MKEY0_W<MKEYRrs> {
        MKEY0_W::new(self, 0)
    }
    ///Bit 1 - Master key bit 1 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey1(&mut self) -> MKEY1_W<MKEYRrs> {
        MKEY1_W::new(self, 1)
    }
    ///Bit 2 - Master key bit 2 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey2(&mut self) -> MKEY2_W<MKEYRrs> {
        MKEY2_W::new(self, 2)
    }
    ///Bit 3 - Master key bit 3 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey3(&mut self) -> MKEY3_W<MKEYRrs> {
        MKEY3_W::new(self, 3)
    }
    ///Bit 4 - Master key bit 4 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey4(&mut self) -> MKEY4_W<MKEYRrs> {
        MKEY4_W::new(self, 4)
    }
    ///Bit 5 - Master key bit 5 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey5(&mut self) -> MKEY5_W<MKEYRrs> {
        MKEY5_W::new(self, 5)
    }
    ///Bit 6 - Master key bit 6 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey6(&mut self) -> MKEY6_W<MKEYRrs> {
        MKEY6_W::new(self, 6)
    }
    ///Bit 7 - Master key bit 7 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey7(&mut self) -> MKEY7_W<MKEYRrs> {
        MKEY7_W::new(self, 7)
    }
    ///Bit 8 - Master key bit 8 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey8(&mut self) -> MKEY8_W<MKEYRrs> {
        MKEY8_W::new(self, 8)
    }
    ///Bit 9 - Master key bit 9 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey9(&mut self) -> MKEY9_W<MKEYRrs> {
        MKEY9_W::new(self, 9)
    }
    ///Bit 10 - Master key bit 10 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey10(&mut self) -> MKEY10_W<MKEYRrs> {
        MKEY10_W::new(self, 10)
    }
    ///Bit 11 - Master key bit 11 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey11(&mut self) -> MKEY11_W<MKEYRrs> {
        MKEY11_W::new(self, 11)
    }
    ///Bit 12 - Master key bit 12 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey12(&mut self) -> MKEY12_W<MKEYRrs> {
        MKEY12_W::new(self, 12)
    }
    ///Bit 13 - Master key bit 13 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey13(&mut self) -> MKEY13_W<MKEYRrs> {
        MKEY13_W::new(self, 13)
    }
    ///Bit 14 - Master key bit 14 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey14(&mut self) -> MKEY14_W<MKEYRrs> {
        MKEY14_W::new(self, 14)
    }
    ///Bit 15 - Master key bit 15 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey15(&mut self) -> MKEY15_W<MKEYRrs> {
        MKEY15_W::new(self, 15)
    }
    ///Bit 16 - Master key bit 16 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey16(&mut self) -> MKEY16_W<MKEYRrs> {
        MKEY16_W::new(self, 16)
    }
    ///Bit 17 - Master key bit 17 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey17(&mut self) -> MKEY17_W<MKEYRrs> {
        MKEY17_W::new(self, 17)
    }
    ///Bit 18 - Master key bit 18 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey18(&mut self) -> MKEY18_W<MKEYRrs> {
        MKEY18_W::new(self, 18)
    }
    ///Bit 19 - Master key bit 19 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey19(&mut self) -> MKEY19_W<MKEYRrs> {
        MKEY19_W::new(self, 19)
    }
    ///Bit 20 - Master key bit 20 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey20(&mut self) -> MKEY20_W<MKEYRrs> {
        MKEY20_W::new(self, 20)
    }
    ///Bit 21 - Master key bit 21 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey21(&mut self) -> MKEY21_W<MKEYRrs> {
        MKEY21_W::new(self, 21)
    }
    ///Bit 22 - Master key bit 22 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey22(&mut self) -> MKEY22_W<MKEYRrs> {
        MKEY22_W::new(self, 22)
    }
    ///Bit 23 - Master key bit 23 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey23(&mut self) -> MKEY23_W<MKEYRrs> {
        MKEY23_W::new(self, 23)
    }
    ///Bit 24 - Master key bit 24 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey24(&mut self) -> MKEY24_W<MKEYRrs> {
        MKEY24_W::new(self, 24)
    }
    ///Bit 25 - Master key bit 25 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey25(&mut self) -> MKEY25_W<MKEYRrs> {
        MKEY25_W::new(self, 25)
    }
    ///Bit 26 - Master key bit 26 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey26(&mut self) -> MKEY26_W<MKEYRrs> {
        MKEY26_W::new(self, 26)
    }
    ///Bit 27 - Master key bit 27 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey27(&mut self) -> MKEY27_W<MKEYRrs> {
        MKEY27_W::new(self, 27)
    }
    ///Bit 28 - Master key bit 28 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey28(&mut self) -> MKEY28_W<MKEYRrs> {
        MKEY28_W::new(self, 28)
    }
    ///Bit 29 - Master key bit 29 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey29(&mut self) -> MKEY29_W<MKEYRrs> {
        MKEY29_W::new(self, 29)
    }
    ///Bit 30 - Master key bit 30 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey30(&mut self) -> MKEY30_W<MKEYRrs> {
        MKEY30_W::new(self, 30)
    }
    ///Bit 31 - Master key bit 31 This key is used by the MCE block cipher in normal, SCA resistant mode, if CTXID=0x0 in MCE_REGCR register.
    #[inline(always)]
    pub fn mkey31(&mut self) -> MKEY31_W<MKEYRrs> {
        MKEY31_W::new(self, 31)
    }
}
/**MCE master key %s

You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mkeyr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct MKEYRrs;
impl crate::RegisterSpec for MKEYRrs {
    type Ux = u32;
}
///`write(|w| ..)` method takes [`mkeyr::W`](W) writer structure
impl crate::Writable for MKEYRrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets MKEYR%s to value 0
impl crate::Resettable for MKEYRrs {}