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 *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 header.
Definition in file uart.h.
int uart_receive | ( | serial_port | sp, | |
byte_t * | pbtRx, | |||
size_t * | pszRxLen | |||
) |