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 
19 #ifndef PH_OEM_REGS_H
20 #define PH_OEM_REGS_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
32 typedef enum ph_oem_reg {
38  PH_OEM_REG_LED = 0x05,
48 } ph_oem_reg_t;
49 
50 
54 #define PH_OEM_DEVICE_TYPE_ID 0x01
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* PH_OEM_REGS_H */
61 
PH_OEM_REG_NEW_READING
@ PH_OEM_REG_NEW_READING
New reading available register (read/write)
Definition: ph_oem_regs.h:40
PH_OEM_REG_PH_READING_BASE
@ 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:46
PH_OEM_REG_TEMP_CONFIRMATION_BASE
@ PH_OEM_REG_TEMP_CONFIRMATION_BASE
Temperature confirm register base address.
Definition: ph_oem_regs.h:45
PH_OEM_REG_TEMP_COMPENSATION_BASE
@ PH_OEM_REG_TEMP_COMPENSATION_BASE
Temperature compensation register base address.
Definition: ph_oem_regs.h:44
PH_OEM_REG_ADDRESS
@ PH_OEM_REG_ADDRESS
SMBus/I²C address register (read/write)
Definition: ph_oem_regs.h:36
PH_OEM_REG_DEVICE_TYPE
@ PH_OEM_REG_DEVICE_TYPE
Device type register (read only)
Definition: ph_oem_regs.h:33
ph_oem_reg
ph_oem_reg
Atlas Scientific pH OEM register addresses.
Definition: ph_oem_regs.h:32
ph_oem_reg_t
enum ph_oem_reg ph_oem_reg_t
Atlas Scientific pH OEM register addresses.
PH_OEM_REG_LED
@ PH_OEM_REG_LED
LED control register (read/write)
Definition: ph_oem_regs.h:38
PH_OEM_REG_FIRMWARE_VERSION
@ PH_OEM_REG_FIRMWARE_VERSION
Firmware version register (read only)
Definition: ph_oem_regs.h:34
PH_OEM_REG_UNLOCK
@ PH_OEM_REG_UNLOCK
SMBus/I²C address lock/unlock register (read/write)
Definition: ph_oem_regs.h:35
PH_OEM_REG_INTERRUPT
@ PH_OEM_REG_INTERRUPT
Interrupt control register (read/write)
Definition: ph_oem_regs.h:37
PH_OEM_REG_CALIBRATION_BASE
@ PH_OEM_REG_CALIBRATION_BASE
Calibration value register base address.
Definition: ph_oem_regs.h:41
PH_OEM_REG_CALIBRATION_REQUEST
@ PH_OEM_REG_CALIBRATION_REQUEST
Calibration request register (read/write)
Definition: ph_oem_regs.h:42
PH_OEM_REG_CALIBRATION_CONFIRM
@ PH_OEM_REG_CALIBRATION_CONFIRM
Calibration confirm register (read/write)
Definition: ph_oem_regs.h:43
PH_OEM_REG_HIBERNATE
@ PH_OEM_REG_HIBERNATE
Active/hibernate register (read/write)
Definition: ph_oem_regs.h:39