added v2.0

This commit is contained in:
Michael Schröder
2023-01-11 11:13:09 +01:00
parent 2a5a64ca91
commit 971b323822
584 changed files with 159319 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
/**
* Library that provides character based access to UART_TX and UART_RX
*/
class UART {
/** initializes UART. UART_TX is memory mapped at addr.
* UART_RX is memory mapped at addr+1 */
function void init(int addr){
}
/** wait until UART_RX receives the next char and return the value. */
function int readChar() {
}
/** wait for UART_TX to be ready to send next byte and send c. */
function void writeChar(int c){
}
}