1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

drivers/include: applied the script to the driver headers

This commit is contained in:
KSKNico 2025-03-28 17:09:07 +01:00
parent e8be6eec09
commit d357f5388b
216 changed files with 846 additions and 846 deletions

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AD7746_H
#define AD7746_H
/**
* @defgroup drivers_ad7746 AD7746 Capacitance-to-digital converter driver
* @ingroup drivers_sensors
@ -41,9 +44,6 @@
* @author Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
*/
#ifndef AD7746_H
#define AD7746_H
#ifdef __cplusplus
extern "C" {
#endif
@ -331,5 +331,5 @@ int ad7746_set_cap_sr(const ad7746_t *dev, ad7746_cap_sample_rate_t sr);
}
#endif
#endif /* AD7746_H */
/** @} */
#endif /* AD7746_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ADCXX1C_H
#define ADCXX1C_H
/**
* @defgroup drivers_adcxx1c ADCXX1C ADC device driver
* @ingroup drivers_sensors
@ -23,9 +26,6 @@
* @author Vincent Dupont <vincent@otakeys.com>
*/
#ifndef ADCXX1C_H
#define ADCXX1C_H
#ifdef __cplusplus
extern "C" {
#endif
@ -181,5 +181,5 @@ int adcxx1c_get_and_clear_alert(const adcxx1c_t *dev);
}
#endif
#endif /* ADCXX1C_H */
/** @} */
#endif /* ADCXX1C_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef ADS101X_H
#define ADS101X_H
/**
* @defgroup drivers_ads101x ADS101x/111x ADC device driver
* @ingroup drivers_sensors
@ -28,9 +31,6 @@
* @author Matthew Blue <matthew.blue.neuro@gmail.com>
*/
#ifndef ADS101X_H
#define ADS101X_H
#ifdef __cplusplus
extern "C" {
#endif
@ -181,5 +181,5 @@ int ads101x_set_alert_parameters(const ads101x_alert_t *dev,
}
#endif
#endif /* ADS101X_H */
/** @} */
#endif /* ADS101X_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ADT7310_H
#define ADT7310_H
/**
* @defgroup drivers_adt7310 ADT7310 SPI temperature sensor
* @ingroup drivers_sensors
@ -47,9 +50,6 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef ADT7310_H
#define ADT7310_H
#include <stdint.h>
#include <stdbool.h>
#include "periph/spi.h"
@ -177,5 +177,5 @@ float adt7310_read_float(const adt7310_t *dev);
}
#endif
#endif /* ADT7310_H */
/** @} */
#endif /* ADT7310_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ADXL345_H
#define ADXL345_H
/**
* @defgroup drivers_adxl345 ADXL345 3-Axis accelerometer
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Dylan Laduranty <dylan.laduranty@mesotic.com>
*/
#ifndef ADXL345_H
#define ADXL345_H
#ifdef __cplusplus
extern "C" {
#endif
@ -245,5 +245,5 @@ void adxl345_set_fifo_mode(const adxl345_t *dev, uint8_t mode,
}
#endif
#endif /* ADXL345_H */
/** @} */
#endif /* ADXL345_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AIP31068_H
#define AIP31068_H
/**
* @defgroup drivers_aip31068 AIP31068 I2C LCD controller
* @ingroup drivers_display
@ -17,9 +20,6 @@
* @file
*/
#ifndef AIP31068_H
#define AIP31068_H
#ifdef __cplusplus
extern "C"
{
@ -422,5 +422,5 @@ int aip31068_print_char(aip31068_t *dev, char c);
}
#endif
#endif /* AIP31068_H */
/** @} */
#endif /* AIP31068_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef APA102_H
#define APA102_H
/**
* @defgroup drivers_apa102 APA102 RGB LED
* @ingroup drivers_actuators
@ -18,9 +21,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef APA102_H
#define APA102_H
#include "color.h"
#include "periph/gpio.h"
@ -68,5 +68,5 @@ void apa102_load_rgba(const apa102_t *dev, const color_rgba_t vals[]);
}
#endif
#endif /* APA102_H */
/** @} */
#endif /* APA102_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef APDS99XX_H
#define APDS99XX_H
/**
* @defgroup drivers_apds99xx APDS99XX proximity and ambient light sensors
* @ingroup drivers_sensors
@ -199,9 +202,6 @@
* @file
*/
#ifndef APDS99XX_H
#define APDS99XX_H
#ifdef __cplusplus
extern "C"
{
@ -683,5 +683,5 @@ int apds99xx_int_source(apds99xx_t *dev, apds99xx_int_source_t* src);
}
#endif
#endif /* APDS99XX_H */
/** @} */
#endif /* APDS99XX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ARDUINO_PINMAP_H
#define ARDUINO_PINMAP_H
/**
* @ingroup drivers
* @{
@ -18,9 +21,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@posteo.net>
*/
#ifndef ARDUINO_PINMAP_H
#define ARDUINO_PINMAP_H
#include "arduino_iomap.h"
#ifdef __cplusplus
@ -34,5 +34,5 @@ extern "C" {
}
#endif
#endif /* ARDUINO_PINMAP_H */
/** @} */
#endif /* ARDUINO_PINMAP_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AT_H
#define AT_H
/**
* @defgroup drivers_at AT (Hayes) command set library
* @ingroup drivers_misc
@ -111,9 +114,6 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef AT_H
#define AT_H
#include <stdint.h>
#include <unistd.h>
#include <stdbool.h>
@ -662,5 +662,5 @@ void at_postprocess_urc_all(at_dev_t *dev, char *buf);
}
#endif
#endif /* AT_H */
/** @} */
#endif /* AT_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AT24CXXX_H
#define AT24CXXX_H
/**
* @defgroup drivers_at24cxxx AT24CXXX EEPROM unit
* @ingroup drivers_misc
@ -65,9 +68,6 @@
*
*/
#ifndef AT24CXXX_H
#define AT24CXXX_H
#include <stdint.h>
#include "periph/gpio.h"
@ -240,5 +240,5 @@ int at24cxxx_disable_write_protect(const at24cxxx_t *dev);
}
#endif
#endif /* AT24CXXX_H */
/** @} */
#endif /* AT24CXXX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AT24MAC_H
#define AT24MAC_H
/**
* @defgroup drivers_at24mac AT24MAC unique ID chip
* @ingroup drivers_misc
@ -17,9 +20,6 @@
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef AT24MAC_H
#define AT24MAC_H
#include <stdint.h>
#include "net/eui48.h"
#include "net/eui64.h"
@ -101,5 +101,5 @@ at24mac_type_t at24mac_get_type(at24mac_t dev);
}
#endif
#endif /* AT24MAC_H */
/** @} */
#endif /* AT24MAC_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AT25XXX_MTD_H
#define AT25XXX_MTD_H
/**
* @defgroup drivers_mtd_at25xxx MTD wrapper for AT25xxx family of SPI-EEPROMs
* @ingroup drivers_storage
@ -19,9 +22,6 @@
* @author Johannes Koster <johannes.koster@ml-pa.com>
*/
#ifndef AT25XXX_MTD_H
#define AT25XXX_MTD_H
#include <stdint.h>
#include "at25xxx.h"
@ -52,5 +52,5 @@ extern const mtd_desc_t mtd_at25xxx_driver;
}
#endif
#endif /* AT25XXX_MTD_H */
/** @} */
#endif /* AT25XXX_MTD_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef AT30TSE75X_H
#define AT30TSE75X_H
/**
* @defgroup drivers_at30tse75x AT30TSE75x temperature sensor with EEPROM
* @ingroup drivers_sensors
@ -22,9 +25,6 @@
* @author Daniel Krebs <github@daniel-krebs.net>
*/
#ifndef AT30TSE75X_H
#define AT30TSE75X_H
#include <stdint.h>
#include "periph/i2c.h"
@ -300,5 +300,5 @@ int at30tse75x_get_temperature(const at30tse75x_t* dev, float* temperature);
}
#endif
#endif /* AT30TSE75X_H */
/** @} */
#endif /* AT30TSE75X_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef AT86RF215_H
#define AT86RF215_H
/**
* @defgroup drivers_at86rf215 AT86RF215 based drivers
* @ingroup drivers_netdev
@ -20,9 +23,6 @@
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef AT86RF215_H
#define AT86RF215_H
#include <stdint.h>
#include <stdbool.h>
@ -682,5 +682,5 @@ void at86rf215_disable_batmon(at86rf215_t *dev);
}
#endif
#endif /* AT86RF215_H */
/** @} */
#endif /* AT86RF215_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef AT86RF2XX_H
#define AT86RF2XX_H
/**
* @defgroup drivers_at86rf2xx AT86RF2xx based drivers
* @ingroup drivers_netdev
@ -26,9 +29,6 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef AT86RF2XX_H
#define AT86RF2XX_H
#include <stdint.h>
#include <stdbool.h>
@ -595,5 +595,5 @@ void at86rf2xx_disable_smart_idle(at86rf2xx_t *dev);
}
#endif
#endif /* AT86RF2XX_H */
/** @} */
#endif /* AT86RF2XX_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef ATA8520E_H
#define ATA8520E_H
/**
* @defgroup drivers_ata8520e Microchip ATA8520E transceiver
* @ingroup drivers_netdev
@ -22,9 +25,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef ATA8520E_H
#define ATA8520E_H
#include <stdint.h>
#include <inttypes.h>
#include "mutex.h"
@ -239,5 +239,5 @@ int ata8520e_send_bit(ata8520e_t *dev, bool bit);
}
#endif
#endif /* ATA8520E_H */
/** @} */
#endif /* ATA8520E_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ATWINC15X0_H
#define ATWINC15X0_H
/**
* @ingroup drivers_netdev
* @brief Netdev Driver for the Microchip ATWINC15x0 WiFi Module
@ -17,9 +20,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef ATWINC15X0_H
#define ATWINC15X0_H
#include "bsp/include/nm_bsp.h"
#include "net/ethernet.h"
#include "net/wifi.h"
@ -113,5 +113,5 @@ void atwinc15x0_setup(atwinc15x0_t *dev, const atwinc15x0_params_t *params, uint
}
#endif
#endif /* ATWINC15X0_H */
/** @} */
#endif /* ATWINC15X0_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef BH1750FVI_H
#define BH1750FVI_H
/**
* @defgroup drivers_bh1750fvi BH1750FVI Light Sensor
* @ingroup drivers_sensors
@ -18,9 +21,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef BH1750FVI_H
#define BH1750FVI_H
#include "periph/i2c.h"
#ifdef __cplusplus
@ -99,5 +99,5 @@ uint16_t bh1750fvi_sample(const bh1750fvi_t *dev);
}
#endif
#endif /* BH1750FVI_H */
/** @} */
#endif /* BH1750FVI_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef BH1900NUX_H
#define BH1900NUX_H
/**
* @defgroup drivers_bh1900nux BH1900NUX Temperature sensor
* @ingroup drivers_sensors
@ -18,9 +21,6 @@
* @author Wouter Symons <wsymons@nalys-group.com>
*/
#ifndef BH1900NUX_H
#define BH1900NUX_H
#include "periph/i2c.h"
#ifdef __cplusplus
@ -115,5 +115,5 @@ int bh1900nux_read(const bh1900nux_t *dev, int16_t *temp);
}
#endif
#endif /* BH1900NUX_H */
/** @} */
#endif /* BH1900NUX_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef BME680_H
#define BME680_H
/**
* @defgroup drivers_bme680 BME680 Temperature/Humidity/Pressure/Gas sensor
* @ingroup drivers_sensors
@ -105,9 +108,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef BME680_H
#define BME680_H
#include "periph/i2c.h"
#include "periph/spi.h"
@ -321,5 +321,5 @@ int bme680_set_ambient_temp(bme680_t* dev, int8_t temp);
}
#endif
#endif /* BME680_H */
/** @} */
#endif /* BME680_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef BMP180_H
#define BMP180_H
/**
* @defgroup drivers_bmp180 BMP180 temperature and pressure sensor
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BMP180_H
#define BMP180_H
#include "saul.h"
#include "periph/i2c.h"
@ -138,5 +138,5 @@ uint32_t bmp180_sealevel_pressure(const bmp180_t *dev, int16_t altitude);
}
#endif
#endif /* BMP180_H */
/** @} */
#endif /* BMP180_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef BMX055_H
#define BMX055_H
/**
* @defgroup drivers_bmx055 BMX055 9-axis sensor
* @ingroup drivers_sensors
@ -23,9 +26,6 @@
* @author Semjon Kerner <semjon.kerner@fu-berlin.de>
*/
#ifndef BMX055_H
#define BMX055_H
#include <stdint.h>
#include "periph/i2c.h"
@ -199,5 +199,5 @@ int bmx055_gyro_read(const bmx055_t *dev, int16_t *data);
}
#endif
#endif /* BMX055_H */
/** @} */
#endif /* BMX055_H */

