Microchip® Advanced Software Framework

qs_rs485.c File Reference

SAM USART RS485 Quick Start.

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

#include <asf.h>
#include "conf_rs485.h"

Functions

static void cdc_uart_init (void)
 
void configure_usart (void)
 
void configure_usart_callbacks (void)
 
int main (void)
 
void print_menu (void)
 
void usart_read_callback (struct usart_module *const usart_module)
 Support and FAQ: visit Microchip Support More...
 
void usart_write_callback (struct usart_module *const usart_module)
 

Variables

struct usart_module cdc_uart_module
 
uint16_t rec_data
 
char rs485_mode = CONF_RS485_MODE
 
struct usart_module rs485_module
 
uint16_t tx_data
 

void configure_usart ( void  )
void configure_usart_callbacks ( void  )
void print_menu ( void  )

References rs485_mode.

Referenced by main().

void usart_read_callback ( struct usart_module *const  usart_module)

Support and FAQ: visit Microchip Support

void usart_write_callback ( struct usart_module *const  usart_module)

struct usart_module cdc_uart_module
uint16_t rec_data

Referenced by main().

char rs485_mode = CONF_RS485_MODE

Referenced by main(), and print_menu().

struct usart_module rs485_module

Referenced by main().