/*********************************************************************************************************                                               
*                                            GKI library
*                             COPYRIGHT(c) 2019 Amped RF Technology (ART)
*                                        All Rights Reserved
*
* File    : GKI_spi.h
* Version : V1.0.0
* Brief   : GKI SPI library
**********************************************************************************************************/

#ifndef __GKI_SPI_H
#define __GKI_SPI_H

#include "ach118x_spi.h"

void GKI_SpiMHzInit(SPI_Typedef* SPIx, uint16_t MHz);
void GKI_SpiDivInit(SPI_Typedef* SPIx, uint16_t Div);
void GKI_SpiDivPolPhaInit(SPI_Typedef* SPIx, uint32_t Div, uint8_t pol, uint8_t pha);
void GKI_SpiSendData(SPI_Typedef* SPIx, uint8_t Data);

#endif //  __GKI_SPI_H
/************************ (C) COPYRIGHT ART *****END OF FILE****/
