#[doc = "Register `ISR` reader"]
pub struct R(crate::R<ISR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<ISR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<ISR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<ISR_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `TEIF8` reader - TEIF8"]
pub struct TEIF8_R(crate::FieldReader<bool, bool>);
impl TEIF8_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF8_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF8_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF8` reader - HTIF8"]
pub struct HTIF8_R(crate::FieldReader<bool, bool>);
impl HTIF8_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF8_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF8_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF8` reader - TCIF8"]
pub struct TCIF8_R(crate::FieldReader<bool, bool>);
impl TCIF8_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF8_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF8_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF8` reader - GIF8"]
pub struct GIF8_R(crate::FieldReader<bool, bool>);
impl GIF8_R {
pub(crate) fn new(bits: bool) -> Self {
GIF8_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF8_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF7` reader - TEIF7"]
pub struct TEIF7_R(crate::FieldReader<bool, bool>);
impl TEIF7_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF7_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF7_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF7` reader - HTIF7"]
pub struct HTIF7_R(crate::FieldReader<bool, bool>);
impl HTIF7_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF7_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF7_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF7` reader - TCIF7"]
pub struct TCIF7_R(crate::FieldReader<bool, bool>);
impl TCIF7_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF7_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF7_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF7` reader - GIF7"]
pub struct GIF7_R(crate::FieldReader<bool, bool>);
impl GIF7_R {
pub(crate) fn new(bits: bool) -> Self {
GIF7_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF7_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF6` reader - TEIF6"]
pub struct TEIF6_R(crate::FieldReader<bool, bool>);
impl TEIF6_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF6_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF6_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF6` reader - HTIF6"]
pub struct HTIF6_R(crate::FieldReader<bool, bool>);
impl HTIF6_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF6_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF6_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF6` reader - TCIF6"]
pub struct TCIF6_R(crate::FieldReader<bool, bool>);
impl TCIF6_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF6_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF6_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF6` reader - GIF6"]
pub struct GIF6_R(crate::FieldReader<bool, bool>);
impl GIF6_R {
pub(crate) fn new(bits: bool) -> Self {
GIF6_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF6_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF5` reader - TEIF5"]
pub struct TEIF5_R(crate::FieldReader<bool, bool>);
impl TEIF5_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF5_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF5_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF5` reader - HTIF5"]
pub struct HTIF5_R(crate::FieldReader<bool, bool>);
impl HTIF5_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF5_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF5_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF5` reader - TCIF5"]
pub struct TCIF5_R(crate::FieldReader<bool, bool>);
impl TCIF5_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF5_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF5_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF5` reader - GIF5"]
pub struct GIF5_R(crate::FieldReader<bool, bool>);
impl GIF5_R {
pub(crate) fn new(bits: bool) -> Self {
GIF5_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF5_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF4` reader - TEIF4"]
pub struct TEIF4_R(crate::FieldReader<bool, bool>);
impl TEIF4_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF4_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF4_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF4` reader - HTIF4"]
pub struct HTIF4_R(crate::FieldReader<bool, bool>);
impl HTIF4_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF4_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF4_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF4` reader - TCIF4"]
pub struct TCIF4_R(crate::FieldReader<bool, bool>);
impl TCIF4_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF4_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF4_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF4` reader - GIF4"]
pub struct GIF4_R(crate::FieldReader<bool, bool>);
impl GIF4_R {
pub(crate) fn new(bits: bool) -> Self {
GIF4_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF4_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF3` reader - TEIF3"]
pub struct TEIF3_R(crate::FieldReader<bool, bool>);
impl TEIF3_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF3_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF3_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF3` reader - HTIF3"]
pub struct HTIF3_R(crate::FieldReader<bool, bool>);
impl HTIF3_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF3_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF3_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF3` reader - TCIF3"]
pub struct TCIF3_R(crate::FieldReader<bool, bool>);
impl TCIF3_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF3_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF3_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF3` reader - GIF3"]
pub struct GIF3_R(crate::FieldReader<bool, bool>);
impl GIF3_R {
pub(crate) fn new(bits: bool) -> Self {
GIF3_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF3_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF2` reader - TEIF2"]
pub struct TEIF2_R(crate::FieldReader<bool, bool>);
impl TEIF2_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF2_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF2_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF2` reader - HTIF2"]
pub struct HTIF2_R(crate::FieldReader<bool, bool>);
impl HTIF2_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF2_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF2_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF2` reader - TCIF2"]
pub struct TCIF2_R(crate::FieldReader<bool, bool>);
impl TCIF2_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF2_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF2_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF2` reader - GIF2"]
pub struct GIF2_R(crate::FieldReader<bool, bool>);
impl GIF2_R {
pub(crate) fn new(bits: bool) -> Self {
GIF2_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF2_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TEIF1` reader - TEIF1"]
pub struct TEIF1_R(crate::FieldReader<bool, bool>);
impl TEIF1_R {
pub(crate) fn new(bits: bool) -> Self {
TEIF1_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TEIF1_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HTIF1` reader - HTIF1"]
pub struct HTIF1_R(crate::FieldReader<bool, bool>);
impl HTIF1_R {
pub(crate) fn new(bits: bool) -> Self {
HTIF1_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for HTIF1_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TCIF1` reader - TCIF1"]
pub struct TCIF1_R(crate::FieldReader<bool, bool>);
impl TCIF1_R {
pub(crate) fn new(bits: bool) -> Self {
TCIF1_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TCIF1_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `GIF1` reader - GIF1"]
pub struct GIF1_R(crate::FieldReader<bool, bool>);
impl GIF1_R {
pub(crate) fn new(bits: bool) -> Self {
GIF1_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for GIF1_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl R {
#[doc = "Bit 31 - TEIF8"]
#[inline(always)]
pub fn teif8(&self) -> TEIF8_R {
TEIF8_R::new(((self.bits >> 31) & 0x01) != 0)
}
#[doc = "Bit 30 - HTIF8"]
#[inline(always)]
pub fn htif8(&self) -> HTIF8_R {
HTIF8_R::new(((self.bits >> 30) & 0x01) != 0)
}
#[doc = "Bit 29 - TCIF8"]
#[inline(always)]
pub fn tcif8(&self) -> TCIF8_R {
TCIF8_R::new(((self.bits >> 29) & 0x01) != 0)
}
#[doc = "Bit 28 - GIF8"]
#[inline(always)]
pub fn gif8(&self) -> GIF8_R {
GIF8_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 27 - TEIF7"]
#[inline(always)]
pub fn teif7(&self) -> TEIF7_R {
TEIF7_R::new(((self.bits >> 27) & 0x01) != 0)
}
#[doc = "Bit 26 - HTIF7"]
#[inline(always)]
pub fn htif7(&self) -> HTIF7_R {
HTIF7_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 25 - TCIF7"]
#[inline(always)]
pub fn tcif7(&self) -> TCIF7_R {
TCIF7_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 24 - GIF7"]
#[inline(always)]
pub fn gif7(&self) -> GIF7_R {
GIF7_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 23 - TEIF6"]
#[inline(always)]
pub fn teif6(&self) -> TEIF6_R {
TEIF6_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 22 - HTIF6"]
#[inline(always)]
pub fn htif6(&self) -> HTIF6_R {
HTIF6_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 21 - TCIF6"]
#[inline(always)]
pub fn tcif6(&self) -> TCIF6_R {
TCIF6_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 20 - GIF6"]
#[inline(always)]
pub fn gif6(&self) -> GIF6_R {
GIF6_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 19 - TEIF5"]
#[inline(always)]
pub fn teif5(&self) -> TEIF5_R {
TEIF5_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 18 - HTIF5"]
#[inline(always)]
pub fn htif5(&self) -> HTIF5_R {
HTIF5_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 17 - TCIF5"]
#[inline(always)]
pub fn tcif5(&self) -> TCIF5_R {
TCIF5_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 16 - GIF5"]
#[inline(always)]
pub fn gif5(&self) -> GIF5_R {
GIF5_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 15 - TEIF4"]
#[inline(always)]
pub fn teif4(&self) -> TEIF4_R {
TEIF4_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 14 - HTIF4"]
#[inline(always)]
pub fn htif4(&self) -> HTIF4_R {
HTIF4_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 13 - TCIF4"]
#[inline(always)]
pub fn tcif4(&self) -> TCIF4_R {
TCIF4_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 12 - GIF4"]
#[inline(always)]
pub fn gif4(&self) -> GIF4_R {
GIF4_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 11 - TEIF3"]
#[inline(always)]
pub fn teif3(&self) -> TEIF3_R {
TEIF3_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 10 - HTIF3"]
#[inline(always)]
pub fn htif3(&self) -> HTIF3_R {
HTIF3_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 9 - TCIF3"]
#[inline(always)]
pub fn tcif3(&self) -> TCIF3_R {
TCIF3_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 8 - GIF3"]
#[inline(always)]
pub fn gif3(&self) -> GIF3_R {
GIF3_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 7 - TEIF2"]
#[inline(always)]
pub fn teif2(&self) -> TEIF2_R {
TEIF2_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 6 - HTIF2"]
#[inline(always)]
pub fn htif2(&self) -> HTIF2_R {
HTIF2_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 5 - TCIF2"]
#[inline(always)]
pub fn tcif2(&self) -> TCIF2_R {
TCIF2_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 4 - GIF2"]
#[inline(always)]
pub fn gif2(&self) -> GIF2_R {
GIF2_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 3 - TEIF1"]
#[inline(always)]
pub fn teif1(&self) -> TEIF1_R {
TEIF1_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 2 - HTIF1"]
#[inline(always)]
pub fn htif1(&self) -> HTIF1_R {
HTIF1_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 1 - TCIF1"]
#[inline(always)]
pub fn tcif1(&self) -> TCIF1_R {
TCIF1_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 0 - GIF1"]
#[inline(always)]
pub fn gif1(&self) -> GIF1_R {
GIF1_R::new((self.bits & 0x01) != 0)
}
}
#[doc = "interrupt status register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [isr](index.html) module"]
pub struct ISR_SPEC;
impl crate::RegisterSpec for ISR_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [isr::R](R) reader structure"]
impl crate::Readable for ISR_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets ISR to value 0"]
impl crate::Resettable for ISR_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}