FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Defines API types used by software UART features. More...
Classes | |
class | UART< board::ExternalInterruptPin, RX_, TX_ > |
class | UART< board::InterruptPin, RX_, TX_ > |
class | UARX< board::ExternalInterruptPin, RX_ > |
class | UARX< board::InterruptPin, RX_ > |
class | UATX |
Software-emulated serial transmitter API. More... | |
Typedefs | |
template<board::ExternalInterruptPin RX_> | |
using | UARX_EXT = UARX< board::ExternalInterruptPin, RX_ > |
Software-emulated serial receiver API. More... | |
template<board::InterruptPin RX_> | |
using | UARX_PCI = UARX< board::InterruptPin, RX_ > |
Software-emulated serial receiver API. More... | |
template<board::ExternalInterruptPin RX_, board::DigitalPin TX_> | |
using | UART_EXT = UART< board::ExternalInterruptPin, RX_, TX_ > |
Software-emulated serial receiver/transceiver API. More... | |
template<board::InterruptPin RX_, board::DigitalPin TX_> | |
using | UART_PCI = UART< board::InterruptPin, RX_, TX_ > |
Software-emulated serial receiver/transceiver API. More... | |
Defines API types used by software UART features.
This API is available to all MCU, even those that do not have hardware UART, hence even ATtiny MCU are supported. IMPORTANT! Note that software-emulated UART cannot be as fast as hardware UART, for that reason a maximum rate of 115'200bps is supported, preferrably with 2 stop bits (depending on the sending device, UART reception may lose bits if only one stop bit is used).
using serial::soft::UARX_EXT = typedef UARX<board::ExternalInterruptPin, RX_> |
Software-emulated serial receiver API.
For this API to be fully functional, you must register the right ISR in your program, through REGISTER_UART_INT_ISR()
.
RX_ | the board::ExternalInterruptPin which shall receive serial signal |
Definition at line 800 of file soft_uart.h.
using serial::soft::UARX_PCI = typedef UARX<board::InterruptPin, RX_> |
Software-emulated serial receiver API.
For this API to be fully functional, you must register the right ISR in your program, through REGISTER_UART_PCI_ISR()
.
RX_ | the board::InterruptPin which shall receive serial signal |
Definition at line 814 of file soft_uart.h.
using serial::soft::UART_EXT = typedef UART<board::ExternalInterruptPin, RX_, TX_> |
Software-emulated serial receiver/transceiver API.
For this API to be fully functional, you must register the right ISR in your program, through REGISTER_UART_INT_ISR()
. You must also register this class as a streams::ostreambuf
callback listener through REGISTER_OSTREAMBUF_LISTENERS()
.
RX_ | the board::ExternalInterruptPin which shall receive serial signal |
TX_ | the board::DigitalPin to which transmitted signal is sent |
Definition at line 833 of file soft_uart.h.
using serial::soft::UART_PCI = typedef UART<board::InterruptPin, RX_, TX_> |
Software-emulated serial receiver/transceiver API.
For this API to be fully functional, you must register the right ISR in your program, through REGISTER_UART_PCI_ISR()
. You must also register this class as a streams::ostreambuf
callback listener through REGISTER_OSTREAMBUF_LISTENERS()
.
RX_ | the board::InterruptPin which shall receive serial signal |
TX_ | the board::DigitalPin to which transmitted signal is sent |
Definition at line 852 of file soft_uart.h.