1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Valentin
2421919295 periph/adc: introduce periph_adc_continous 2023-11-10 12:10:49 +01:00
Benjamin Valentin
1768e93710 drivers/periph: use uint_fast8_t as default type
The default driver type is just an index into a device array defined
by the board.

If a platform wants to encode additional information in the device type,
it can define a custom type.

This means we can just set the default type to whatever fits the target
CPU best.

On ARM this will still be a 32 bit word, but on AVR it will by a 8 bit byte.
2021-11-18 10:29:50 +01:00
Marian Buschsieweke
6e39b4d191
drivers/periph: adc_sample() now returns int32_t
Reasoning: This allow support for ADCs with resolution of more than 16 bits on
8 bit and 16 bit platforms.
2020-01-10 14:13:06 +01:00
Hauke Petersen
f361ebc0bd periph/adc: add doc on low power implications 2019-10-01 23:09:23 +02:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
Thomas Eichinger
798557c32c doc: drivers: fix doxygen warnings 2017-03-10 14:56:48 +01:00
Hauke Petersen
0b5ca0e4c3 periph/adc: removed ADC_NUMOF check 2017-02-15 09:44:13 +01:00
Hauke Petersen
9a4df61005 drivers/periph: fixed UNDEF values to UINT_MAX 2016-04-01 10:57:26 +02:00
Hauke Petersen
58a8884acf drivers/periph: remodeled the ADC periph interface 2016-03-14 10:38:42 +01:00
Hauke Petersen
77b790375f drivers/periph: some doxygen fixes
- added todos to periph module description
- repaired group names (e.g. s/driver_xx/drivers_xx/)
2015-11-19 15:57:36 +01:00
Alexandru Caciulescu
451bf78549 drivers/include/periph: Repair header file include guards 2015-03-24 17:55:42 +02:00
Ludwig Ortmann
5523ec67f3 doc: make peripheral interfaces modules
also remove `@file` parameters
2014-10-25 15:37:04 +02:00
BytesGalore
f94623ae0f drivers: add extern "C" to header files 2014-10-21 15:30:03 +02:00
Ludwig Ortmann
2439bd839c doc: fix more license headers
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Hauke Petersen
378c0dfc3a drivers: some improvements to the ADC driver IF
- removed UNDEFINED value from device enum
- added pre-defined precision values
- added power[on|off] functions
- some minor doxygen fixes
2014-07-28 15:59:33 +02:00
Martin Lenders
1528857feb Make filenames in periph documentation unique
This makes the filenames in the documentation of low-lever peripheral
drivers unique, so doxygen stops complaining about duplicates.
2014-07-18 14:59:46 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
Hauke Petersen
6ddd189fb1 drivers: Initial import of low-level ADC driver interface
Fixed tons of spelling errors

Fixed typo in ADC_NUMOF macro

drivers: adjustment to low-level adc drvier IF

drivers: added [in|out] to doxygen @param comments
2014-04-10 15:12:31 +02:00