All checks were successful
Rust/va416xx-rs/pipeline/head This commit looks good
Monorepo for Rust support of VA416XX family of radiation hardened MCUs
19 lines
724 B
Rust
19 lines
724 B
Rust
#[doc = "Register `RXCOUNT` reader"]
|
|
pub type R = crate::R<RxcountSpec>;
|
|
impl core::fmt::Debug for R {
|
|
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
|
|
write!(f, "{}", self.bits())
|
|
}
|
|
}
|
|
#[doc = "RX Count Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rxcount::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
|
|
pub struct RxcountSpec;
|
|
impl crate::RegisterSpec for RxcountSpec {
|
|
type Ux = u32;
|
|
}
|
|
#[doc = "`read()` method returns [`rxcount::R`](R) reader structure"]
|
|
impl crate::Readable for RxcountSpec {}
|
|
#[doc = "`reset()` method sets RXCOUNT to value 0"]
|
|
impl crate::Resettable for RxcountSpec {
|
|
const RESET_VALUE: u32 = 0;
|
|
}
|