Microchip® Advanced Software Framework

conf_uart_serial.h File Reference

SAME70 USART Serial Configuration.

Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.

Macros

#define SERIAL_RX_BUF_SIZE_HOST   256
 
#define USART_HOST   CONSOLE_UART
 UART Interface. More...
 
#define USART_HOST_BAUDRATE   115200
 Baudrate setting. More...
 
#define USART_HOST_CHAR_LENGTH   US_MR_CHRL_8_BIT
 Character length setting. More...
 
#define USART_HOST_IRQn   USART1_IRQn
 UART Host IRQ Number. More...
 
#define USART_HOST_ISR_VECT()   ISR(USART1_Handler)
 Configuration for console uart IRQ handler. More...
 
#define USART_HOST_PARITY   US_MR_PAR_NO
 Parity setting. More...
 
#define USART_HOST_RX_ISR_DISABLE()
 
#define USART_HOST_RX_ISR_ENABLE()
 
#define USART_HOST_STOP_BITS   US_MR_NBSTOP_1_BIT
 Stop bits setting. More...
 

#define SERIAL_RX_BUF_SIZE_HOST   256
#define USART_HOST   CONSOLE_UART
#define USART_HOST_BAUDRATE   115200

Baudrate setting.

#define USART_HOST_CHAR_LENGTH   US_MR_CHRL_8_BIT

Character length setting.

#define USART_HOST_IRQn   USART1_IRQn

UART Host IRQ Number.

#define USART_HOST_ISR_VECT ( )    ISR(USART1_Handler)

Configuration for console uart IRQ handler.

#define USART_HOST_PARITY   US_MR_PAR_NO

Parity setting.

#define USART_HOST_RX_ISR_DISABLE ( )
Value:
do {\
NVIC_DisableIRQ(USART_HOST_IRQn);\
} while (0)
void usart_disable_interrupt(Usart *p_usart, uint32_t ul_sources)
Disable USART interrupts.
Definition: usart.c:1480
#define USART_HOST_IRQn
UART Host IRQ Number.
Definition: conf_uart_serial.h:50
#define USART_HOST
UART Interface.
Definition: conf_uart_serial.h:38

Referenced by buffered_uart_term().

#define USART_HOST_RX_ISR_ENABLE ( )
Value:
do {\
NVIC_EnableIRQ(USART_HOST_IRQn);\
} while (0)
void usart_enable_interrupt(Usart *p_usart, uint32_t ul_sources)
Enable USART interrupts.
Definition: usart.c:1469
#define USART_HOST_IRQn
UART Host IRQ Number.
Definition: conf_uart_serial.h:50
#define USART_HOST
UART Interface.
Definition: conf_uart_serial.h:38

Referenced by buffered_uart_init().

#define USART_HOST_STOP_BITS   US_MR_NBSTOP_1_BIT

Stop bits setting.