#[doc = "Register `HOST_SLC1HOST_FUNC2_INT_ENA` reader"]
pub type R = crate::R<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC>;
#[doc = "Register `HOST_SLC1HOST_FUNC2_INT_ENA` writer"]
pub type W = crate::W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1HOST_RX_SOF_INT_ENA` reader - "]
pub type HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1HOST_RX_SOF_INT_ENA` writer - "]
pub type HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1HOST_RX_EOF_INT_ENA` reader - "]
pub type HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1HOST_RX_EOF_INT_ENA` writer - "]
pub type HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1HOST_RX_START_INT_ENA` reader - "]
pub type HOST_FN2_SLC1HOST_RX_START_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1HOST_RX_START_INT_ENA` writer - "]
pub type HOST_FN2_SLC1HOST_RX_START_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1HOST_TX_START_INT_ENA` reader - "]
pub type HOST_FN2_SLC1HOST_TX_START_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1HOST_TX_START_INT_ENA` writer - "]
pub type HOST_FN2_SLC1HOST_TX_START_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_RX_UDF_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_RX_UDF_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_RX_UDF_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_RX_UDF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_TX_OVF_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_TX_OVF_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_TX_OVF_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_TX_OVF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_RX_PF_VALID_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_RX_PF_VALID_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT0_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_EXT_BIT0_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT0_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_EXT_BIT0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT1_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_EXT_BIT1_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT1_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_EXT_BIT1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT2_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_EXT_BIT2_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT2_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_EXT_BIT2_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT3_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_EXT_BIT3_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_EXT_BIT3_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_EXT_BIT3_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA` reader - "]
pub type HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_R = crate::BitReader;
#[doc = "Field `HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA` writer - "]
pub type HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[doc = "Bit 0"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit0_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit1_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit2_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit3_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit4_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit5_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit6_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7"]
#[inline(always)]
pub fn host_fn2_slc1_tohost_bit7_int_ena(&self) -> HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_R {
HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8"]
#[inline(always)]
pub fn host_fn2_slc1_token0_1to0_int_ena(&self) -> HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_R {
HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9"]
#[inline(always)]
pub fn host_fn2_slc1_token1_1to0_int_ena(&self) -> HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_R {
HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10"]
#[inline(always)]
pub fn host_fn2_slc1_token0_0to1_int_ena(&self) -> HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_R {
HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11"]
#[inline(always)]
pub fn host_fn2_slc1_token1_0to1_int_ena(&self) -> HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_R {
HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12"]
#[inline(always)]
pub fn host_fn2_slc1host_rx_sof_int_ena(&self) -> HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_R {
HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 13"]
#[inline(always)]
pub fn host_fn2_slc1host_rx_eof_int_ena(&self) -> HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_R {
HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_R::new(((self.bits >> 13) & 1) != 0)
}
#[doc = "Bit 14"]
#[inline(always)]
pub fn host_fn2_slc1host_rx_start_int_ena(&self) -> HOST_FN2_SLC1HOST_RX_START_INT_ENA_R {
HOST_FN2_SLC1HOST_RX_START_INT_ENA_R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15"]
#[inline(always)]
pub fn host_fn2_slc1host_tx_start_int_ena(&self) -> HOST_FN2_SLC1HOST_TX_START_INT_ENA_R {
HOST_FN2_SLC1HOST_TX_START_INT_ENA_R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16"]
#[inline(always)]
pub fn host_fn2_slc1_rx_udf_int_ena(&self) -> HOST_FN2_SLC1_RX_UDF_INT_ENA_R {
HOST_FN2_SLC1_RX_UDF_INT_ENA_R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17"]
#[inline(always)]
pub fn host_fn2_slc1_tx_ovf_int_ena(&self) -> HOST_FN2_SLC1_TX_OVF_INT_ENA_R {
HOST_FN2_SLC1_TX_OVF_INT_ENA_R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18"]
#[inline(always)]
pub fn host_fn2_slc1_rx_pf_valid_int_ena(&self) -> HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_R {
HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19"]
#[inline(always)]
pub fn host_fn2_slc1_ext_bit0_int_ena(&self) -> HOST_FN2_SLC1_EXT_BIT0_INT_ENA_R {
HOST_FN2_SLC1_EXT_BIT0_INT_ENA_R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20"]
#[inline(always)]
pub fn host_fn2_slc1_ext_bit1_int_ena(&self) -> HOST_FN2_SLC1_EXT_BIT1_INT_ENA_R {
HOST_FN2_SLC1_EXT_BIT1_INT_ENA_R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 21"]
#[inline(always)]
pub fn host_fn2_slc1_ext_bit2_int_ena(&self) -> HOST_FN2_SLC1_EXT_BIT2_INT_ENA_R {
HOST_FN2_SLC1_EXT_BIT2_INT_ENA_R::new(((self.bits >> 21) & 1) != 0)
}
#[doc = "Bit 22"]
#[inline(always)]
pub fn host_fn2_slc1_ext_bit3_int_ena(&self) -> HOST_FN2_SLC1_EXT_BIT3_INT_ENA_R {
HOST_FN2_SLC1_EXT_BIT3_INT_ENA_R::new(((self.bits >> 22) & 1) != 0)
}
#[doc = "Bit 23"]
#[inline(always)]
pub fn host_fn2_slc1_wifi_rx_new_packet_int_ena(
&self,
) -> HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_R {
HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_R::new(((self.bits >> 23) & 1) != 0)
}
#[doc = "Bit 24"]
#[inline(always)]
pub fn host_fn2_slc1_host_rd_retry_int_ena(&self) -> HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_R {
HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25"]
#[inline(always)]
pub fn host_fn2_slc1_bt_rx_new_packet_int_ena(
&self,
) -> HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_R {
HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_R::new(((self.bits >> 25) & 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("HOST_SLC1HOST_FUNC2_INT_ENA")
.field(
"host_fn2_slc1_tohost_bit0_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit0_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit1_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit1_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit2_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit2_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit3_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit3_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit4_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit4_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit5_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit5_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit6_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit6_int_ena().bit()),
)
.field(
"host_fn2_slc1_tohost_bit7_int_ena",
&format_args!("{}", self.host_fn2_slc1_tohost_bit7_int_ena().bit()),
)
.field(
"host_fn2_slc1_token0_1to0_int_ena",
&format_args!("{}", self.host_fn2_slc1_token0_1to0_int_ena().bit()),
)
.field(
"host_fn2_slc1_token1_1to0_int_ena",
&format_args!("{}", self.host_fn2_slc1_token1_1to0_int_ena().bit()),
)
.field(
"host_fn2_slc1_token0_0to1_int_ena",
&format_args!("{}", self.host_fn2_slc1_token0_0to1_int_ena().bit()),
)
.field(
"host_fn2_slc1_token1_0to1_int_ena",
&format_args!("{}", self.host_fn2_slc1_token1_0to1_int_ena().bit()),
)
.field(
"host_fn2_slc1host_rx_sof_int_ena",
&format_args!("{}", self.host_fn2_slc1host_rx_sof_int_ena().bit()),
)
.field(
"host_fn2_slc1host_rx_eof_int_ena",
&format_args!("{}", self.host_fn2_slc1host_rx_eof_int_ena().bit()),
)
.field(
"host_fn2_slc1host_rx_start_int_ena",
&format_args!("{}", self.host_fn2_slc1host_rx_start_int_ena().bit()),
)
.field(
"host_fn2_slc1host_tx_start_int_ena",
&format_args!("{}", self.host_fn2_slc1host_tx_start_int_ena().bit()),
)
.field(
"host_fn2_slc1_rx_udf_int_ena",
&format_args!("{}", self.host_fn2_slc1_rx_udf_int_ena().bit()),
)
.field(
"host_fn2_slc1_tx_ovf_int_ena",
&format_args!("{}", self.host_fn2_slc1_tx_ovf_int_ena().bit()),
)
.field(
"host_fn2_slc1_rx_pf_valid_int_ena",
&format_args!("{}", self.host_fn2_slc1_rx_pf_valid_int_ena().bit()),
)
.field(
"host_fn2_slc1_ext_bit0_int_ena",
&format_args!("{}", self.host_fn2_slc1_ext_bit0_int_ena().bit()),
)
.field(
"host_fn2_slc1_ext_bit1_int_ena",
&format_args!("{}", self.host_fn2_slc1_ext_bit1_int_ena().bit()),
)
.field(
"host_fn2_slc1_ext_bit2_int_ena",
&format_args!("{}", self.host_fn2_slc1_ext_bit2_int_ena().bit()),
)
.field(
"host_fn2_slc1_ext_bit3_int_ena",
&format_args!("{}", self.host_fn2_slc1_ext_bit3_int_ena().bit()),
)
.field(
"host_fn2_slc1_wifi_rx_new_packet_int_ena",
&format_args!("{}", self.host_fn2_slc1_wifi_rx_new_packet_int_ena().bit()),
)
.field(
"host_fn2_slc1_host_rd_retry_int_ena",
&format_args!("{}", self.host_fn2_slc1_host_rd_retry_int_ena().bit()),
)
.field(
"host_fn2_slc1_bt_rx_new_packet_int_ena",
&format_args!("{}", self.host_fn2_slc1_bt_rx_new_packet_int_ena().bit()),
)
.finish()
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
core::fmt::Debug::fmt(&self.read(), f)
}
}
impl W {
#[doc = "Bit 0"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit0_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_W::new(self, 0)
}
#[doc = "Bit 1"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit1_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_W::new(self, 1)
}
#[doc = "Bit 2"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit2_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_W::new(self, 2)
}
#[doc = "Bit 3"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit3_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_W::new(self, 3)
}
#[doc = "Bit 4"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit4_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_W::new(self, 4)
}
#[doc = "Bit 5"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit5_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_W::new(self, 5)
}
#[doc = "Bit 6"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit6_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_W::new(self, 6)
}
#[doc = "Bit 7"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tohost_bit7_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_W::new(self, 7)
}
#[doc = "Bit 8"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_token0_1to0_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_W::new(self, 8)
}
#[doc = "Bit 9"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_token1_1to0_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_W::new(self, 9)
}
#[doc = "Bit 10"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_token0_0to1_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_W::new(self, 10)
}
#[doc = "Bit 11"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_token1_0to1_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_W::new(self, 11)
}
#[doc = "Bit 12"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1host_rx_sof_int_ena(
&mut self,
) -> HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_W::new(self, 12)
}
#[doc = "Bit 13"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1host_rx_eof_int_ena(
&mut self,
) -> HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_W::new(self, 13)
}
#[doc = "Bit 14"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1host_rx_start_int_ena(
&mut self,
) -> HOST_FN2_SLC1HOST_RX_START_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1HOST_RX_START_INT_ENA_W::new(self, 14)
}
#[doc = "Bit 15"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1host_tx_start_int_ena(
&mut self,
) -> HOST_FN2_SLC1HOST_TX_START_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1HOST_TX_START_INT_ENA_W::new(self, 15)
}
#[doc = "Bit 16"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_rx_udf_int_ena(
&mut self,
) -> HOST_FN2_SLC1_RX_UDF_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_RX_UDF_INT_ENA_W::new(self, 16)
}
#[doc = "Bit 17"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_tx_ovf_int_ena(
&mut self,
) -> HOST_FN2_SLC1_TX_OVF_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_TX_OVF_INT_ENA_W::new(self, 17)
}
#[doc = "Bit 18"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_rx_pf_valid_int_ena(
&mut self,
) -> HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_W::new(self, 18)
}
#[doc = "Bit 19"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_ext_bit0_int_ena(
&mut self,
) -> HOST_FN2_SLC1_EXT_BIT0_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_EXT_BIT0_INT_ENA_W::new(self, 19)
}
#[doc = "Bit 20"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_ext_bit1_int_ena(
&mut self,
) -> HOST_FN2_SLC1_EXT_BIT1_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_EXT_BIT1_INT_ENA_W::new(self, 20)
}
#[doc = "Bit 21"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_ext_bit2_int_ena(
&mut self,
) -> HOST_FN2_SLC1_EXT_BIT2_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_EXT_BIT2_INT_ENA_W::new(self, 21)
}
#[doc = "Bit 22"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_ext_bit3_int_ena(
&mut self,
) -> HOST_FN2_SLC1_EXT_BIT3_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_EXT_BIT3_INT_ENA_W::new(self, 22)
}
#[doc = "Bit 23"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_wifi_rx_new_packet_int_ena(
&mut self,
) -> HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W::new(self, 23)
}
#[doc = "Bit 24"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_host_rd_retry_int_ena(
&mut self,
) -> HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_W::new(self, 24)
}
#[doc = "Bit 25"]
#[inline(always)]
#[must_use]
pub fn host_fn2_slc1_bt_rx_new_packet_int_ena(
&mut self,
) -> HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_W<HOST_SLC1HOST_FUNC2_INT_ENA_SPEC> {
HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_W::new(self, 25)
}
#[doc = r" Writes raw bits to the register."]
#[doc = r""]
#[doc = r" # Safety"]
#[doc = r""]
#[doc = r" Passing incorrect value can cause undefined behaviour. See reference manual"]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.bits = bits;
self
}
}
#[doc = "\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`host_slc1host_func2_int_ena::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`host_slc1host_func2_int_ena::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct HOST_SLC1HOST_FUNC2_INT_ENA_SPEC;
impl crate::RegisterSpec for HOST_SLC1HOST_FUNC2_INT_ENA_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`host_slc1host_func2_int_ena::R`](R) reader structure"]
impl crate::Readable for HOST_SLC1HOST_FUNC2_INT_ENA_SPEC {}
#[doc = "`write(|w| ..)` method takes [`host_slc1host_func2_int_ena::W`](W) writer structure"]
impl crate::Writable for HOST_SLC1HOST_FUNC2_INT_ENA_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}
#[doc = "`reset()` method sets HOST_SLC1HOST_FUNC2_INT_ENA to value 0"]
impl crate::Resettable for HOST_SLC1HOST_FUNC2_INT_ENA_SPEC {
const RESET_VALUE: Self::Ux = 0;
}