All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Register definitions for the Atlas Scientific pH OEM sensor. More...

Detailed Description

Register definitions for the Atlas Scientific pH OEM sensor.

Author
Igor Knippenberg igor..nosp@m.knip.nosp@m.penbe.nosp@m.rg@g.nosp@m.mail..nosp@m.com

Definition in file ph_oem_regs.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define PH_OEM_DEVICE_TYPE_ID   0x01
 Device ID of the PH_OEM_REG_DEVICE_TYPE register of a pH OEM sensor.
 
enum  ph_oem_reg {
  PH_OEM_REG_DEVICE_TYPE = 0x00 , PH_OEM_REG_FIRMWARE_VERSION = 0x01 , PH_OEM_REG_UNLOCK = 0x02 , PH_OEM_REG_ADDRESS = 0x03 ,
  PH_OEM_REG_INTERRUPT = 0x04 , PH_OEM_REG_LED = 0x05 , PH_OEM_REG_HIBERNATE = 0x06 , PH_OEM_REG_NEW_READING = 0x07 ,
  PH_OEM_REG_CALIBRATION_BASE = 0x08 , PH_OEM_REG_CALIBRATION_REQUEST = 0x0C , PH_OEM_REG_CALIBRATION_CONFIRM = 0x0D , PH_OEM_REG_TEMP_COMPENSATION_BASE = 0x0E ,
  PH_OEM_REG_TEMP_CONFIRMATION_BASE = 0x12 , PH_OEM_REG_PH_READING_BASE = 0x16
}
 Atlas Scientific pH OEM register addresses. More...
 
typedef enum ph_oem_reg ph_oem_reg_t
 Atlas Scientific pH OEM register addresses.
 

Macro Definition Documentation

◆ PH_OEM_DEVICE_TYPE_ID

#define PH_OEM_DEVICE_TYPE_ID   0x01

Device ID of the PH_OEM_REG_DEVICE_TYPE register of a pH OEM sensor.

Definition at line 53 of file ph_oem_regs.h.

Typedef Documentation

◆ ph_oem_reg_t

typedef enum ph_oem_reg ph_oem_reg_t

Atlas Scientific pH OEM register addresses.

All registers in the pH OEM are 8 bit wide and transmitted MSB first.

Enumeration Type Documentation

◆ ph_oem_reg

enum ph_oem_reg

Atlas Scientific pH OEM register addresses.

All registers in the pH OEM are 8 bit wide and transmitted MSB first.

Enumerator
PH_OEM_REG_DEVICE_TYPE 

Device type register (read only)

PH_OEM_REG_FIRMWARE_VERSION 

Firmware version register (read only)

PH_OEM_REG_UNLOCK 

SMBus/I²C address lock/unlock register (read/write)

PH_OEM_REG_ADDRESS 

SMBus/I²C address register (read/write)

PH_OEM_REG_INTERRUPT 

Interrupt control register (read/write)

PH_OEM_REG_LED 

LED control register (read/write)

PH_OEM_REG_HIBERNATE 

Active/hibernate register (read/write)

PH_OEM_REG_NEW_READING 

New reading available register (read/write)

PH_OEM_REG_CALIBRATION_BASE 

Calibration value register base address.

Register order is: MSB, high byte, low byte, LSB (0x08-0x0B) (read/write)

PH_OEM_REG_CALIBRATION_REQUEST 

Calibration request register (read/write)

PH_OEM_REG_CALIBRATION_CONFIRM 

Calibration confirm register (read/write)

PH_OEM_REG_TEMP_COMPENSATION_BASE 

Temperature compensation register base address.

Register order is: MSB, high byte, low byte, LSB (0x0E-0x11) (read/write)

PH_OEM_REG_TEMP_CONFIRMATION_BASE 

Temperature confirm register base address.

Register order is: MSB, high byte, low byte, LSB (0x12-0x15) (read only)

PH_OEM_REG_PH_READING_BASE 

pH reading register base address, order= MSB, high byte, low byte, LSB (0x16-0x19) (read only)

Definition at line 32 of file ph_oem_regs.h.