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

espi: MSTAT: HSTALL is also W1C #17

Merged
merged 1 commit into from
Feb 11, 2025
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mimxrt633s-pac"
version = "0.2.2"
version = "0.2.3"
authors = [ "Felipe Balbi <[email protected]>" ]
edition = "2021"
license = "MIT"
Expand Down
3 changes: 3 additions & 0 deletions patch/espi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ ESPI:
GPIO:
modifiedWriteValues: oneToClear

Hstall:
modifiedWriteValues: oneToClear

# Split PortInt bits
_split:
PortInt:
Expand Down
4 changes: 2 additions & 2 deletions src/espi/mstat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub type WireChgW<'a, REG> = crate::BitWriter1C<'a, REG>;
#[doc = "Field `Hstall` reader - If 1, the Host is stalled on a read from or write to a port that has the StallRd or StallWr bit set in the PnCFG register"]
pub type HstallR = crate::BitReader;
#[doc = "Field `Hstall` writer - If 1, the Host is stalled on a read from or write to a port that has the StallRd or StallWr bit set in the PnCFG register"]
pub type HstallW<'a, REG> = crate::BitWriter<'a, REG>;
pub type HstallW<'a, REG> = crate::BitWriter1C<'a, REG>;
#[doc = "Field `CRCERR` reader - If 1, the CRC from the Master did not match the computed CRC"]
pub type CrcerrR = crate::BitReader;
#[doc = "Field `CRCERR` writer - If 1, the CRC from the Master did not match the computed CRC"]
Expand Down Expand Up @@ -244,7 +244,7 @@ impl crate::Readable for MstatSpec {}
impl crate::Writable for MstatSpec {
type Safety = crate::Unsafe;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x6f00;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x7f00;
}
#[doc = "`reset()` method sets MSTAT to value 0"]
impl crate::Resettable for MstatSpec {
Expand Down