#[doc = "Register `GPIO_INT_STAT1` reader"]
pub struct R(crate::R<GPIO_INT_STAT1_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<GPIO_INT_STAT1_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<GPIO_INT_STAT1_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<GPIO_INT_STAT1_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `reg_gpio_0_interrupt_status` reader - Interrupt status register for GPIO0."]
pub type REG_GPIO_0_INTERRUPT_STATUS_R = crate::BitReader<GPIO0INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO0.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO0INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO0INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO0INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_0_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO0INTERRUPT_STATUS_A {
match self.bits {
false => GPIO0INTERRUPT_STATUS_A::RESET,
true => GPIO0INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO0INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO0INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_1_interrupt_status` reader - Interrupt status register for GPIO1."]
pub type REG_GPIO_1_INTERRUPT_STATUS_R = crate::BitReader<GPIO1INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO1.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO1INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO1INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO1INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_1_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO1INTERRUPT_STATUS_A {
match self.bits {
false => GPIO1INTERRUPT_STATUS_A::RESET,
true => GPIO1INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO1INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO1INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_2_interrupt_status` reader - Interrupt status register for GPIO2."]
pub type REG_GPIO_2_INTERRUPT_STATUS_R = crate::BitReader<GPIO2INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO2.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO2INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO2INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO2INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_2_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO2INTERRUPT_STATUS_A {
match self.bits {
false => GPIO2INTERRUPT_STATUS_A::RESET,
true => GPIO2INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO2INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO2INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_3_interrupt_status` reader - Interrupt status register for GPIO3."]
pub type REG_GPIO_3_INTERRUPT_STATUS_R = crate::BitReader<GPIO3INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO3.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO3INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO3INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO3INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_3_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO3INTERRUPT_STATUS_A {
match self.bits {
false => GPIO3INTERRUPT_STATUS_A::RESET,
true => GPIO3INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO3INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO3INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_4_interrupt_status` reader - Interrupt status register for GPIO4."]
pub type REG_GPIO_4_INTERRUPT_STATUS_R = crate::BitReader<GPIO4INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO4.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO4INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO4INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO4INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_4_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO4INTERRUPT_STATUS_A {
match self.bits {
false => GPIO4INTERRUPT_STATUS_A::RESET,
true => GPIO4INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO4INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO4INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_5_interrupt_status` reader - Interrupt status register for GPIO5."]
pub type REG_GPIO_5_INTERRUPT_STATUS_R = crate::BitReader<GPIO5INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO5.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO5INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO5INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO5INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_5_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO5INTERRUPT_STATUS_A {
match self.bits {
false => GPIO5INTERRUPT_STATUS_A::RESET,
true => GPIO5INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO5INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO5INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_6_interrupt_status` reader - Interrupt status register for GPIO6."]
pub type REG_GPIO_6_INTERRUPT_STATUS_R = crate::BitReader<GPIO6INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO6.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO6INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO6INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO6INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_6_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO6INTERRUPT_STATUS_A {
match self.bits {
false => GPIO6INTERRUPT_STATUS_A::RESET,
true => GPIO6INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO6INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO6INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_7_interrupt_status` reader - Interrupt status register for GPIO7."]
pub type REG_GPIO_7_INTERRUPT_STATUS_R = crate::BitReader<GPIO7INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO7.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO7INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO7INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO7INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_7_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO7INTERRUPT_STATUS_A {
match self.bits {
false => GPIO7INTERRUPT_STATUS_A::RESET,
true => GPIO7INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO7INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO7INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_8_interrupt_status` reader - Interrupt status register for GPIO8."]
pub type REG_GPIO_8_INTERRUPT_STATUS_R = crate::BitReader<GPIO8INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO8.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO8INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO8INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO8INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_8_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO8INTERRUPT_STATUS_A {
match self.bits {
false => GPIO8INTERRUPT_STATUS_A::RESET,
true => GPIO8INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO8INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO8INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_9_interrupt_status` reader - Interrupt status register for GPIO9."]
pub type REG_GPIO_9_INTERRUPT_STATUS_R = crate::BitReader<GPIO9INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO9.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO9INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO9INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO9INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_9_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO9INTERRUPT_STATUS_A {
match self.bits {
false => GPIO9INTERRUPT_STATUS_A::RESET,
true => GPIO9INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO9INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO9INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_10_interrupt_status` reader - Interrupt status register for GPIO10."]
pub type REG_GPIO_10_INTERRUPT_STATUS_R = crate::BitReader<GPIO10INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO10.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO10INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO10INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO10INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_10_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO10INTERRUPT_STATUS_A {
match self.bits {
false => GPIO10INTERRUPT_STATUS_A::RESET,
true => GPIO10INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO10INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO10INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_11_interrupt_status` reader - Interrupt status register for GPIO11."]
pub type REG_GPIO_11_INTERRUPT_STATUS_R = crate::BitReader<GPIO11INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO11.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO11INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO11INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO11INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_11_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO11INTERRUPT_STATUS_A {
match self.bits {
false => GPIO11INTERRUPT_STATUS_A::RESET,
true => GPIO11INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO11INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO11INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_12_interrupt_status` reader - Interrupt status register for GPIO12."]
pub type REG_GPIO_12_INTERRUPT_STATUS_R = crate::BitReader<GPIO12INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO12.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO12INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO12INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO12INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_12_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO12INTERRUPT_STATUS_A {
match self.bits {
false => GPIO12INTERRUPT_STATUS_A::RESET,
true => GPIO12INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO12INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO12INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_13_interrupt_status` reader - Interrupt status register for GPIO13."]
pub type REG_GPIO_13_INTERRUPT_STATUS_R = crate::BitReader<GPIO13INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO13.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO13INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO13INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO13INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_13_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO13INTERRUPT_STATUS_A {
match self.bits {
false => GPIO13INTERRUPT_STATUS_A::RESET,
true => GPIO13INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO13INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO13INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_14_interrupt_status` reader - Interrupt status register for GPIO14."]
pub type REG_GPIO_14_INTERRUPT_STATUS_R = crate::BitReader<GPIO14INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO14.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO14INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO14INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO14INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_14_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO14INTERRUPT_STATUS_A {
match self.bits {
false => GPIO14INTERRUPT_STATUS_A::RESET,
true => GPIO14INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO14INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO14INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_15_interrupt_status` reader - Interrupt status register for GPIO15."]
pub type REG_GPIO_15_INTERRUPT_STATUS_R = crate::BitReader<GPIO15INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO15.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO15INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO15INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO15INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_15_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO15INTERRUPT_STATUS_A {
match self.bits {
false => GPIO15INTERRUPT_STATUS_A::RESET,
true => GPIO15INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO15INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO15INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_16_interrupt_status` reader - Interrupt status register for GPIO16."]
pub type REG_GPIO_16_INTERRUPT_STATUS_R = crate::BitReader<GPIO16INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO16.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO16INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO16INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO16INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_16_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO16INTERRUPT_STATUS_A {
match self.bits {
false => GPIO16INTERRUPT_STATUS_A::RESET,
true => GPIO16INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO16INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO16INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_17_interrupt_status` reader - Interrupt status register for GPIO17."]
pub type REG_GPIO_17_INTERRUPT_STATUS_R = crate::BitReader<GPIO17INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO17.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO17INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO17INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO17INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_17_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO17INTERRUPT_STATUS_A {
match self.bits {
false => GPIO17INTERRUPT_STATUS_A::RESET,
true => GPIO17INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO17INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO17INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_18_interrupt_status` reader - Interrupt status register for GPIO18."]
pub type REG_GPIO_18_INTERRUPT_STATUS_R = crate::BitReader<GPIO18INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO18.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO18INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO18INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO18INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_18_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO18INTERRUPT_STATUS_A {
match self.bits {
false => GPIO18INTERRUPT_STATUS_A::RESET,
true => GPIO18INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO18INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO18INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_19_interrupt_status` reader - Interrupt status register for GPIO19."]
pub type REG_GPIO_19_INTERRUPT_STATUS_R = crate::BitReader<GPIO19INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO19.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO19INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO19INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO19INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_19_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO19INTERRUPT_STATUS_A {
match self.bits {
false => GPIO19INTERRUPT_STATUS_A::RESET,
true => GPIO19INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO19INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO19INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_20_interrupt_status` reader - Interrupt status register for GPIO20."]
pub type REG_GPIO_20_INTERRUPT_STATUS_R = crate::BitReader<GPIO20INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO20.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO20INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO20INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO20INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_20_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO20INTERRUPT_STATUS_A {
match self.bits {
false => GPIO20INTERRUPT_STATUS_A::RESET,
true => GPIO20INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO20INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO20INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_21_interrupt_status` reader - Interrupt status register for GPIO21."]
pub type REG_GPIO_21_INTERRUPT_STATUS_R = crate::BitReader<GPIO21INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO21.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO21INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO21INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO21INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_21_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO21INTERRUPT_STATUS_A {
match self.bits {
false => GPIO21INTERRUPT_STATUS_A::RESET,
true => GPIO21INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO21INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO21INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_22_interrupt_status` reader - Interrupt status register for GPIO22."]
pub type REG_GPIO_22_INTERRUPT_STATUS_R = crate::BitReader<GPIO22INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO22.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO22INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO22INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO22INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_22_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO22INTERRUPT_STATUS_A {
match self.bits {
false => GPIO22INTERRUPT_STATUS_A::RESET,
true => GPIO22INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO22INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO22INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_23_interrupt_status` reader - Interrupt status register for GPIO23."]
pub type REG_GPIO_23_INTERRUPT_STATUS_R = crate::BitReader<GPIO23INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO23.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO23INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO23INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO23INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_23_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO23INTERRUPT_STATUS_A {
match self.bits {
false => GPIO23INTERRUPT_STATUS_A::RESET,
true => GPIO23INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO23INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO23INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_24_interrupt_status` reader - Interrupt status register for GPIO24."]
pub type REG_GPIO_24_INTERRUPT_STATUS_R = crate::BitReader<GPIO24INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO24.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO24INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO24INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO24INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_24_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO24INTERRUPT_STATUS_A {
match self.bits {
false => GPIO24INTERRUPT_STATUS_A::RESET,
true => GPIO24INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO24INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO24INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_25_interrupt_status` reader - Interrupt status register for GPIO25."]
pub type REG_GPIO_25_INTERRUPT_STATUS_R = crate::BitReader<GPIO25INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO25.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO25INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO25INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO25INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_25_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO25INTERRUPT_STATUS_A {
match self.bits {
false => GPIO25INTERRUPT_STATUS_A::RESET,
true => GPIO25INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO25INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO25INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_26_interrupt_status` reader - Interrupt status register for GPIO26."]
pub type REG_GPIO_26_INTERRUPT_STATUS_R = crate::BitReader<GPIO26INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO26.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO26INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO26INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO26INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_26_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO26INTERRUPT_STATUS_A {
match self.bits {
false => GPIO26INTERRUPT_STATUS_A::RESET,
true => GPIO26INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO26INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO26INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_27_interrupt_status` reader - Interrupt status register for GPIO27."]
pub type REG_GPIO_27_INTERRUPT_STATUS_R = crate::BitReader<GPIO27INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO27.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO27INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO27INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO27INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_27_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO27INTERRUPT_STATUS_A {
match self.bits {
false => GPIO27INTERRUPT_STATUS_A::RESET,
true => GPIO27INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO27INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO27INTERRUPT_STATUS_A::SET
}
}
#[doc = "Field `reg_gpio_28_interrupt_status` reader - Interrupt status register for GPIO28."]
pub type REG_GPIO_28_INTERRUPT_STATUS_R = crate::BitReader<GPIO28INTERRUPT_STATUS_A>;
#[doc = "Interrupt status register for GPIO28.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum GPIO28INTERRUPT_STATUS_A {
#[doc = "0: `0`"]
RESET = 0,
#[doc = "1: `1`"]
SET = 1,
}
impl From<GPIO28INTERRUPT_STATUS_A> for bool {
#[inline(always)]
fn from(variant: GPIO28INTERRUPT_STATUS_A) -> Self {
variant as u8 != 0
}
}
impl REG_GPIO_28_INTERRUPT_STATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> GPIO28INTERRUPT_STATUS_A {
match self.bits {
false => GPIO28INTERRUPT_STATUS_A::RESET,
true => GPIO28INTERRUPT_STATUS_A::SET,
}
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == GPIO28INTERRUPT_STATUS_A::RESET
}
#[doc = "Checks if the value of the field is `SET`"]
#[inline(always)]
pub fn is_set(&self) -> bool {
*self == GPIO28INTERRUPT_STATUS_A::SET
}
}
impl R {
#[doc = "Bit 0 - Interrupt status register for GPIO0."]
#[inline(always)]
pub fn reg_gpio_0_interrupt_status(&self) -> REG_GPIO_0_INTERRUPT_STATUS_R {
REG_GPIO_0_INTERRUPT_STATUS_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - Interrupt status register for GPIO1."]
#[inline(always)]
pub fn reg_gpio_1_interrupt_status(&self) -> REG_GPIO_1_INTERRUPT_STATUS_R {
REG_GPIO_1_INTERRUPT_STATUS_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2 - Interrupt status register for GPIO2."]
#[inline(always)]
pub fn reg_gpio_2_interrupt_status(&self) -> REG_GPIO_2_INTERRUPT_STATUS_R {
REG_GPIO_2_INTERRUPT_STATUS_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3 - Interrupt status register for GPIO3."]
#[inline(always)]
pub fn reg_gpio_3_interrupt_status(&self) -> REG_GPIO_3_INTERRUPT_STATUS_R {
REG_GPIO_3_INTERRUPT_STATUS_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4 - Interrupt status register for GPIO4."]
#[inline(always)]
pub fn reg_gpio_4_interrupt_status(&self) -> REG_GPIO_4_INTERRUPT_STATUS_R {
REG_GPIO_4_INTERRUPT_STATUS_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - Interrupt status register for GPIO5."]
#[inline(always)]
pub fn reg_gpio_5_interrupt_status(&self) -> REG_GPIO_5_INTERRUPT_STATUS_R {
REG_GPIO_5_INTERRUPT_STATUS_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - Interrupt status register for GPIO6."]
#[inline(always)]
pub fn reg_gpio_6_interrupt_status(&self) -> REG_GPIO_6_INTERRUPT_STATUS_R {
REG_GPIO_6_INTERRUPT_STATUS_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - Interrupt status register for GPIO7."]
#[inline(always)]
pub fn reg_gpio_7_interrupt_status(&self) -> REG_GPIO_7_INTERRUPT_STATUS_R {
REG_GPIO_7_INTERRUPT_STATUS_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - Interrupt status register for GPIO8."]
#[inline(always)]
pub fn reg_gpio_8_interrupt_status(&self) -> REG_GPIO_8_INTERRUPT_STATUS_R {
REG_GPIO_8_INTERRUPT_STATUS_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - Interrupt status register for GPIO9."]
#[inline(always)]
pub fn reg_gpio_9_interrupt_status(&self) -> REG_GPIO_9_INTERRUPT_STATUS_R {
REG_GPIO_9_INTERRUPT_STATUS_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - Interrupt status register for GPIO10."]
#[inline(always)]
pub fn reg_gpio_10_interrupt_status(&self) -> REG_GPIO_10_INTERRUPT_STATUS_R {
REG_GPIO_10_INTERRUPT_STATUS_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11 - Interrupt status register for GPIO11."]
#[inline(always)]
pub fn reg_gpio_11_interrupt_status(&self) -> REG_GPIO_11_INTERRUPT_STATUS_R {
REG_GPIO_11_INTERRUPT_STATUS_R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12 - Interrupt status register for GPIO12."]
#[inline(always)]
pub fn reg_gpio_12_interrupt_status(&self) -> REG_GPIO_12_INTERRUPT_STATUS_R {
REG_GPIO_12_INTERRUPT_STATUS_R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 13 - Interrupt status register for GPIO13."]
#[inline(always)]
pub fn reg_gpio_13_interrupt_status(&self) -> REG_GPIO_13_INTERRUPT_STATUS_R {
REG_GPIO_13_INTERRUPT_STATUS_R::new(((self.bits >> 13) & 1) != 0)
}
#[doc = "Bit 14 - Interrupt status register for GPIO14."]
#[inline(always)]
pub fn reg_gpio_14_interrupt_status(&self) -> REG_GPIO_14_INTERRUPT_STATUS_R {
REG_GPIO_14_INTERRUPT_STATUS_R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15 - Interrupt status register for GPIO15."]
#[inline(always)]
pub fn reg_gpio_15_interrupt_status(&self) -> REG_GPIO_15_INTERRUPT_STATUS_R {
REG_GPIO_15_INTERRUPT_STATUS_R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16 - Interrupt status register for GPIO16."]
#[inline(always)]
pub fn reg_gpio_16_interrupt_status(&self) -> REG_GPIO_16_INTERRUPT_STATUS_R {
REG_GPIO_16_INTERRUPT_STATUS_R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17 - Interrupt status register for GPIO17."]
#[inline(always)]
pub fn reg_gpio_17_interrupt_status(&self) -> REG_GPIO_17_INTERRUPT_STATUS_R {
REG_GPIO_17_INTERRUPT_STATUS_R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18 - Interrupt status register for GPIO18."]
#[inline(always)]
pub fn reg_gpio_18_interrupt_status(&self) -> REG_GPIO_18_INTERRUPT_STATUS_R {
REG_GPIO_18_INTERRUPT_STATUS_R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19 - Interrupt status register for GPIO19."]
#[inline(always)]
pub fn reg_gpio_19_interrupt_status(&self) -> REG_GPIO_19_INTERRUPT_STATUS_R {
REG_GPIO_19_INTERRUPT_STATUS_R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20 - Interrupt status register for GPIO20."]
#[inline(always)]
pub fn reg_gpio_20_interrupt_status(&self) -> REG_GPIO_20_INTERRUPT_STATUS_R {
REG_GPIO_20_INTERRUPT_STATUS_R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 21 - Interrupt status register for GPIO21."]
#[inline(always)]
pub fn reg_gpio_21_interrupt_status(&self) -> REG_GPIO_21_INTERRUPT_STATUS_R {
REG_GPIO_21_INTERRUPT_STATUS_R::new(((self.bits >> 21) & 1) != 0)
}
#[doc = "Bit 22 - Interrupt status register for GPIO22."]
#[inline(always)]
pub fn reg_gpio_22_interrupt_status(&self) -> REG_GPIO_22_INTERRUPT_STATUS_R {
REG_GPIO_22_INTERRUPT_STATUS_R::new(((self.bits >> 22) & 1) != 0)
}
#[doc = "Bit 23 - Interrupt status register for GPIO23."]
#[inline(always)]
pub fn reg_gpio_23_interrupt_status(&self) -> REG_GPIO_23_INTERRUPT_STATUS_R {
REG_GPIO_23_INTERRUPT_STATUS_R::new(((self.bits >> 23) & 1) != 0)
}
#[doc = "Bit 24 - Interrupt status register for GPIO24."]
#[inline(always)]
pub fn reg_gpio_24_interrupt_status(&self) -> REG_GPIO_24_INTERRUPT_STATUS_R {
REG_GPIO_24_INTERRUPT_STATUS_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25 - Interrupt status register for GPIO25."]
#[inline(always)]
pub fn reg_gpio_25_interrupt_status(&self) -> REG_GPIO_25_INTERRUPT_STATUS_R {
REG_GPIO_25_INTERRUPT_STATUS_R::new(((self.bits >> 25) & 1) != 0)
}
#[doc = "Bit 26 - Interrupt status register for GPIO26."]
#[inline(always)]
pub fn reg_gpio_26_interrupt_status(&self) -> REG_GPIO_26_INTERRUPT_STATUS_R {
REG_GPIO_26_INTERRUPT_STATUS_R::new(((self.bits >> 26) & 1) != 0)
}
#[doc = "Bit 27 - Interrupt status register for GPIO27."]
#[inline(always)]
pub fn reg_gpio_27_interrupt_status(&self) -> REG_GPIO_27_INTERRUPT_STATUS_R {
REG_GPIO_27_INTERRUPT_STATUS_R::new(((self.bits >> 27) & 1) != 0)
}
#[doc = "Bit 28 - Interrupt status register for GPIO28."]
#[inline(always)]
pub fn reg_gpio_28_interrupt_status(&self) -> REG_GPIO_28_INTERRUPT_STATUS_R {
REG_GPIO_28_INTERRUPT_STATUS_R::new(((self.bits >> 28) & 1) != 0)
}
}
#[doc = "Interrupt status register. The SDK limits the GPIO pins to < 32 although the docs do not mention more than 28 GPIO pins.\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 [gpio_int_stat1](index.html) module"]
pub struct GPIO_INT_STAT1_SPEC;
impl crate::RegisterSpec for GPIO_INT_STAT1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [gpio_int_stat1::R](R) reader structure"]
impl crate::Readable for GPIO_INT_STAT1_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets GPIO_INT_STAT1 to value 0"]
impl crate::Resettable for GPIO_INT_STAT1_SPEC {
const RESET_VALUE: Self::Ux = 0;
}