Microchip® Advanced Software Framework

conf_sio2host.h File Reference

Serial Input & Output configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define SERIAL_RX_BUF_SIZE_HOST   156
 
#define USART_HOST   USART1
 USART Interface. More...
 
#define USART_HOST_BAUDRATE   9600
 Baudrate setting. More...
 
#define USART_HOST_CHAR_LENGTH   US_MR_CHRL_8_BIT
 Character length setting. More...
 
#define USART_HOST_IRQn   USART1_IRQn
 
#define USART_HOST_ISR_VECT()   ISR(USART1_Handler)
 
#define USART_HOST_PARITY   US_MR_PAR_NO
 Parity setting. More...
 
#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   156

Referenced by sio2host_rx(), and USART_HOST_ISR_VECT().

#define USART_HOST   USART1

USART Interface.

Referenced by sio2host_init(), sio2host_tx(), and USART_HOST_ISR_VECT().

#define USART_HOST_BAUDRATE   9600

Baudrate setting.

Referenced by sio2host_init().

#define USART_HOST_CHAR_LENGTH   US_MR_CHRL_8_BIT

Character length setting.

#define USART_HOST_IRQn   USART1_IRQn
#define USART_HOST_ISR_VECT ( )    ISR(USART1_Handler)
#define USART_HOST_PARITY   US_MR_PAR_NO

Parity setting.

#define USART_HOST_RX_ISR_ENABLE ( )
Value:
US_IER_RXRDY); \
NVIC_EnableIRQ(USART_HOST_IRQn);
void usart_enable_interrupt(Usart *p_usart, uint32_t ul_sources)
Enable USART interrupts.
Definition: usart.c:1469
#define USART_HOST_IRQn
Definition: conf_sio2host.h:50
#define USART_HOST
USART Interface.
Definition: conf_sio2host.h:38

Referenced by sio2host_init().

#define USART_HOST_STOP_BITS   US_MR_NBSTOP_1_BIT

Stop bits setting.