|
Lamp-Da 0.1
A compact lantern project
|
Serial port HAL layer. More...
Functions | |
| void | init () |
| call once at program start | |
| bool | is_activated () |
| Return true if the serial port is active. | |
| bool | is_available () |
| Return true if a char is available to read. | |
| char | read () |
| Read a character (blocking) | |
| size_t | write (const char *const buffer, size_t bufferSize) |
| Write a char buffer to the serial port. | |
| uint16_t | mtu_size () |
| Return the usable MTU size. | |
Serial port HAL layer.
| size_t lampda::hal::serial::write | ( | const char *const | buffer, |
| size_t | bufferSize | ||
| ) |
Write a char buffer to the serial port.
| [in] | buffer | Buffer containing the text to display |
| [in] | bufferSize | Size of the buffer to display |