|
|
|
@ -171,6 +171,8 @@
|
|
|
|
|
* \param[in] BaudRate Serial baud rate, in bits per second.
|
|
|
|
|
* \param[in] DoubleSpeed Enables double speed mode when set, halving the sample time to double the baud rate.
|
|
|
|
|
*/
|
|
|
|
|
static inline void Serial_Init(const uint32_t BaudRate,
|
|
|
|
|
const bool DoubleSpeed);
|
|
|
|
|
static inline void Serial_Init(const uint32_t BaudRate,
|
|
|
|
|
const bool DoubleSpeed)
|
|
|
|
|
{
|
|
|
|
@ -185,6 +187,7 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** Turns off the USART driver, disabling and returning used hardware to their default configuration. */
|
|
|
|
|
static inline void Serial_Disable(void);
|
|
|
|
|
static inline void Serial_Disable(void)
|
|
|
|
|
{
|
|
|
|
|
UCSR1B = 0;
|
|
|
|
|