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,
49 
53 #define PH_OEM_DEVICE_TYPE_ID 0x01
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* PH_OEM_REGS_H */
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:32
@ 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_FIRMWARE_VERSION
Firmware version register (read only)
Definition: ph_oem_regs.h:34
@ PH_OEM_REG_CALIBRATION_BASE
Calibration value register base address.
Definition: ph_oem_regs.h:41
@ PH_OEM_REG_UNLOCK
SMBus/I²C address lock/unlock register (read/write)
Definition: ph_oem_regs.h:35
@ PH_OEM_REG_LED
LED control register (read/write)
Definition: ph_oem_regs.h:38
@ PH_OEM_REG_INTERRUPT
Interrupt control register (read/write)
Definition: ph_oem_regs.h:37
@ PH_OEM_REG_NEW_READING
New reading available register (read/write)
Definition: ph_oem_regs.h:40
@ PH_OEM_REG_TEMP_COMPENSATION_BASE
Temperature compensation register base address.
Definition: ph_oem_regs.h:44
@ PH_OEM_REG_CALIBRATION_REQUEST
Calibration request register (read/write)
Definition: ph_oem_regs.h:42
@ PH_OEM_REG_TEMP_CONFIRMATION_BASE
Temperature confirm register base address.
Definition: ph_oem_regs.h:45
@ PH_OEM_REG_CALIBRATION_CONFIRM
Calibration confirm register (read/write)
Definition: ph_oem_regs.h:43
@ PH_OEM_REG_ADDRESS
SMBus/I²C address register (read/write)
Definition: ph_oem_regs.h:36
@ PH_OEM_REG_DEVICE_TYPE
Device type register (read only)
Definition: ph_oem_regs.h:33
@ PH_OEM_REG_HIBERNATE
Active/hibernate register (read/write)
Definition: ph_oem_regs.h:39