UART driver. More...
#include "uart.h"#include <nfc/nfc.h>#include <nfc/nfc-messages.h>#include <sys/select.h>#include <termios.h>Go to the source code of this file.
Functions | |
| int | uart_receive (serial_port sp, byte_t *pbtRx, size_t *pszRxLen) |
| Receive data from UART and copy data to pbtRx. | |
| int | uart_send (serial_port sp, const byte_t *pbtTx, const size_t szTxLen) |
| Send pbtTx content to UART. | |
UART driver.
This file contains 2 implementations of UART driver: first for POSIX systems, second for Windows system.
Definition in file uart.c.
| int uart_receive | ( | serial_port | sp, | |
| byte_t * | pbtRx, | |||
| size_t * | pszRxLen | |||
| ) |
1.7.1