no-OS
Public Attributes | List of all members
no_os_baud_desc Struct Reference

Structure of an element from baud_rates_26MHz. The baud rate is calculated with the formula: Baudrate = (NO_OS_CLK_FREQ / (div_m + div_n/2048) * pow(2,osr+2) * div_c)). More...

#include <aducm3029_uart.h>

Public Attributes

uint32_t baud_rate
 
uint16_t div_n
 
uint8_t div_m
 
uint16_t div_c
 
uint8_t osr
 

Detailed Description

Structure of an element from baud_rates_26MHz. The baud rate is calculated with the formula: Baudrate = (NO_OS_CLK_FREQ / (div_m + div_n/2048) * pow(2,osr+2) * div_c)).

Member Data Documentation

◆ baud_rate

uint32_t no_os_baud_desc::baud_rate

Calculated baud rate from the following parameters

◆ div_c

uint16_t no_os_baud_desc::div_c

From 1 to 65535

◆ div_m

uint8_t no_os_baud_desc::div_m

From 1 to 3

◆ div_n

uint16_t no_os_baud_desc::div_n

From 0 to 2047

◆ osr

uint8_t no_os_baud_desc::osr

From 0 to 3


The documentation for this struct was generated from the following file: