- The workspace is now a monorepo without submodules. The HAL, PAC and BSP are integrated directly - Update all dependencies: embedded-hal v1 and RTIC v2
28 lines
1.3 KiB
Rust
28 lines
1.3 KiB
Rust
#[doc = "Register `SYND_DATA0` reader"]
|
|
pub type R = crate::R<SyndData0Spec>;
|
|
#[doc = "Register `SYND_DATA0` writer"]
|
|
pub type W = crate::W<SyndData0Spec>;
|
|
impl core::fmt::Debug for R {
|
|
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
|
|
write!(f, "{}", self.bits())
|
|
}
|
|
}
|
|
impl W {}
|
|
#[doc = "Synd Data 0 Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`synd_data0::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 [`synd_data0::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
|
|
pub struct SyndData0Spec;
|
|
impl crate::RegisterSpec for SyndData0Spec {
|
|
type Ux = u32;
|
|
}
|
|
#[doc = "`read()` method returns [`synd_data0::R`](R) reader structure"]
|
|
impl crate::Readable for SyndData0Spec {}
|
|
#[doc = "`write(|w| ..)` method takes [`synd_data0::W`](W) writer structure"]
|
|
impl crate::Writable for SyndData0Spec {
|
|
type Safety = crate::Unsafe;
|
|
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
|
|
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
|
|
}
|
|
#[doc = "`reset()` method sets SYND_DATA0 to value 0"]
|
|
impl crate::Resettable for SyndData0Spec {
|
|
const RESET_VALUE: u32 = 0;
|
|
}
|