1 /* 2 * Copyright (c) 2016 Intel Corporation 3 * Copyright (c) 2020 Intel Corporation 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 /** 9 * @file 10 * @brief UART cases header file 11 * 12 * Header file for UART cases 13 */ 14 15 #ifndef __TEST_UART_H__ 16 #define __TEST_UART_H__ 17 18 #include <zephyr/drivers/uart.h> 19 #include <zephyr/ztest.h> 20 21 #if CONFIG_SHELL 22 void test_uart_configure(void); 23 void test_uart_config_get(void); 24 void test_uart_poll_out(void); 25 void test_uart_poll_in(void); 26 #if CONFIG_UART_WIDE_DATA 27 void test_uart_configure_wide(void); 28 void test_uart_config_get_wide(void); 29 #endif 30 #if CONFIG_UART_INTERRUPT_DRIVEN 31 void test_uart_fifo_fill(void); 32 void test_uart_fifo_read(void); 33 void test_uart_pending(void); 34 #endif 35 36 #endif 37 38 #endif /* __TEST_UART_H__ */ 39