Project 1  4×4 Keypad
Neff Site
Macros
Gateway

Constants for the USART-to-USB gateway. More...

Macros

#define USART0_RX_PIN_bm   PIN2_bm
 
#define USART0_TX_PIN_bm   PIN3_bm
 
#define USART1_RX_PIN_bm   PIN6_bm
 
#define USART1_TX_PIN_bm   PIN7_bm
 
#define USB_USART_PORT   PORTC
 
#define USB_USART_MODULE   USARTC0
 
#define USB_USART_RX_PIN_bm   USART0_RX_PIN_bm
 
#define USB_USART_TX_PIN_bm   USART0_TX_PIN_bm
 
#define USB_USART_RXC_vect   USARTC0_RXC_vect
 
#define USB_USART_DRE_vect   USARTC0_DRE_vect
 
#define USB_USART_BSEL   11
 
#define USB_USART_BSCALE   (-7)
 
#define USB_USART_CONFIG   (USART_CHSIZE_8BIT_gc | USART_PMODE_DISABLED_gc)
 
#define USB_USART_SPEED   115200
 

Detailed Description

Constants for the USART-to-USB gateway.

USARTC0 is connected with a USART-to-USB gateway. The configuration for the gateway is: 115200 8N1.

Macro Definition Documentation

◆ USART0_RX_PIN_bm

#define USART0_RX_PIN_bm   PIN2_bm

◆ USART0_TX_PIN_bm

#define USART0_TX_PIN_bm   PIN3_bm

◆ USART1_RX_PIN_bm

#define USART1_RX_PIN_bm   PIN6_bm

◆ USART1_TX_PIN_bm

#define USART1_TX_PIN_bm   PIN7_bm

◆ USB_USART_BSCALE

#define USB_USART_BSCALE   (-7)

◆ USB_USART_BSEL

#define USB_USART_BSEL   11

◆ USB_USART_CONFIG

#define USB_USART_CONFIG   (USART_CHSIZE_8BIT_gc | USART_PMODE_DISABLED_gc)

◆ USB_USART_DRE_vect

#define USB_USART_DRE_vect   USARTC0_DRE_vect

◆ USB_USART_MODULE

#define USB_USART_MODULE   USARTC0

◆ USB_USART_PORT

#define USB_USART_PORT   PORTC

◆ USB_USART_RX_PIN_bm

#define USB_USART_RX_PIN_bm   USART0_RX_PIN_bm

◆ USB_USART_RXC_vect

#define USB_USART_RXC_vect   USARTC0_RXC_vect

◆ USB_USART_SPEED

#define USB_USART_SPEED   115200

◆ USB_USART_TX_PIN_bm

#define USB_USART_TX_PIN_bm   USART0_TX_PIN_bm
Contact