initial commit
This commit is contained in:
25
project/ble_peripheral/ble_app_vivaMayo/ada2200_spi.h
Normal file
25
project/ble_peripheral/ble_app_vivaMayo/ada2200_spi.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*******************************************************************************
|
||||
* @file ada2200_spi.h
|
||||
* @author CandyPops Co.
|
||||
* @version V1.0.0
|
||||
* @date 2022-09-05
|
||||
* @brief
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef _ADA2200_SPI_H_
|
||||
#define _ADA2200_SPI_H_
|
||||
|
||||
#define SPI_INSTANCE 2 /**< SPI instance index. */
|
||||
|
||||
#define SPI_MOSI_PIN 16
|
||||
#define SPI_MISO_PIN 15 /* Not Used */
|
||||
#define SPI_SCLK_PIN 14
|
||||
#define SPI_CS_PIN 13
|
||||
|
||||
extern void ada2200_start(void);
|
||||
extern void ada2200_stop(void);
|
||||
extern void ada2200_init(void);
|
||||
extern void ada2200_uninit(void);
|
||||
|
||||
#endif //_ADA2200_SPI_H_
|
||||
|
||||
Reference in New Issue
Block a user