sbi_spec/
dbcn.rs

1//! Chapter 12. Debug Console Extension (EID #0x4442434E "DBCN").
2
3/// Extension ID for Debug Console Extension.
4pub const EID_DBCN: usize = crate::eid_from_str("DBCN") as _;
5pub use fid::*;
6
7/// Declared in §12.
8mod fid {
9    /// Function ID to write bytes to the debug console from input memory.
10    ///
11    /// Declared in §12.1.
12    pub const CONSOLE_WRITE: usize = 0;
13    /// Function ID to read bytes from the debug console into an output memory.
14    ///
15    /// Declared in §12.2.
16    pub const CONSOLE_READ: usize = 1;
17    /// Function ID to write a single byte to the debug console.
18    ///
19    /// Declared in §12.3.
20    pub const CONSOLE_WRITE_BYTE: usize = 2;
21}