Skip to content

Commit

Permalink
cpu/sam0_common: uart: document frequency constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jul 28, 2020
1 parent e1f84de commit 003c25b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cpu/sam0_common/include/periph_cpu_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,16 @@ typedef enum {

/**
* @brief UART device configuration
*
* The frequency f() of the clock `gclk_src` must fulfill the condition
*
* 16 * baud < f(gclk_src) ≤ 2²⁰ * baud
*
* in Asynchronous Arithmetic mode and
*
* 16 * baud < f(gclk_src) ≤ 2¹⁷ * baud
*
* in Asynchronous Fractional mode
*/
typedef struct {
SercomUsart *dev; /**< pointer to the used UART device */
Expand Down

0 comments on commit 003c25b

Please sign in to comment.