blob: 51fd42a17e66de9d05f8c98c92486b9751c189dd (
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
27
28
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef ZEPHYR_TEST_UART_PRINTF_INCLUDE_UART_H_
#define ZEPHYR_TEST_UART_PRINTF_INCLUDE_UART_H_
#include <zephyr/fff.h>
#ifdef __cplusplus
extern "C" {
#endif
int uart_putc(int c);
int uart_puts(const char *outstr);
int uart_put(const char *out, int len);
int uart_put_raw(const char *out, int len);
int uart_printf(const char *format, ...);
DECLARE_FAKE_VALUE_FUNC(int, uart_tx_char_raw, void *, int);
DECLARE_FAKE_VOID_FUNC(uart_tx_start);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_TEST_UART_PRINTF_INCLUDE_UART_H_ */
|