Deluge Firmware
Loading...
Searching...
No Matches
uart.h
Go to the documentation of this file.
1/*
2 * Copyright © 2015-2023 Synthstrom Audible Limited
3 *
4 * This file is part of The Synthstrom Audible Deluge Firmware.
5 *
6 * The Synthstrom Audible Deluge Firmware is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software Foundation,
8 * either version 3 of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * See the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along with this program.
15 * If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#ifndef UART_H_
19#define UART_H_
20
21#include "r_typedefs.h"
22
23namespace Uart {
24 void setBaudRate(uint8_t scifID, uint32_t baudRate);
25 void print(char const* output);
26 void println(char const* output);
27 void println(int32_t number);
28 void printlnfloat(float number);
29 void printfloat(float number);
30 void print(int32_t number);
31 unsigned int getTxBufferFullness(uint8_t scifID);
32}
33
34
35
36#endif /* UART_H_ */
Definition: uart.cpp:27
void printlnfloat(float number)
void println(char const *output)
Definition: uart.cpp:29
unsigned int getTxBufferFullness(uint8_t scifID)
void setBaudRate(uint8_t scifID, uint32_t baudRate)
void printfloat(float number)
void print(char const *output)
Definition: uart.cpp:44