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

Method read

src/vol.rs:81–89  ·  view source on GitHub ↗

Volatile read of contained value:

(&self)

Source from the content-addressed store, hash-verified

79{
80 // Volatile read of contained value:
81 pub fn read(&self) -> T
82 where
83 A: CanRead,
84 {
85 unsafe
86 {
87 ptr::read_volatile(&*self.reference)
88 }
89 }
90
91 // Volatile write, sets value to specified value:
92 pub fn write(&mut self, value: T)

Callers 11

updateMethod · 0.45
fmtMethod · 0.45
enable_intrMethod · 0.45
set_periodintr_rateMethod · 0.45
updatingMethod · 0.45
readregMethod · 0.45
notify_intrendMethod · 0.45
enablenmiMethod · 0.45
disablenmiMethod · 0.45
stackoverflowFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected