|
SAM4SD32 (SAM4S-EK2)
|
USART Serial driver functions. More...
#include "serial.h"Go to the source code of this file.
Functions | |
| status_code_t | usart_serial_read_packet (usart_if usart, uint8_t *data, size_t len) |
| Receive a sequence of bytes to a USART device. | |
| status_code_t | usart_serial_write_packet (usart_if usart, const uint8_t *data, size_t len) |
| Send a sequence of bytes to a USART device. | |
USART Serial driver functions.
Copyright (c) 2010-2018 Microchip Technology Inc. and its subsidiaries.
\cond ASF_LICENSE
Definition in file usart_serial.c.
| status_code_t usart_serial_read_packet | ( | usart_if | usart, |
| uint8_t * | data, | ||
| size_t | len ) |
Receive a sequence of bytes to a USART device.
| usart | Base address of the USART instance. |
| data | data buffer to write |
| len | Length of data |
Definition at line 62 of file usart_serial.c.
References usart_serial_getchar().
| status_code_t usart_serial_write_packet | ( | usart_if | usart, |
| const uint8_t * | data, | ||
| size_t | len ) |
Send a sequence of bytes to a USART device.
| usart | Base address of the USART instance. |
| data | data buffer to write |
| len | Length of data |
Definition at line 45 of file usart_serial.c.
References usart_serial_putchar().