diff options
author | bnewbold <bnewbold@robocracy.org> | 2015-06-13 22:01:54 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-06-13 22:01:59 -0700 |
commit | 8e69d8490f8ac9b3d357d4ca4d99156735d033e2 (patch) | |
tree | d568278537675de9383e95fe813c52f80f2fedc5 /docs/.gitignore | |
parent | 6aa0a382c9b47620b2fe56344d208eac3e460602 (diff) | |
download | librambutan-8e69d8490f8ac9b3d357d4ca4d99156735d033e2.tar.gz librambutan-8e69d8490f8ac9b3d357d4ca4d99156735d033e2.zip |
fix timer capture TI1/TI2 buglegacy
Somewhat confusingly, the TI1/TI2 fields for capture/compare channels 2
and 4 are both flipped compared to channels 1 and 3 and do not
correspond to the binary numbers.
Section 15.4.7 of RM0008 (STM32F1 series) and Section 12.4.7 of RM0368
(STM32F4 series) read:
CC1S: Capture/Compare 1 selection
01: CC1 channel is configured as input, IC1 is mapped on TI1
10: CC1 channel is configured as input, IC1 is mapped on TI2
CC2S: Capture/Compare 2 selection
01: CC2 channel is configured as input, IC2 is mapped on TI2
10: CC2 channel is configured as input, IC2 is mapped on TI1
This commit closes github issue #12 reported by GatorCh.
Diffstat (limited to 'docs/.gitignore')
0 files changed, 0 insertions, 0 deletions