summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/usart.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add port interface header, api still to implementNao Pross2017-06-101-2/+2
| | | | | | fix for bug in usart.c, in function usart_write() that checked the trasmission_empty register at the wrong time causing it to overwrite the buffer.
* add serial interface and a few std library functionsNao Pross2017-06-021-0/+91
changes in usart: - new functions to setup the serial comunication settings such as baudrate, parity and stop bits - init function with most common values - transmit and receive functions each with a wrapper to send data blocks changes in libc: - new file stdio.c with basic implementation of putch, printf still a prototype - new file string.c with memcpy() function