zephyr/tests/drivers/uart/uart_basic_api/src/test_uart.h
Jennifer Williams 4ad91d8180 tests: drivers: uart: config api
The UART API now supports configure and configure_get functions,
however no tests were written for those functions. This
commit adds the framework and implementing tests for configure
and configure_get for UART API.

Fixes (#12872)

Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
2020-03-10 14:41:36 +02:00

31 lines
587 B
C

/*
* Copyright (c) 2016 Intel Corporation
* Copyright (c) 2020 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief UART cases header file
*
* Header file for UART cases
*/
#ifndef __TEST_UART_H__
#define __TEST_UART_H__
#include <drivers/uart.h>
#include <ztest.h>
#define UART_DEVICE_NAME CONFIG_UART_CONSOLE_ON_DEV_NAME
void test_uart_configure(void);
void test_uart_config_get(void);
void test_uart_poll_out(void);
void test_uart_fifo_fill(void);
void test_uart_fifo_read(void);
void test_uart_poll_in(void);
#endif /* __TEST_UART_H__ */