1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/drivers/sensors/adt7320.h
Alin Jerpelea 70c3e46ef6 drivers/sensors/adt7320 : migrate license to ASF
Augusto Fraga Giachero has sumitted the ICLA and the license can be
replaced by the ASF License

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-11-06 19:46:13 +08:00

41 lines
1.6 KiB
C

/****************************************************************************
* drivers/sensors/adt7320.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
* ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
****************************************************************************/
#ifndef __DRIVERS_SENSORS_ADT7320_H
#define __DRIVERS_SENSORS_ADT7320_H
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#define ADT7320_STAT_REG 0x00
#define ADT7320_CONF_REG 0x01
#define ADT7320_TEMP_REG 0x02
#define ADT7320_ID_REG 0x03
#define ADT7320_TCRIT_REG 0x04
#define ADT7320_THYST_REG 0x05
#define ADT7320_THIGH_REG 0x06
#define ADT7320_TLOW_REG 0x07
#define ADT7320_ID 0xc3
#endif /* __DRIVERS_SENSORS_ADT7320_H */