ph_oem_regs.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 University of Applied Sciences Emden / Leer
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
31 typedef enum ph_oem_reg {
37  PH_OEM_REG_LED = 0x05,
48 
52 #define PH_OEM_DEVICE_TYPE_ID 0x01
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
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:31
@ 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:45
@ PH_OEM_REG_FIRMWARE_VERSION
Firmware version register (read only)
Definition: ph_oem_regs.h:33
@ PH_OEM_REG_CALIBRATION_BASE
Calibration value register base address.
Definition: ph_oem_regs.h:40
@ PH_OEM_REG_UNLOCK
SMBus/I²C address lock/unlock register (read/write)
Definition: ph_oem_regs.h:34
@ PH_OEM_REG_LED
LED control register (read/write)
Definition: ph_oem_regs.h:37
@ PH_OEM_REG_INTERRUPT
Interrupt control register (read/write)
Definition: ph_oem_regs.h:36
@ PH_OEM_REG_NEW_READING
New reading available register (read/write)
Definition: ph_oem_regs.h:39
@ PH_OEM_REG_TEMP_COMPENSATION_BASE
Temperature compensation register base address.
Definition: ph_oem_regs.h:43
@ PH_OEM_REG_CALIBRATION_REQUEST
Calibration request register (read/write)
Definition: ph_oem_regs.h:41
@ PH_OEM_REG_TEMP_CONFIRMATION_BASE
Temperature confirm register base address.
Definition: ph_oem_regs.h:44
@ PH_OEM_REG_CALIBRATION_CONFIRM
Calibration confirm register (read/write)
Definition: ph_oem_regs.h:42
@ PH_OEM_REG_ADDRESS
SMBus/I²C address register (read/write)
Definition: ph_oem_regs.h:35
@ PH_OEM_REG_DEVICE_TYPE
Device type register (read only)
Definition: ph_oem_regs.h:32
@ PH_OEM_REG_HIBERNATE
Active/hibernate register (read/write)
Definition: ph_oem_regs.h:38