libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/sam/usart.h>
Go to the source code of this file.
Functions | |
void | usart_set_baudrate (uint32_t usart, uint32_t baud) |
Variables | |
uint32_t | pmc_mck_frequency |
Default peripheral clock frequency after reset. More... | |
void usart_set_baudrate | ( | uint32_t | usart, |
uint32_t | baud | ||
) |
Definition at line 24 of file usart_common_3.c.
References pmc_mck_frequency, and USART_BRGR.
|
extern |
Default peripheral clock frequency after reset.
Definition at line 24 of file pmc.c.
Referenced by pmc_clock_setup_in_rc_4mhz_out_84mhz(), pmc_clock_setup_in_xtal_12mhz_out_84mhz(), and usart_set_baudrate().