Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_uart_bdh Union Reference

_hw_uart_bdh Union Reference

HW_UART_BDH - UART Baud Rate Registers: High (RW) More...

#include <MK64F12_uart.h>


Detailed Description

HW_UART_BDH - UART Baud Rate Registers: High (RW)

Reset value: 0x00U

This register, along with the BDL register, controls the prescale divisor for UART baud rate generation. To update the 13-bit baud rate setting (SBR[12:0]), first write to BDH to buffer the high half of the new value and then write to BDL. The working value in BDH does not change until BDL is written. BDL is reset to a nonzero value, but after reset, the baud rate generator remains disabled until the first time the receiver or transmitter is enabled, that is, when C2[RE] or C2[TE] is set.

Definition at line 159 of file MK64F12_uart.h.