CONFIG_ETH_STM32_HAL_PTP_CLOCK_SRC_HZ
Frequency of the clock source for the PTP timer
Type: int
Help
Set the frequency in Hz sourced to the PTP timer.
If the value is set properly, the timer will be accurate.
Direct dependencies
PTP_CLOCK_STM32_HAL
&& (SOC_SERIES_STM32F7X
|| SOC_SERIES_STM32H7X
) && ETH_STM32_HAL
&& NET_L2_ETHERNET
(Includes any dependencies from ifs and menus.)
Default
50000000
Kconfig definition
At <Zephyr>/drivers/ethernet/Kconfig.stm32_hal:124
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/drivers/Kconfig:20
→ <Zephyr>/drivers/ethernet/Kconfig:52
Menu path: (Top) → Device Drivers → Ethernet Drivers → STM32 HAL Ethernet driver → STM32 HAL PTP clock driver support
config ETH_STM32_HAL_PTP_CLOCK_SRC_HZ
int "Frequency of the clock source for the PTP timer"
default 50000000
depends on PTP_CLOCK_STM32_HAL && (SOC_SERIES_STM32F7X || SOC_SERIES_STM32H7X) && ETH_STM32_HAL && NET_L2_ETHERNET
help
Set the frequency in Hz sourced to the PTP timer.
If the value is set properly, the timer will be accurate.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)