#[doc = "Register `BUSYCH` reader"]
pub type R = crate::R<BusychSpec>;
#[doc = "Field `BUSYCH0` reader - Busy Channel 0"]
pub type Busych0R = crate::BitReader;
#[doc = "Field `BUSYCH1` reader - Busy Channel 1"]
pub type Busych1R = crate::BitReader;
#[doc = "Field `BUSYCH2` reader - Busy Channel 2"]
pub type Busych2R = crate::BitReader;
#[doc = "Field `BUSYCH3` reader - Busy Channel 3"]
pub type Busych3R = crate::BitReader;
#[doc = "Field `BUSYCH4` reader - Busy Channel 4"]
pub type Busych4R = crate::BitReader;
#[doc = "Field `BUSYCH5` reader - Busy Channel 5"]
pub type Busych5R = crate::BitReader;
#[doc = "Field `BUSYCH6` reader - Busy Channel 6"]
pub type Busych6R = crate::BitReader;
#[doc = "Field `BUSYCH7` reader - Busy Channel 7"]
pub type Busych7R = crate::BitReader;
#[doc = "Field `BUSYCH8` reader - Busy Channel 8"]
pub type Busych8R = crate::BitReader;
#[doc = "Field `BUSYCH9` reader - Busy Channel 9"]
pub type Busych9R = crate::BitReader;
#[doc = "Field `BUSYCH10` reader - Busy Channel 10"]
pub type Busych10R = crate::BitReader;
#[doc = "Field `BUSYCH11` reader - Busy Channel 11"]
pub type Busych11R = crate::BitReader;
#[doc = "Field `BUSYCH12` reader - Busy Channel 12"]
pub type Busych12R = crate::BitReader;
#[doc = "Field `BUSYCH13` reader - Busy Channel 13"]
pub type Busych13R = crate::BitReader;
#[doc = "Field `BUSYCH14` reader - Busy Channel 14"]
pub type Busych14R = crate::BitReader;
#[doc = "Field `BUSYCH15` reader - Busy Channel 15"]
pub type Busych15R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - Busy Channel 0"]
    #[inline(always)]
    pub fn busych0(&self) -> Busych0R {
        Busych0R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Busy Channel 1"]
    #[inline(always)]
    pub fn busych1(&self) -> Busych1R {
        Busych1R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Busy Channel 2"]
    #[inline(always)]
    pub fn busych2(&self) -> Busych2R {
        Busych2R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Busy Channel 3"]
    #[inline(always)]
    pub fn busych3(&self) -> Busych3R {
        Busych3R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - Busy Channel 4"]
    #[inline(always)]
    pub fn busych4(&self) -> Busych4R {
        Busych4R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - Busy Channel 5"]
    #[inline(always)]
    pub fn busych5(&self) -> Busych5R {
        Busych5R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - Busy Channel 6"]
    #[inline(always)]
    pub fn busych6(&self) -> Busych6R {
        Busych6R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - Busy Channel 7"]
    #[inline(always)]
    pub fn busych7(&self) -> Busych7R {
        Busych7R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - Busy Channel 8"]
    #[inline(always)]
    pub fn busych8(&self) -> Busych8R {
        Busych8R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Busy Channel 9"]
    #[inline(always)]
    pub fn busych9(&self) -> Busych9R {
        Busych9R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - Busy Channel 10"]
    #[inline(always)]
    pub fn busych10(&self) -> Busych10R {
        Busych10R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - Busy Channel 11"]
    #[inline(always)]
    pub fn busych11(&self) -> Busych11R {
        Busych11R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - Busy Channel 12"]
    #[inline(always)]
    pub fn busych12(&self) -> Busych12R {
        Busych12R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - Busy Channel 13"]
    #[inline(always)]
    pub fn busych13(&self) -> Busych13R {
        Busych13R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - Busy Channel 14"]
    #[inline(always)]
    pub fn busych14(&self) -> Busych14R {
        Busych14R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - Busy Channel 15"]
    #[inline(always)]
    pub fn busych15(&self) -> Busych15R {
        Busych15R::new(((self.bits >> 15) & 1) != 0)
    }
}
#[doc = "Busy Channels\n\nYou can [`read`](crate::Reg::read) this register and get [`busych::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct BusychSpec;
impl crate::RegisterSpec for BusychSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`busych::R`](R) reader structure"]
impl crate::Readable for BusychSpec {}
#[doc = "`reset()` method sets BUSYCH to value 0"]
impl crate::Resettable for BusychSpec {
    const RESET_VALUE: u32 = 0;
}
