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

#ifndef __BOARD_H_
#define __BOARD_H_

#include "hal_conf.h"

#include "spi.h"

#define RF_SPI_MISO_PORT            GPIOB
#define RF_SPI_MISO_PIN             GPIO_Pin_4

#define RF_SPI_MOSI_PORT            GPIOB
#define RF_SPI_MOSI_PIN             GPIO_Pin_5

#define RF_SPI_SCLK_PORT            GPIOB
#define RF_SPI_SCLK_PIN             GPIO_Pin_6

#define RF_SPI_CSN_PORT             GPIOB
#define RF_SPI_CSN_PIN              GPIO_Pin_0

#define RF_SPI_IRQ_PORT             GPIOB
#define RF_SPI_IRQ_PIN              GPIO_Pin_3


void board_init(void);
void delay_ms(uint32_t delay);
uint32_t hal_get_tick(void);

#endif


 