View File

@ -8,6 +8,9 @@
* directory for more details.
*/
#ifndef BMX280_H
#define BMX280_H
/**
* @defgroup drivers_bmx280 BMP280/BME280 temperature, pressure and humidity sensor
* @ingroup drivers_sensors
@ -70,9 +73,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef BMX280_H
#define BMX280_H
#include <stdint.h>
#include "saul.h"
@ -307,5 +307,5 @@ uint16_t bme280_read_humidity(bmx280_t *dev);
}
#endif
#endif /* BMX280_H */
/** @} */
#endif /* BMX280_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef BQ2429X_H
#define BQ2429X_H
/**
* @defgroup drivers_bq2429x BQ2429x
* @ingroup drivers_power
@ -47,9 +50,6 @@
* @author Jean Pierre Dudey <jeandudey@hotmail.com>
*/
#ifndef BQ2429X_H
#define BQ2429X_H
#include <stdint.h>
#include <stdbool.h>
@ -499,5 +499,5 @@ int bq2429x_get_vreg(const bq2429x_t *dev,
}
#endif
#endif /* BQ2429X_H */
/** @} */
#endif /* BQ2429X_H */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#ifndef CAN_CAN_TRX_H
#define CAN_CAN_TRX_H
/**
* @defgroup drivers_can_trx CAN transceiver interface
* @ingroup drivers_can
@ -18,8 +20,6 @@
* @author Aurelien Gonce <aurelien.gonce@altran.com>
* @author Vincent Dupont <vincent@otakeys.com>
*/
#ifndef CAN_CAN_TRX_H
#define CAN_CAN_TRX_H
#ifdef __cplusplus
extern "C" {
@ -101,5 +101,5 @@ int can_trx_set_mode(can_trx_t *dev, can_trx_mode_t mode);
}
#endif
#endif /* CAN_CAN_TRX_H */
/** @} */
#endif /* CAN_CAN_TRX_H */

