defmt and debug feature for PAC

This commit is contained in:
2025-02-14 16:34:26 +01:00
parent 3fe3b833a6
commit 3b4dd9d5c3
72 changed files with 76 additions and 4 deletions

View File

@ -2,6 +2,7 @@
pub type R = crate::R<Clkdiv4Spec>;
#[doc = "Register `CLKDIV4` writer"]
pub type W = crate::W<Clkdiv4Spec>;
#[cfg(feature = "debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
write!(f, "{}", self.bits())