spelling: fractional

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 18:54:35 -05:00
parent e479411f59
commit e7c5c587ae

View file

@ -138,7 +138,7 @@ void uart_set_baud_rate(UARTDevice *dev, uint32_t baud_rate) {
// We need to calculate the divider to get from the clock frequency down to the sampling // We need to calculate the divider to get from the clock frequency down to the sampling
// frequency (samples * baud_rate) and store it in USART_BBR as a fixed-point number with a // frequency (samples * baud_rate) and store it in USART_BBR as a fixed-point number with a
// franctional component equal to the number of samples per symbol. In other words, if OVER8=0, // fractional component equal to the number of samples per symbol. In other words, if OVER8=0,
// the fractional component will be 4 bits, and if OVER8=1, it will be 3 bits. // the fractional component will be 4 bits, and if OVER8=1, it will be 3 bits.
// The formula works out to: DIV = f_clk / (samples * BAUD) // The formula works out to: DIV = f_clk / (samples * BAUD)