Microchip® Advanced Software Framework

qs_usart_basic_use.c File Reference

SAM USART Quick Start.

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

#include <asf.h>

Functions

void configure_usart (void)
 [module_inst] More...
 
int main (void)
 [setup] More...
 

Variables

struct usart_module usart_instance
 [module_inst] More...
 

void configure_usart ( void  )

[module_inst]

[callback_funcs]

[setup]

[setup_config]

[setup_config] [setup_config_defaults]

[setup_config_defaults]

[setup_change_config]

[setup_change_config]

[setup_set_config]

[setup_set_config]

[setup_enable]

[setup_enable]

References usart_config::baudrate, usart_config::mux_setting, usart_config::pinmux_pad0, usart_config::pinmux_pad1, usart_config::pinmux_pad2, usart_config::pinmux_pad3, STATUS_OK, usart_enable(), usart_get_config_defaults(), usart_init(), and usart_instance.

Referenced by main(), test_standby_mode_dynamic_power_sleepwalking(), and test_standby_mode_static_power_sleepwalking().

int main ( void  )

[setup]

[setup_init]

[setup_init]

[main] [main_send_string]

[main_send_string]

[main_rec_var]

[main_rec_var]

[main_loop]

[main_read]

[main_read] [main_write]

[main_write]

[main_loop] [main]

References configure_usart(), STATUS_OK, system_init(), usart_instance, usart_read_wait(), usart_write_buffer_wait(), and usart_write_wait().

struct usart_module usart_instance

[module_inst]