diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-16 15:43:01 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-16 15:43:01 +0000 |
commit | 44d017bbaf9aff6d3f7b5dfd2042a71a6414380c (patch) | |
tree | 9331162b22b699068d1bdfe8a637c1b7993e5962 /nuttx/arch/arm/src/stm32/chip | |
parent | 61f7bc640f2f2ef42df04ca47d2806401cf97469 (diff) | |
download | px4-nuttx-44d017bbaf9aff6d3f7b5dfd2042a71a6414380c.tar.gz px4-nuttx-44d017bbaf9aff6d3f7b5dfd2042a71a6414380c.tar.bz2 px4-nuttx-44d017bbaf9aff6d3f7b5dfd2042a71a6414380c.zip |
Increase range of pulse count in PWM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4302 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/chip')
-rw-r--r-- | nuttx/arch/arm/src/stm32/chip/stm32_tim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/chip/stm32_tim.h b/nuttx/arch/arm/src/stm32/chip/stm32_tim.h index 104eba3de..8822589c0 100644 --- a/nuttx/arch/arm/src/stm32/chip/stm32_tim.h +++ b/nuttx/arch/arm/src/stm32/chip/stm32_tim.h @@ -667,6 +667,8 @@ #define ATIM_RCR_REP_SHIFT (0) /* Bits 7-0: Repetition Counter Value */ #define ATIM_RCR_REP_MASK (0xff << ATIM_RCR_REP_SHIFT) +#define ATIM_RCR_REP_MAX 128 + /* Break and dead-time register */ #define ATIM_BDTR_DTG_SHIFT (0) /* Bits 7:0 [7:0]: Dead-Time Generator set-up */ |