Expand description
Low-level console I/O for oveRTOS.
Provides single-character read/write access to the platform console
(typically a UART). For formatted output, use the [crate::log] function
or the log crate facade installed by crate::log::init.
For early-boot debug before log::init() runs, or for one-off
prints from contexts where the log framework’s mutexes aren’t
reachable, use the crate::printk! / crate::ove_print! macros
which write directly via ove_console_write with a 256-byte
stack-formatted buffer. Same shape as Zephyr’s printk!.
Functions§
- getchar
- Read a single character from the console.
- print_
fmt - Format arguments into a 256-byte stack buffer and write to the
console via
write_bytes. Used by thecrate::printk!andcrate::ove_print!macros; can also be called directly when a pre-builtcore::fmt::Argumentsis available. - putchar
- Write a single character to the console output.
- write_
bytes - Write a byte slice to the console output (no formatting, no
newline). Backs the
crate::printk!/crate::ove_print!macros and is safe to call from any thread or ISR.