From cc64054569a7ba8727f49651d3f7b3eda8eaab16 Mon Sep 17 00:00:00 2001 From: Subha Komath Date: Fri, 21 Feb 2025 13:37:51 -0800 Subject: [PATCH] Add constants for FC15 offsets in IOPCTL --- src/iopctl/fc15_i2c_scl.rs | 2 ++ src/iopctl/fc15_i2c_sda.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/iopctl/fc15_i2c_scl.rs b/src/iopctl/fc15_i2c_scl.rs index e3b07fa..37fa1ce 100644 --- a/src/iopctl/fc15_i2c_scl.rs +++ b/src/iopctl/fc15_i2c_scl.rs @@ -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; diff --git a/src/iopctl/fc15_i2c_sda.rs b/src/iopctl/fc15_i2c_sda.rs index efeee0b..7cf9af9 100644 --- a/src/iopctl/fc15_i2c_sda.rs +++ b/src/iopctl/fc15_i2c_sda.rs @@ -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;