2020-07-21 22:34:03 +08:00
|
|
|
# Copyright (c) 2020, Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config COUNTER_NATIVE_POSIX
|
2022-03-09 20:11:42 +08:00
|
|
|
bool "Counter on COUNTER_0"
|
|
|
|
default y
|
2022-07-22 05:33:07 +08:00
|
|
|
depends on DT_HAS_ZEPHYR_NATIVE_POSIX_COUNTER_ENABLED
|
2020-07-21 22:34:03 +08:00
|
|
|
|
|
|
|
config COUNTER_NATIVE_POSIX_FREQUENCY
|
2022-03-09 20:11:42 +08:00
|
|
|
int "native_posix counter frequency in Hz"
|
|
|
|
default 1000
|
|
|
|
depends on COUNTER_NATIVE_POSIX
|
2023-10-13 10:47:18 +08:00
|
|
|
|
|
|
|
config COUNTER_NATIVE_POSIX_NBR_CHANNELS
|
|
|
|
int "native counter, number of channels"
|
|
|
|
default 4
|
|
|
|
depends on COUNTER_NATIVE_POSIX
|