18#ifndef __HAL_DRIVER_${SERIES/SPI_IP}_SPI_H__
19#define __HAL_DRIVER_${SERIES/SPI_IP}_SPI_H__
25#if VSF_HAL_USE_SPI == ENABLED
27#include "../../__device.h"
39#if defined(__VSF_HAL_${SPI_IP}_SPI_CLASS_IMPLEMENT)
40# define __VSF_CLASS_IMPLEMENT__
41#elif defined(__VSF_HAL_${SPI_IP}_SPI_CLASS_INHERIT__)
42# define __VSF_CLASS_INHERIT__
59#ifndef VSF_${SPI_IP}_SPI_CFG_MULTI_CLASS
60# define VSF_${SPI_IP}_SPI_CFG_MULTI_CLASS VSF_SPI_CFG_MULTI_CLASS
69#if VSF_${SPI_IP}_CFG_MULTI_CLASS == ENABLED
101#undef __VSF_HAL_${SPI_IP}_SPI_CLASS_IMPLEMENT
102#undef __VSF_HAL_${SPI_IP}_SPI_CLASS_INHERIT__
#define vsf_class(__name)
Definition ooc_class.h:48
spi isr for api
Definition vsf_template_spi.h:518
Definition vsf_template_spi.h:541
vsf_spi_isr_t isr
Definition spi.h:83
vsf_spi_t vsf_spi[SPI_COUNT]
Definition vsf_spi.c:3