View File

@ -6,6 +6,9 @@
* more details.
*/
#ifndef CAN_CANDEV_H
#define CAN_CANDEV_H
/**
* @defgroup drivers_candev CAN device driver interface
* @ingroup drivers_can
@ -21,9 +24,6 @@
* @author Toon Stegen <toon.stegen@altran.com>
*/
#ifndef CAN_CANDEV_H
#define CAN_CANDEV_H
#ifdef __cplusplus
extern "C" {
#endif
@ -177,5 +177,5 @@ typedef struct candev_driver {
}
#endif
#endif /* CAN_CANDEV_H */
/** @} */
#endif /* CAN_CANDEV_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef CANDEV_MCP2515_H
#define CANDEV_MCP2515_H
/**
* @defgroup drivers_mcp2515 MCP2515
* @ingroup drivers_can
@ -22,9 +25,6 @@
* @author Wouter Symons <wosym@airsantelmo.com>
*/
#ifndef CANDEV_MCP2515_H
#define CANDEV_MCP2515_H
#include <stdbool.h>
#include "can/candev.h"
@ -132,5 +132,5 @@ void candev_mcp2515_init(candev_mcp2515_t *dev,
}
#endif
#endif /* CANDEV_MCP2515_H */
/** @} */
#endif /* CANDEV_MCP2515_H */

View File

@ -9,6 +9,9 @@
* details.
*/
#ifndef CC110X_H
#define CC110X_H
/**
* @defgroup drivers_cc110x CC1100/CC1100e/CC1101 Sub-GHz transceiver driver
* @ingroup drivers_netdev
@ -191,9 +194,6 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef CC110X_H
#define CC110X_H
#include <stdint.h>
#include "cc1xxx_common.h"
@ -652,5 +652,5 @@ void cc110x_sleep(cc110x_t *dev);
}
#endif
#endif /* CC110X_H */
/** @} */
#endif /* CC110X_H */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#ifndef CC1XXX_COMMON_H
#define CC1XXX_COMMON_H
/**
* @defgroup drivers_cc1xxx CC1100/CC1100e/CC1101/CC1200 common code
* @ingroup drivers_netdev
@ -55,8 +57,6 @@
* more users of this adaption layer are added, this behaviour might needs to be
* more generalized.
*/
#ifndef CC1XXX_COMMON_H
#define CC1XXX_COMMON_H
#include "net/gnrc/netif.h"
@ -145,5 +145,5 @@ void cc1xxx_eui_get(const netdev_t *dev, uint8_t *eui);
}
#endif
#endif /* CC1XXX_COMMON_H */
/** @} */
#endif /* CC1XXX_COMMON_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef CC2420_H
#define CC2420_H
/**
* @defgroup drivers_cc2420 CC2420 radio driver
* @ingroup drivers_netdev
@ -18,9 +21,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef CC2420_H
#define CC2420_H
#include <stdint.h>
#include "periph/spi.h"
@ -302,5 +302,5 @@ int cc2420_rx(cc2420_t *dev, uint8_t *buf, size_t max_len, void *info);
}
#endif
#endif /* CC2420_H */
/** @} */
#endif /* CC2420_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef CCS811_H
#define CCS811_H
/**
* @ingroup drivers_ccs811
* @brief Device Driver for AMS CCS811 digital gas sensor
@ -14,9 +17,6 @@
* @{
*/
#ifndef CCS811_H
#define CCS811_H
#include <stdint.h>
#include "periph/gpio.h"
#include "periph/i2c.h"
@ -403,5 +403,5 @@ int ccs811_set_baseline (const ccs811_t *dev, uint16_t baseline);
}
#endif
#endif /* CCS811_H */
/** @} */
#endif /* CCS811_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef CST816S_H
#define CST816S_H
/**
* @defgroup drivers_cst816s Cst816S touch screen driver
*
@ -38,9 +41,6 @@
* @author Koen Zandberg <koen@bergzand.net>
*/
#ifndef CST816S_H
#define CST816S_H
#include <stdint.h>
#include "periph/i2c.h"
@ -157,5 +157,5 @@ int cst816s_read(const cst816s_t *dev, cst816s_touch_data_t *data);
}
#endif
#endif /* CST816S_H */
/** @} */
#endif /* CST816S_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DAC_DDS_H
#define DAC_DDS_H
/**
* @defgroup drivers_dac_dds DAC Direct Digital Synthesis
* @ingroup drivers_periph_dac
@ -36,9 +39,6 @@
* @author Benjamin Valentin <benpicco@beuth-hochschule.de>
*/
#ifndef DAC_DDS_H
#define DAC_DDS_H
#include <stddef.h>
#include <stdint.h>
#include <limits.h>
@ -160,5 +160,5 @@ void dac_dds_stop(dac_dds_t dac);
}
#endif
#endif /* DAC_DDS_H */
/** @} */
#endif /* DAC_DDS_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DCF77_H
#define DCF77_H
/**
* @defgroup drivers_dcf77 DCF77 long wave receiver with 77,5 kHz
* @ingroup drivers_sensors
@ -19,9 +22,6 @@
* @author Michel Gerlach <michel.gerlach@haw-hamburg.de>
*/
#ifndef DCF77_H
#define DCF77_H
#include <stdint.h>
#include <stdlib.h>
#include <inttypes.h>
@ -117,5 +117,5 @@ void dcf77_set_tick_cb(dcf77_t *dev, dcf77_tick_cb_t cb, void *arg);
}
#endif
#endif /* DCF77_H */
/** @} */
#endif /* DCF77_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DFPLAYER_H
#define DFPLAYER_H
/**
* @defgroup drivers_dfplayer DFPlayer Mini MP3 Player
* @ingroup drivers_multimedia
@ -174,9 +177,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef DFPLAYER_H
#define DFPLAYER_H
#include <stdbool.h>
#include <stdint.h>
@ -773,5 +773,5 @@ static inline void dfplayer_source_set_rm(dfplayer_source_set_t *set,
/* Include implementation of the static inline functions */
#include "dfplayer_implementation.h"
#endif /* DFPLAYER_H */
/** @} */
#endif /* DFPLAYER_H */

View File

@ -8,6 +8,9 @@
* directory for more details.
*/
#ifndef DHT_H
#define DHT_H
/**
* @defgroup drivers_dht DHT Family of Humidity and Temperature Sensors
* @ingroup drivers_sensors
@ -28,9 +31,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef DHT_H
#define DHT_H
#include <errno.h>
#include <stdint.h>
@ -134,5 +134,5 @@ int dht_read(dht_t *dev, int16_t *temp, int16_t *hum);
}
#endif
#endif /* DHT_H */
/** @} */
#endif /* DHT_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef DISKIO_H
#define DISKIO_H
/**
* @defgroup drivers_diskio Disk IO Driver
* @ingroup drivers_storage
@ -19,9 +22,6 @@
* @author Oliver Hahm <oliver.hahm@inria.fr>
*/
#ifndef DISKIO_H
#define DISKIO_H
#include <stdint.h>
#ifdef __cplusplus
@ -158,5 +158,5 @@ diskio_result_t mci_ioctl(unsigned char ctrl, void *buff);
}
#endif
#endif /* DISKIO_H */
/** @} */
#endif /* DISKIO_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DISP_DEV_H
#define DISP_DEV_H
/**
* @defgroup drivers_disp_dev Display device generic API
* @ingroup drivers_display
@ -17,9 +20,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef DISP_DEV_H
#define DISP_DEV_H
#ifdef __cplusplus
extern "C" {
#endif
@ -206,5 +206,5 @@ static inline void disp_dev_backlight_off(void)
}
#endif
#endif /* DISP_DEV_H */
/** @} */
#endif /* DISP_DEV_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef DOSE_H
#define DOSE_H
/**
* @defgroup drivers_dose Differentially Operated Serial Ethernet
* @ingroup drivers_netdev
@ -71,9 +74,6 @@
* @author Juergen Fitschen <me@jue.yt>
*/
#ifndef DOSE_H
#define DOSE_H
#include "chunked_ringbuffer.h"
#include "periph/uart.h"
#include "periph/gpio.h"
@ -233,5 +233,5 @@ void dose_setup(dose_t *dev, const dose_params_t *params, uint8_t index);
#ifdef __cplusplus
}
#endif
#endif /* DOSE_H */
/** @} */
#endif /* DOSE_H */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#ifndef DS1307_H
#define DS1307_H
/**
* @defgroup drivers_ds1307 DS1307 RTC
* @ingroup drivers_sensors
@ -17,8 +19,6 @@
*
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef DS1307_H
#define DS1307_H
#include <stdbool.h>
#include <time.h>
@ -157,5 +157,5 @@ int ds1307_get_sqw_mode(const ds1307_t *dev);
}
#endif
#endif /* DS1307_H */
/** @} */
#endif /* DS1307_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DS18_H
#define DS18_H
/**
* @defgroup drivers_ds18 DS18 temperature sensor driver
* @ingroup drivers_sensors
@ -35,9 +38,6 @@
* @author Frits Kuipers <frits.kuipers@gmail.com>
*/
#ifndef DS18_H
#define DS18_H
#include <stdint.h>
#include "periph/gpio.h"

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DS3231_H
#define DS3231_H
/**
* @defgroup drivers_ds3231 DS3231 Real Time Clock
* @ingroup drivers_sensors
@ -28,9 +31,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef DS3231_H
#define DS3231_H
#include <time.h>
#include <errno.h>
@ -312,5 +312,5 @@ int ds3231_disable_bat(const ds3231_t *dev);
}
#endif
#endif /* DS3231_H */
/** @} */
#endif /* DS3231_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DS3234_H
#define DS3234_H
/**
* @defgroup drivers_ds3234 DS3234 Extremely Accurate SPI RTC
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef DS3234_H
#define DS3234_H
#include <periph/gpio.h>
#include <periph/spi.h>
@ -66,5 +66,5 @@ int ds3234_pps_init(const ds3234_params_t *params);
}
#endif
#endif /* DS3234_H */
/** @} */
#endif /* DS3234_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DS75LX_H
#define DS75LX_H
/**
* @defgroup drivers_ds75lx Maxim DS75LX temperature sensor
* @ingroup drivers_sensors
@ -20,9 +23,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef DS75LX_H
#define DS75LX_H
#include "saul.h"
#include "periph/i2c.h"
@ -110,5 +110,5 @@ int ds75lx_shutdown(const ds75lx_t *dev);
}
#endif
#endif /* DS75LX_H */
/** @} */
#endif /* DS75LX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef DSP0401_H
#define DSP0401_H
/**
* @defgroup drivers_dsp0401 DSP0401
* @ingroup drivers_display
@ -18,9 +21,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef DSP0401_H
#define DSP0401_H
#include <inttypes.h>
#include <stdint.h>
#include "periph/gpio.h"
@ -103,5 +103,5 @@ void dsp0401_scroll_text(const dsp0401_t *dev, char *text, uint16_t delay);
}
#endif
#endif /* DSP0401_H */
/** @} */
#endif /* DSP0401_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef DYNAMIXEL_H
#define DYNAMIXEL_H
/**
* @defgroup drivers_dynamixel Dynamixel driver
* @ingroup drivers_actuators
@ -21,9 +24,6 @@
* @author Loïc Dauphin <loic.dauphin@inria.fr>
*/
#ifndef DYNAMIXEL_H
#define DYNAMIXEL_H
#include <stdlib.h>
#include <stdbool.h>
@ -167,5 +167,5 @@ int dynamixel_read(const dynamixel_t *device, dynamixel_addr_t reg, uint8_t *dat
}
#endif
#endif /* DYNAMIXEL_H */
/** @} */
#endif /* DYNAMIXEL_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef EDBG_EUI_H
#define EDBG_EUI_H
/**
* @defgroup drivers_edbg_eui Driver for getting MAC address out of Atmel EDBG
* @ingroup drivers_misc
@ -17,9 +20,6 @@
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef EDBG_EUI_H
#define EDBG_EUI_H
#include <stdint.h>
#include "net/eui64.h"
@ -43,5 +43,5 @@ int edbg_get_eui64(eui64_t *addr);
}
#endif
#endif /* EDBG_EUI_H */
/** @} */
#endif /* EDBG_EUI_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ENC28J60_H
#define ENC28J60_H
/**
* @defgroup drivers_enc28j60 ENC28J60
* @ingroup drivers_netdev
@ -19,9 +22,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef ENC28J60_H
#define ENC28J60_H
#include <stdint.h>
#include "mutex.h"
@ -67,5 +67,5 @@ void enc28j60_setup(enc28j60_t *dev, const enc28j60_params_t *params, uint8_t in
}
#endif
#endif /* ENC28J60_H */
/** @} */
#endif /* ENC28J60_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef ENCX24J600_H
#define ENCX24J600_H
/**
* @defgroup drivers_encx24j600 ENCX24J600
* @ingroup drivers_netdev
@ -18,9 +21,6 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef ENCX24J600_H
#define ENCX24J600_H
#include "mutex.h"
#include "periph/spi.h"
#include "periph/gpio.h"
@ -67,5 +67,5 @@ void encx24j600_setup(encx24j600_t *dev, const encx24j600_params_t *params, uint
#ifdef __cplusplus
}
#endif
#endif /* ENCX24J600_H */
/** @} */
#endif /* ENCX24J600_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef EPD_BW_SPI_H
#define EPD_BW_SPI_H
/**
* @defgroup drivers_epd_bw_spi Generic black/white e-paper/e-ink SPI display driver.
* @ingroup drivers_display
@ -29,9 +32,6 @@
* @author Silke Hofstra <silke@slxh.eu>
*/
#ifndef EPD_BW_SPI_H
#define EPD_BW_SPI_H
#include "periph/spi.h"
#include "periph/gpio.h"
@ -270,5 +270,5 @@ void epd_bw_spi_swreset(epd_bw_spi_t *dev);
#ifdef __cplusplus
}
#endif
#endif /* EPD_BW_SPI_H */
/** @} */
#endif /* EPD_BW_SPI_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef EPD_BW_SPI_DISP_DEV_H
#define EPD_BW_SPI_DISP_DEV_H
/**
* @ingroup drivers_epd_bw_spi
* @{
@ -16,9 +19,6 @@
* @author Silke Hofstra <silke@slxh.eu>
*/
#ifndef EPD_BW_SPI_DISP_DEV_H
#define EPD_BW_SPI_DISP_DEV_H
#include "disp_dev.h"
#ifdef __cplusplus
@ -34,5 +34,5 @@ extern const disp_dev_driver_t epd_bw_spi_disp_dev_driver;
}
#endif
#endif /* EPD_BW_SPI_DISP_DEV_H */
/** @} */
#endif /* EPD_BW_SPI_DISP_DEV_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef ETHOS_H
#define ETHOS_H
/**
* @defgroup drivers_ethos_stdio STDIO via ethos
* @ingroup sys_stdio
@ -33,9 +36,6 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef ETHOS_H
#define ETHOS_H
#include <stdbool.h>
#include "periph/uart.h"
@ -163,5 +163,5 @@ void ethos_send_frame(ethos_t *dev, const uint8_t *data, size_t len, unsigned fr
#ifdef __cplusplus
}
#endif
#endif /* ETHOS_H */
/** @} */
#endif /* ETHOS_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef FEETECH_H
#define FEETECH_H
/**
* @defgroup drivers_feetech Feetech driver
* @ingroup drivers_actuators
@ -21,9 +24,6 @@
* @author Loïc Dauphin <loic.dauphin@inria.fr>
*/
#ifndef FEETECH_H
#define FEETECH_H
#include <stdlib.h>
#include "feetech_protocol.h"
@ -166,5 +166,5 @@ int feetech_read(const feetech_t *device, feetech_addr_t addr, uint8_t *data, si
}
#endif
#endif /* FEETECH_H */
/** @} */
#endif /* FEETECH_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef FT5X06_H
#define FT5X06_H
/**
* @defgroup drivers_ft5x06 FocalTech FT5x06 touch panel driver
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef FT5X06_H
#define FT5X06_H
#include <stdint.h>
#include "periph/gpio.h"
@ -185,5 +185,5 @@ int ft5x06_read_touch_gesture(const ft5x06_t *dev, ft5x06_touch_gesture_t *gestu
}
#endif
#endif /* FT5X06_H */
/** @} */
#endif /* FT5X06_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef FXOS8700_H
#define FXOS8700_H
/**
* @defgroup drivers_fxos8700 FXOS8700 3-axis accelerometer/magnetometer
* @ingroup drivers_sensors
@ -25,9 +28,6 @@
* @author Hyung-Sin Kim <hs.kim@cs.berkeley.edu>
*/
#ifndef FXOS8700_H
#define FXOS8700_H
#include <stdint.h>
#include "periph/i2c.h"
#include "fxos8700_regs.h"
@ -167,5 +167,5 @@ int fxos8700_read_cached(const void* dev, fxos8700_measurement_t* acc, fxos8700_
}
#endif
#endif /* FXOS8700_H */
/** @} */
#endif /* FXOS8700_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef GP2Y10XX_H
#define GP2Y10XX_H
/**
* @defgroup drivers_gp2y10xx GP2Y10xx Optical Dust Sensor device driver
* @ingroup drivers_sensors
@ -34,9 +37,6 @@
* @author Jean Pierre Dudey <jeandudey@hotmail.com>
*/
#ifndef GP2Y10XX_H
#define GP2Y10XX_H
#include <stdint.h>
#include <stdbool.h>
@ -124,5 +124,5 @@ int gp2y10xx_read_density(const gp2y10xx_t *dev, uint16_t *density);
}
#endif
#endif /* GP2Y10XX_H */
/** @} */
#endif /* GP2Y10XX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef GROVE_LEDBAR_H
#define GROVE_LEDBAR_H
/**
* @defgroup drivers_grove_ledbar Grove ledbar
* @ingroup drivers_actuators
@ -21,9 +24,6 @@
* @author Sebastian Meiling <s@mlng.net>
*/
#ifndef GROVE_LEDBAR_H
#define GROVE_LEDBAR_H
#include <stdint.h>
#include "my9221.h"
@ -90,5 +90,5 @@ void grove_ledbar_clear(grove_ledbar_t *dev);
}
#endif
#endif /* GROVE_LEDBAR_H */
/** @} */
#endif /* GROVE_LEDBAR_H */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#ifndef HD44780_H
#define HD44780_H
/**
* @defgroup drivers_hd44780 HD44780 LCD driver
* @ingroup drivers_display
@ -20,8 +22,6 @@
*
* @author Sebastian Meiling <s@mlng.net>
*/
#ifndef HD44780_H
#define HD44780_H
#include <stdint.h>
@ -209,5 +209,5 @@ void hd44780_print(const hd44780_t *dev, const char *data);
}
#endif
#endif /* HD44780_H */
/** @} */
#endif /* HD44780_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef HDC1000_H
#define HDC1000_H
/**
* @defgroup drivers_hdc1000 HDC1000 Humidity and Temperature Sensor
* @ingroup drivers_sensors
@ -38,9 +41,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef HDC1000_H
#define HDC1000_H
#include <stdint.h>
#include "periph/i2c.h"
@ -187,5 +187,5 @@ int hdc1000_read_cached(const hdc1000_t *dev, int16_t *temp, int16_t *hum);
}
#endif
#endif /* HDC1000_H */
/** @} */
#endif /* HDC1000_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef HIH6130_H
#define HIH6130_H
/**
* @defgroup drivers_hih6130 HIH6130 humidity and temperature sensor
* @ingroup drivers_sensors
@ -20,9 +23,6 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef HIH6130_H
#define HIH6130_H
#include <stdint.h>
#include "periph/i2c.h"
@ -66,5 +66,5 @@ int hih6130_get_humidity_temperature(const hih6130_t *dev,
}
#endif
#endif /* HIH6130_H */
/** @} */
#endif /* HIH6130_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef HM330X_H
#define HM330X_H
/**
* @defgroup drivers_hm330x HM330X Laser Particulate Matter Sensor
* @ingroup drivers_sensors
@ -30,9 +33,6 @@
* @author Francisco Molina <francois-xavier.molina@inria.fr>
*/
#ifndef HM330X_H
#define HM330X_H
#include "periph/i2c.h"
#include "periph/gpio.h"
@ -138,5 +138,5 @@ void hm330x_wakeup(hm330x_t *dev);
}
#endif
#endif /* HM330X_H */
/** @} */
#endif /* HM330X_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef HMC5883L_H
#define HMC5883L_H
/**
* @defgroup drivers_hmc5883l HMC5883L 3-axis digital compass
* @ingroup drivers_sensors
@ -29,9 +32,6 @@
* @file
*/
#ifndef HMC5883L_H
#define HMC5883L_H
#ifdef __cplusplus
extern "C"
{
@ -292,5 +292,5 @@ int hmc5883l_power_up(hmc5883l_t *dev);
}
#endif
#endif /* HMC5883L_H */
/** @} */
#endif /* HMC5883L_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef HSC_H
#define HSC_H
/**
* @defgroup drivers_hsc HSC temperature and pressure sensor
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Quang Pham <phhr_quang@live.com>
*/
#ifndef HSC_H
#define HSC_H
#include "saul.h"
#include "periph/i2c.h"
@ -99,5 +99,5 @@ int hsc_read_pressure(const hsc_t *dev, int32_t *dest);
}
#endif
#endif /* HSC_H */
/** @} */
#endif /* HSC_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef HTS221_H
#define HTS221_H
/**
* @defgroup drivers_hts221 ST HTS221 digital Humidity Sensor
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Sebastian Meiling <s@mlng.net>
*/
#ifndef HTS221_H
#define HTS221_H
#include <stdint.h>
#include "periph/i2c.h"
@ -165,5 +165,5 @@ int hts221_read_temperature(const hts221_t *dev, int16_t *val);
}
#endif
#endif /* HTS221_H */
/** @} */
#endif /* HTS221_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef ILI9341_H
#define ILI9341_H
/**
* @defgroup drivers_ili9341 ILI9341 display driver
* @ingroup drivers_display
@ -29,9 +32,6 @@
* transfer.
*/
#ifndef ILI9341_H
#define ILI9341_H
#include "lcd.h"
#ifdef MODULE_DISP_DEV
@ -104,5 +104,5 @@ extern const lcd_driver_t lcd_ili9341_driver;
#ifdef __cplusplus
}
#endif
#endif /* ILI9341_H */
/** @} */
#endif /* ILI9341_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef INA2XX_H
#define INA2XX_H
/**
* @defgroup drivers_ina2xx INA2XX current/power monitor
* @ingroup drivers_sensors
@ -44,9 +47,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef INA2XX_H
#define INA2XX_H
#include <stdint.h>
#include "periph/i2c.h"
@ -256,5 +256,5 @@ int ina2xx_read_power(const ina2xx_t *dev, uint32_t *power);
}
#endif
#endif /* INA2XX_H */
/** @} */
#endif /* INA2XX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef INA3221_H
#define INA3221_H
/**
* @defgroup drivers_ina3221 INA3221 current/power monitor
* @ingroup drivers_sensors
@ -67,9 +70,6 @@
* @author Fabian Hüßler <fabian.huessler@ovgu.de>
*/
#ifndef INA3221_H
#define INA3221_H
#include <assert.h>
#include <errno.h>
#include <stdint.h>
@ -1103,5 +1103,5 @@ void ina3221_calculate_power_uw(ina3221_ch_t ch,
}
#endif
#endif /* INA3221_H */
/** @} */
#endif /* INA3221_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef IO1_XPLAINED_H
#define IO1_XPLAINED_H
/**
* @defgroup drivers_io1_xplained Atmel IO1 Xplained Extension board
* @ingroup drivers_sensors
@ -37,9 +40,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef IO1_XPLAINED_H
#define IO1_XPLAINED_H
#include "saul.h"
#include "at30tse75x.h"
#include "sdcard_spi.h"
@ -108,5 +108,5 @@ int io1_xplained_read_light_level(uint16_t *light);
}
#endif
#endif /* IO1_XPLAINED_H */
/** @} */
#endif /* IO1_XPLAINED_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef IR_NEC_H
#define IR_NEC_H
/**
* @defgroup drivers_ir_nec IR NEC Remote receiver
* @ingroup drivers_misc
@ -18,9 +21,6 @@
* @author Dario Petrillo <dario.pk1@gmail.com>
*/
#ifndef IR_NEC_H
#define IR_NEC_H
#include <stdint.h>
#include "isrpipe.h"
@ -84,5 +84,5 @@ int ir_nec_read(ir_nec_t *dev, ir_nec_cmd_t *command);
}
#endif
#endif /* IR_NEC_H */
/** @} */
#endif /* IR_NEC_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ISL29020_H
#define ISL29020_H
/**
* @defgroup drivers_isl29020 ISL29020 light sensor
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef ISL29020_H
#define ISL29020_H
#include <stdint.h>
#include "periph/i2c.h"
@ -129,5 +129,5 @@ int isl29020_disable(const isl29020_t *dev);
}
#endif
#endif /* ISL29020_H */
/** @} */
#endif /* ISL29020_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef ISL29125_H
#define ISL29125_H
/**
* @defgroup drivers_isl29125 ISL29125 RGB light sensor
* @ingroup drivers_sensors
@ -45,9 +48,6 @@
* @author Cenk Gündoğan <mail-github@cgundogan.de>
*/
#ifndef ISL29125_H
#define ISL29125_H
#include <stdint.h>
#include "periph/i2c.h"
@ -214,5 +214,5 @@ int isl29125_read_irq_status(const isl29125_t *dev);
}
#endif
#endif /* ISL29125_H */
/** @} */
#endif /* ISL29125_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef ITG320X_H
#define ITG320X_H
/**
* @defgroup drivers_itg320x ITG320X 3-axis gyroscope
* @ingroup drivers_sensors
@ -37,9 +40,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef ITG320X_H
#define ITG320X_H
#ifdef __cplusplus
extern "C"
{
@ -312,5 +312,5 @@ int itg320x_power_up(itg320x_t *dev);
}
#endif
#endif /* ITG320X_H */
/** @} */
#endif /* ITG320X_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef JC42_H
#define JC42_H
/**
* @defgroup drivers_jc42 JC42 compliant temperature sensor driver
* @ingroup drivers_sensors
@ -30,9 +33,6 @@
* @author Koen Zandberg <koen@bergzand.net>
*/
#ifndef JC42_H
#define JC42_H
#include "periph/i2c.h"
#include "saul.h"
@ -120,5 +120,5 @@ int jc42_get_temperature(const jc42_t* dev, int16_t* temperature);
}
#endif
#endif /* JC42_H */
/** @} */
#endif /* JC42_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef KW2XRF_H
#define KW2XRF_H
/**
* @defgroup drivers_kw2xrf KW2x radio-driver
* @ingroup drivers_netdev
@ -20,9 +23,6 @@
* @author Sebastian Meiling <s@mlng.net>
*/
#ifndef KW2XRF_H
#define KW2XRF_H
#include <stdint.h>
#include "board.h"
@ -173,5 +173,5 @@ void kw2xrf_radio_hal_irq_handler(void *dev);
}
#endif
#endif /* KW2XRF_H */
/** @} */
#endif /* KW2XRF_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef KW41ZRF_H
#define KW41ZRF_H
/**
* @defgroup drivers_kw41zrf KW41Z radio-driver
* @ingroup drivers_netdev
@ -18,9 +21,6 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef KW41ZRF_H
#define KW41ZRF_H
#include <stdint.h>
#include "mutex.h"
@ -165,5 +165,5 @@ int kw41zrf_reset(kw41zrf_t *dev);
}
#endif
#endif /* KW41ZRF_H */
/** @} */
#endif /* KW41ZRF_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef L3G4200D_H
#define L3G4200D_H
/**
* @defgroup drivers_l3g4200d L3G4200D gyroscope
* @ingroup drivers_sensors
@ -24,9 +27,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef L3G4200D_H
#define L3G4200D_H
#include <stdint.h>
#include "periph/i2c.h"
@ -158,5 +158,5 @@ int l3g4200d_disable(const l3g4200d_t *dev);
}
#endif
#endif /* L3G4200D_H */
/** @} */
#endif /* L3G4200D_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef L3GXXXX_H
#define L3GXXXX_H
/**
* @defgroup drivers_l3gxxxx L3Gxxxx 3-axis gyroscope sensor family
* @ingroup drivers_sensors
@ -957,9 +960,6 @@
* @brief Device Driver for ST L3Gxxxx 3-axis gyroscope sensor family
*/
#ifndef L3GXXXX_H
#define L3GXXXX_H
#ifdef __cplusplus
extern "C"
{
@ -1995,5 +1995,5 @@ int l3gxxxx_reg_read(const l3gxxxx_t *dev,
}
#endif
#endif /* L3GXXXX_H */
/** @} */
#endif /* L3GXXXX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LC709203F_H
#define LC709203F_H
/**
* @defgroup drivers_lc709203f LC709203F
* @ingroup drivers_sensors
@ -19,9 +22,6 @@
* @author Josua Arndt <jarndt@ias.rwth-aachen.de>
*/
#ifndef LC709203F_H
#define LC709203F_H
#ifdef __cplusplus
extern "C" {
#endif
@ -384,5 +384,5 @@ void lc709203f_set_status_bit(const lc709203f_t *dev, const lc709203f_temp_obtai
}
#endif
#endif /* LC709203F_H */
/** @} */
#endif /* LC709203F_H */

View File

@ -8,6 +8,9 @@
* directory for more details.
*/
#ifndef LCD_H
#define LCD_H
/**
* @defgroup drivers_lcd LCD display driver
* @ingroup drivers_display
@ -44,9 +47,6 @@
*
*/
#ifndef LCD_H
#define LCD_H
#include "board.h"
#include "mutex.h"
#include "periph/spi.h"
@ -493,5 +493,5 @@ extern const lcd_ll_par_driver_t lcd_ll_par_driver;
#ifdef __cplusplus
}
#endif
#endif /* LCD_H */
/** @} */
#endif /* LCD_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LED_H
#define LED_H
/**
* @defgroup drivers_led Control on-board LEDs
* @ingroup drivers_actuators
@ -29,9 +32,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef LED_H
#define LED_H
#include "board.h"
#ifdef __cplusplus
@ -208,5 +208,5 @@ static inline void led_toggle(unsigned id)
}
#endif
#endif /* LED_H */
/** @} */
#endif /* LED_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LIS2DH12_H
#define LIS2DH12_H
/**
* @defgroup drivers_lis2dh12 LIS2DH12 Accelerometer
* @ingroup drivers_sensors
@ -33,9 +36,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef LIS2DH12_H
#define LIS2DH12_H
#include <stdint.h>
#include <stdbool.h>
@ -503,5 +503,5 @@ int lis2dh12_poweroff(const lis2dh12_t *dev);
}
#endif
#endif /* LIS2DH12_H */
/** @} */
#endif /* LIS2DH12_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LIS3DH_H
#define LIS3DH_H
/**
* @defgroup drivers_lis3dh LIS3DH accelerometer
* @ingroup drivers_sensors
@ -22,9 +25,6 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef LIS3DH_H
#define LIS3DH_H
#include <stdint.h>
#include "periph/spi.h"
@ -905,5 +905,5 @@ int lis3dh_get_fifo_level(const lis3dh_t *dev);
}
#endif
#endif /* LIS3DH_H */
/** @} */
#endif /* LIS3DH_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LIS3MDL_H
#define LIS3MDL_H
/**
* @defgroup drivers_lis3mdl LIS3MDL 3-axis magnetometer
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author René Herthel <rene-herthel@outlook.de>
*/
#ifndef LIS3MDL_H
#define LIS3MDL_H
#include <stdint.h>
#include "periph/i2c.h"
#include "periph/gpio.h"
@ -158,5 +158,5 @@ void lis3mdl_disable(const lis3mdl_t *dev);
}
#endif
#endif /* LIS3MDL_H */
/** @} */
#endif /* LIS3MDL_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LM75_H
#define LM75_H
/**
* @ingroup drivers_lm75
*
@ -23,9 +26,6 @@
* @brief Driver for the lm75 temperature sensors.
*/
#ifndef LM75_H
#define LM75_H
#include <stdbool.h>
#include "periph/i2c.h"
#include "periph/gpio.h"
@ -242,5 +242,5 @@ int lm75_low_power_mode(lm75_t *dev, uint16_t interval);
}
#endif
#endif /* LM75_H */
/** @} */
#endif /* LM75_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LPD8808_H
#define LPD8808_H
/**
* @defgroup drivers_lpd8808 LPD8808 based LED Strip
* @ingroup drivers_actuators
@ -27,9 +30,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef LPD8808_H
#define LPD8808_H
#include "color.h"
#include "periph/gpio.h"
@ -79,5 +79,5 @@ void lpd8808_load_rgb(const lpd8808_t *dev, color_rgb_t vals[]);
}
#endif
#endif /* LPD8808_H */
/** @} */
#endif /* LPD8808_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef LPSXXX_H
#define LPSXXX_H
/**
* @defgroup drivers_lpsxxx LPS331AP/LPS25HB/LPS22HB Pressure Sensors Driver
* @ingroup drivers_sensors
@ -26,9 +29,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef LPSXXX_H
#define LPSXXX_H
#ifdef __cplusplus
extern "C" {
#endif
@ -174,5 +174,5 @@ int lpsxxx_disable(const lpsxxx_t *dev);
}
#endif
#endif /* LPSXXX_H */
/** @} */
#endif /* LPSXXX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LSM303DLHC_H
#define LSM303DLHC_H
/**
* @defgroup drivers_lsm303dlhc LSM303DLHC 3D accelerometer/magnetometer
* @ingroup drivers_sensors
@ -21,9 +24,6 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/
#ifndef LSM303DLHC_H
#define LSM303DLHC_H
#include <stdint.h>
#include "periph/i2c.h"
#include "periph/gpio.h"

View File

@ -7,6 +7,9 @@
*
*/
#ifndef LSM6DSXX_H
#define LSM6DSXX_H
/**
* @defgroup drivers_lsm6dsxx LSM6DSXX 3D accelerometer/gyroscope
* @ingroup drivers_sensors
@ -24,9 +27,6 @@
*
*/
#ifndef LSM6DSXX_H
#define LSM6DSXX_H
#ifdef __cplusplus
extern "C" {
#endif
@ -220,5 +220,5 @@ int lsm6dsxx_gyro_power_up(const lsm6dsxx_t *dev);
}
#endif
#endif /* LSM6DSXX_H */
/** @} */
#endif /* LSM6DSXX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef LTC4150_H
#define LTC4150_H
/**
* @defgroup drivers_ltc4150 LTC4150 coulomb counter
* @ingroup drivers_sensors
@ -59,9 +62,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef LTC4150_H
#define LTC4150_H
#include <stdint.h>
#include "mutex.h"
@ -343,5 +343,5 @@ void ltc4150_pulses2c(const ltc4150_dev_t *dev,
}
#endif
#endif /* LTC4150_H */
/** @} */
#endif /* LTC4150_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef MAG3110_H
#define MAG3110_H
/**
* @defgroup drivers_mag3110 MAG3110 3-Axis Digital Magnetometer
* @ingroup drivers_sensors
@ -32,9 +35,6 @@
* @author Sebastian Meiling <s@mlng.net>
*/
#ifndef MAG3110_H
#define MAG3110_H
#include <stdint.h>
#include <stdbool.h>
#include "periph/i2c.h"
@ -224,5 +224,5 @@ int mag3110_read_dtemp(const mag3110_t *dev, int8_t *dtemp);
}
#endif
#endif /* MAG3110_H */
/** @} */
#endif /* MAG3110_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef MATRIX_KEYPAD_H
#define MATRIX_KEYPAD_H
/**
* @defgroup drivers_matrix_keypad Matrix Keypad
* @ingroup drivers_sensors
@ -49,9 +52,6 @@
* @author Koen Zandberg <koen@bergzand.net>
*/
#ifndef MATRIX_KEYPAD_H
#define MATRIX_KEYPAD_H
#include <stdint.h>
#include <stdbool.h>
#include "periph/gpio.h"
@ -225,5 +225,5 @@ size_t matrix_keypad_scan(matrix_keypad_t *dev);
}
#endif
#endif /* MATRIX_KEYPAD_H */
/** @} */
#endif /* MATRIX_KEYPAD_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef MAX31855_H
#define MAX31855_H
/**
* @defgroup drivers_max31855 MAX31855 Thermocouple-to-Digital Converter driver
* @ingroup drivers_sensors
@ -32,9 +35,6 @@
* @author Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
*/
#ifndef MAX31855_H
#define MAX31855_H
/* Add header includes here */
#ifdef __cplusplus
@ -131,5 +131,5 @@ void max31855_read_raw(max31855_t *dev, uint32_t *data);
}
#endif
#endif /* MAX31855_H */
/** @} */
#endif /* MAX31855_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef MCP47XX_H
#define MCP47XX_H
/**
* @defgroup drivers_mcp47xx MCP47xx DAC with I2C interface
* @ingroup drivers_saul
@ -104,9 +107,6 @@
* @file
*/
#ifndef MCP47XX_H
#define MCP47XX_H
#ifdef __cplusplus
extern "C"
{
@ -345,5 +345,5 @@ uint8_t mcp47xx_dac_channels(mcp47xx_t *dev);
}
#endif
#endif /* MCP47XX_H */
/** @} */
#endif /* MCP47XX_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef MFRC522_H
#define MFRC522_H
/**
* @defgroup drivers_mfrc522 MFRC522 RFID controller
* @ingroup drivers_actuators
@ -35,9 +38,6 @@
* @file
*/
#ifndef MFRC522_H
#define MFRC522_H
#ifdef __cplusplus
extern "C"
{
@ -874,5 +874,5 @@ bool mfrc522_pcd_perform_self_test(mfrc522_t *dev);
}
#endif
#endif /* MFRC522_H */
/** @} */
#endif /* MFRC522_H */

