/**
* @file HW_SPI_ATY.h
*
* @param Project DEVICE_GENERAL_ATY_LIB
*
* @author ATY
*
* @copyright
* - Copyright 2017 - 2023 MZ-ATY
* - This code follows:
* - MZ-ATY Various Contents Joint Statement -
*
* https://mengze.top/MZ-ATY_VCJS
* - CC 4.0 BY-NC-SA -
*
* https://creativecommons.org/licenses/by-nc-sa/4.0/
* - Your use will be deemed to have accepted the terms of this statement.
*
* @brief Familiar functions of SPI for all embedded device
*
* @version
* - 1_01_221028 > ATY
* -# Preliminary version, first Release
********************************************************************************
*/
#ifndef __HW_SPI_ATY_H
#define __HW_SPI_ATY_H
#include "INCLUDE_ATY.h"
#include "HW_TIMER_ATY.h"
#include "HW_GPIO_ATY.h"
/******************************* For user *************************************/
/******************************************************************************/
#ifndef __SPI_HARDWARE_ATY
// #define SPI_SCL_SET_H GPIO_SET_H(I2C_SCL_PORT, I2C_SCL_PIN)
#else
#endif /* __SPI_HARDWARE_ATY */
uint8_t SPI_Write(uint8_t* data_t, uint16_t len);
uint8_t SPI_Read(uint8_t* data_t, uint16_t len);
#endif /* __HW_SPI_ATY_H */
/******************************** End Of File *********************************/