Main Changes
- FLASH
- Fixed DDL_FLASH_EraseChip: chip-erase trigger address corrected to FLASH_BASE.
- Fixed DDL_FLASH_DeInit: CR1 reset value corrected.
- Updated erase/program dummy write to use DDL_FLASH_DUMMY_OPERATE instead of hard-coded values.
- SPI
- Fixed DDL_SPI_Init: return status set to SUCCESS after configuration; DDL_SPI_SIMPLEX_RX (RXONLY) is accepted as a transfer direction.
- Fixed DDL_SPI_ClearFlag_OVR: clear SPI_SR_OVRFLG directly.
- I2C
- Fixed DDL_I2C_IsEnabledAnalogFilter: analog filter enabled state is true when I2C_FILTER_ANFDISEN is cleared.
- USART / UART
- Fixed DDL_USART_ConfigLINMode: clear OSMCFG in CR1 when entering LIN mode.
- Fixed DDL_USART_ClockInit: set CLKEN when configuring synchronous clock output.
- Updated maximum supported baud rate check to 8 Mbit/s; corrected USART status flag macros.
- Removed obsolete UART driver content.
- ATMR / BTMR / GTMR
- Fixed DDL_ATMR_DeInit: call DDL_RCC_Lock after reset sequence.
- Updated DDL_ATMR_BDTR_InitTypeDef: add DeadTime1.
- Aligned ATMR / BTMR / GTMR bit-field and register names with the SVD and user manual (including OCXACR).
- ADC
- Updated external-trigger macros from CC naming to TRGO.
- Added internal channel aliases: DDL_ADC_CHANNEL_TS, DDL_ADC_CHANNEL_VBG, DDL_ADC_CHANNEL_1_2_VDD, DDL_ADC_CHANNEL_OPAMP0 and DDL_ADC_CHANNEL_OPAMP1.
- GPIO
- Fixed DDL_GPIO_GetAF3Pin_10_15: return value is right-shifted to the selected pin field.
- DMA
- Removed unsupported DDL_DMA_MODE_PFCTRL mode.
- RCC
- Renamed DDL_RCM_GetSystemClocksFreq to DDL_RCC_GetSystemClocksFreq.
- Fixed DDL_RCC_GetSysClkSource: return SWSTS without shifting.
- Corrected AHB divider comment values for DIV32 / DIV64 / DIV128.
- LPTMR / OPA / PMU / SCU
- Updated LPTMR PSC bit-field width and added related Is-enabled helper APIs.
- Aligned OPA / PMU / SCU bit-field macros and APIs with the user manual.
- WWDT / IWDT
- Added DDL_WWDT_DisableIT_EWKUP.
- Updated IWDT feed API notes for the required delay after refresh.
- UTILS
- Added DDL_Init1usTick for microsecond delay initialization.
- Updated clock helper references to DDL_RCC_GetSystemClocksFreq; unlock FLASH before latency update in DDL_SetFlashLatency.
- Legacy
- Added and updated compatibility aliases in g32_ddl_legacy.h for renamed macros and APIs.