Loading...
Searching...
No Matches
ph_oem_regs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 University of Applied Sciences Emden / Leer
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
45
49#define PH_OEM_DEVICE_TYPE_ID 0x01
50
51#ifdef __cplusplus
52}
53#endif
54
enum ph_oem_reg ph_oem_reg_t
Atlas Scientific pH OEM register addresses.
ph_oem_reg
Atlas Scientific pH OEM register addresses.
Definition ph_oem_regs.h:28
@ PH_OEM_REG_PH_READING_BASE
pH reading register base address, order= MSB, high byte, low byte, LSB (0x16-0x19) (read only)
Definition ph_oem_regs.h:42
@ PH_OEM_REG_FIRMWARE_VERSION
Firmware version register (read only)
Definition ph_oem_regs.h:30
@ PH_OEM_REG_CALIBRATION_BASE
Calibration value register base address.
Definition ph_oem_regs.h:37
@ PH_OEM_REG_UNLOCK
SMBus/I²C address lock/unlock register (read/write)
Definition ph_oem_regs.h:31
@ PH_OEM_REG_LED
LED control register (read/write)
Definition ph_oem_regs.h:34
@ PH_OEM_REG_INTERRUPT
Interrupt control register (read/write)
Definition ph_oem_regs.h:33
@ PH_OEM_REG_NEW_READING
New reading available register (read/write)
Definition ph_oem_regs.h:36
@ PH_OEM_REG_TEMP_COMPENSATION_BASE
Temperature compensation register base address.
Definition ph_oem_regs.h:40
@ PH_OEM_REG_CALIBRATION_REQUEST
Calibration request register (read/write)
Definition ph_oem_regs.h:38
@ PH_OEM_REG_TEMP_CONFIRMATION_BASE
Temperature confirm register base address.
Definition ph_oem_regs.h:41
@ PH_OEM_REG_CALIBRATION_CONFIRM
Calibration confirm register (read/write)
Definition ph_oem_regs.h:39
@ PH_OEM_REG_ADDRESS
SMBus/I²C address register (read/write)
Definition ph_oem_regs.h:32
@ PH_OEM_REG_DEVICE_TYPE
Device type register (read only)
Definition ph_oem_regs.h:29
@ PH_OEM_REG_HIBERNATE
Active/hibernate register (read/write)
Definition ph_oem_regs.h:35