1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/seesaw_soil/include/seesaw_soil_regs.h
Viktor Gal 7ea8f738fd
Add support for Adafruit Seesaw Soil moisture sensor (#14835)
drivers/seesaw_soil: Add support for Adafruit Seesaw Soil moisture sensor
2020-09-23 17:35:33 +02:00

50 lines
895 B
C

/*
* Copyright (C) 2020 Viktor Gal
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_seesaw_soil
* @{
*
* @file
* @brief Register definitions for Seesaw Soil devices
*
* @author Viktor Gal <viktor.gal@maeth.com>
*/
#ifndef SEESAW_SOIL_REGS_H
#define SEESAW_SOIL_REGS_H
#ifdef __cplusplus
extern "C"
{
#endif
/**
* @name Manufacturer ID
* @{
*/
#define SEESAW_SOIL_MID_VALUE 0x55
/** @} */
/**
* @name Register Map
* @{
*/
#define SEESAW_SOIL_MANUFACTURER_ID (0x01)
#define SEESAW_SOIL_TEMPERATURE (0x04)
#define SEESAW_SOIL_MOISTURE (0x0F10)
#define SEESAW_SOIL_RST (0x7F)
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* SEESAW_SOIL_REGS_H */
/** @} */