summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/drivers_example/auto_test.h
blob: 2d5cf4e6890a513e9e88fb509c7556ab29872ace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23


#include <rtthread.h>
#include <rtdevice.h>
#include "rtconfig.h"

int auto_test();
#if defined BSP_USING_CAN
rt_err_t can_loopback_sample();
#endif
#if defined BSP_USING_GPIO
rt_err_t gpio_toggle_sample();
#endif
#if defined(BSP_USING_I2C) || defined(BSP_USING_I2C_MSG)
rt_err_t i2c_sample();
#endif
#if defined BSP_USING_SPI
rt_err_t fspim_test_sample();
#endif
#if defined BSP_USING_QSPI
rt_err_t qspi_sample();
#endif