openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
lpc17_uart.h
Go to the documentation of this file.
1/****************************************************************************
2 * bootloader/src/lpc17_uart.c
3 *
4 * Copyright (C) 2020 Augusto Fraga Giachero. All rights reserved.
5 * Author: Augusto Fraga Giachero <afg@augustofg.net>
6 *
7 * This file is part of the RFFE firmware.
8 *
9 * RFFE is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * RFFE is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with RFFE. If not, see <https://www.gnu.org/licenses/>.
21 *
22 ****************************************************************************/
23
24#include <stdint.h>
25#include <stddef.h>
26
27int lpc17_uart0_init(uint32_t baud, uint32_t cpu_clk);
28int lpc17_uart0_write_blocking(const uint8_t* buffer, size_t len);
29int lpc17_uart0_write_str_blocking(const char* buffer);
int lpc17_uart0_init(uint32_t baud, uint32_t cpu_clk)
Definition lpc17_uart.c:28
int lpc17_uart0_write_str_blocking(const char *buffer)
Definition lpc17_uart.c:84
int lpc17_uart0_write_blocking(const uint8_t *buffer, size_t len)
Definition lpc17_uart.c:74