-picoUART 1.0.0 supports interrupt-driven receive using pin-change interrupts. Currently 1-wire shared Rx/Tx is not supported with PCINT-based receive. Full-duplex communication is not possible, so received characters will be lost if they arrive during transmit. For the interrupt driven receive, use purx_dataready() and pu_read(). Due to ISR overhead, the maximum reliable speed is 115.2kbps at 8Mhz. There is a single-character receive buffer, so data is likely to be lost if it is not read and processed quickly. A 16-byte receive FIFO is planned for v1.1.0.
0 commit comments