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-10-11
Revision:
16:79b149aae10a
Parent:
11:b8e687d97537
Child:
33:17b8c186eb07

File content as of revision 16:79b149aae10a:

/**
  ******************************************************************************
  * @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, uint8_t data_length);
void enable_interrupt_line(bool state ,uint8_t pin_num );

#define SPI_RQST 28
#define SPI_RDY 29 

#endif

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