pub type R = crate::R<GISR0rs>;
pub type GIF0_R = crate::BitReader;
pub type GIF1_R = crate::BitReader;
pub type GIF2_R = crate::BitReader;
pub type GIF3_R = crate::BitReader;
pub type GIF4_R = crate::BitReader;
pub type GIF5_R = crate::BitReader;
pub type GIF6_R = crate::BitReader;
pub type GIF7_R = crate::BitReader;
pub type GIF8_R = crate::BitReader;
pub type GIF9_R = crate::BitReader;
pub type GIF10_R = crate::BitReader;
pub type GIF11_R = crate::BitReader;
pub type GIF12_R = crate::BitReader;
pub type GIF13_R = crate::BitReader;
pub type GIF14_R = crate::BitReader;
pub type GIF15_R = crate::BitReader;
pub type GIF16_R = crate::BitReader;
pub type GIF17_R = crate::BitReader;
pub type GIF18_R = crate::BitReader;
pub type GIF19_R = crate::BitReader;
pub type GIF20_R = crate::BitReader;
pub type GIF21_R = crate::BitReader;
pub type GIF22_R = crate::BitReader;
pub type GIF23_R = crate::BitReader;
pub type GIF24_R = crate::BitReader;
pub type GIF25_R = crate::BitReader;
pub type GIF26_R = crate::BitReader;
pub type GIF27_R = crate::BitReader;
pub type GIF28_R = crate::BitReader;
pub type GIF29_R = crate::BitReader;
pub type GIF30_R = crate::BitReader;
pub type GIF31_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn gif0(&self) -> GIF0_R {
GIF0_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn gif1(&self) -> GIF1_R {
GIF1_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn gif2(&self) -> GIF2_R {
GIF2_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn gif3(&self) -> GIF3_R {
GIF3_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn gif4(&self) -> GIF4_R {
GIF4_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn gif5(&self) -> GIF5_R {
GIF5_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn gif6(&self) -> GIF6_R {
GIF6_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn gif7(&self) -> GIF7_R {
GIF7_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn gif8(&self) -> GIF8_R {
GIF8_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn gif9(&self) -> GIF9_R {
GIF9_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn gif10(&self) -> GIF10_R {
GIF10_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn gif11(&self) -> GIF11_R {
GIF11_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn gif12(&self) -> GIF12_R {
GIF12_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn gif13(&self) -> GIF13_R {
GIF13_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn gif14(&self) -> GIF14_R {
GIF14_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn gif15(&self) -> GIF15_R {
GIF15_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn gif16(&self) -> GIF16_R {
GIF16_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn gif17(&self) -> GIF17_R {
GIF17_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn gif18(&self) -> GIF18_R {
GIF18_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn gif19(&self) -> GIF19_R {
GIF19_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn gif20(&self) -> GIF20_R {
GIF20_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn gif21(&self) -> GIF21_R {
GIF21_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn gif22(&self) -> GIF22_R {
GIF22_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn gif23(&self) -> GIF23_R {
GIF23_R::new(((self.bits >> 23) & 1) != 0)
}
#[inline(always)]
pub fn gif24(&self) -> GIF24_R {
GIF24_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn gif25(&self) -> GIF25_R {
GIF25_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn gif26(&self) -> GIF26_R {
GIF26_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn gif27(&self) -> GIF27_R {
GIF27_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn gif28(&self) -> GIF28_R {
GIF28_R::new(((self.bits >> 28) & 1) != 0)
}
#[inline(always)]
pub fn gif29(&self) -> GIF29_R {
GIF29_R::new(((self.bits >> 29) & 1) != 0)
}
#[inline(always)]
pub fn gif30(&self) -> GIF30_R {
GIF30_R::new(((self.bits >> 30) & 1) != 0)
}
#[inline(always)]
pub fn gif31(&self) -> GIF31_R {
GIF31_R::new(((self.bits >> 31) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("GISR0")
.field("gif0", &self.gif0())
.field("gif1", &self.gif1())
.field("gif2", &self.gif2())
.field("gif3", &self.gif3())
.field("gif4", &self.gif4())
.field("gif5", &self.gif5())
.field("gif6", &self.gif6())
.field("gif7", &self.gif7())
.field("gif8", &self.gif8())
.field("gif9", &self.gif9())
.field("gif10", &self.gif10())
.field("gif11", &self.gif11())
.field("gif12", &self.gif12())
.field("gif13", &self.gif13())
.field("gif14", &self.gif14())
.field("gif15", &self.gif15())
.field("gif16", &self.gif16())
.field("gif17", &self.gif17())
.field("gif18", &self.gif18())
.field("gif19", &self.gif19())
.field("gif20", &self.gif20())
.field("gif21", &self.gif21())
.field("gif22", &self.gif22())
.field("gif23", &self.gif23())
.field("gif24", &self.gif24())
.field("gif25", &self.gif25())
.field("gif26", &self.gif26())
.field("gif27", &self.gif27())
.field("gif28", &self.gif28())
.field("gif29", &self.gif29())
.field("gif30", &self.gif30())
.field("gif31", &self.gif31())
.finish()
}
}
pub struct GISR0rs;
impl crate::RegisterSpec for GISR0rs {
type Ux = u32;
}
impl crate::Readable for GISR0rs {}
impl crate::Resettable for GISR0rs {}