-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e454e79
commit 05455cc
Showing
13 changed files
with
503 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#[doc = "Register `HW_STAT_FULL2` reader"] | ||
pub type R = crate::R<HW_STAT_FULL2_SPEC>; | ||
#[doc = "Register `HW_STAT_FULL2` writer"] | ||
pub type W = crate::W<HW_STAT_FULL2_SPEC>; | ||
#[cfg(feature = "impl-register-debug")] | ||
impl core::fmt::Debug for R { | ||
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { | ||
write!(f, "{}", self.bits()) | ||
} | ||
} | ||
impl W {} | ||
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_stat_full2::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_stat_full2::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] | ||
pub struct HW_STAT_FULL2_SPEC; | ||
impl crate::RegisterSpec for HW_STAT_FULL2_SPEC { | ||
type Ux = u32; | ||
} | ||
#[doc = "`read()` method returns [`hw_stat_full2::R`](R) reader structure"] | ||
impl crate::Readable for HW_STAT_FULL2_SPEC {} | ||
#[doc = "`write(|w| ..)` method takes [`hw_stat_full2::W`](W) writer structure"] | ||
impl crate::Writable for HW_STAT_FULL2_SPEC { | ||
type Safety = crate::Unsafe; | ||
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
} | ||
#[doc = "`reset()` method sets HW_STAT_FULL2 to value 0"] | ||
impl crate::Resettable for HW_STAT_FULL2_SPEC { | ||
const RESET_VALUE: u32 = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#[doc = "Register `HW_STAT_HOP_ERR` reader"] | ||
pub type R = crate::R<HW_STAT_HOP_ERR_SPEC>; | ||
#[doc = "Register `HW_STAT_HOP_ERR` writer"] | ||
pub type W = crate::W<HW_STAT_HOP_ERR_SPEC>; | ||
#[cfg(feature = "impl-register-debug")] | ||
impl core::fmt::Debug for R { | ||
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { | ||
write!(f, "{}", self.bits()) | ||
} | ||
} | ||
impl W {} | ||
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_stat_hop_err::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_stat_hop_err::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] | ||
pub struct HW_STAT_HOP_ERR_SPEC; | ||
impl crate::RegisterSpec for HW_STAT_HOP_ERR_SPEC { | ||
type Ux = u32; | ||
} | ||
#[doc = "`read()` method returns [`hw_stat_hop_err::R`](R) reader structure"] | ||
impl crate::Readable for HW_STAT_HOP_ERR_SPEC {} | ||
#[doc = "`write(|w| ..)` method takes [`hw_stat_hop_err::W`](W) writer structure"] | ||
impl crate::Writable for HW_STAT_HOP_ERR_SPEC { | ||
type Safety = crate::Unsafe; | ||
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
} | ||
#[doc = "`reset()` method sets HW_STAT_HOP_ERR to value 0"] | ||
impl crate::Resettable for HW_STAT_HOP_ERR_SPEC { | ||
const RESET_VALUE: u32 = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#[doc = "Register `HW_STAT_PANIC` reader"] | ||
pub type R = crate::R<HW_STAT_PANIC_SPEC>; | ||
#[doc = "Register `HW_STAT_PANIC` writer"] | ||
pub type W = crate::W<HW_STAT_PANIC_SPEC>; | ||
#[cfg(feature = "impl-register-debug")] | ||
impl core::fmt::Debug for R { | ||
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { | ||
write!(f, "{}", self.bits()) | ||
} | ||
} | ||
impl W {} | ||
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_stat_panic::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_stat_panic::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] | ||
pub struct HW_STAT_PANIC_SPEC; | ||
impl crate::RegisterSpec for HW_STAT_PANIC_SPEC { | ||
type Ux = u32; | ||
} | ||
#[doc = "`read()` method returns [`hw_stat_panic::R`](R) reader structure"] | ||
impl crate::Readable for HW_STAT_PANIC_SPEC {} | ||
#[doc = "`write(|w| ..)` method takes [`hw_stat_panic::W`](W) writer structure"] | ||
impl crate::Writable for HW_STAT_PANIC_SPEC { | ||
type Safety = crate::Unsafe; | ||
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
} | ||
#[doc = "`reset()` method sets HW_STAT_PANIC to value 0"] | ||
impl crate::Resettable for HW_STAT_PANIC_SPEC { | ||
const RESET_VALUE: u32 = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#[doc = "Register `HW_STAT_RX_END` reader"] | ||
pub type R = crate::R<HW_STAT_RX_END_SPEC>; | ||
#[doc = "Register `HW_STAT_RX_END` writer"] | ||
pub type W = crate::W<HW_STAT_RX_END_SPEC>; | ||
#[cfg(feature = "impl-register-debug")] | ||
impl core::fmt::Debug for R { | ||
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { | ||
write!(f, "{}", self.bits()) | ||
} | ||
} | ||
impl W {} | ||
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_stat_rx_end::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_stat_rx_end::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] | ||
pub struct HW_STAT_RX_END_SPEC; | ||
impl crate::RegisterSpec for HW_STAT_RX_END_SPEC { | ||
type Ux = u32; | ||
} | ||
#[doc = "`read()` method returns [`hw_stat_rx_end::R`](R) reader structure"] | ||
impl crate::Readable for HW_STAT_RX_END_SPEC {} | ||
#[doc = "`write(|w| ..)` method takes [`hw_stat_rx_end::W`](W) writer structure"] | ||
impl crate::Writable for HW_STAT_RX_END_SPEC { | ||
type Safety = crate::Unsafe; | ||
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
} | ||
#[doc = "`reset()` method sets HW_STAT_RX_END to value 0"] | ||
impl crate::Resettable for HW_STAT_RX_END_SPEC { | ||
const RESET_VALUE: u32 = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#[doc = "Register `HW_STAT_RX_SUCCESS` reader"] | ||
pub type R = crate::R<HW_STAT_RX_SUCCESS_SPEC>; | ||
#[doc = "Register `HW_STAT_RX_SUCCESS` writer"] | ||
pub type W = crate::W<HW_STAT_RX_SUCCESS_SPEC>; | ||
#[cfg(feature = "impl-register-debug")] | ||
impl core::fmt::Debug for R { | ||
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { | ||
write!(f, "{}", self.bits()) | ||
} | ||
} | ||
impl W {} | ||
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_stat_rx_success::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_stat_rx_success::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] | ||
pub struct HW_STAT_RX_SUCCESS_SPEC; | ||
impl crate::RegisterSpec for HW_STAT_RX_SUCCESS_SPEC { | ||
type Ux = u32; | ||
} | ||
#[doc = "`read()` method returns [`hw_stat_rx_success::R`](R) reader structure"] | ||
impl crate::Readable for HW_STAT_RX_SUCCESS_SPEC {} | ||
#[doc = "`write(|w| ..)` method takes [`hw_stat_rx_success::W`](W) writer structure"] | ||
impl crate::Writable for HW_STAT_RX_SUCCESS_SPEC { | ||
type Safety = crate::Unsafe; | ||
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
} | ||
#[doc = "`reset()` method sets HW_STAT_RX_SUCCESS to value 0"] | ||
impl crate::Resettable for HW_STAT_RX_SUCCESS_SPEC { | ||
const RESET_VALUE: u32 = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#[doc = "Register `HW_STAT_TRCTS` reader"] | ||
pub type R = crate::R<HW_STAT_TRCTS_SPEC>; | ||
#[doc = "Register `HW_STAT_TRCTS` writer"] | ||
pub type W = crate::W<HW_STAT_TRCTS_SPEC>; | ||
#[cfg(feature = "impl-register-debug")] | ||
impl core::fmt::Debug for R { | ||
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { | ||
write!(f, "{}", self.bits()) | ||
} | ||
} | ||
impl W {} | ||
#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_stat_trcts::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_stat_trcts::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] | ||
pub struct HW_STAT_TRCTS_SPEC; | ||
impl crate::RegisterSpec for HW_STAT_TRCTS_SPEC { | ||
type Ux = u32; | ||
} | ||
#[doc = "`read()` method returns [`hw_stat_trcts::R`](R) reader structure"] | ||
impl crate::Readable for HW_STAT_TRCTS_SPEC {} | ||
#[doc = "`write(|w| ..)` method takes [`hw_stat_trcts::W`](W) writer structure"] | ||
impl crate::Writable for HW_STAT_TRCTS_SPEC { | ||
type Safety = crate::Unsafe; | ||
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; | ||
} | ||
#[doc = "`reset()` method sets HW_STAT_TRCTS to value 0"] | ||
impl crate::Resettable for HW_STAT_TRCTS_SPEC { | ||
const RESET_VALUE: u32 = 0; | ||
} |
Oops, something went wrong.