Copyright © 2024-2025 STMicroelectronics
The STM32Cube HAL and LL, an STM32 abstraction layer embedded software, ensure maximized portability across STM32 portfolio.
The portable APIs layer provides a generic, multi instanced and simple set of APIs to interact with the upper layer (application, libraries and stacks). It is composed of native and extended APIs set. It is directly built around a generic architecture and allows the build-upon layers, like the middleware layer, to implement its functions without knowing in-depth the used STM32 device. This improves the library code reusability and guarantees an easy portability on other devices and STM32 families.
The Low Layer (LL) drivers are part of the STM32Cube firmware HAL that provides a basic set of optimized and one shot services. The Low layer drivers, contrary to the HAL ones are not fully portable across the STM32 families; the availability of some functions depends on the physical availability of the relative features on the product. The Low Layer (LL) drivers are designed to offer the following features:
IS_169MHZ define into
STM32WL33XA.__HAL_MRSUBG_SET_SQI_THRESHOLD(__THRVAL__)
__HAL_MRSUBG_GET_SQI_THRESHOLD()
HAL_MRSubG_GetPALeveldBm() when PA is set in
LEGACY o FIR modeLL_MRSubG_GetPAMode() to retrieve the current PA
modeRCC_LPUART1_CLKSOURCE_16M with a
frequency of 16,000,000.__HAL_MRSUBG_GET_DATABUFFER_COUNT()
__HAL_MRSUBG_SET_PQI_THRESHOLD(__THRVAL__)
LL_MRSubG_GetRssiLevelOnSync(void)
LL_MRSubG_SetRSSIFilter(uint32_t rssiFilter)
LL_MRSubG_SetClkRecCtrl0(uint32_t clkRec)
LL_MRSubG_SetClkRecCtrl1(uint32_t clkRec)
LL_MRSubG_SetAFC0(uint32_t afcCfg)
LL_MRSubG_SetAFC1(uint32_t afcCfg)
LL_MRSubG_SetAFC2(uint32_t afcCfg)
LL_MRSubG_SetAFC3(uint32_t afcCfg)
Check the code documentation for further details.
HAL: COMP, CORTEX, CRC, CRYP, DMA, FLASH, GPIO, I2C, IRDA, IWDG, LCD, LPAWUR, MRSUBG, PWR, RCC, RNG, RTC, SMARTCARD, SPI, TIM, UART, USART
LL: COMP, CRC, DMA, GPIO, I2C, LCSC, LPUART, LPAWUR, MRSUBG, PWR, RCC, RNG, RTC, SPI, TIM, USART, UTILS
HAL: COMP, CORTEX, CRC, CRYP, DMA, FLASH, GPIO, I2C, IRDA, IWDG, LCD, LPAWUR, MRSUBG, PWR, RCC, RNG, RTC, SMARTCARD, SPI, TIM, UART, USART
LL: COMP, CRC, DMA, GPIO, I2C, LCSC, LPUART, LPAWUR, MRSUBG, PWR, RCC, RNG, RTC, SPI, TIM, USART, UTILS