BLE Nano Code.Tested with Integrated mDot code

Dependencies:   BLE_API mbed nRF51822

Fork of eco_Labs_ble_Client by Happiest

spi_slave.h

Committer:
jinu
Date:
2016-12-16
Revision:
35:b2af2293635a
Parent:
34:d146cdbffd91

File content as of revision 35:b2af2293635a:

/**
  ******************************************************************************
  * @file    ble_common.h
  * @author  Happiesstminds Firmware Team
  * @version v1.0
  * @date    4-Oct-2016
  * @brief   
  *
  ******************************************************************************
  * @attention
  *  
  *
  ******************************************************************************
  */

#ifndef _SPI_SLAVE_H
#define _SPI_SLAVE_H

/******************************************************************************/
/* Typedef                                                                    */
/******************************************************************************/
typedef void (*spi_data_ready_callback_t) (uint8_t *rx_data);
void enable_interrupt_line(bool state ,uint8_t pin_num );

#define SPI_RQST 28
#define SPI_RDY 29 
#define SPI_TX_BUF_SIZE     64
#endif

/******************************************************************************/
/* END OF FILE                                                                */
/******************************************************************************/