libopencm3/lib/stm32/f4
BuFran 6570f6eb07 Fix the order of ADC injected channel list
According to RM0090, page 301, paragraph 11.13.12 Note. (For F4, for F1 and F3 is it in the corresponding manuals)

The JSQR are filled always ending at SQR4 ie for those lists we must set this list:

(A)       ->                               JSQ4 = A,
(A,B)     ->                     JSQ3 = A, JSQ4 = B,
(A,B,C)   ->           JSQ2 = A, JSQ3 = B, JSQ4 = C,
(A,B,C,D) -> JSQ1 = A, JSQ2 = B, JSQ3 = C, JSQ4 = D,

The readed values are in correct order, starting from JDR1:

(A)       -> JDR1 = A,
(A,B)     -> JDR1 = A, JDR2 = B,
(A,B,C)   -> JDR1 = A, JDR2 = B, JDR3 = C,
(A,B,C,D) -> JDR1 = A, JDR2 = B, JDR3 = C, JDR4 = D,
2013-12-04 22:03:23 +00:00
..
Makefile [stm32] Unify f0/f3 SPI and correct all makefiles 2013-11-07 21:50:48 +00:00
adc.c Fix the order of ADC injected channel list 2013-12-04 22:03:23 +00:00
crc.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
crypto.c [Style] Do not declare new types if not really necessary. 2013-06-30 22:20:51 -07:00
dac.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
dma.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
gpio.c Add test in common headers for improper inclusion of such files in application. 2013-03-07 18:35:04 +10:30
i2c.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
iwdg.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
libopencm3_stm32f4.ld Add support for static constructors and destructors 2013-04-24 22:49:25 +02:00
pwr.c [Style] A small coding style fixing session. 2013-07-05 20:35:13 -07:00
rcc.c Stile fixes run, 80 char boundry. 2013-06-12 21:07:35 -07:00
rtc.c [STM32F0:RTC] Renamed common files to be consistent to file naming scheme 2013-08-22 17:18:38 -07:00
spi.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
stm32f405x6.ld [stm32][f4] ld file for f405x6 2013-04-23 17:55:04 +02:00
timer.c This mainly moves the STM32 timers' code to the common area. 2013-03-09 14:39:01 +10:30
usart.c Repair to documentation (most documented files) 2013-03-07 11:14:06 +10:30
vector_chipset.c unify scb (system control block) 2012-10-18 21:45:20 +02:00