esp32c6/ecc/
mult_int_raw.rs

1#[doc = "Register `MULT_INT_RAW` reader"]
2pub type R = crate::R<MULT_INT_RAW_SPEC>;
3#[doc = "Field `CALC_DONE` reader - The raw interrupt status bit for the ecc_calc_done_int interrupt"]
4pub type CALC_DONE_R = crate::BitReader;
5impl R {
6    #[doc = "Bit 0 - The raw interrupt status bit for the ecc_calc_done_int interrupt"]
7    #[inline(always)]
8    pub fn calc_done(&self) -> CALC_DONE_R {
9        CALC_DONE_R::new((self.bits & 1) != 0)
10    }
11}
12#[cfg(feature = "impl-register-debug")]
13impl core::fmt::Debug for R {
14    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15        f.debug_struct("MULT_INT_RAW")
16            .field("calc_done", &self.calc_done())
17            .finish()
18    }
19}
20#[doc = "ECC interrupt raw register, valid in level.\n\nYou can [`read`](crate::Reg::read) this register and get [`mult_int_raw::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct MULT_INT_RAW_SPEC;
22impl crate::RegisterSpec for MULT_INT_RAW_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`mult_int_raw::R`](R) reader structure"]
26impl crate::Readable for MULT_INT_RAW_SPEC {}
27#[doc = "`reset()` method sets MULT_INT_RAW to value 0"]
28impl crate::Resettable for MULT_INT_RAW_SPEC {
29    const RESET_VALUE: u32 = 0;
30}