zephyr/drivers/counter/Kconfig
Peter A. Bigot e444274e95 drivers: counter: add Maxim DS3231 support
The DS3231 is an I2C real-time clock with internal temperature
compensated oscillator, maintaining civil time to 1 s precision with
nominal 2 ppm accuracy from 0-40 Cel.

The basic functionality is exposed as a counter that is always running
at 1 Hz.  Much more functionality is exposed as driver-specific API,
including the ability to translate between the time scale of the DS3231
and the time scale of the Zephyr uptime clock.  This allows correlation
of events in the system clock to UTC, TAI, or whatever time scale is
used to maintain the DS3231.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2020-05-07 19:45:06 +02:00

44 lines
878 B
Plaintext

# Counter configuration options
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig COUNTER
bool "Counter Drivers"
help
Enable support for counter and timer.
if COUNTER
module = COUNTER
module-str = counter
source "subsys/logging/Kconfig.template.log_config"
source "drivers/counter/Kconfig.gecko"
source "drivers/counter/Kconfig.tmr_cmsdk_apb"
source "drivers/counter/Kconfig.dtmr_cmsdk_apb"
source "drivers/counter/Kconfig.mcux_rtc"
source "drivers/counter/Kconfig.nrfx"
source "drivers/counter/Kconfig.imx_epit"
source "drivers/counter/Kconfig.stm32_rtc"
source "drivers/counter/Kconfig.sam0"
source "drivers/counter/Kconfig.cmos"
source "drivers/counter/Kconfig.mcux_gpt"
source "drivers/counter/Kconfig.xec"
source "drivers/counter/Kconfig.mcux_lptmr"
source "drivers/counter/Kconfig.maxim_ds3231"
endif # COUNTER