Robin Mueller
5d1740efea
All checks were successful
Rust/va416xx-rs/pipeline/head This commit looks good
Monorepo for Rust support of VA416XX family of radiation hardened MCUs
28 lines
1.3 KiB
Rust
28 lines
1.3 KiB
Rust
#[doc = "Register `EDGE_STATUS` reader"]
|
|
pub type R = crate::R<EdgeStatusSpec>;
|
|
#[doc = "Register `EDGE_STATUS` writer"]
|
|
pub type W = crate::W<EdgeStatusSpec>;
|
|
impl core::fmt::Debug for R {
|
|
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
|
|
write!(f, "{}", self.bits())
|
|
}
|
|
}
|
|
impl W {}
|
|
#[doc = "Edge Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`edge_status::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 [`edge_status::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
|
|
pub struct EdgeStatusSpec;
|
|
impl crate::RegisterSpec for EdgeStatusSpec {
|
|
type Ux = u32;
|
|
}
|
|
#[doc = "`read()` method returns [`edge_status::R`](R) reader structure"]
|
|
impl crate::Readable for EdgeStatusSpec {}
|
|
#[doc = "`write(|w| ..)` method takes [`edge_status::W`](W) writer structure"]
|
|
impl crate::Writable for EdgeStatusSpec {
|
|
type Safety = crate::Unsafe;
|
|
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
|
|
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
|
|
}
|
|
#[doc = "`reset()` method sets EDGE_STATUS to value 0"]
|
|
impl crate::Resettable for EdgeStatusSpec {
|
|
const RESET_VALUE: u32 = 0;
|
|
}
|