MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / uart_output

Method uart_output

crates/virtual-machine/src/virtual_machine.rs:162–164  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

160 pub fn step(&mut self) -> Result<StepOutcome, VmError> {
161 match self.cpu.tick(&mut self.bus)? {
162 TickOutcome::Continue | TickOutcome::EcallSquash => {
163 if let Some(code) = self.bus.take_syscon_exit() {
164 return Ok(StepOutcome::Halted(code));
165 }
166 Ok(StepOutcome::Continue)
167 }

Calls 2

drain_outputMethod · 0.80
uart_mutMethod · 0.80