summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/drivers/drv_spi.h
blob: be5a6aab7bd99ad768a3f993e2dcf391eab7cee5 (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 (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Email: [email protected]
 *
 * Change Logs:
 * Date        Author       Notes
 * 2022-11-10  liqiaozhong  first commit
 * 2023-03-08  liqiaozhong  support 4 spis and qspi working together
 */
#ifndef __DRV_SPI_H__
#define __DRV_SPI_H__

#include <rtthread.h>

struct drv_spi
{
    u32 spi_id;
    FSpim spim_instance;
    struct rt_spi_device device;
};


#endif