This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
//! Chapter 14. CPPC Extension (EID #0x43505043 "CPPC") | ||
/// Extension ID for CPPC Extension. | ||
pub const EID_CPPC: usize = crate::eid_from_str("CPPC") as _; | ||
pub use fid::*; | ||
|
||
/// Declared in §14. | ||
mod fid { | ||
/// Function ID to probe a CPPC register. | ||
/// | ||
/// Declared in §14.1. | ||
pub const PROBE: usize = 0; | ||
/// Function ID to read CPPC register bits. | ||
/// | ||
/// Declared in §14.2. | ||
pub const READ: usize = 1; | ||
/// Function ID to read high bits of a CPPC register. | ||
/// | ||
/// Declared in §14.3. | ||
pub const READ_HI: usize = 2; | ||
/// Function ID to write to a CPPC register. | ||
/// | ||
/// Declared in §14.4. | ||
pub const WRITE: usize = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters