Common counter driver based on timer for MAX32xxx MCUs
To use as wakeup source wakeup-source parameter shall be
defined as below
&lptimer0 {
status = "okay";
clock-source = <ADI_MAX32_PRPH_CLK_SRC_ERTCO>;
wakeup-source;
counter {
status = "okay";
};
};
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
9 lines
247 B
Text
9 lines
247 B
Text
# Copyright (c) 2024 Analog Devices, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config COUNTER_TIMER_MAX32
|
|
bool "MAX32xxx counter driver"
|
|
default y
|
|
depends on DT_HAS_ADI_MAX32_COUNTER_ENABLED
|
|
help
|
|
Enable the counter driver for MAX32 MCUs.
|