summaryrefslogtreecommitdiff
path: root/components/drivers/clock_time/Kconfig
blob: 46dd27148384f7153b753a094ce8e3c2f6cf1172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
menuconfig RT_USING_CLOCK_TIME
    bool "Clock time subsystem"
    default n

config RT_USING_CLOCK_TIMER_TRIGGER
    bool "Enable clock timer hardware trigger output"
    depends on RT_USING_CLOCK_TIME
    default n
    help
        Enable clock timer hardware trigger output controls. Timer backends
        may use this to expose update/TRGO trigger events to ADC drivers. The
        selected timer must be dedicated to trigger output; the framework does
        not arbitrate shared use with clock-time timeouts, PWM, or other timer
        consumers.

if RT_USING_CLOCK_TIME
    config CLOCK_TIMER_FREQ
        int "Clock time timer freq"
        default 0
        depends on ARCH_RISCV64
        help
            Base frequency (Hz) for clock time counter on RISC-V.

    config RT_CLOCK_TIME_ARM_ARCH
        bool "ARM ARCH Timer"
        depends on RT_USING_DM
        depends on ARCH_ARM_CORTEX_A || ARCH_ARMV8
        default n

if RT_USING_DM
    osource "$(SOC_DM_CLOCK_TIME_DIR)/Kconfig"
endif
endif