Skip to content

Commit

Permalink
Add constants for FC15 offsets in IOPCTL
Browse files Browse the repository at this point in the history
  • Loading branch information
sukomath committed Feb 21, 2025
1 parent 211aac0 commit cc64054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iopctl/fc15_i2c_scl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,3 +804,5 @@ impl crate::Writable for Fc15I2cSclSpec {
impl crate::Resettable for Fc15I2cSclSpec {
const RESET_VALUE: u32 = 0;
}
#[doc = "Offset for FC15_I2C_SCL in IOPCTL"]
pub const FC15_I2C_SCL_IOPCTL_OFFSET: u32 = 0x400;
2 changes: 2 additions & 0 deletions src/iopctl/fc15_i2c_sda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,3 +804,5 @@ impl crate::Writable for Fc15I2cSdaSpec {
impl crate::Resettable for Fc15I2cSdaSpec {
const RESET_VALUE: u32 = 0;
}
#[doc = "Offset for FC15_I2C_SDA in IOPCTL"]
pub const FC15_I2C_SDA_IOPCTL_OFFSET: u32 = 0x404;

0 comments on commit cc64054

Please sign in to comment.