18#ifndef __VSF_HAL_DISTBUS_SPI_H__
19#define __VSF_HAL_DISTBUS_SPI_H__
25#if VSF_HAL_USE_SPI == ENABLED && VSF_HAL_DISTBUS_USE_SPI == ENABLED
27#if defined(__VSF_HAL_DISTBUS_SPI_CLASS_IMPLEMENT)
28# define __VSF_CLASS_IMPLEMENT__
29#elif defined(__VSF_HAL_DISTBUS_SPI_CLASS_INHERIT__)
30# define __VSF_CLASS_INHERIT__
41#ifndef VSF_HAL_DISTBUS_SPI_CFG_MULTI_CLASS
42# define VSF_HAL_DISTBUS_SPI_CFG_MULTI_CLASS VSF_SPI_CFG_MULTI_CLASS
48#if defined(__VSF_HAL_DISTBUS_SPI_CLASS_IMPLEMENT) || defined(__VSF_HAL_DISTBUS_SPI_CLASS_INHERIT__)
50 VSF_HAL_DISTBUS_SPI_CMD_ADDR_RANGE,
55#if VSF_HAL_DISTBUS_SPI_CFG_MULTI_CLASS == ENABLED
76#define VSF_SPI_CFG_DEC_PREFIX vsf_hal_distbus
77#define VSF_SPI_CFG_DEC_UPCASE_PREFIX VSF_HAL_DISTBUS
84#undef __VSF_HAL_DISTBUS_SPI_CLASS_IMPLEMENT
85#undef __VSF_HAL_DISTBUS_SPI_CLASS_INHERIT__
Definition vsf_distbus.h:86
Definition vsf_distbus.h:119
Definition vsf_hal_distbus_spi.h:54
unsigned int uint32_t
Definition lvgl.h:43
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_template_spi.h:541
uint32_t vsf_hal_distbus_spi_register_service(vsf_distbus_t *distbus, vsf_hal_distbus_spi_t *spi, void *info, uint32_t infolen)
Definition vsf_hal_distbus_spi.c:61