Skip to content

Commit

Permalink
Merge pull request #17 from felipebalbi/hstall-w1c
Browse files Browse the repository at this point in the history
espi: MSTAT: HSTALL is also W1C
  • Loading branch information
felipebalbi authored Feb 11, 2025
2 parents 022e5f3 + f723dab commit f1f8594
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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

0 comments on commit f1f8594

Please sign in to comment.