LPC17xx UART interface definitions.
More...
#include "string.h"
#include "stdio.h"
Go to the source code of this file.
LPC17xx UART interface definitions.
- Author
- Henrique Silva henri.nosp@m.que..nosp@m.silva.nosp@m.@lnl.nosp@m.s.br, LNLS
◆ uart_config_data
#define uart_config_data |
( |
| id, |
|
|
| cfg ) |
Value:Chip_UART_ConfigData(
usart_cfg[
id].ptr, cfg )
const lpc_uart_cfg_t usart_cfg[4]
Definition lpc17_uart.c:30
◆ uart_int_disable
#define uart_int_disable |
( |
| id, |
|
|
| mask ) |
Value:Chip_UART_IntDisable(
usart_cfg[
id].ptr, mask )
◆ uart_int_enable
#define uart_int_enable |
( |
| id, |
|
|
| mask ) |
Value:Chip_UART_IntEnable(
usart_cfg[
id].ptr, mask )
◆ uart_read
#define uart_read |
( |
| id, |
|
|
| buf, |
|
|
| len ) |
Value:Chip_UART_ReadBlocking(
usart_cfg[
id].ptr, buf, len )
◆ uart_read_char
#define uart_read_char |
( |
| id | ) |
|
◆ uart_send
#define uart_send |
( |
| id, |
|
|
| msg, |
|
|
| len ) |
Value:Chip_UART_SendBlocking(
usart_cfg[
id].ptr, msg, len )
◆ uart_send_char
#define uart_send_char |
( |
| id, |
|
|
| ch ) |
◆ uart_set_baud
#define uart_set_baud |
( |
| id, |
|
|
| baud ) |
◆ uart_tx_disable
#define uart_tx_disable |
( |
| id | ) |
|
◆ uart_tx_enable
#define uart_tx_enable |
( |
| id | ) |
|
◆ lpc_uart_cfg_t
◆ uart_init()
void uart_init |
( |
uint8_t | id | ) |
|
◆ usart_cfg