VSF Documented
sthal_internal.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18/*============================ INCLUDES ======================================*/
19
20#ifndef __ST_HAL_INTERNAL_H__
21#define __ST_HAL_INTERNAL_H__
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*============================ INCLUDES ======================================*/
28
29#include "hal/vsf_hal.h"
30
31#ifdef VSF_STHAL_CONF_HEADER
32# include VSF_STHAL_CONF_HEADER
33#else
34# include "sthal_conf_template.h"
35#endif
36
37#include "sthal_def.h"
38
39/*============================ MACROS ========================================*/
40/*============================ MACROFIED FUNCTIONS ===========================*/
41/*============================ TYPES =========================================*/
42/*============================ GLOBAL VARIABLES ==============================*/
43/*============================ LOCAL VARIABLES ===============================*/
44/*============================ PROTOTYPES ====================================*/
45
47extern bool __spi_is_idle(vsf_spi_t *spi, uint32_t Timeout, uint32_t Tickstart);
48
49/*============================ INCLUDES ======================================*/
50
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif
__le16 timeout
Definition ieee80211.h:94
unsigned uint32_t
Definition stdint.h:9
bool __spi_is_idle(vsf_spi_t *spi, uint32_t Timeout, uint32_t Tickstart)
Definition sthal_spi.c:247
bool __sthal_check_timeout(uint32_t start, uint32_t timeout)
Definition sthal.c:43
SPI instance structure, used for SPI Multi Class support, not needed in non Multi Class mode.
Definition vsf_template_spi.h:990
Generated from commit: vsfteam/vsf@ece1bff