|
libnfc 1.4.2
|
UART driver header. More...
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <nfc/nfc-types.h>#include <termios.h>#include <sys/ioctl.h>#include <unistd.h>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <limits.h>#include <sys/time.h>Go to the source code of this file.
Functions | |
| int | uart_receive (serial_port sp, byte_t *pbtRx, size_t *pszRx) |
| Receive data from UART and copy data to pbtRx. | |
| int | uart_send (serial_port sp, const byte_t *pbtTx, const size_t szTx) |
| Send pbtTx content to UART. | |
UART driver header.
Definition in file uart.h.
| int uart_receive | ( | serial_port | sp, |
| byte_t * | pbtRx, | ||
| size_t * | pszRx | ||
| ) |
Receive data from UART and copy data to pbtRx.
Definition at line 212 of file uart_posix.c.
| int uart_send | ( | serial_port | sp, |
| const byte_t * | pbtTx, | ||
| const size_t | szTx | ||
| ) |
Send pbtTx content to UART.
Definition at line 279 of file uart_posix.c.
1.7.4