16.6.4.9 Function usart_get_config_defaults()

Initializes the device to predefined defaults.

void usart_get_config_defaults( struct usart_config *const config)

Initialize the USART device to predefined defaults:
  • 8-bit asynchronous USART

  • No parity

  • One stop bit

  • 9600 baud

  • Transmitter enabled

  • Receiver enabled

  • GCLK generator 0 as clock source

  • Default pin configuration

The configuration struct will be updated with the default configuration.

Table 16-37. Parameters
Data directionParameter nameDescription

[in, out]

config

Pointer to configuration struct