summaryrefslogtreecommitdiff
path: root/drivers/counter/stm32-lptimer-cnt.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2021-08-27 12:47:46 +0900
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-17 10:52:46 +0100
commitea434ff82649111de4fcabd76187270f8abdb63a (patch)
treeca440b651270ee950752f18bd14db5525d10c1c1 /drivers/counter/stm32-lptimer-cnt.c
parent05593a3fd1037b5fee85d3c8c28112f19e7baa06 (diff)
counter: stm32-timer-cnt: Provide defines for slave mode selection
The STM32 timer permits configuration of the counter encoder mode via the slave mode control register (SMCR) slave mode selection (SMS) bits. This patch provides preprocessor defines for the supported encoder modes. Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/ad3d9cd7af580d586316d368f74964cbc394f981.1630031207.git.vilhelm.gray@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/counter/stm32-lptimer-cnt.c')
0 files changed, 0 insertions, 0 deletions