Microchip® Advanced Software Framework

conf_sio2host.h File Reference

Serial Input & Output configuration.

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

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   156
 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   9600
 Baudrate setting. More...
 
#define USART_HOST_RX_ISR_ENABLE()
 

#define HOST_SERCOM_MUX_SETTING   EDBG_CDC_SERCOM_MUX_SETTING

Referenced by sio2host_init().

#define HOST_SERCOM_PINMUX_PAD0   EDBG_CDC_SERCOM_PINMUX_PAD0

Referenced by sio2host_init().

#define HOST_SERCOM_PINMUX_PAD1   EDBG_CDC_SERCOM_PINMUX_PAD1

Referenced by sio2host_init().

#define HOST_SERCOM_PINMUX_PAD2   EDBG_CDC_SERCOM_PINMUX_PAD2

Referenced by sio2host_init().

#define HOST_SERCOM_PINMUX_PAD3   EDBG_CDC_SERCOM_PINMUX_PAD3

Referenced by sio2host_init().

#define SERIAL_RX_BUF_SIZE_HOST   156

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.

Referenced by sio2host_rx(), and USART_HOST_ISR_VECT().

#define USART_HOST   EDBG_CDC_MODULE
#define USART_HOST_BAUDRATE   9600

Baudrate setting.

Referenced by sio2host_init().

#define USART_HOST_RX_ISR_ENABLE ( )
Value:
USART_HOST->USART.INTENSET.reg = SERCOM_USART_INTFLAG_RXC; \
system_interrupt_enable(SYSTEM_INTERRUPT_MODULE_SERCOM3);
void USART_HOST_ISR_VECT(uint8_t instance)
Definition: sio2host.c:236
#define USART_HOST
Definition: conf_sio2host.h:40
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

Referenced by sio2host_init().