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

#ifndef __HS6220_H_
#define __HS6220_H_

#define HS6220_CSN_HIGH	     GPIOB->BSRR = GPIO_Pin_12
#define HS6220_CSN_LOW          GPIOB->BRR  = GPIO_Pin_12

typedef void( hs6220_irq_handler_t )( void );

void hs6220_io_init(void);
void hs6220_irq_event_register(hs6220_irq_handler_t *irq_handler);

#endif


 

