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.)
Defaults¶
- 0x20 if - NET_GPTP_CLOCK_ACCURACY_25NS
- 0x21 if - NET_GPTP_CLOCK_ACCURACY_100NS
- 0x22 if - NET_GPTP_CLOCK_ACCURACY_250NS
- 0x23 if - NET_GPTP_CLOCK_ACCURACY_1US
- 0x24 if - NET_GPTP_CLOCK_ACCURACY_2_5US
- 0x25 if - NET_GPTP_CLOCK_ACCURACY_10US
- 0x26 if - NET_GPTP_CLOCK_ACCURACY_25US
- 0x27 if - NET_GPTP_CLOCK_ACCURACY_100US
- 0x28 if - NET_GPTP_CLOCK_ACCURACY_250US
- 0x29 if - NET_GPTP_CLOCK_ACCURACY_1MS
- 0x2a if - NET_GPTP_CLOCK_ACCURACY_2_5MS
- 0x2b if - NET_GPTP_CLOCK_ACCURACY_10MS
- 0x2c if - NET_GPTP_CLOCK_ACCURACY_25MS
- 0x2d if - NET_GPTP_CLOCK_ACCURACY_100MS
- 0x2e if - NET_GPTP_CLOCK_ACCURACY_250MS
- 0x2f if - NET_GPTP_CLOCK_ACCURACY_1S
- 0x30 if - NET_GPTP_CLOCK_ACCURACY_10S
- 0x31 if - NET_GPTP_CLOCK_ACCURACY_GT_10S
- 0xfe 
Kconfig definition¶
At <Zephyr Subsystem>/net/l2/ethernet/gptp/Kconfig:84
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:39 → <Zephyr Subsystem>/net/Kconfig:85 → <Zephyr Subsystem>/net/l2/Kconfig:71 → <Zephyr Subsystem>/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.)