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

Add constants for FC15 offsets in IOPCTL #19

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;