Go to the documentation of this file.
42 #define __CHIBIOS_HAL__
47 #define CH_HAL_STABLE 0
56 #define HAL_VERSION "7.2.0"
61 #define CH_HAL_MAJOR 7
66 #define CH_HAL_MINOR 2
71 #define CH_HAL_PATCH 0
81 #define HAL_SUCCESS false
85 #define HAL_FAILED true
97 #if !defined(_CHIBIOS_HAL_CONF_)
98 #error "invalid configuration file"
101 #if !defined(_CHIBIOS_HAL_CONF_VER_7_1_)
102 #error "obsolete or unknown configuration file"
106 #if !defined(HAL_USE_PAL)
107 #define HAL_USE_PAL FALSE
110 #if !defined(HAL_USE_ADC)
111 #define HAL_USE_ADC FALSE
114 #if !defined(HAL_USE_CAN)
115 #define HAL_USE_CAN FALSE
118 #if !defined(HAL_USE_CRY)
119 #define HAL_USE_CRY FALSE
122 #if !defined(HAL_USE_DAC)
123 #define HAL_USE_DAC FALSE
126 #if !defined(HAL_USE_EFL)
127 #define HAL_USE_EFL FALSE
130 #if !defined(HAL_USE_GPT)
131 #define HAL_USE_GPT FALSE
134 #if !defined(HAL_USE_I2C)
135 #define HAL_USE_I2C FALSE
138 #if !defined(HAL_USE_I2S)
139 #define HAL_USE_I2S FALSE
142 #if !defined(HAL_USE_ICU)
143 #define HAL_USE_ICU FALSE
146 #if !defined(HAL_USE_MAC)
147 #define HAL_USE_MAC FALSE
150 #if !defined(HAL_USE_PWM)
151 #define HAL_USE_PWM FALSE
154 #if !defined(HAL_USE_RTC)
155 #define HAL_USE_RTC FALSE
158 #if !defined(HAL_USE_SERIAL)
159 #define HAL_USE_SERIAL FALSE
162 #if !defined(HAL_USE_SDC)
163 #define HAL_USE_SDC FALSE
166 #if !defined(HAL_USE_SIO)
167 #define HAL_USE_SIO FALSE
170 #if !defined(HAL_USE_SPI)
171 #define HAL_USE_SPI FALSE
174 #if !defined(HAL_USE_TRNG)
175 #define HAL_USE_TRNG FALSE
178 #if !defined(HAL_USE_UART)
179 #define HAL_USE_UART FALSE
182 #if !defined(HAL_USE_USB)
183 #define HAL_USE_USB FALSE
186 #if !defined(HAL_USE_WDG)
187 #define HAL_USE_WDG FALSE
190 #if !defined(HAL_USE_WSPI)
191 #define HAL_USE_WSPI FALSE
218 #if defined(HAL_LLD_USE_CLOCK_MANAGEMENT) || defined(__DOXYGEN__)
295 #if OSAL_ST_MODE != OSAL_ST_MODE_NONE
304 #if defined(HAL_USE_COMMUNITY) || defined(__DOXYGEN__)
305 #if (HAL_USE_COMMUNITY == TRUE) || defined(__DOXYGEN__)
306 #include "hal_community.h"
MMC over SPI driver header.
I/O Queues macros and structures.
CAN Driver macros and structures.
I2S Driver macros and structures.
GPT Driver macros and structures.
Serial Driver macros and structures.
Generic flash driver class header.
WDG Driver macros and structures.
MAC Driver macros and structures.
halfreq_t hal_lld_get_clock_point(halclkpt_t clkpt)
Returns the frequency of a clock point in Hz.
static halfreq_t halClockGetPointX(halclkpt_t clkpt)
Returns the frequency of a clock point in Hz.
I/O Ports Abstraction Layer macros, types and structures.
ST Driver macros and structures.
PWM Driver macros and structures.
uint32_t halfreq_t
Type of a clock point frequency in Hz.
static bool halClockSwitchMode(const halclkcfg_t *ccp)
Switches to a different clock configuration.
void halInit(void)
HAL initialization.
ADC Driver macros and structures.
Serial over USB Driver macros and structures.
bool hal_lld_clock_switch_mode(const halclkcfg_t *ccp)
Switches to a different clock configuration.
I2C Driver macros and structures.
MMC/SD cards common header.
SIO Driver macros and structures.
I/O Buffers macros and structures.
SPI Driver macros and structures.
HAL configuration header.
Embedded Flash Driver macros and structures.
ICU Driver macros and structures.
TRNG Driver macros and structures.
Generic persistent storage class header.
WSPI Driver macros and structures.
Type of a clock configuration structure.
unsigned halclkpt_t
Type of a clock point identifier.
UART Driver macros and structures.
I/O block devices access.
USB Driver macros and structures.
SDC Driver macros and structures.
RTC Driver macros and structures.
Cryptographic Driver macros and structures.
DAC Driver macros and structures.
PLATFORM HAL subsystem low level driver header.