123456789101112131415161718192021222324252627282930 |
- //! Chapter 14. CPPC Extension (EID #0x43505043 "CPPC").
- /// Extension ID for CPPC Extension.
- #[doc(alias = "SBI_EXT_CPPC")]
- 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.
- #[doc(alias = "SBI_EXT_CPPC_PROBE")]
- pub const PROBE: usize = 0;
- /// Function ID to read CPPC register bits.
- ///
- /// Declared in §14.2.
- #[doc(alias = "SBI_EXT_CPPC_READ")]
- pub const READ: usize = 1;
- /// Function ID to read high bits of a CPPC register.
- ///
- /// Declared in §14.3.
- #[doc(alias = "SBI_EXT_CPPC_READ_HI")]
- pub const READ_HI: usize = 2;
- /// Function ID to write to a CPPC register.
- ///
- /// Declared in §14.4.
- #[doc(alias = "SBI_EXT_CPPC_WRITE")]
- pub const WRITE: usize = 3;
- }
|