1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-18 02:53:52 +01:00
RIOT/drivers/hm330x/include/hm330x_constants.h
Marian Buschsieweke cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00

45 lines
757 B
C

/*
* Copyright (C) 2021 Inria
*
* 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.
*/
#pragma once
/**
* @ingroup drivers_hm330x
* @{
*
* @file
* @brief Internal addresses, registers and constants
*
* @author Francisco Molina <francois-xavier.molina@inria.fr>
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief HM330X default i2c address
*/
#define HM330X_I2C_ADDRESS (0x40U)
/**
* @brief HM330X data length
*/
#define HM330X_DATA_LENGTH (29U)
/**
* @brief HM330X cmd to switch to i2c mode
*/
#define HM330X_CMD_I2C_MODE (0x88U)
#ifdef __cplusplus
}
#endif
/** @} */