| 
    APM:Libraries
    
   | 
 
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 FALSE | 
| Enables the CAN subsystem.  More... | |
| #define | HAL_USE_DAC FALSE | 
| Enables the DAC subsystem.  More... | |
| #define | HAL_USE_EXT TRUE | 
| Enables the EXT subsystem.  More... | |
| #define | HAL_USE_GPT FALSE | 
| Enables the GPT subsystem. We don't need it on most boards in ArduPilot, so it is disabled by default.  More... | |
| #define | HAL_USE_I2C TRUE | 
| Enables the I2C subsystem.  More... | |
| #define | HAL_USE_I2S FALSE | 
| Enables the I2S subsystem.  More... | |
| #define | HAL_USE_ICU FALSE | 
| Enables the ICU subsystem.  More... | |
| #define | HAL_USE_MAC FALSE | 
| Enables the MAC subsystem.  More... | |
| #define | HAL_USE_MMC_SPI FALSE | 
| Enables the MMC_SPI subsystem.  More... | |
| #define | HAL_USE_PWM TRUE | 
| Enables the PWM subsystem.  More... | |
| #define | HAL_USE_QSPI FALSE | 
| Enables the QSPI subsystem.  More... | |
| #define | HAL_USE_RTC FALSE | 
| 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 FALSE | 
| Enables the SERIAL over USB subsystem.  More... | |
| #define | HAL_USE_SPI TRUE | 
| Enables the SPI subsystem.  More... | |
| #define | HAL_USE_UART FALSE | 
| Enables the UART subsystem.  More... | |
| #define | HAL_USE_USB FALSE | 
| Enables the USB subsystem.  More... | |
| #define | HAL_USE_WDG FALSE | 
| Enables the WDG subsystem.  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 | I2C_USE_MUTUAL_EXCLUSION TRUE | 
| Enables the mutual exclusion APIs on the I2C bus.  More... | |
| #define | MAC_USE_ZERO_COPY FALSE | 
| Enables an event sources for incoming packets.  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 FALSE | 
| Include support for MMC cards.  More... | |
| #define | SDC_NICE_WAITING TRUE | 
| Delays insertions.  More... | |
| #define | SERIAL_DEFAULT_BITRATE 38400 | 
| Default bit rate.  More... | |
| #define | SERIAL_BUFFERS_SIZE 1024 | 
| 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_MUTUAL_EXCLUSION TRUE | 
Enables the spiAcquireBus() and spiReleaseBus() APIs.  More... | |
| #define | UART_USE_WAIT FALSE | 
| Enables synchronous APIs.  More... | |
| #define | UART_USE_MUTUAL_EXCLUSION FALSE | 
Enables the uartAcquireBus() and uartReleaseBus() APIs.  More... | |
| #define | USB_USE_WAIT FALSE | 
| Enables synchronous APIs.  More... | |
| #define ADC_USE_MUTUAL_EXCLUSION TRUE | 
| #define ADC_USE_WAIT TRUE | 
| #define CAN_USE_SLEEP_MODE TRUE | 
| #define HAL_USE_GPT FALSE | 
| #define HAL_USE_MMC_SPI FALSE | 
| #define HAL_USE_SERIAL_USB FALSE | 
| #define I2C_USE_MUTUAL_EXCLUSION TRUE | 
| #define MAC_USE_EVENTS TRUE | 
| #define MAC_USE_ZERO_COPY FALSE | 
| #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 | 
| #define SDC_MMC_SUPPORT FALSE | 
| #define SDC_NICE_WAITING TRUE | 
| #define SERIAL_BUFFERS_SIZE 1024 | 
| #define SERIAL_DEFAULT_BITRATE 38400 | 
| #define SERIAL_USB_BUFFERS_NUMBER 2 | 
| #define SERIAL_USB_BUFFERS_SIZE 256 | 
| #define SPI_USE_MUTUAL_EXCLUSION TRUE | 
| #define SPI_USE_WAIT TRUE | 
| #define UART_USE_MUTUAL_EXCLUSION FALSE | 
| #define UART_USE_WAIT FALSE | 
 1.8.13