mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-11-01 11:54:17 +00:00
27 lines
645 B
C
27 lines
645 B
C
|
/******************************************************************************
|
||
|
*
|
||
|
* Copyright(c) 2007 - 2015 Realtek Corporation. All rights reserved.
|
||
|
*
|
||
|
*
|
||
|
******************************************************************************/
|
||
|
|
||
|
#ifndef __EXAMPLE_SPI_ATCMD_H__
|
||
|
#define __EXAMPLE_SPI_ATCMD_H__
|
||
|
|
||
|
#if CONFIG_EXAMPLE_SPI_ATCMD
|
||
|
|
||
|
#define SPI0_MOSI PC_2
|
||
|
#define SPI0_MISO PC_3
|
||
|
#define SPI0_SCLK PC_1
|
||
|
#define SPI0_CS PC_0
|
||
|
|
||
|
#define GPIO_CS PA_3
|
||
|
#define GPIO_HRDY PA_1
|
||
|
#define GPIO_SYNC PB_3
|
||
|
|
||
|
void example_spi_atcmd(void);
|
||
|
|
||
|
#endif // #if CONFIG_EXAMPLE_SPI_ATCMD
|
||
|
|
||
|
#endif // #ifndef __EXAMPLE_SPI_ATCMD_H__
|