/**
  ************************************* Copyright ****************************** 
  *
  *                 Copyright (C), 2012-2016, Radioway Tech. Co., Ltd.
  *                            All Rights Reserved
  *
  *    
  * FileName   : spi.h
  * Version    : v1.0
  * Author     : Heb
  * Date       : 2024-06-24
  * Description: 
  * Function List: 
  	1. ....
          <version>: 
     <modify staff>: 
             <data>: 
      <description>: 
  	2. ...
  ******************************************************************************
 */

#ifndef __SPI_H_
#define __SPI_H_

#define RF_SPI_CSN_HIGH	        GPIOB->BSRR = GPIO_Pin_0
#define RF_SPI_CSN_LOW          GPIOB->BRR  = GPIO_Pin_0

void spi_init(void);
uint8_t spi_inout(uint8_t out_data);

#endif


 

