STC15W408AS library 0.12.0
|
Macros | |
#define | uart1_send_byte(byte) |
Sends a single byte over UART1. | |
#define | is_uart1_send_byte_complete() (TI) |
Checks if UART1 send byte operation is complete. | |
#define | uart1_receive_byte(byte) |
Receives a single byte over UART1. | |
#define | is_uart1_receive_byte_complete() (RI) |
Checks if UART1 receive byte operation is complete. | |
UART1 routines used in all UART1 modes.
This header file included in UART1 mode headers and do not need to be included explicitly.
#define is_uart1_receive_byte_complete | ( | ) | (RI) |
Checks if UART1 receive byte operation is complete.
#define is_uart1_send_byte_complete | ( | ) | (TI) |
Checks if UART1 send byte operation is complete.
#define uart1_receive_byte | ( | byte | ) |
Receives a single byte over UART1.
The function blocks until the byte is fully received.
byte | uint8_t the 8-bit data value to be received (0-255). |
#define uart1_send_byte | ( | byte | ) |
Sends a single byte over UART1.
Transmits the specified byte through UART1. The function blocks until the byte is fully transmitted.
byte | uint8_t byte to be sent |