ChibiOS/HAL  7.0.4
halconf.h File Reference

HAL configuration header. More...

#include "mcuconf.h"

Go to the source code of this file.

Macros

#define HAL_USE_PAL   TRUE
 Enables the PAL subsystem. More...
 
#define HAL_USE_ADC   TRUE
 Enables the ADC subsystem. More...
 
#define HAL_USE_CAN   TRUE
 Enables the CAN subsystem. More...
 
#define HAL_USE_CRY   TRUE
 Enables the cryptographic subsystem. More...
 
#define HAL_USE_DAC   TRUE
 Enables the DAC subsystem. More...
 
#define HAL_USE_GPT   TRUE
 Enables the GPT subsystem. More...
 
#define HAL_USE_I2C   TRUE
 Enables the I2C subsystem. More...
 
#define HAL_USE_I2S   TRUE
 Enables the I2S subsystem. More...
 
#define HAL_USE_ICU   TRUE
 Enables the ICU subsystem. More...
 
#define HAL_USE_MAC   TRUE
 Enables the MAC subsystem. More...
 
#define HAL_USE_MMC_SPI   TRUE
 Enables the MMC_SPI subsystem. More...
 
#define HAL_USE_PWM   TRUE
 Enables the PWM subsystem. More...
 
#define HAL_USE_RTC   TRUE
 Enables the RTC subsystem. More...
 
#define HAL_USE_SDC   TRUE
 Enables the SDC subsystem. More...
 
#define HAL_USE_SERIAL   TRUE
 Enables the SERIAL subsystem. More...
 
#define HAL_USE_SERIAL_USB   TRUE
 Enables the SERIAL over USB subsystem. More...
 
#define HAL_USE_SIO   TRUE
 Enables the SIO subsystem. More...
 
#define HAL_USE_SPI   TRUE
 Enables the SPI subsystem. More...
 
#define HAL_USE_TRNG   TRUE
 Enables the TRNG subsystem. More...
 
#define HAL_USE_UART   TRUE
 Enables the UART subsystem. More...
 
#define HAL_USE_USB   TRUE
 Enables the USB subsystem. More...
 
#define HAL_USE_WDG   TRUE
 Enables the WDG subsystem. More...
 
#define HAL_USE_WSPI   TRUE
 Enables the WSPI subsystem. More...
 
#define PAL_USE_CALLBACKS   FALSE
 Enables synchronous APIs. More...
 
#define PAL_USE_WAIT   FALSE
 Enables synchronous APIs. More...
 
#define ADC_USE_WAIT   TRUE
 Enables synchronous APIs. More...
 
#define ADC_USE_MUTUAL_EXCLUSION   TRUE
 Enables the adcAcquireBus() and adcReleaseBus() APIs. More...
 
#define CAN_USE_SLEEP_MODE   TRUE
 Sleep mode related APIs inclusion switch. More...
 
#define CAN_ENFORCE_USE_CALLBACKS   FALSE
 Enforces the driver to use direct callbacks rather than OSAL events. More...
 
#define HAL_CRY_USE_FALLBACK   FALSE
 Enables the SW fall-back of the cryptographic driver. More...
 
#define HAL_CRY_ENFORCE_FALLBACK   FALSE
 Makes the driver forcibly use the fall-back implementations. More...
 
#define DAC_USE_WAIT   TRUE
 Enables synchronous APIs. More...
 
#define DAC_USE_MUTUAL_EXCLUSION   TRUE
 Enables the dacAcquireBus() and dacReleaseBus() APIs. More...
 
#define I2C_USE_MUTUAL_EXCLUSION   TRUE
 Enables the mutual exclusion APIs on the I2C bus. More...
 
#define MAC_USE_ZERO_COPY   TRUE
 Enables the zero-copy API. More...
 
#define MAC_USE_EVENTS   TRUE
 Enables an event sources for incoming packets. More...
 
#define MMC_NICE_WAITING   TRUE
 Delays insertions. More...
 
#define SDC_INIT_RETRY   100
 Number of initialization attempts before rejecting the card. More...
 
#define SDC_MMC_SUPPORT   TRUE
 Include support for MMC cards. More...
 
#define SDC_NICE_WAITING   TRUE
 Delays insertions. More...
 
#define SDC_INIT_OCR_V20   0x50FF8000U
 OCR initialization constant for V20 cards. More...
 
#define SDC_INIT_OCR   0x80100000U
 OCR initialization constant for non-V20 cards. More...
 
#define SERIAL_DEFAULT_BITRATE   38400
 Default bit rate. More...
 
#define SERIAL_BUFFERS_SIZE   16
 Serial buffers size. More...
 
#define SERIAL_USB_BUFFERS_SIZE   256
 Serial over USB buffers size. More...
 
#define SERIAL_USB_BUFFERS_NUMBER   2
 Serial over USB number of buffers. More...
 
#define SPI_USE_WAIT   TRUE
 Enables synchronous APIs. More...
 
#define SPI_USE_CIRCULAR   FALSE
 Enables circular transfers APIs. More...
 
#define SPI_USE_MUTUAL_EXCLUSION   TRUE
 Enables the spiAcquireBus() and spiReleaseBus() APIs. More...
 
#define SPI_SELECT_MODE   SPI_SELECT_MODE_PAD
 Handling method for SPI CS line. More...
 
#define UART_USE_WAIT   TRUE
 Enables synchronous APIs. More...
 
#define UART_USE_MUTUAL_EXCLUSION   TRUE
 Enables the uartAcquireBus() and uartReleaseBus() APIs. More...
 
#define USB_USE_WAIT   TRUE
 Enables synchronous APIs. More...
 
#define WSPI_USE_WAIT   TRUE
 Enables synchronous APIs. More...
 
#define WSPI_USE_MUTUAL_EXCLUSION   TRUE
 Enables the wspiAcquireBus() and wspiReleaseBus() APIs. More...
 

Detailed Description

HAL configuration header.

HAL configuration file, this file allows to enable or disable the various device drivers from your application. You may also use this file in order to override the device drivers default settings.

Definition in file halconf.h.