Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: updating from newer svd2rust #81

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions src/can/clc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ impl crate::RegisterSpec for CLC_SPEC {
impl crate::Readable for CLC_SPEC {}
#[doc = "`write(|w| ..)` method takes [`clc::W`](W) writer structure"]
impl crate::Writable for CLC_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets CLC to value 0x03"]
impl crate::Resettable for CLC_SPEC {
const RESET_VALUE: Self::Ux = 0x03;
const RESET_VALUE: u32 = 0x03;
}
6 changes: 3 additions & 3 deletions src/can/fdr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ impl crate::RegisterSpec for FDR_SPEC {
impl crate::Readable for FDR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`fdr::W`](W) writer structure"]
impl crate::Writable for FDR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets FDR to value 0"]
impl crate::Resettable for FDR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
2 changes: 1 addition & 1 deletion src/can/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ impl crate::RegisterSpec for ID_SPEC {
impl crate::Readable for ID_SPEC {}
#[doc = "`reset()` method sets ID to value 0x002b_c000"]
impl crate::Resettable for ID_SPEC {
const RESET_VALUE: Self::Ux = 0x002b_c000;
const RESET_VALUE: u32 = 0x002b_c000;
}
2 changes: 1 addition & 1 deletion src/can/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ impl crate::Readable for LIST_SPEC {}
#[doc = "`reset()` method sets LIST[%s]
to value 0"]
impl crate::Resettable for LIST_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can/mcr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ impl crate::RegisterSpec for MCR_SPEC {
impl crate::Readable for MCR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`mcr::W`](W) writer structure"]
impl crate::Writable for MCR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MCR to value 0"]
impl crate::Resettable for MCR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can/mitr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ impl crate::RegisterSpec for MITR_SPEC {
}
#[doc = "`write(|w| ..)` method takes [`mitr::W`](W) writer structure"]
impl crate::Writable for MITR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MITR to value 0"]
impl crate::Resettable for MITR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
2 changes: 1 addition & 1 deletion src/can/msid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ impl crate::Readable for MSID_SPEC {}
#[doc = "`reset()` method sets MSID[%s]
to value 0x20"]
impl crate::Resettable for MSID_SPEC {
const RESET_VALUE: Self::Ux = 0x20;
const RESET_VALUE: u32 = 0x20;
}
6 changes: 3 additions & 3 deletions src/can/msimask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ impl crate::RegisterSpec for MSIMASK_SPEC {
impl crate::Readable for MSIMASK_SPEC {}
#[doc = "`write(|w| ..)` method takes [`msimask::W`](W) writer structure"]
impl crate::Writable for MSIMASK_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MSIMASK to value 0"]
impl crate::Resettable for MSIMASK_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can/mspnd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ impl crate::RegisterSpec for MSPND_SPEC {
impl crate::Readable for MSPND_SPEC {}
#[doc = "`write(|w| ..)` method takes [`mspnd::W`](W) writer structure"]
impl crate::Writable for MSPND_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MSPND[%s]
to value 0"]
impl crate::Resettable for MSPND_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can/panctr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ impl crate::RegisterSpec for PANCTR_SPEC {
impl crate::Readable for PANCTR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`panctr::W`](W) writer structure"]
impl crate::Writable for PANCTR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets PANCTR to value 0x0301"]
impl crate::Resettable for PANCTR_SPEC {
const RESET_VALUE: Self::Ux = 0x0301;
const RESET_VALUE: u32 = 0x0301;
}
6 changes: 3 additions & 3 deletions src/can_mo0/moamr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ impl crate::RegisterSpec for MOAMR_SPEC {
impl crate::Readable for MOAMR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`moamr::W`](W) writer structure"]
impl crate::Writable for MOAMR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MOAMR to value 0x3fff_ffff"]
impl crate::Resettable for MOAMR_SPEC {
const RESET_VALUE: Self::Ux = 0x3fff_ffff;
const RESET_VALUE: u32 = 0x3fff_ffff;
}
6 changes: 3 additions & 3 deletions src/can_mo0/moar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ impl crate::RegisterSpec for MOAR_SPEC {
impl crate::Readable for MOAR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`moar::W`](W) writer structure"]
impl crate::Writable for MOAR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MOAR to value 0"]
impl crate::Resettable for MOAR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_mo0/moctr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ impl crate::RegisterSpec for MOCTR_SPEC {
}
#[doc = "`write(|w| ..)` method takes [`moctr::W`](W) writer structure"]
impl crate::Writable for MOCTR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MOCTR to value 0"]
impl crate::Resettable for MOCTR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_mo0/modatah.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ impl crate::RegisterSpec for MODATAH_SPEC {
impl crate::Readable for MODATAH_SPEC {}
#[doc = "`write(|w| ..)` method takes [`modatah::W`](W) writer structure"]
impl crate::Writable for MODATAH_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MODATAH to value 0"]
impl crate::Resettable for MODATAH_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_mo0/modatal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ impl crate::RegisterSpec for MODATAL_SPEC {
impl crate::Readable for MODATAL_SPEC {}
#[doc = "`write(|w| ..)` method takes [`modatal::W`](W) writer structure"]
impl crate::Writable for MODATAL_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MODATAL to value 0"]
impl crate::Resettable for MODATAL_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_mo0/mofcr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,10 @@ impl crate::RegisterSpec for MOFCR_SPEC {
impl crate::Readable for MOFCR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`mofcr::W`](W) writer structure"]
impl crate::Writable for MOFCR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MOFCR to value 0"]
impl crate::Resettable for MOFCR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_mo0/mofgpr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ impl crate::RegisterSpec for MOFGPR_SPEC {
impl crate::Readable for MOFGPR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`mofgpr::W`](W) writer structure"]
impl crate::Writable for MOFGPR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MOFGPR to value 0"]
impl crate::Resettable for MOFGPR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_mo0/moipr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ impl crate::RegisterSpec for MOIPR_SPEC {
impl crate::Readable for MOIPR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`moipr::W`](W) writer structure"]
impl crate::Writable for MOIPR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets MOIPR to value 0"]
impl crate::Resettable for MOIPR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
2 changes: 1 addition & 1 deletion src/can_mo0/mostat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,5 +524,5 @@ impl crate::RegisterSpec for MOSTAT_SPEC {
impl crate::Readable for MOSTAT_SPEC {}
#[doc = "`reset()` method sets MOSTAT to value 0"]
impl crate::Resettable for MOSTAT_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_node0/nbtr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ impl crate::RegisterSpec for NBTR_SPEC {
impl crate::Readable for NBTR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`nbtr::W`](W) writer structure"]
impl crate::Writable for NBTR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NBTR to value 0"]
impl crate::Resettable for NBTR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_node0/ncr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@ impl crate::RegisterSpec for NCR_SPEC {
impl crate::Readable for NCR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`ncr::W`](W) writer structure"]
impl crate::Writable for NCR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NCR to value 0x01"]
impl crate::Resettable for NCR_SPEC {
const RESET_VALUE: Self::Ux = 0x01;
const RESET_VALUE: u32 = 0x01;
}
6 changes: 3 additions & 3 deletions src/can_node0/necnt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ impl crate::RegisterSpec for NECNT_SPEC {
impl crate::Readable for NECNT_SPEC {}
#[doc = "`write(|w| ..)` method takes [`necnt::W`](W) writer structure"]
impl crate::Writable for NECNT_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NECNT to value 0x0060_0000"]
impl crate::Resettable for NECNT_SPEC {
const RESET_VALUE: Self::Ux = 0x0060_0000;
const RESET_VALUE: u32 = 0x0060_0000;
}
6 changes: 3 additions & 3 deletions src/can_node0/nfcr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ impl crate::RegisterSpec for NFCR_SPEC {
impl crate::Readable for NFCR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`nfcr::W`](W) writer structure"]
impl crate::Writable for NFCR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NFCR to value 0"]
impl crate::Resettable for NFCR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_node0/nipr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ impl crate::RegisterSpec for NIPR_SPEC {
impl crate::Readable for NIPR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`nipr::W`](W) writer structure"]
impl crate::Writable for NIPR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NIPR to value 0"]
impl crate::Resettable for NIPR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_node0/npcr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ impl crate::RegisterSpec for NPCR_SPEC {
impl crate::Readable for NPCR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`npcr::W`](W) writer structure"]
impl crate::Writable for NPCR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NPCR to value 0"]
impl crate::Resettable for NPCR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/can_node0/nsr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ impl crate::RegisterSpec for NSR_SPEC {
impl crate::Readable for NSR_SPEC {}
#[doc = "`write(|w| ..)` method takes [`nsr::W`](W) writer structure"]
impl crate::Writable for NSR_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets NSR to value 0"]
impl crate::Resettable for NSR_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
2 changes: 1 addition & 1 deletion src/ccu40/ecrd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,5 @@ impl crate::RegisterSpec for ECRD_SPEC {
impl crate::Readable for ECRD_SPEC {}
#[doc = "`reset()` method sets ECRD to value 0"]
impl crate::Resettable for ECRD_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/ccu40/gcsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ impl crate::RegisterSpec for GCSC_SPEC {
}
#[doc = "`write(|w| ..)` method takes [`gcsc::W`](W) writer structure"]
impl crate::Writable for GCSC_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets GCSC to value 0"]
impl crate::Resettable for GCSC_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/ccu40/gcss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ impl crate::RegisterSpec for GCSS_SPEC {
}
#[doc = "`write(|w| ..)` method takes [`gcss::W`](W) writer structure"]
impl crate::Writable for GCSS_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets GCSS to value 0"]
impl crate::Resettable for GCSS_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
2 changes: 1 addition & 1 deletion src/ccu40/gcst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,5 +531,5 @@ impl crate::RegisterSpec for GCST_SPEC {
impl crate::Readable for GCST_SPEC {}
#[doc = "`reset()` method sets GCST to value 0"]
impl crate::Resettable for GCST_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
6 changes: 3 additions & 3 deletions src/ccu40/gctrl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,10 @@ impl crate::RegisterSpec for GCTRL_SPEC {
impl crate::Readable for GCTRL_SPEC {}
#[doc = "`write(|w| ..)` method takes [`gctrl::W`](W) writer structure"]
impl crate::Writable for GCTRL_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets GCTRL to value 0"]
impl crate::Resettable for GCTRL_SPEC {
const RESET_VALUE: Self::Ux = 0;
const RESET_VALUE: u32 = 0;
}
Loading