Microchip® Advanced Software Framework

conf_sio2host.h File Reference

Serial Input & Output configuration.

Copyright (c) 2020 Atmel Corporation. All rights reserved.

Macros

#define HOST_SERCOM_MUX_SETTING   EDBG_CDC_SERCOM_MUX_SETTING
 
#define HOST_SERCOM_PINMUX_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0
 
#define HOST_SERCOM_PINMUX_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1
 
#define HOST_SERCOM_PINMUX_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2
 
#define HOST_SERCOM_PINMUX_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3
 
#define SERIAL_RX_BUF_SIZE_HOST   128
 Since MCPS.DATA.indication requires max no of bytes of around 150 bytes than all other primitives,the Maximum Buffer size is kept as 156 bytes. More...
 
#define USART_HOST   EDBG_CDC_MODULE
 
#define USART_HOST_BAUDRATE   115200
 Baudrate setting. More...
 
#define USART_HOST_RX_ISR_ENABLE()
 

#define HOST_SERCOM_MUX_SETTING   EDBG_CDC_SERCOM_MUX_SETTING

Referenced by hwInitUsart0().

#define HOST_SERCOM_PINMUX_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0

Referenced by hwInitUsart0(), and usart_disable0().

#define HOST_SERCOM_PINMUX_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1

Referenced by hwInitUsart0(), and usart_disable0().

#define HOST_SERCOM_PINMUX_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2

Referenced by hwInitUsart0(), and usart_disable0().

#define HOST_SERCOM_PINMUX_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3

Referenced by hwInitUsart0(), and usart_disable0().

#define SERIAL_RX_BUF_SIZE_HOST   128

Since MCPS.DATA.indication requires max no of bytes of around 150 bytes than all other primitives,the Maximum Buffer size is kept as 156 bytes.

#define USART_HOST   EDBG_CDC_MODULE

Referenced by hwInitUsart0(), and usart_disable0().

#define USART_HOST_BAUDRATE   115200

Baudrate setting.

Referenced by hwInitUsart0().

#define USART_HOST_RX_ISR_ENABLE ( )
Value:
_sercom_set_handler(3, USART_HOST_ISR_VECT); \
USART_HOST->USART.INTENSET.reg = SERCOM_USART_INTFLAG_RXC; \
system_interrupt_enable(SYSTEM_INTERRUPT_MODULE_SERCOM3);
#define USART_HOST
Definition: conf_sio2host.h:49
static void system_interrupt_enable(const enum system_interrupt_vector vector)
Enable interrupt vector.
Definition: system_interrupt.h:252
void _sercom_set_handler(const uint8_t instance, const sercom_handler_t interrupt_handler)
Definition: sercom_interrupt.c:65