MCPcopy Create free account
hub / github.com/Infinity-OS/infinity / is_enable

Method is_enable

src/device/serial.rs:115–117  ·  view source on GitHub ↗

True is the console is enable. To a console be enable the init functions must be called first.

(&self)

Source from the content-addressed store, hash-verified

113 ///
114 /// To a console be enable the init functions must be called first.
115 pub fn is_enable(&self) -> bool {
116 self.enabled
117 }
118
119 fn line_sts(&self) -> LineStsFlags {
120 LineStsFlags::from_bits_truncate(unsafe { inb(self.line_sts) })

Callers 1

write_strMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected