Hauke Petersen
2b97513637
drivers/timer: added callback argument
2016-02-29 14:40:08 +01:00
Hauke Petersen
085cd48e3d
drivers/gpio: changed default type to unsigned
2016-02-17 10:27:10 +01:00
Joakim Nohlgård
e2f7ac78f0
Merge pull request #4040 from gebart/pr/periph-timer-init-freq
...
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Hauke Petersen
b59f94593e
drivers/periph: renamed random to hwrng + opts
2016-02-14 12:58:30 +01:00
Joakim Nohlgård
933ee91f72
drivers/periph/timer: Change timer_init definition to support arbitrary (integer) frequencies
2016-02-13 21:29:36 +01:00
Hauke Petersen
eff628ad9b
drivers/periph/pwm: modernized PWM driver interface
2016-02-12 15:52:37 +01:00
Hauke Petersen
cd71c7725f
drivers/cpuid: s/CPUID_ID_LEN/CPUID_LEN/ + fixes
2016-02-08 11:10:59 +01:00
Hauke Petersen
555c010623
drivers/gpio: added default ISR context struct
2016-01-27 17:00:23 +01:00
Joakim Nohlgård
9af084ec18
drivers/periph/uart: Add missing #include <stddef.h>
...
Required for size_t
2016-01-19 14:11:35 +01:00
Hauke Petersen
94c0cc86af
Merge pull request #4504 from PeterKietzmann/extend_gpio_api
...
periph/gpio: extend gpio API doc
2016-01-05 12:04:22 +01:00
PeterKietzmann
4c41f7a994
periph/uart: extend uart API doc
2015-12-22 16:11:21 +01:00
PeterKietzmann
d251b604ad
periph/gpio: extend gpio API doc
2015-12-22 16:10:37 +01:00
Oleg Hahm
426816b9ae
drivers: fix pedantic compiler warnings
2015-12-07 20:28:52 +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
Hauke Petersen
634ae1541b
drivers/periph: remodeled UART driver interface
2015-10-27 14:59:37 +01:00
Hauke Petersen
06743ba29e
drivers/periph/gpio: fixed includes
2015-10-27 13:29:37 +01:00
Peter Kietzmann
e539db10ee
Merge pull request #4104 from gebart/pr/drop-timer-reset
...
periph/timer: Drop timer_reset
2015-10-26 08:36:01 +01:00
Joakim Nohlgård
4c6e8769f6
periph/timer: Fix Doxygen module grouping
2015-10-21 16:53:55 +02:00
Hauke Petersen
9591d2049b
drivers/i2c: removed init_slave for now
2015-10-20 16:57:39 +02:00
Joakim Nohlgård
cbaeccdb90
periph/timer: Drop timer_reset
2015-10-17 20:11:03 +02:00
Hauke Petersen
0ce94291ac
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 11:40:03 +02:00
Peter Kietzmann
7770fab9e8
Merge pull request #3994 from daniel-k/pr/rtt_ticks_convert
...
periph/rtt: add macros for ticks to time conversion
2015-09-30 10:06:27 +02:00
daniel-k
e433231941
periph/rtt: add macros for ticks to time conversion
2015-09-22 16:59:05 +02:00
Hauke Petersen
a4183454e8
drivers/i2c: optimized I2C periph driver interface
...
- added SPI_DEV and SPI_UNDEF macros
- made types and speed values overritable by CPU
- moved old device enum to dev_enums.h
- reformatted a little bit to comply to 80 char line length
2015-09-22 14:43:47 +02:00
Joakim Gebart
abc0a3f97f
drivers/include/periph/timer.h: add dev_enums.h include until all platforms have been updated
2015-08-03 22:52:22 +02:00
Hauke Petersen
b21e21e6e1
drivers/periph: updated the timer interface a bit
...
- fixed some formatting to comments fit 80 char page width
- made tim_t overridable by the CPU
- defined TIMER_DEV() and TIMER_UNDEF macros
2015-08-03 13:56:16 +02:00
Thomas Eichinger
c72f37a30b
Merge pull request #3174 from daniel-k/periph_rtt_conv
...
periph/rtt: add macros for time to tick conversion
2015-07-18 17:55:07 +02:00
Hauke Petersen
4a4ee44abc
drivers/gpio: added GPIO_UNDEF define
2015-06-14 16:12:20 +02:00
Hauke Petersen
2cc2d9f740
drivers: adjusted drivers to changed GPIO interface
2015-06-12 19:10:29 +02:00
Hauke Petersen
b49f11bed7
drivers/gpio: overhaul of the periph GPIO driver
...
- merged init_in and init_out
- renamed init_int to init_exti
- made datatypes overwritable
2015-06-12 19:09:32 +02:00
daniel-k
80c13d109b
periph/rtt: add macros for time to tick conversion
2015-06-08 17:19:20 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Joakim Gebart
92a743560d
drivers/periph/pwm: Update return value doxygen to match long description
2015-05-16 10:00:03 +02:00
Hauke Petersen
bf4733fd88
drivers/periph/spi: added missing stdint.h include
2015-04-16 18:09:32 +02:00
Alexandru Caciulescu
451bf78549
drivers/include/periph: Repair header file include guards
2015-03-24 17:55:42 +02:00
Ludwig Ortmann
cec87139a5
core, cpu, drivers, tests: remove trailing space
2015-02-18 13:52:48 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
Joakim Gebart
cc7acaaef0
periph/spi: Update clock polarity and phase documentation for clarity.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-22 09:03:44 +01:00
Thomas Eichinger
fe643f7077
periph/i2c: added means to make I2C thread-safe
...
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Hauke Petersen
3439247248
drivers/periph/spi: added locking mechanism
2015-01-17 15:13:51 +01:00
Ludwig Ortmann
c070afb883
periph/rtc: move struct tm note to the top
...
The remark is valid for the whole interface, not just `rtc_get_time`.
2014-12-17 09:58:54 +01:00
Hauke Petersen
f80c4a4d7e
driver/timer: adjusted doxygen for speed value
2014-12-16 16:36:36 +01:00
Hauke Petersen
f3de73fe54
driver/i2c: additional docu for pull resistors
2014-12-16 15:17:42 +01:00
PeterKietzmann
aab94e50f9
doc: extend i2c description for pull-up
2014-12-16 10:54:31 +01:00
Ludwig Ortmann
e82f6dce79
doc: periph/dac: fix typo
2014-12-04 11:14:26 +01:00
Ludwig Ortmann
da43a5e7a4
doc: periph: various fixes and cleanup
...
- unify file/module @brief
- distinct @file section more visibly in source
- provide missing @brief's
- move module details/notes from file to module sections
- provide missing macro definition for building
2014-12-04 10:28:45 +01:00
Simon Brummer
5a4b966d9c
Basic DAC Driver, implementation on stm32f4discovery
2014-11-25 22:37:32 +01:00
Ludwig Ortmann
fb75b65df7
periph/rtt: fix documentation
...
Fix some typos, grammar and style.
2014-11-19 17:04:20 +01:00
Hauke Petersen
1ae08f8437
drivers/periph/rtt: added overflow callback
2014-11-07 12:14:37 +01: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
b3266fee1a
drivers/periph/gpio: fix #ifdef instead of #if
2014-10-18 07:40:27 +02:00
Hauke Petersen
8c3a207a3f
Merge pull request #1770 from fnack/spi_extension
...
driver - periph: Extend SPI low-level driver interface
2014-10-17 13:54:38 +02:00
Fabian Nack
be5f175623
drivers - spi: extended low-level spi driver interface
2014-10-16 17:10:11 +02:00
Martine Lenders
d9026054b7
periph.cpuid: Add central documentation for CPUID_ID_LEN
2014-10-16 14:39:56 +02:00
Hauke Petersen
45b466d786
drivers: added low-level I2C driver interface
2014-10-15 14:50:08 +02:00
Ludwig Ortmann
cd2ea516b7
drivers/periph/gpio: increase possible gpio number
2014-10-01 18:42:34 +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
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Thomas Eichinger
b5bdf2620b
Merge pull request #960 from thomaseichinger/rtc_interface
...
periph_drivers: Proposal for a low-level RTT driver interface
2014-08-21 22:15:07 +02:00
Thomas Eichinger
d9b7ee4c6b
periph:rtc: add missing argument for callback
2014-08-21 22:01:17 +02:00
Thomas Eichinger
c5ed71e54f
periph_driver: introduce a RTT interface
2014-08-21 21:59:42 +02:00
Christian Mehlis
f3cf4267ab
periph: added a random-data driver interface
2014-08-21 19:16:24 +02:00
Thomas Eichinger
0ea5f94754
Merge pull request #1363 from thomaseichinger/thirdparty_boards_import
...
board: cpu: initial import of iot-lab_M3
2014-08-21 18:47:07 +02:00
Thomas Eichinger
b904bc3495
Implement a minimal RTC interface
2014-08-21 18:42:30 +02:00
Thomas Eichinger
aaa2c2e8ba
boards: initial import of iot-lab_M3
2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c
cpu: initial import of stm32f1
2014-08-21 17:53:37 +02:00
Hauke Petersen
aa3e40c9b1
drivers: improved the low-level GPIO driver IF
...
- removed UNDEFINED value from device enum
- changed most functions to void return value
- add parameter for interrupt callback
2014-08-15 12:23:32 +02:00
Hauke Petersen
8a80b2add8
drivers: improvements to UART driver interface
...
- removed UNDEFINED value from device enum
- added argument for callbacks
- add power[on|off] functions
- removed tx_end() function in favor of cb return value
2014-08-08 17:39:34 +02:00
Hauke Petersen
3f4aa04260
drivers: updated low-level PWM driver interface
2014-08-07 14:47:24 +02:00
Martine Lenders
5053a521d9
driver_periph: minor documentation fix
2014-08-06 15:06:06 +02:00
Oleg Hahm
1623b68ae3
Merge pull request #1311 from haukepetersen/add_driver_spi_if
...
drivers: Initial import of SPI low-level driver IF
2014-08-04 15:34:36 +02:00
Martin Lenders
3a6adcc92c
Implement CPU serial number getter.
2014-07-31 19:51:14 +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
Hauke Petersen
413bc42c98
[SQUASH ME] added begin_transaction, fixed doc
2014-07-25 00:00:35 +02:00
Hauke Petersen
ebf4bd98a2
[SQUASH ME] fixed signature of spi_transfer_reg()
2014-07-24 22:55:17 +02:00
Hauke Petersen
f1865f034d
[SQUASH ME] removed UNDEFINED from device list
2014-07-24 21:40:01 +02:00
Hauke Petersen
fdbfe36d68
[SQUASH ME] added fixed speed values
2014-07-24 21:37:01 +02:00
Hauke Petersen
4513eb7f77
driver: updated SPI driver interface
2014-07-24 21:37:01 +02:00
Hauke Petersen
d7fe933fe6
drivers: fixes to the SPI low-level interface
2014-07-24 21:37:01 +02:00
Hauke Petersen
e5ae56323e
drivers: Initial import of SPI low-level driver IF
2014-07-24 21:37:01 +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
Hauke Petersen
133a106133
driver - gpio: small adjustments
2014-07-04 10:28:40 +02:00
Hauke Petersen
b2fad213d7
drivers - gpio: expanded gpio driver interface
...
- added functions for en|disabling a pins interrupt
2014-07-03 21:51:37 +02:00
Hauke Petersen
5d20053f74
drivers: added set_absolute to timer interface
2014-06-24 18:46:06 +02:00
Hauke Petersen
854d3fe258
drivers: some adjustments to low-level pwm driver
...
- adjusted doxygen and boilerplate
- changed return values for start and stop functions
2014-06-11 20:37:21 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
Hauke Petersen
7b96e488ff
drivers: fixes to the low-level GPIO driver
...
- fixed doxygen comments
- added GPIO_UNDEFINED value
- added return values to all functions
2014-05-05 21:29:35 +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
Hauke Petersen
bfad408ce7
drivers: Initial import of low-level UART driver interface
...
Fixed spelling
drivers: remodeled low-level uart driver interface
- added blocking mode of operation
- added UNDEFINED device for compatibility
- changed baudrate type to uint32_t
drivers: added [in|out] to param documentation
2014-04-10 15:06:52 +02:00
Hauke Petersen
324481f1bb
Initial import of low-level timer driver interface
...
Fixed spelling
drivers: adjustments to low-level timer driver IF
drivers: added [in|out] to @param documentation
drivers: fixed doxygen for tim_t typedef
2014-04-10 14:56:04 +02:00
Hauke Petersen
cfc9ef459d
drivers: small fixes for low-level pwm driver IF
...
- added UNDEFINED device for compatability
- adjusted meaning of return values for init and set functions
- overdue spell fix
2014-03-26 17:58:06 +01:00
Hauke Petersen
cd27639ee3
Fixed spelling
2014-03-26 16:58:55 +01:00
Hauke Petersen
e5a8945f03
Initial import of low-level PWM driver interface
2014-03-26 16:58:55 +01:00
Hauke Petersen
4d58a1e626
Fixed spelling errors
2014-03-26 15:49:04 +01:00
Hauke Petersen
d1093fccd9
Initial import of low-level GPIO driver interface
2014-03-26 15:49:04 +01:00
Hauke Petersen
db048999d5
Fixed spelling errors
2014-02-04 18:47:05 +01:00
Hauke Petersen
0bdbeba85e
Initial import of low-level driver doxygen groupdef
2014-02-03 19:50:01 +01:00