View File

@ -8,6 +8,9 @@
* directory for more details.
*/
#ifndef MHZ19_H
#define MHZ19_H
/**
* @defgroup drivers_mhz19 MH-Z19 CO2 sensor
* @ingroup drivers_sensors
@ -35,9 +38,6 @@
* @author Bas Stottelaar <basstottelaar@gmail.com>
*/
#ifndef MHZ19_H
#define MHZ19_H
#include <stdbool.h>
#include "saul.h"
@ -153,5 +153,5 @@ void mhz19_calibrate_zero_point(mhz19_t *dev);
}
#endif
#endif /* MHZ19_H */
/** @} */
#endif /* MHZ19_H */

View File

@ -6,6 +6,9 @@
* details.
*/
#ifndef MII_H
#define MII_H
/**
* @defgroup drivers_mii Ethernet Media-Independent Interface (MII)
* Utilities
@ -23,9 +26,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef MII_H
#define MII_H
#include <stdbool.h>
#include <stdint.h>
@ -205,5 +205,5 @@ static inline bool mii_can_10_mbps_half_dp(uint16_t bmsr)
}
#endif
#endif /* MII_H */
/** @} */
#endif /* MII_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef MMA7660_H
#define MMA7660_H
/**
* @defgroup drivers_mma7660 MMA7660 Accelerometer
* @ingroup drivers_sensors
@ -20,9 +23,6 @@
* @author Michael Andersen <m.andersen@cs.berkeley.edu>
*/
#ifndef MMA7660_H
#define MMA7660_H
#include <stdint.h>
#include <stdbool.h>
#include "periph/i2c.h"
@ -256,5 +256,5 @@ int mma7660_read_counts(const mma7660_t *dev, int8_t *x, int8_t *y, int8_t *z);
}
#endif
#endif /* MMA7660_H */
/** @} */
#endif /* MMA7660_H */

