◆ CanWrite()
bool hal::usart::USART::CanWrite |
( |
| ) |
const |
|
inline |
- Returns
- true if there is at least one byte free in the TX buffer (i.e. some space to add a character to be sent)
◆ Peek()
uint8_t hal::usart::USART::Peek |
( |
| ) |
const |
|
inline |
- Returns
- current character from the UART without extracting it from the read buffer
◆ puts()
void hal::usart::USART::puts |
( |
const char * |
str | ) |
|
- Parameters
-
str | c string to be sent. NL is appended Works on RAM strings |
◆ puts_P()
void hal::usart::USART::puts_P |
( |
const char * |
str_P | ) |
|
- Parameters
-
str_P | c string to be sent. NL is appended Works on PROGMEM strings |
◆ Read()
uint8_t hal::usart::USART::Read |
( |
| ) |
|
- Returns
- current character from the UART and extracts it from the read buffer
◆ ReadEmpty()
bool hal::usart::USART::ReadEmpty |
( |
| ) |
const |
|
inline |
- Returns
- true if there are no bytes to be read
◆ Write()
void hal::usart::USART::Write |
( |
uint8_t |
c | ) |
|
- Parameters
-
c | character to be pushed into the TX buffer (to be sent) |
◆ WriteS()
void hal::usart::USART::WriteS |
( |
const char * |
str | ) |
|
- Parameters
-
str | pointer to a string in RAM to be pushed byte-by-byte into the TX buffer (to be sent) No NL character is appended |
◆ WriteS_P()
void hal::usart::USART::WriteS_P |
( |
const char * |
str_P | ) |
|
- Parameters
-
str_P | pointer to a string in PROGMEM to be pushed byte-by-byte into the TX buffer (to be sent) No NL character is appended |
The documentation for this class was generated from the following files: