#include "Serial.h"
Functions | |
void | Serial_Init (const uint32_t BaudRate, const bool DoubleSpeed) |
void | Serial_TxString_P (const char *FlashStringPtr) |
void | Serial_TxString (const char *StringPtr) |
void Serial_Init | ( | const uint32_t | BaudRate, | |
const bool | DoubleSpeed | |||
) |
Initializes the USART, ready for serial data transmission and reception.
BaudRate | Baud rate to configure the USART to | |
DoubleSpeed | Enables double speed mode when set, halving the sample time to double the baud rate |
void Serial_TxString | ( | const char * | StringPtr | ) |
Transmits a given string located in SRAM memory through the USART.
StringPtr | Pointer to a string located in SRAM space |
void Serial_TxString_P | ( | const char * | FlashStringPtr | ) |
Transmits a given string located in program space (FLASH) through the USART.
FlashStringPtr | Pointer to a string located in program space |