CONFIG_NET_GPTP_CLOCK_ACCURACY

(No prompt – not directly user assignable.)

Type: hex

Direct dependencies

NET_GPTP && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <Zephyr>/subsys/net/l2/ethernet/gptp/Kconfig:84

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:69<Zephyr>/subsys/net/l2/ethernet/Kconfig:76

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable IEEE 802.1AS (gPTP) support [EXPERIMENTAL]

config NET_GPTP_CLOCK_ACCURACY
    hex
    default 0x20 if NET_GPTP_CLOCK_ACCURACY_25NS
    default 0x21 if NET_GPTP_CLOCK_ACCURACY_100NS
    default 0x22 if NET_GPTP_CLOCK_ACCURACY_250NS
    default 0x23 if NET_GPTP_CLOCK_ACCURACY_1US
    default 0x24 if NET_GPTP_CLOCK_ACCURACY_2_5US
    default 0x25 if NET_GPTP_CLOCK_ACCURACY_10US
    default 0x26 if NET_GPTP_CLOCK_ACCURACY_25US
    default 0x27 if NET_GPTP_CLOCK_ACCURACY_100US
    default 0x28 if NET_GPTP_CLOCK_ACCURACY_250US
    default 0x29 if NET_GPTP_CLOCK_ACCURACY_1MS
    default 0x2a if NET_GPTP_CLOCK_ACCURACY_2_5MS
    default 0x2b if NET_GPTP_CLOCK_ACCURACY_10MS
    default 0x2c if NET_GPTP_CLOCK_ACCURACY_25MS
    default 0x2d if NET_GPTP_CLOCK_ACCURACY_100MS
    default 0x2e if NET_GPTP_CLOCK_ACCURACY_250MS
    default 0x2f if NET_GPTP_CLOCK_ACCURACY_1S
    default 0x30 if NET_GPTP_CLOCK_ACCURACY_10S
    default 0x31 if NET_GPTP_CLOCK_ACCURACY_GT_10S
    default 0xfe
    depends on NET_GPTP && NET_L2_ETHERNET && NETWORKING

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)