esp32c2/ecc/
mult_int_st.rs

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