jflyper
a554fc7a09
[G4] ADC support
2020-02-08 13:26:41 +13:00
Michael Keller
06cabd741f
Unify DMA stream and channel handling ( #8586 )
...
Unify DMA stream and channel handling
2019-07-28 11:03:46 +12:00
jflyper
7ddfd7dea6
Unify DMA stream and channel handling
2019-07-27 21:20:34 +09:00
jflyper
9d7cfb1e79
Fix incorrect Vref calibration
...
The formula used to compute VREF from VREFINT and VREFINTCAL was incorrect.
Also, as correct formulae for VREF and TEMPSENSOR incorporate lots of
MCU dependent variables and constants, a new driver level service was
added to convert ADC values to VREF voltage or temperature.
2019-07-24 11:40:45 +09:00
jflyper
16f2392458
[H7] Add USE_DMA_SPEC to H7
2019-06-07 08:00:52 +09:00
jflyper
e18c4ec662
[H7] Use channel member for H7 DMA request
2019-06-05 18:13:17 +09:00
jflyper
1b49b33e00
[H7] Enable ADC
...
- Initial cut without internal sensors
- Full DMA including internal sensors spanning multiple ADC peripherals
- Skip ADC initialisation when ADC instance is unused to avoid crash.
- Add volatile & DMA_RAM attribute to ADC DMA buffer
- Revised DMA coherency handling
- adcGetChannelValues - added comment and moved def to adc_impl.h
- Changes per PR comment (indentation fix)
2019-05-08 21:07:29 +09:00
jflyper
fe182bb2fb
Introduce dma_reqmap
2018-12-30 09:40:37 +09:00
blckmn
a9f74cd6df
Removed excess trailing spaces before new lines on licenses.
2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd
Direct license replacement
2018-04-22 09:22:46 +10:00
Martin Budden
725f0dfa26
Separated ADC parameter group code into separate files
2017-12-15 01:31:29 +00:00
jflyper
7a57468c8c
Configurable ADC
2017-11-07 17:50:45 +09:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
Sami Korhonen
358bdf76f3
Fix F7 ADC
2017-01-07 11:45:15 +02:00
Michael Jakob
46387c9dbe
Cleanup ENUM usage
2016-12-04 16:09:21 +01:00
fishpepper
703deeb79f
added support for ADC3 in F3 targets
2016-11-22 20:57:02 +01:00
blckmn
17facbea84
sdcard dma config, adc config, bluejayf4 hardware revision
...
Moved ADC to configuration stored in masterConfig.
- can remove features for vbat etc in future (perhaps param groups)
- allows adc to be turned off completely (freeing up dma)
Added feature SDCARD
- enables it to be turned off.
- allows for DMA to be turned off (set sdcard_dma=OFF)
Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00
blckmn
8dc3bee80d
Adding DMA ownership for ADC, LED STRIP, USART and MOTOR
2016-11-08 13:47:37 +11:00
Sami Korhonen
1f8805cdf0
squash betaflightF7
...
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
Martin Budden
07adf66bbb
Optimisation of driver header files
2016-08-07 01:14:11 +02:00
Martin Budden
141b369667
Removed trailing whitespace
2016-07-16 07:54:58 +01:00
Martin Budden
ea283ab98c
Converted tabs to spaces
2016-07-09 14:39:39 +01:00
blckmn
c764b0a919
Consistent naming of tag versus pin. Updates based on feedback.
2016-06-24 12:15:18 +10:00
blckmn
71353066b8
Remove need to specify ADC Channel (only 1 per pin).
2016-06-24 09:55:11 +10:00
blckmn
7e6fb8db65
ADC converted to new IO mapping
2016-06-24 09:55:09 +10:00
Petr Ledvina
d3324a9f0d
Move ADC internal interface into new header file
2015-02-23 09:17:06 +01:00