MAV'RIC
Defines
HAL_CONF

Defines

#define HAL_USE_TM   TRUE
 Enables the TM subsystem.
#define HAL_USE_PAL   TRUE
 Enables the PAL subsystem.
#define HAL_USE_ADC   FALSE
 Enables the ADC subsystem.
#define HAL_USE_CAN   FALSE
 Enables the CAN subsystem.
#define HAL_USE_DAC   FALSE
 Enables the DAC subsystem.
#define HAL_USE_EXT   FALSE
 Enables the EXT subsystem.
#define HAL_USE_GPT   FALSE
 Enables the GPT subsystem.
#define HAL_USE_I2C   TRUE
 Enables the I2C subsystem.
#define HAL_USE_I2S   FALSE
 Enables the I2S subsystem.
#define HAL_USE_ICU   FALSE
 Enables the ICU subsystem.
#define HAL_USE_MAC   FALSE
 Enables the MAC subsystem.
#define HAL_USE_MMC_SPI   FALSE
 Enables the MMC_SPI subsystem.
#define HAL_USE_PWM   TRUE
 Enables the PWM subsystem.
#define HAL_USE_QSPI   FALSE
 Enables the QSPI subsystem.
#define HAL_USE_RTC   FALSE
 Enables the RTC subsystem.
#define HAL_USE_SDC   FALSE
 Enables the SDC subsystem.
#define HAL_USE_SERIAL   FALSE
 Enables the SERIAL subsystem.
#define HAL_USE_SERIAL_USB   TRUE
 Enables the SERIAL over USB subsystem.
#define HAL_USE_SPI   TRUE
 Enables the SPI subsystem.
#define HAL_USE_UART   TRUE
 Enables the UART subsystem.
#define HAL_USE_USB   TRUE
 Enables the USB subsystem.
#define HAL_USE_WDG   FALSE
 Enables the WDG subsystem.
#define ADC_USE_WAIT   TRUE
 Enables synchronous APIs.
#define ADC_USE_MUTUAL_EXCLUSION   TRUE
 Enables the adcAcquireBus() and adcReleaseBus() APIs.
#define CAN_USE_SLEEP_MODE   TRUE
 Sleep mode related APIs inclusion switch.
#define I2C_USE_MUTUAL_EXCLUSION   TRUE
 Enables the mutual exclusion APIs on the I2C bus.
#define MAC_USE_ZERO_COPY   FALSE
 Enables an event sources for incoming packets.
#define MAC_USE_EVENTS   TRUE
 Enables an event sources for incoming packets.
#define MMC_NICE_WAITING   TRUE
 Delays insertions.
#define SDC_INIT_RETRY   100
 Number of initialization attempts before rejecting the card.
#define SDC_MMC_SUPPORT   FALSE
 Include support for MMC cards.
#define SDC_NICE_WAITING   TRUE
 Delays insertions.
#define SERIAL_DEFAULT_BITRATE   38400
 Default bit rate.
#define SERIAL_BUFFERS_SIZE   16
 Serial buffers size.
#define SERIAL_USB_BUFFERS_SIZE   256
 Serial over USB buffers size.
#define SERIAL_USB_BUFFERS_NUMBER   2
 Serial over USB number of buffers.
#define SPI_USE_WAIT   TRUE
 Enables synchronous APIs.
#define SPI_USE_MUTUAL_EXCLUSION   TRUE
 Enables the spiAcquireBus() and spiReleaseBus() APIs.
#define UART_USE_WAIT   FALSE
 Enables synchronous APIs.
#define UART_USE_MUTUAL_EXCLUSION   FALSE
 Enables the uartAcquireBus() and uartReleaseBus() APIs.
#define USB_USE_WAIT   TRUE
 Enables synchronous APIs.

Define Documentation

#define ADC_USE_MUTUAL_EXCLUSION   TRUE

Enables the adcAcquireBus() and adcReleaseBus() APIs.

Note:
Disabling this option saves both code and data space.
#define ADC_USE_WAIT   TRUE

Enables synchronous APIs.

Note:
Disabling this option saves both code and data space.
#define MMC_NICE_WAITING   TRUE

Delays insertions.

If enabled this options inserts delays into the MMC waiting routines releasing some extra CPU time for the threads with lower priority, this may slow down the driver a bit however. This option is recommended also if the SPI driver does not use a DMA channel and heavily loads the CPU.

#define SDC_INIT_RETRY   100

Number of initialization attempts before rejecting the card.

Note:
Attempts are performed at 10mS intervals.
#define SDC_MMC_SUPPORT   FALSE

Include support for MMC cards.

Note:
MMC support is not yet implemented so this option must be kept at FALSE.
#define SDC_NICE_WAITING   TRUE

Delays insertions.

If enabled this options inserts delays into the MMC waiting routines releasing some extra CPU time for the threads with lower priority, this may slow down the driver a bit however.

#define SERIAL_BUFFERS_SIZE   16

Serial buffers size.

Configuration parameter, you can change the depth of the queue buffers depending on the requirements of your application.

Note:
The default is 16 bytes for both the transmission and receive buffers.
#define SERIAL_DEFAULT_BITRATE   38400

Default bit rate.

Configuration parameter, this is the baud rate selected for the default configuration.

#define SERIAL_USB_BUFFERS_NUMBER   2

Serial over USB number of buffers.

Note:
The default is 2 buffers.
#define SERIAL_USB_BUFFERS_SIZE   256

Serial over USB buffers size.

Configuration parameter, the buffer size must be a multiple of the USB data endpoint maximum packet size.

Note:
The default is 256 bytes for both the transmission and receive buffers.
#define SPI_USE_MUTUAL_EXCLUSION   TRUE

Enables the spiAcquireBus() and spiReleaseBus() APIs.

Note:
Disabling this option saves both code and data space.
#define SPI_USE_WAIT   TRUE

Enables synchronous APIs.

Note:
Disabling this option saves both code and data space.
#define UART_USE_MUTUAL_EXCLUSION   FALSE

Enables the uartAcquireBus() and uartReleaseBus() APIs.

Note:
Disabling this option saves both code and data space.
#define UART_USE_WAIT   FALSE

Enables synchronous APIs.

Note:
Disabling this option saves both code and data space.
#define USB_USE_WAIT   TRUE

Enables synchronous APIs.

Note:
Disabling this option saves both code and data space.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines