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

Method uart_receive

crates/virtual-machine/src/virtual_machine.rs:158–160  ·  view source on GitHub ↗
(&mut self, byte: u8)

Source from the content-addressed store, hash-verified

156 pub fn memory_latency_config(&self) -> MemoryLatencyConfig {
157 self.bus.memory_latency_config()
158 }
159
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() {

Callers 1

compile_and_run_kernelFunction · 0.80

Calls 2

receiveMethod · 0.80
uart_mutMethod · 0.80

Tested by

no test coverage detected