Hauke Petersen
7204ec3166
periph/rtc: removed RTC_NUMOF guards from header
2017-08-23 15:39:16 +02:00
Sebastian Meiling
95b31660b6
Merge pull request #7173 from haukepetersen/opt_gpiodoc
...
drivers/gpio: improved doc for gpio_init()
2017-07-14 14:17:39 +02:00
Hauke Petersen
a2bc258af0
drivers/dac: clarified doc and named return values
...
- added more comprehensive doc to dac_init and dac_set
- named return values for dac_init
- use named return values in existing implementations
2017-06-27 12:52:12 +02:00
Hauke Petersen
3ec75635ba
drivers/gpio: improved doc for gpio_init()
2017-06-26 13:39:28 +02:00
smlng
15f8703f01
doc: use markdown sections, adapt pwm.h
2017-06-06 16:07:51 +02:00
smlng
756e3d95fb
doc: make detailed description of flashpage interface more visibile
2017-06-06 16:05:52 +02:00
smlng
236c6cb013
doc: enhance doxygen doc of PM module
2017-06-06 16:05:52 +02:00
smlng
ab6cb269ed
doc: fix UART doxygen docu
...
- move detailed description to be visible on respective module page
- see and compare other periph interfaces, i.e., GPIO, PWM ...
2017-06-06 16:05:52 +02:00
smlng
f5cd3a4496
doc: reorganize and enhance docu on common I2C periph interface
2017-06-06 16:05:47 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Thomas Eichinger
798557c32c
doc: drivers: fix doxygen warnings
2017-03-10 14:56:48 +01:00
79b2fd89bb
Merge pull request #6568 from haukepetersen/opt_periph_uarttxonly
...
periph/uart: enable to run UART in TX only mode
2017-02-24 13:01:38 +01:00
Hauke Petersen
fc6b7f0575
Merge pull request #6564 from haukepetersen/opt_periph_pwmpower
...
periph/pwm: remove pwm_(start|stop) + doc
2017-02-23 10:58:44 +01:00
Hauke Petersen
419e043c1a
periph/dac: removed DAC_NUMOF check
2017-02-22 10:30:16 +01:00
Hauke Petersen
021471e691
periph/uart: removed UART_NUMOF check
2017-02-15 09:45:06 +01:00
Hauke Petersen
0b5ca0e4c3
periph/adc: removed ADC_NUMOF check
2017-02-15 09:44:13 +01:00
Hauke Petersen
2bb3425d4b
s pwm.h: fixed doc
2017-02-13 09:37:31 +01:00
Hauke Petersen
8064bd9fa9
periph/pwm: remove pwm_(start|stop) + doc
...
- joined start/stop and poweron/poweroff
- added general documentation
2017-02-13 09:37:31 +01:00
Hauke Petersen
18fe26a5c8
periph/uart: documented TX only mode
2017-02-09 10:42:52 +01:00
Marc Poulhiès
dcff98ef56
drivers/include/periph/spi: Typo fix
...
Fix typo in inline doc.
2017-02-07 16:59:33 +01:00
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
2017-02-07 13:20:39 +01:00
Marc Poulhiès
56bd36b55b
spi: doc typo
2017-01-30 13:26:01 +01:00
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
2017-01-25 16:46:46 +01:00
Hauke Petersen
37e0482e35
drivers/periph: remodeled SPI driver interface
2017-01-25 16:46:04 +01:00
Francisco Acosta
e44236d379
Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
...
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +01:00
d1db946188
Merge pull request #6344 from haukepetersen/opt_pm_misc
...
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Hauke Petersen
af1e492552
drivers/flashpage: added addr-to-page function
2017-01-24 09:41:56 +01:00
Peter Kietzmann
72aa1569f9
Merge pull request #6231 from haukepetersen/rm_devenums_pwm
...
drivers/pwm: removed deprecated PWM_x defines
2017-01-23 10:12:11 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Hauke Petersen
55c4477038
periph/pm: minor doc clarification
2017-01-19 11:07:59 +01:00
Hauke Petersen
a35709b4f8
Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
...
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Hauke Petersen
3f259eaaf9
drivers/pwm: removed deprecated PWM_x defines
2017-01-18 10:11:50 +01:00
Hauke Petersen
296ca11a23
drivers/periph: removed GPIO from dev_enums.h
2017-01-16 09:31:24 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
6150e2753a
drivers: periph: pm: introduce new power management API
2017-01-12 11:24:15 +01:00
Hauke Petersen
6ab089e63e
drivers/pwm: remove PWM_NUMOF guard
...
as we do not build the periph drivers selectable currently,
the guard is triggered even for boards that do not have any
PWM defined and don't want to use it...
2016-12-15 12:18:39 +01:00
Hauke Petersen
41f453066c
drivers: added interface for writing flash pages
2016-11-30 16:51:09 +01:00
Hauke Petersen
314549059c
periph/uart: added names for return values
2016-10-28 10:31:59 +02:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Laurent Navet
f30c4ade2c
drivers/timer: fix copy/paste error
2016-09-07 21:59:25 +02:00
Joakim Nohlgård
bc9e5b218b
periph/gpio: Clean up Doxygen text
2016-07-30 08:06:19 +02:00
Laurent Navet
96ebff9174
drivers/uart: fix typos
2016-06-14 22:54:25 +02:00
Oleg Hahm
814be0655f
doc: minor fixes of typos in periph documentation
2016-05-03 23:37:22 +02:00
Hauke Petersen
9a4df61005
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-01 10:57:26 +02:00
Hauke Petersen
2515a3f9ef
drivers/gpio: changed the way the mode is configured
...
- joined pushpull and dir into one single mode parameter
- with this enabled the configuration of open-drain mode
2016-03-17 14:37:24 +01:00
Hauke Petersen
2d2126e909
drivers/uart: use uint8_t for data in cb signature
2016-03-15 10:57:44 +01:00
Hauke Petersen
40ae604c3b
drivers/dac: reworked DAC driver interface
2016-03-14 20:13:24 +01:00
Hauke Petersen
58a8884acf
drivers/periph: remodeled the ADC periph interface
2016-03-14 10:38:42 +01:00
Hauke Petersen
49ac533eba
drivers/spi: made conf and speed types overridable
2016-03-09 17:59:25 +01:00
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