drivers: counter: Counter API implementation for STM32F4 Series (TIMER).
- Shim for counter API using LL_TIM driver. - Supports all general-purpose (TIMx) timers. Signed-off-by: Kent Hall <kjh2166@columbia.edu>
This commit is contained in:
parent
aceed99e2d
commit
ba37d5935e
9 changed files with 749 additions and 0 deletions
11
drivers/counter/Kconfig.stm32_timer
Normal file
11
drivers/counter/Kconfig.stm32_timer
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2021 Kent Hall
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_ST_STM32_COUNTER := st,stm32-counter
|
||||
|
||||
config COUNTER_TIMER_STM32
|
||||
bool "STM32 counter driver"
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_COUNTER))
|
||||
select USE_STM32_LL_TIM
|
||||
help
|
||||
Enable the counter driver for STM32 family of processors.
|
Loading…
Add table
Add a link
Reference in a new issue