52e68735c3
kw2xrf: Remove PAN ID initialization from reset
2018-11-28 11:31:03 +01:00
d2ddc4ef2e
cc2420: Remove PAN ID initialization from reset
2018-11-28 11:31:02 +01:00
6306308ef5
at86rf2xx: Remove PAN ID initialization from reset
2018-11-28 11:31:02 +01:00
Joakim Nohlgård
a867aeaba2
periph/i2c: Add precondition on i2c_acquire for i2c bus access
2018-11-28 08:43:01 +01:00
059af13933
Merge pull request #10306 from aabadie/pr/drivers/mma8x5x_update
...
drivers/mma8x5x: remove useless type from initialization parameters
2018-11-22 10:18:43 +01:00
Hauke Petersen
7af516a618
netdev: add funcs for declaring get/set as notsup
...
This commit adds two convenience functions that allow to declare
get() and/or set() as not supported when declaring a
netdev_driver struct.
2018-11-21 14:33:22 +01:00
Schorcht
9d59e27d41
drivers: add SHT3X humidity/temperature sensor
2018-11-21 08:48:20 +01:00
a63d76b346
drivers/mma8x5x: remove use of type param
...
Driver now accepts all variants of the driver
2018-11-20 10:41:45 +01:00
836fe3dbba
Merge pull request #9890 from bergzand/pr/ethos/sync
...
ethos: Only accept frame if previous frame is read
2018-11-14 22:41:52 +01:00
c4608ca0eb
ethos: Only accept frame if previous frame is read
2018-11-14 22:16:04 +01:00
Marian Buschsieweke
3cc6c7f465
drivers/saul: Added sensor type RSSI
2018-11-06 11:07:13 +01:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
...
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Frits Kuipers
8b8790c18f
drivers/ds18: Add Maxim Integrated ds18 driver
...
tests/driver_ds18: Add test application for DS18B20 sensor.
tests/driver_ds18: Add whitelist of boards
2018-10-24 16:02:05 +02:00
PeterKietzmann
1bcb521469
drivers/at86rf233: extend doc for smart idle listening feature
2018-10-23 20:02:39 +02:00
Peter Kietzmann
f5379c05a3
Merge pull request #8971 from Hyungsin/forupstream_smart_idle_listening
...
drivers/at86rf2xx: add smart idle listening feature
2018-10-23 19:34:21 +02:00
danpetry
a1a834a726
drivers/tsl4531x: Add power modes; redesign
...
Changes include:
- Implementation of two power modes for the driver: low and high
- Redesign and API change to the description in tsl4531x.h
- Full documentation
- Changing file structure and implementation to fit best practices as
described in
https://github.com/RIOT-OS/RIOT/wiki/Guide%3A-Writing-a-device-driver-in-RIOT
- Including I2C addresses for the rest of the range
2018-10-23 17:26:28 +02:00
Juan Carrano
5604abcedc
drivers/tsl4531x: Add SAUL driver.
2018-10-23 17:26:28 +02:00
Juan Carrano
63dcc18c55
drivers/tsl4531x: Add driver for TSL45315 illuiminance sensor.
...
Missing run modes and power saving configurations, but otherwise
functional.
2018-10-23 17:26:28 +02:00
José Alamos
b3ec93d957
Merge pull request #10088 from unwireddevices/riot-fix-adxl345
...
drivers/adxl345: fix ADXL345 driver
2018-10-16 16:34:41 +02:00
e9a6ebc409
cpu: drivers/eeprom: refactor periph_eeprom implementation
2018-10-16 10:39:10 +02:00
Gunar Schorcht
7fde6fc258
Merge pull request #6712 from aabadie/driver_vcnl4010
...
drivers/vcnl4010: initial implementation
2018-10-15 16:12:45 +02:00
Oleg Artamonov
631c16fdb1
drivers/adxl345: fix range values
2018-10-15 14:57:55 +02:00
Oleg Artamonov
fb65067d3a
drivers/adxl345: fix ADXL345 driver
2018-10-15 14:57:55 +02:00
1ca44cf072
drivers/vcnl40x0: initial implementation
2018-10-15 11:44:10 +02:00
Martine Lenders
0598d5bcf1
periph_gpio: comment IRQ #endif correctly
2018-10-09 15:11:45 +02:00
Martine Lenders
a95957e513
Merge pull request #9992 from haukepetersen/fix_periph_gpiofeaturesscope
...
periph/gpio: fix scope of GPIO_IRQ submodule
2018-10-09 15:10:39 +02:00
0c53bebe1b
Merge pull request #10094 from silkeh/enable-bme280-doc
...
drivers/bmx280: improve documentation
2018-10-04 10:56:16 +02:00
Martine Lenders
aba75be827
netdev: fix return value and precondition doc
...
While reviewing #9942 I noticed that the documentation on the netdev
driver API is unclear and in some cases outright contradicting itself:
> ```
> @return number of bytes used from @p value
> @return `< 0` on error, 0 on success
> ```
IMHO this is unacceptable for such a central API where communication
This fixes a few things and also clarifies preconditions:
- Specifies negative `errno`s clearly so all drivers return the same
when required
- Re-iterates parameter preconditions and special cases within the
parameter documentation itself (might also help towards #9805?)
- Fixes contradictions within return value documentation
- Adds missing parameter documentation on `init()`.
2018-10-03 16:09:42 +02:00
Silke Hofstra
2fb2776012
drivers/bmx280: improve documentation
...
- Add minimal usage instructions
- Ensure that the `bme_280_read_humidity` function (only available on
the BME280) is included in the documentation.
- Fix a typo
2018-10-01 21:28:11 +02:00
6dfc07b076
drivers/sx127x: remove useless rx timeout setter
2018-09-25 22:22:13 +02:00
Joakim Nohlgård
c4016fcf3b
Merge pull request #9978 from haukepetersen/fix_periph_gpiofeaturescopeanddoc
...
periph/gpio: fix doc of `periph_gpio_irq` submodule
2018-09-21 13:15:19 +02:00
Hauke Petersen
bd66184eb2
periph/gpio: re-add irq functions to doxygen
2018-09-21 08:31:09 +02:00
Hauke Petersen
abc11c8e23
periph/gpio: fix scope of GPIO_IRQ submodule
...
Move the gpio_irq_enable() and gpio_irq_disable() functions
into the scope of the PERIPH_GPIO_IRQ submodule.
2018-09-21 08:30:29 +02:00
Semjon Kerner
b24de4a22a
drivers/srf04: initial driver implementation
2018-09-20 15:18:49 +02:00
Leandro Lanzieri
5cc7b6711f
drivers/sx127x: add preliminar multi interrupt pin support
...
drivers/sx127x: add option to use or not multi dio
2018-09-18 14:02:31 +02:00
smlng
a9e848f648
periph/rtt: add missing std header
...
The periph/rtt.h uses `uintX_t` typedefs but misses the required
standard header file, namely `stdint.h`, which is added here.
2018-09-07 14:54:23 +02:00
smlng
f35e4786f3
drivers/enc28j60: always set memory bank, if valid
...
Simplify handling of memory banks, ie. remove check if current bank
is target bank and set it explicitly every time.
2018-09-05 13:26:08 +02:00
smlng
4759f691fc
drivers/enc28j60: cleanup
...
Simplify usage of params via MACROs and copy params struct instead
of (re)assigning values to driver struct. Overall code cleanup.
2018-09-05 13:26:08 +02:00
Joakim Nohlgård
ace717ee27
drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ
2018-08-29 08:53:20 +02:00
9f8386c215
drivers*: add saul doc group to related drivers
2018-08-27 11:32:20 +02:00
Martine Lenders
0f91735280
Merge pull request #9129 from OTAkeys/pr/mtd_spi_nor_4byte
...
mtd_spi_nor: add 4-byte address flash support
2018-08-24 22:22:52 +02:00
608e92e0be
drivers/ata8520e: small improvements
...
- move ata8520e_status from public interface to private implementation
- add useful references to the datasheet
2018-08-24 15:47:24 +02:00
Hauke Petersen
c2184f3454
boards/cpu/drivers/sys: use generic stdio_ if
2018-08-22 10:54:25 +02:00
463b04aa74
Merge pull request #7067 from dylad/adxl345_fix
...
drivers/adxl345: fixes & cleanup
2018-08-22 10:23:46 +02:00
d94d1854ec
Merge pull request #9234 from kYc0o/move_eeprom_to_periph
...
drivers/periph_common/eeprom: move EEPROM definitions to periph_cpu.
2018-08-21 10:25:44 +02:00
7425ac92aa
Merge pull request #9581 from bergzand/pr/at86rf2xx/flag_refactor
...
at86rf2xx: Move flags from netdev to radio
2018-08-17 10:51:23 +02:00
Francisco Acosta
71d3c14354
drivers/periph_common/eeprom: remove the now unnecessary cpu.h include
2018-08-15 15:27:03 +02:00
Hyungsin
e0d3f5b552
drivers/at86rf2xx: add smart idle listening feature
2018-08-06 13:56:42 -07:00
Hyungsin
88895bbed9
drivers/hdc1000: change renew_interval to a parameter
2018-08-06 12:33:53 -07:00
dylad
d114e2852c
drivers/adxl345: fixes & cleanup
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
Michael Andersen
e354824bcf
drivers/mma7760: Add initial support
2018-08-02 15:52:58 +02:00
smlng
76d3a4e30a
driver/srf08: remove leftover doc
...
Remove doc for params and return values which are not used
anymore after I2C API rework.
2018-07-25 12:01:40 +02:00
smlng
2db2ce2dc7
doc: rename sections in i2c.h
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
2e6ff0f197
drivers/ds1307: remove unused clock param
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
df52d6b1b8
drivers/bh1750fvi: remove unused clock param
2018-07-25 12:01:40 +02:00
0b78a1bec5
drivers/isl29020: rework driver API and params definition
2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae
*/ads101x: copyright notice update
2018-07-25 12:01:39 +02:00
95a4d8d4e7
drivers/tsl2561: rework API for consistency
2018-07-25 12:01:39 +02:00
MrKevinWeiss
d0f86d0611
drivers/srf02: Update to new i2c API
2018-07-25 12:01:38 +02:00
MrKevinWeiss
0c0ae1855d
drivers/srf08: cleanup and fixes for new api
2018-07-25 12:01:38 +02:00
Michel Rottleuthner
e5976ad497
drivers/isl29125: update parameter definition scheme
2018-07-25 12:01:38 +02:00
Bas Stottelaar
a8a9283f7a
drivers: si70xx: adapt to new I2C api.
2018-07-25 12:01:38 +02:00
Bas Stottelaar
76b1200460
drivers: bmx280: adapt to new I2C api.
2018-07-25 12:01:38 +02:00
a85fbd2c75
sys/auto_init: update tcs37727 auto_init
2018-07-25 12:01:38 +02:00
a48a90f234
drivers/tcs37727: use new driver params scheme
2018-07-25 12:01:38 +02:00
2ace1a2dfe
drivers/l3g4200d: rework driver API and params definition
2018-07-25 12:01:38 +02:00
d81cf561b0
drivers/lsm303dlhc: rework driver API and params definition
2018-07-25 12:01:38 +02:00
d1a19db350
drivers/lps331ap: adapt to new I2C api
2018-07-25 12:01:38 +02:00
71d8b80512
drivers/lps331ap: rework driver API and params definition
2018-07-25 12:01:38 +02:00
a2d1558922
drivers/bmp180: adapt to new I2C api
2018-07-25 12:01:38 +02:00
7a12293eb1
drivers/at30tse75x: adapt to new I2C api
2018-07-25 12:01:38 +02:00
dylad
ef8ed2620c
periph_common/i2c: introduce new ret codes scheme
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
872251d011
periph/i2c: Add 10 bit addressing magic number definition
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
f2a2427fcd
periph/i2c: Editorial changes to i2c.h
2018-07-25 12:01:34 +02:00
01509b294f
drivers/periph_i2c: i2c_init should return void
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
1dfc5f8f52
periph/i2c: Editorial doc changes
2018-07-25 12:01:34 +02:00
6f25886d77
drivers/periph/i2c: fixes issues in API
...
- non matching doxygen input parameter to i2c_write_reg
- non/matching missing function parameter
- invalid return type to i2c_release
2018-07-25 12:01:34 +02:00
dylad
e11a37df03
drivers/i2c: modify I2C API
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Hauke Petersen
45ab3ea89d
drivers/periph: introduced new I2C interface
2018-07-25 12:01:34 +02:00
Gunar Schorcht
738c1161c0
enc28j60: improvements to fix #9043
2018-07-17 19:19:15 +02:00
d9d99f9e24
at86rf2xx: Move flags from netdev to radio
...
The flags from the ieee802154 struct are only used in the radio code.
there is no advantage of having them in the netdev_ieee802154_t struct
if the flags are defined differently per radio driver.
2018-07-17 11:15:12 +02:00
Vincent Dupont
21867b2867
drivers/at: ad poweron/off functions
2018-07-17 10:02:36 +02:00
Peter Kietzmann
fd8ef789b7
Merge pull request #9531 from bergzand/pr/netdev/reset_refactor
...
netdev_ieee802154: Add and use common reset function
2018-07-13 12:01:14 +02:00
Vincent Dupont
071614bf04
Merge pull request #8543 from OTAkeys/pr/rtt_clean_up
...
periph_rtt: remove RTT_NUMOF guard and init from periph_common
2018-07-10 15:00:53 +02:00
123b275b23
netdev: Add common ieee802154 reset function
...
Resets flags, sequence number and protocol.
2018-07-10 14:27:52 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
...
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Joakim Nohlgård
904c583038
Merge pull request #8697 from aabadie/pr/drivers/params/lis3dh
...
drivers/lis3dh: apply unified driver params scheme + cleanup
2018-06-28 10:52:48 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
...
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +02:00
Marian Buschsieweke
de9b67bdc2
drivers/sht1x: Major refactoring
...
- Use RIOT's GPIO interface to access the sensor to increase portability
- Changed API to allow more than one sensor per board
- Added `sht1x_params.h` that specifies how the sensors is connected - each
board can overwrite default settings by #defining SHT1X_PARAM_CLK and
SHT1X_PARAM_DATA
- Changed arithmetic to use integer calculations only instead of floating point
arithmetic
- Added support for checking the CRC sum
- Allow optional skipping of the CRC check to speed up measuring
- Added support for advanced features like reducing the resolution and skipping
calibration to speed up measuring
- Allow specifying the supply voltage of sensor which heavily influences the
temperature result (and use that information to calculate the correct
temperature)
- Reset sensor on initialization to bring it in a well known state
- Support for the obscure heater feature. (Can be useful to check the
temperature sensor?)
- Updated old SHT11 shell commands to the new driver interface, thus allowing
more than one SHT10/11/15 sensor to be used
- Added new shell command to allow full configuration of all attached SHT1x
sensors
- Removed old command for setting the SHT11 temperature offset, as this feature
is implemented in the new configuration command
2018-06-27 08:58:00 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
...
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
Hyungsin
0c5c3d9b77
driver/pir: add pir-based occupancy sensing
2018-06-26 13:46:37 -07:00
Vincent Dupont
3393888cea
drivers/at: add URC registering and parsing feature
2018-06-26 10:03:10 -07:00
42c4460daf
Merge pull request #9325 from aabadie/pr/saul/tvoc_ppb
...
drivers/saul :sys/phydat: add definitions for TVOC sensor type and PPB unit
2018-06-25 12:20:11 +02:00
ceb9710b3e
drivers/at: make OK and ERROR replies configurable
2018-06-13 09:49:13 +02:00
a08e9919a9
drivers: fix doxygen grouping
2018-06-11 19:10:40 +02:00
698fbf98cc
drivers/saul: add definitions TVOC sensor type
2018-06-11 15:46:21 +02:00
ad31664f48
Merge pull request #9185 from OTAkeys/pr/add_at_parser_eol
...
driver/at: add option to keep EOL character in readline, and make EOL configurable
2018-05-29 19:57:12 +02:00
Vincent Dupont
3f620d582d
at: make receive EOL configurable
2018-05-29 17:30:55 +02:00
Vincent Dupont
3f94bd20f4
drivers/at: add option to keep CR char
2018-05-29 17:30:55 +02:00
Marian Buschsieweke
b4f70be9ef
drivers: Fixed struct documentation for cc110x
2018-05-24 19:16:52 +02:00