MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / updating

Method updating

src/cmos.rs:196–203  ·  view source on GitHub ↗

Check if time is being updated

(&mut self)

Source from the content-addressed store, hash-verified

194
195 // Check if time is being updated
196 fn updating(&mut self) -> bool
197 {
198 unsafe
199 {
200 self.address.write(Reg::A as u8);
201 self.data.read().get_bit(7)
202 }
203 }
204
205
206 // Read registers

Callers 1

waitfor_updateMethod · 0.80

Calls 2

writeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected