MCPcopy Create free account
hub / github.com/FrameworkComputer/framework-system / working_state

Method working_state

framework_lib/src/csme.rs:246–248  ·  view source on GitHub ↗

Parse HFSTS1 to get working state (bits 0-3)

(&self)

Source from the content-addressed store, hash-verified

244impl HfStsRegisters {
245 /// Parse HFSTS1 to get working state (bits 0-3)
246 pub fn working_state(&self) -> MeWorkingState {
247 MeWorkingState::from((self.hfsts1 & 0x0F) as u8)
248 }
249
250 /// Parse HFSTS1 to get manufacturing mode (bit 4) - CSME11-15 only
251 pub fn manufacturing_mode(&self) -> bool {

Callers

nothing calls this directly

Calls 1

mei1Method · 0.80

Tested by

no test coverage detected