From 6bb722ddeed9f09c76a89de7321573c500c2888c Mon Sep 17 00:00:00 2001 From: Kevin Thomas Date: Sun, 5 Apr 2026 18:19:43 -0400 Subject: [PATCH] fix: correct 14.5 MHz to 12 MHz across all CBM projects - Update all docstrings from 14.5 MHz to 12 MHz XOSC (29 files) - Fix 0x05_servo_cbm divider: INT=14/FRAC=8 (14.5) -> INT=12/FRAC=0 (12) - Verified against RP2350 datasheet, Pico 2 board schematic, and SDK --- drivers/0x01_uart_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x01_uart_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x02_blink_cbm/Inc/rp2350_delay.h | 2 +- drivers/0x02_blink_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x02_blink_cbm/Src/rp2350_delay.c | 2 +- drivers/0x02_blink_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x03_button_cbm/Inc/rp2350_delay.h | 2 +- drivers/0x03_button_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x03_button_cbm/Src/rp2350_delay.c | 2 +- drivers/0x03_button_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x04_pwm_cbm/Inc/rp2350_delay.h | 2 +- drivers/0x04_pwm_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x04_pwm_cbm/Src/rp2350_delay.c | 2 +- drivers/0x04_pwm_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x05_servo_cbm/Inc/rp2350_delay.h | 2 +- drivers/0x05_servo_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x05_servo_cbm/Src/rp2350_delay.c | 2 +- drivers/0x05_servo_cbm/Src/rp2350_servo.c | 9 ++++----- drivers/0x05_servo_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x06_adc_cbm/Inc/rp2350_delay.h | 2 +- drivers/0x06_adc_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x06_adc_cbm/Src/rp2350_delay.c | 2 +- drivers/0x06_adc_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x07_i2c_cbm/Inc/rp2350_delay.h | 2 +- drivers/0x07_i2c_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x07_i2c_cbm/Src/rp2350_delay.c | 2 +- drivers/0x07_i2c_cbm/Src/rp2350_uart.c | 4 ++-- drivers/0x08_lcd1602_cbm/Inc/rp2350_uart.h | 2 +- drivers/0x08_lcd1602_cbm/Src/rp2350_uart.c | 4 ++-- 29 files changed, 40 insertions(+), 41 deletions(-) diff --git a/drivers/0x01_uart_cbm/Inc/rp2350_uart.h b/drivers/0x01_uart_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x01_uart_cbm/Inc/rp2350_uart.h +++ b/drivers/0x01_uart_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x01_uart_cbm/Src/rp2350_uart.c b/drivers/0x01_uart_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x01_uart_cbm/Src/rp2350_uart.c +++ b/drivers/0x01_uart_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x02_blink_cbm/Inc/rp2350_delay.h b/drivers/0x02_blink_cbm/Inc/rp2350_delay.h index fccb205..a7f6cb0 100644 --- a/drivers/0x02_blink_cbm/Inc/rp2350_delay.h +++ b/drivers/0x02_blink_cbm/Inc/rp2350_delay.h @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver header for RP2350. * - * Millisecond busy-wait delay calibrated for a 14.5 MHz clock. + * Millisecond busy-wait delay calibrated for a 12 MHz clock. * ****************************************************************************** * @attention diff --git a/drivers/0x02_blink_cbm/Inc/rp2350_uart.h b/drivers/0x02_blink_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x02_blink_cbm/Inc/rp2350_uart.h +++ b/drivers/0x02_blink_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x02_blink_cbm/Src/rp2350_delay.c b/drivers/0x02_blink_cbm/Src/rp2350_delay.c index 579c211..8788630 100644 --- a/drivers/0x02_blink_cbm/Src/rp2350_delay.c +++ b/drivers/0x02_blink_cbm/Src/rp2350_delay.c @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver implementation for RP2350. * - * Busy-wait millisecond delay calibrated for a 14.5 MHz clock + * Busy-wait millisecond delay calibrated for a 12 MHz clock * (3600 loop iterations per millisecond). * ****************************************************************************** diff --git a/drivers/0x02_blink_cbm/Src/rp2350_uart.c b/drivers/0x02_blink_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x02_blink_cbm/Src/rp2350_uart.c +++ b/drivers/0x02_blink_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x03_button_cbm/Inc/rp2350_delay.h b/drivers/0x03_button_cbm/Inc/rp2350_delay.h index fccb205..a7f6cb0 100644 --- a/drivers/0x03_button_cbm/Inc/rp2350_delay.h +++ b/drivers/0x03_button_cbm/Inc/rp2350_delay.h @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver header for RP2350. * - * Millisecond busy-wait delay calibrated for a 14.5 MHz clock. + * Millisecond busy-wait delay calibrated for a 12 MHz clock. * ****************************************************************************** * @attention diff --git a/drivers/0x03_button_cbm/Inc/rp2350_uart.h b/drivers/0x03_button_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x03_button_cbm/Inc/rp2350_uart.h +++ b/drivers/0x03_button_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x03_button_cbm/Src/rp2350_delay.c b/drivers/0x03_button_cbm/Src/rp2350_delay.c index 579c211..8788630 100644 --- a/drivers/0x03_button_cbm/Src/rp2350_delay.c +++ b/drivers/0x03_button_cbm/Src/rp2350_delay.c @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver implementation for RP2350. * - * Busy-wait millisecond delay calibrated for a 14.5 MHz clock + * Busy-wait millisecond delay calibrated for a 12 MHz clock * (3600 loop iterations per millisecond). * ****************************************************************************** diff --git a/drivers/0x03_button_cbm/Src/rp2350_uart.c b/drivers/0x03_button_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x03_button_cbm/Src/rp2350_uart.c +++ b/drivers/0x03_button_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x04_pwm_cbm/Inc/rp2350_delay.h b/drivers/0x04_pwm_cbm/Inc/rp2350_delay.h index fccb205..a7f6cb0 100644 --- a/drivers/0x04_pwm_cbm/Inc/rp2350_delay.h +++ b/drivers/0x04_pwm_cbm/Inc/rp2350_delay.h @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver header for RP2350. * - * Millisecond busy-wait delay calibrated for a 14.5 MHz clock. + * Millisecond busy-wait delay calibrated for a 12 MHz clock. * ****************************************************************************** * @attention diff --git a/drivers/0x04_pwm_cbm/Inc/rp2350_uart.h b/drivers/0x04_pwm_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x04_pwm_cbm/Inc/rp2350_uart.h +++ b/drivers/0x04_pwm_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x04_pwm_cbm/Src/rp2350_delay.c b/drivers/0x04_pwm_cbm/Src/rp2350_delay.c index 579c211..8788630 100644 --- a/drivers/0x04_pwm_cbm/Src/rp2350_delay.c +++ b/drivers/0x04_pwm_cbm/Src/rp2350_delay.c @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver implementation for RP2350. * - * Busy-wait millisecond delay calibrated for a 14.5 MHz clock + * Busy-wait millisecond delay calibrated for a 12 MHz clock * (3600 loop iterations per millisecond). * ****************************************************************************** diff --git a/drivers/0x04_pwm_cbm/Src/rp2350_uart.c b/drivers/0x04_pwm_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x04_pwm_cbm/Src/rp2350_uart.c +++ b/drivers/0x04_pwm_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x05_servo_cbm/Inc/rp2350_delay.h b/drivers/0x05_servo_cbm/Inc/rp2350_delay.h index fccb205..a7f6cb0 100644 --- a/drivers/0x05_servo_cbm/Inc/rp2350_delay.h +++ b/drivers/0x05_servo_cbm/Inc/rp2350_delay.h @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver header for RP2350. * - * Millisecond busy-wait delay calibrated for a 14.5 MHz clock. + * Millisecond busy-wait delay calibrated for a 12 MHz clock. * ****************************************************************************** * @attention diff --git a/drivers/0x05_servo_cbm/Inc/rp2350_uart.h b/drivers/0x05_servo_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x05_servo_cbm/Inc/rp2350_uart.h +++ b/drivers/0x05_servo_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x05_servo_cbm/Src/rp2350_delay.c b/drivers/0x05_servo_cbm/Src/rp2350_delay.c index 579c211..8788630 100644 --- a/drivers/0x05_servo_cbm/Src/rp2350_delay.c +++ b/drivers/0x05_servo_cbm/Src/rp2350_delay.c @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver implementation for RP2350. * - * Busy-wait millisecond delay calibrated for a 14.5 MHz clock + * Busy-wait millisecond delay calibrated for a 12 MHz clock * (3600 loop iterations per millisecond). * ****************************************************************************** diff --git a/drivers/0x05_servo_cbm/Src/rp2350_servo.c b/drivers/0x05_servo_cbm/Src/rp2350_servo.c index 7ac6d76..efaf0a9 100644 --- a/drivers/0x05_servo_cbm/Src/rp2350_servo.c +++ b/drivers/0x05_servo_cbm/Src/rp2350_servo.c @@ -6,8 +6,7 @@ * * Configures PWM slice 3, channel A on GPIO 6 at 50 Hz for * standard hobby servo control. Uses a wrap of 19999 and a - * fractional clock divider of 14.5 (14.5 MHz XOSC / 50 Hz / - * 20000 = 14.5). + * clock divider of 12 (12 MHz XOSC / 50 Hz / 20000 = 12). * ****************************************************************************** * @attention @@ -32,14 +31,14 @@ #define SERVO_SLICE 3U /** - * @brief Wrap value for 50 Hz at 14.5 MHz with divider 14.5. + * @brief Wrap value for 50 Hz at 12 MHz with divider 12. */ #define SERVO_WRAP 19999U /** - * @brief Clock divider register value for 14.5 (INT=14, FRAC=8). + * @brief Clock divider register value for 12 (INT=12, FRAC=0). */ -#define SERVO_DIV_VAL ((14U << PWM_DIV_INT_SHIFT) | 8U) +#define SERVO_DIV_VAL ((12U << PWM_DIV_INT_SHIFT) | 0U) /** * @brief Minimum pulse width in microseconds (0 degrees). diff --git a/drivers/0x05_servo_cbm/Src/rp2350_uart.c b/drivers/0x05_servo_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x05_servo_cbm/Src/rp2350_uart.c +++ b/drivers/0x05_servo_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x06_adc_cbm/Inc/rp2350_delay.h b/drivers/0x06_adc_cbm/Inc/rp2350_delay.h index fccb205..a7f6cb0 100644 --- a/drivers/0x06_adc_cbm/Inc/rp2350_delay.h +++ b/drivers/0x06_adc_cbm/Inc/rp2350_delay.h @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver header for RP2350. * - * Millisecond busy-wait delay calibrated for a 14.5 MHz clock. + * Millisecond busy-wait delay calibrated for a 12 MHz clock. * ****************************************************************************** * @attention diff --git a/drivers/0x06_adc_cbm/Inc/rp2350_uart.h b/drivers/0x06_adc_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x06_adc_cbm/Inc/rp2350_uart.h +++ b/drivers/0x06_adc_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x06_adc_cbm/Src/rp2350_delay.c b/drivers/0x06_adc_cbm/Src/rp2350_delay.c index 579c211..8788630 100644 --- a/drivers/0x06_adc_cbm/Src/rp2350_delay.c +++ b/drivers/0x06_adc_cbm/Src/rp2350_delay.c @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver implementation for RP2350. * - * Busy-wait millisecond delay calibrated for a 14.5 MHz clock + * Busy-wait millisecond delay calibrated for a 12 MHz clock * (3600 loop iterations per millisecond). * ****************************************************************************** diff --git a/drivers/0x06_adc_cbm/Src/rp2350_uart.c b/drivers/0x06_adc_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x06_adc_cbm/Src/rp2350_uart.c +++ b/drivers/0x06_adc_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x07_i2c_cbm/Inc/rp2350_delay.h b/drivers/0x07_i2c_cbm/Inc/rp2350_delay.h index fccb205..a7f6cb0 100644 --- a/drivers/0x07_i2c_cbm/Inc/rp2350_delay.h +++ b/drivers/0x07_i2c_cbm/Inc/rp2350_delay.h @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver header for RP2350. * - * Millisecond busy-wait delay calibrated for a 14.5 MHz clock. + * Millisecond busy-wait delay calibrated for a 12 MHz clock. * ****************************************************************************** * @attention diff --git a/drivers/0x07_i2c_cbm/Inc/rp2350_uart.h b/drivers/0x07_i2c_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x07_i2c_cbm/Inc/rp2350_uart.h +++ b/drivers/0x07_i2c_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x07_i2c_cbm/Src/rp2350_delay.c b/drivers/0x07_i2c_cbm/Src/rp2350_delay.c index 579c211..8788630 100644 --- a/drivers/0x07_i2c_cbm/Src/rp2350_delay.c +++ b/drivers/0x07_i2c_cbm/Src/rp2350_delay.c @@ -4,7 +4,7 @@ * @author Kevin Thomas * @brief Delay driver implementation for RP2350. * - * Busy-wait millisecond delay calibrated for a 14.5 MHz clock + * Busy-wait millisecond delay calibrated for a 12 MHz clock * (3600 loop iterations per millisecond). * ****************************************************************************** diff --git a/drivers/0x07_i2c_cbm/Src/rp2350_uart.c b/drivers/0x07_i2c_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x07_i2c_cbm/Src/rp2350_uart.c +++ b/drivers/0x07_i2c_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void) diff --git a/drivers/0x08_lcd1602_cbm/Inc/rp2350_uart.h b/drivers/0x08_lcd1602_cbm/Inc/rp2350_uart.h index b99425b..6e9df10 100644 --- a/drivers/0x08_lcd1602_cbm/Inc/rp2350_uart.h +++ b/drivers/0x08_lcd1602_cbm/Inc/rp2350_uart.h @@ -5,7 +5,7 @@ * @brief UART0 driver header for RP2350. * * Bare-metal UART0 driver supporting TX/RX on GPIO 0/1 at - * 115200 baud (14.5 MHz XOSC clock). + * 115200 baud (12 MHz XOSC clock). * ****************************************************************************** * @attention diff --git a/drivers/0x08_lcd1602_cbm/Src/rp2350_uart.c b/drivers/0x08_lcd1602_cbm/Src/rp2350_uart.c index 281ad52..44e67a9 100644 --- a/drivers/0x08_lcd1602_cbm/Src/rp2350_uart.c +++ b/drivers/0x08_lcd1602_cbm/Src/rp2350_uart.c @@ -5,7 +5,7 @@ * @brief UART0 driver implementation for RP2350. * * Configures UART0 on GPIO 0 (TX) and GPIO 1 (RX) at 115200 - * baud using the 14.5 MHz XOSC clock. + * baud using the 12 MHz XOSC clock. * ****************************************************************************** * @attention @@ -59,7 +59,7 @@ static void _uart_configure_pins(void) } /** - * @brief Set UART0 baud rate divisors for 115200 at 14.5 MHz. + * @brief Set UART0 baud rate divisors for 115200 at 12 MHz. * @retval None */ static void _uart_set_baud(void)