MCPcopy Create free account
hub / github.com/diondokter/device-driver / new_zero

Method new_zero

tests/cases/basic_command/basic_command.rs:115–117  ·  view source on GitHub ↗

Create a new instance, loaded with all zeroes

()

Source from the content-addressed store, hash-verified

113 }
114 /// Create a new instance, loaded with all zeroes
115 pub const fn new_zero() -> Self {
116 Self { bits: [0; 3] }
117 }
118 ///Read the `value` field of the register.
119 ///
120 pub fn value(&self) -> u32 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected