#[doc = "Register `INT_ST` reader"]
pub type R = crate::R<INT_ST_SPEC>;
#[doc = "Field `PREP_DONE_INT_ST` reader - The masked interrupt status bit for the huk_prep_done_int interrupt"]
pub type PREP_DONE_INT_ST_R = crate::BitReader;
#[doc = "Field `PROC_DONE_INT_ST` reader - The masked interrupt status bit for the huk_proc_done_int interrupt"]
pub type PROC_DONE_INT_ST_R = crate::BitReader;
#[doc = "Field `POST_DONE_INT_ST` reader - The masked interrupt status bit for the huk_post_done_int interrupt"]
pub type POST_DONE_INT_ST_R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - The masked interrupt status bit for the huk_prep_done_int interrupt"]
    #[inline(always)]
    pub fn prep_done_int_st(&self) -> PREP_DONE_INT_ST_R {
        PREP_DONE_INT_ST_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - The masked interrupt status bit for the huk_proc_done_int interrupt"]
    #[inline(always)]
    pub fn proc_done_int_st(&self) -> PROC_DONE_INT_ST_R {
        PROC_DONE_INT_ST_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - The masked interrupt status bit for the huk_post_done_int interrupt"]
    #[inline(always)]
    pub fn post_done_int_st(&self) -> POST_DONE_INT_ST_R {
        POST_DONE_INT_ST_R::new(((self.bits >> 2) & 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("INT_ST")
            .field("prep_done_int_st", &self.prep_done_int_st())
            .field("proc_done_int_st", &self.proc_done_int_st())
            .field("post_done_int_st", &self.post_done_int_st())
            .finish()
    }
}
#[doc = "HUK Generator interrupt status register.\n\nYou can [`read`](crate::Reg::read) this register and get [`int_st::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct INT_ST_SPEC;
impl crate::RegisterSpec for INT_ST_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`int_st::R`](R) reader structure"]
impl crate::Readable for INT_ST_SPEC {}
#[doc = "`reset()` method sets INT_ST to value 0"]
impl crate::Resettable for INT_ST_SPEC {}
