stm32u5/stm32u545/aes/
susp6r.rs

1///Register `SUSP6R` writer
2pub type W = crate::W<SUSP6Rrs>;
3///Field `SUSP` writer - AES suspend
4pub type SUSP_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
5impl core::fmt::Debug for crate::generic::Reg<SUSP6Rrs> {
6    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
7        write!(f, "(not readable)")
8    }
9}
10impl W {
11    ///Bits 0:31 - AES suspend
12    #[inline(always)]
13    pub fn susp(&mut self) -> SUSP_W<SUSP6Rrs> {
14        SUSP_W::new(self, 0)
15    }
16}
17/**suspend registers
18
19You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`susp6r::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
20
21See register [structure](https://stm32-rs.github.io/stm32-rs/STM32U545.html#AES:SUSP6R)*/
22pub struct SUSP6Rrs;
23impl crate::RegisterSpec for SUSP6Rrs {
24    type Ux = u32;
25}
26///`write(|w| ..)` method takes [`susp6r::W`](W) writer structure
27impl crate::Writable for SUSP6Rrs {
28    type Safety = crate::Safe;
29}
30///`reset()` method sets SUSP6R to value 0
31impl crate::Resettable for SUSP6Rrs {}