#[doc = "Register `GPIO_STATUS0` reader"]
pub type R = crate::R<GPIO_STATUS0_SPEC>;
#[doc = "Field `GPIO_SDIO_INT0` reader - *******Description***********"]
pub type GPIO_SDIO_INT0_R = crate::FieldReader<u32>;
impl R {
#[doc = "Bits 0:31 - *******Description***********"]
#[inline(always)]
pub fn gpio_sdio_int0(&self) -> GPIO_SDIO_INT0_R {
GPIO_SDIO_INT0_R::new(self.bits)
}
}
#[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("GPIO_STATUS0")
.field(
"gpio_sdio_int0",
&format_args!("{}", self.gpio_sdio_int0().bits()),
)
.finish()
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<GPIO_STATUS0_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
core::fmt::Debug::fmt(&self.read(), f)
}
}
#[doc = "*******Description***********\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`gpio_status0::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct GPIO_STATUS0_SPEC;
impl crate::RegisterSpec for GPIO_STATUS0_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`gpio_status0::R`](R) reader structure"]
impl crate::Readable for GPIO_STATUS0_SPEC {}
#[doc = "`reset()` method sets GPIO_STATUS0 to value 0"]
impl crate::Resettable for GPIO_STATUS0_SPEC {
const RESET_VALUE: u32 = 0;
}