blob: 5056e61bb7017cc303866316e1577cde2f8a5d65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_UARTN_H
#define __CROS_EC_UARTN_H
#include "uart.h"
/**
* Flush the transmit FIFO.
*/
void uartn_tx_flush(int uart);
/**
* Send a character to the UART data register.
*
* If the transmit FIFO is full, blocks until there is space.
*
* @param c Character to send.
*/
void uartn_write_char(int uart, char c);
#endif /* __CROS_EC_UARTN_H */
|