#[doc = "Register `STATF0` reader"]
pub type R = crate::R<Statf0Spec>;
#[doc = "Field `P0_0FEI` reader - Status of Falling Edge Interrupt for P0\\[0\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_0feiR = crate::BitReader;
#[doc = "Field `P0_1FEI` reader - Status of Falling Edge Interrupt for P0\\[1\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_1feiR = crate::BitReader;
#[doc = "Field `P0_2FEI` reader - Status of Falling Edge Interrupt for P0\\[2\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_2feiR = crate::BitReader;
#[doc = "Field `P0_3FEI` reader - Status of Falling Edge Interrupt for P0\\[3\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_3feiR = crate::BitReader;
#[doc = "Field `P0_4FEI` reader - Status of Falling Edge Interrupt for P0\\[4\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_4feiR = crate::BitReader;
#[doc = "Field `P0_5FEI` reader - Status of Falling Edge Interrupt for P0\\[5\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_5feiR = crate::BitReader;
#[doc = "Field `P0_6FEI` reader - Status of Falling Edge Interrupt for P0\\[6\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_6feiR = crate::BitReader;
#[doc = "Field `P0_7FEI` reader - Status of Falling Edge Interrupt for P0\\[7\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_7feiR = crate::BitReader;
#[doc = "Field `P0_8FEI` reader - Status of Falling Edge Interrupt for P0\\[8\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_8feiR = crate::BitReader;
#[doc = "Field `P0_9FEI` reader - Status of Falling Edge Interrupt for P0\\[9\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_9feiR = crate::BitReader;
#[doc = "Field `P0_10FEI` reader - Status of Falling Edge Interrupt for P0\\[10\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_10feiR = crate::BitReader;
#[doc = "Field `P0_11FEI` reader - Status of Falling Edge Interrupt for P0\\[11\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_11feiR = crate::BitReader;
#[doc = "Field `P0_12FEI` reader - Status of Falling Edge Interrupt for P0\\[12\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_12feiR = crate::BitReader;
#[doc = "Field `P0_13FEI` reader - Status of Falling Edge Interrupt for P0\\[13\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_13feiR = crate::BitReader;
#[doc = "Field `P0_14FEI` reader - Status of Falling Edge Interrupt for P0\\[14\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_14feiR = crate::BitReader;
#[doc = "Field `P0_15FEI` reader - Status of Falling Edge Interrupt for P0\\[15\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_15feiR = crate::BitReader;
#[doc = "Field `P0_16FEI` reader - Status of Falling Edge Interrupt for P0\\[16\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_16feiR = crate::BitReader;
#[doc = "Field `P0_17FEI` reader - Status of Falling Edge Interrupt for P0\\[17\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_17feiR = crate::BitReader;
#[doc = "Field `P0_18FEI` reader - Status of Falling Edge Interrupt for P0\\[18\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_18feiR = crate::BitReader;
#[doc = "Field `P0_19FEI` reader - Status of Falling Edge Interrupt for P0\\[19\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_19feiR = crate::BitReader;
#[doc = "Field `P0_20FEI` reader - Status of Falling Edge Interrupt for P0\\[20\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_20feiR = crate::BitReader;
#[doc = "Field `P0_21FEI` reader - Status of Falling Edge Interrupt for P0\\[21\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_21feiR = crate::BitReader;
#[doc = "Field `P0_22FEI` reader - Status of Falling Edge Interrupt for P0\\[22\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_22feiR = crate::BitReader;
#[doc = "Field `P0_23FEI` reader - Status of Falling Edge Interrupt for P0\\[23\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_23feiR = crate::BitReader;
#[doc = "Field `P0_24FEI` reader - Status of Falling Edge Interrupt for P0\\[24\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_24feiR = crate::BitReader;
#[doc = "Field `P0_25FEI` reader - Status of Falling Edge Interrupt for P0\\[25\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_25feiR = crate::BitReader;
#[doc = "Field `P0_26FEI` reader - Status of Falling Edge Interrupt for P0\\[26\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_26feiR = crate::BitReader;
#[doc = "Field `P0_27FEI` reader - Status of Falling Edge Interrupt for P0\\[27\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_27feiR = crate::BitReader;
#[doc = "Field `P0_28FEI` reader - Status of Falling Edge Interrupt for P0\\[28\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_28feiR = crate::BitReader;
#[doc = "Field `P0_29FEI` reader - Status of Falling Edge Interrupt for P0\\[29\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_29feiR = crate::BitReader;
#[doc = "Field `P0_30FEI` reader - Status of Falling Edge Interrupt for P0\\[30\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
pub type P0_30feiR = crate::BitReader;
impl R {
    #[doc = "Bit 0 - Status of Falling Edge Interrupt for P0\\[0\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_0fei(&self) -> P0_0feiR {
        P0_0feiR::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Status of Falling Edge Interrupt for P0\\[1\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_1fei(&self) -> P0_1feiR {
        P0_1feiR::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Status of Falling Edge Interrupt for P0\\[2\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_2fei(&self) -> P0_2feiR {
        P0_2feiR::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Status of Falling Edge Interrupt for P0\\[3\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_3fei(&self) -> P0_3feiR {
        P0_3feiR::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - Status of Falling Edge Interrupt for P0\\[4\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_4fei(&self) -> P0_4feiR {
        P0_4feiR::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - Status of Falling Edge Interrupt for P0\\[5\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_5fei(&self) -> P0_5feiR {
        P0_5feiR::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - Status of Falling Edge Interrupt for P0\\[6\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_6fei(&self) -> P0_6feiR {
        P0_6feiR::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - Status of Falling Edge Interrupt for P0\\[7\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_7fei(&self) -> P0_7feiR {
        P0_7feiR::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - Status of Falling Edge Interrupt for P0\\[8\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_8fei(&self) -> P0_8feiR {
        P0_8feiR::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Status of Falling Edge Interrupt for P0\\[9\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_9fei(&self) -> P0_9feiR {
        P0_9feiR::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - Status of Falling Edge Interrupt for P0\\[10\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_10fei(&self) -> P0_10feiR {
        P0_10feiR::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - Status of Falling Edge Interrupt for P0\\[11\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_11fei(&self) -> P0_11feiR {
        P0_11feiR::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - Status of Falling Edge Interrupt for P0\\[12\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_12fei(&self) -> P0_12feiR {
        P0_12feiR::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - Status of Falling Edge Interrupt for P0\\[13\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_13fei(&self) -> P0_13feiR {
        P0_13feiR::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - Status of Falling Edge Interrupt for P0\\[14\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_14fei(&self) -> P0_14feiR {
        P0_14feiR::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - Status of Falling Edge Interrupt for P0\\[15\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_15fei(&self) -> P0_15feiR {
        P0_15feiR::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 16 - Status of Falling Edge Interrupt for P0\\[16\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_16fei(&self) -> P0_16feiR {
        P0_16feiR::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 17 - Status of Falling Edge Interrupt for P0\\[17\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_17fei(&self) -> P0_17feiR {
        P0_17feiR::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 18 - Status of Falling Edge Interrupt for P0\\[18\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_18fei(&self) -> P0_18feiR {
        P0_18feiR::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - Status of Falling Edge Interrupt for P0\\[19\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_19fei(&self) -> P0_19feiR {
        P0_19feiR::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 20 - Status of Falling Edge Interrupt for P0\\[20\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_20fei(&self) -> P0_20feiR {
        P0_20feiR::new(((self.bits >> 20) & 1) != 0)
    }
    #[doc = "Bit 21 - Status of Falling Edge Interrupt for P0\\[21\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_21fei(&self) -> P0_21feiR {
        P0_21feiR::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - Status of Falling Edge Interrupt for P0\\[22\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_22fei(&self) -> P0_22feiR {
        P0_22feiR::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - Status of Falling Edge Interrupt for P0\\[23\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_23fei(&self) -> P0_23feiR {
        P0_23feiR::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 24 - Status of Falling Edge Interrupt for P0\\[24\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_24fei(&self) -> P0_24feiR {
        P0_24feiR::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 25 - Status of Falling Edge Interrupt for P0\\[25\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_25fei(&self) -> P0_25feiR {
        P0_25feiR::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 26 - Status of Falling Edge Interrupt for P0\\[26\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_26fei(&self) -> P0_26feiR {
        P0_26feiR::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 27 - Status of Falling Edge Interrupt for P0\\[27\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_27fei(&self) -> P0_27feiR {
        P0_27feiR::new(((self.bits >> 27) & 1) != 0)
    }
    #[doc = "Bit 28 - Status of Falling Edge Interrupt for P0\\[28\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_28fei(&self) -> P0_28feiR {
        P0_28feiR::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 29 - Status of Falling Edge Interrupt for P0\\[29\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_29fei(&self) -> P0_29feiR {
        P0_29feiR::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bit 30 - Status of Falling Edge Interrupt for P0\\[30\\]. 0 = No falling edge detected. 1 = Falling edge interrupt generated."]
    #[inline(always)]
    pub fn p0_30fei(&self) -> P0_30feiR {
        P0_30feiR::new(((self.bits >> 30) & 1) != 0)
    }
}
#[doc = "GPIO Interrupt Status for Falling edge for Port 0.\n\nYou can [`read`](crate::Reg::read) this register and get [`statf0::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Statf0Spec;
impl crate::RegisterSpec for Statf0Spec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`statf0::R`](R) reader structure"]
impl crate::Readable for Statf0Spec {}
#[doc = "`reset()` method sets STATF0 to value 0"]
impl crate::Resettable for Statf0Spec {}