View File

@ -7,6 +7,9 @@
* directory for more details.
*/
#ifndef MMA8X5X_H
#define MMA8X5X_H
/**
* @defgroup drivers_mma8x5x MMA8x5x Accelerometer
* @ingroup drivers_sensors
@ -30,9 +33,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef MMA8X5X_H
#define MMA8X5X_H
#include <stdint.h>
#include "periph/i2c.h"
@ -222,5 +222,5 @@ void mma8x5x_ack_int(const mma8x5x_t *dev);
}
#endif
#endif /* MMA8X5X_H */
/** @} */
#endif /* MMA8X5X_H */

View File

@ -6,6 +6,9 @@
* directory for more details.
*/
#ifndef MOTOR_DRIVER_H
#define MOTOR_DRIVER_H
/**
* @defgroup drivers_motor DC Motor Driver
* @ingroup drivers_actuators
@ -81,9 +84,6 @@
* @author Gilles DOFFE <g.doffe@gmail.com>
*/
#ifndef MOTOR_DRIVER_H
#define MOTOR_DRIVER_H
#include "periph/pwm.h"
#include "periph/gpio.h"
@ -235,5 +235,5 @@ void motor_disable(const motor_driver_t motor_driver, uint8_t motor_id);
}
#endif
#endif /* MOTOR_DRIVER_H */
/** @} */
#endif /* MOTOR_DRIVER_H */

Some files were not shown because too many files have changed in this diff Show More