Settings for registers of pH Click driver.
More...
|
#define | PH_CMD_CNG_BAUD_RATE "Baud," |
| pH control commands.
|
|
#define | PH_CMD_CHK_BAUD_RATE "Baud,?" |
|
#define | PH_CMD_SET_CONT_READ "C," |
|
#define | PH_CMD_CHK_CONT_READ "C,?" |
|
#define | PH_CMD_CALIB_PERF "Cal" |
|
#define | PH_CMD_CALIB_MID ",mid," |
|
#define | PH_CMD_CALIB_LOW ",low," |
|
#define | PH_CMD_CALIB_HIGH ",high," |
|
#define | PH_CMD_CHK_CALIB "Cal,?" |
|
#define | PH_CMD_CALIB_EXP "Export" |
|
#define | PH_CMD_CHK_CALIB_EXP "Export,?" |
|
#define | PH_CMD_CALIB_IMP "Import," |
|
#define | PH_CMD_EN_FTY_RST "Factory" |
|
#define | PH_CMD_DEV_FIND "Find" |
|
#define | PH_CMD_DEV_INFO "i" |
|
#define | PH_CMD_CNG_I2C "I2C," |
|
#define | PH_CMD_EN_LED "L," |
|
#define | PH_CMD_CHK_LED "L,?" |
|
#define | PH_CMD_SET_DEV_NAME "Name," |
|
#define | PH_CMD_GET_DEV_NAME "Name,?" |
|
#define | PH_CMD_PROTOCOL_LOCK "Plock," |
|
#define | PH_CMD_PROTOCOL_CKH "Plock,?" |
|
#define | PH_CMD_SET_SNGL_READ "r" |
|
#define | PH_CMD_ENTER_SLEEP "Sleep" |
|
#define | PH_CMD_RET_SLOPE "Slope,?" |
|
#define | PH_CMD_READ_STATUS "Status" |
|
#define | PH_CMD_TEMP_COMP "T," |
|
#define | PH_CMD_CHK_TEMP_COMP "T,?" |
|
#define | PH_CMD_RSP_CODES "*OK" |
|
#define | PH_CMD_EN_RSP_CODES "*OK,1" |
|
#define | PH_CMD_DIS_RSP_CODES "*OK,0" |
|
#define | PH_CMD_CHK_RSP_CODES "*OK,?" |
|
#define | PH_CMD_END_COMMAND "\r" |
|
#define | PH_RSP_CODE_ERROR "*ER" |
| pH Response codes list.
|
|
#define | PH_RSP_CODE_OV_VOLT "*OV" |
|
#define | PH_RSP_CODE_UN_VOLT "*UV" |
|
#define | PH_RSP_CODE_RESET "*RS" |
|
#define | PH_RSP_CODE_READY "*RE" |
|
#define | PH_RSP_CODE_SLEEP_EN "*SL" |
|
#define | PH_RSP_CODE_WAKE_UP "*WA" |
|
#define | PH_RSP_CODE_ALL_GOOD "*OK" |
|
#define | PH_RST_CODE_POW_OFF "P" |
| pH Restart codes list.
|
|
#define | PH_RST_CODE_SW_RST "S" |
|
#define | PH_RST_CODE_BRWN_OUT "B" |
|
#define | PH_RST_CODE_WTD "W" |
|
#define | PH_RST_CODE_UNKNOWN "U" |
|
#define | PH_BAUD_RATE_300 "300" |
| pH Baud rate list.
|
|
#define | PH_BAUD_RATE_1200 "1200" |
|
#define | PH_BAUD_RATE_2400 "2400" |
|
#define | PH_BAUD_RATE_9600 "9600" |
|
#define | PH_BAUD_RATE_19200 "19200" |
|
#define | PH_BAUD_RATE_38400 "38400" |
|
#define | PH_BAUD_RATE_57600 "57600" |
|
#define | PH_BAUD_RATE_115200 "115200" |
|
#define | DRV_BUFFER_SIZE 200 |
| pH driver buffer size.
|
|
Settings for registers of pH Click driver.
◆ DRV_BUFFER_SIZE
#define DRV_BUFFER_SIZE 200 |
pH driver buffer size.
Specified size of driver ring buffer.
- Note
- Increase buffer size if needed.
◆ PH_BAUD_RATE_115200
#define PH_BAUD_RATE_115200 "115200" |
◆ PH_BAUD_RATE_1200
#define PH_BAUD_RATE_1200 "1200" |
◆ PH_BAUD_RATE_19200
#define PH_BAUD_RATE_19200 "19200" |
◆ PH_BAUD_RATE_2400
#define PH_BAUD_RATE_2400 "2400" |
◆ PH_BAUD_RATE_300
#define PH_BAUD_RATE_300 "300" |
pH Baud rate list.
Specified baud rate list of pH Click driver.
◆ PH_BAUD_RATE_38400
#define PH_BAUD_RATE_38400 "38400" |
◆ PH_BAUD_RATE_57600
#define PH_BAUD_RATE_57600 "57600" |
◆ PH_BAUD_RATE_9600
#define PH_BAUD_RATE_9600 "9600" |
◆ PH_CMD_CALIB_EXP
#define PH_CMD_CALIB_EXP "Export" |
◆ PH_CMD_CALIB_HIGH
#define PH_CMD_CALIB_HIGH ",high," |
◆ PH_CMD_CALIB_IMP
#define PH_CMD_CALIB_IMP "Import," |
◆ PH_CMD_CALIB_LOW
#define PH_CMD_CALIB_LOW ",low," |
◆ PH_CMD_CALIB_MID
#define PH_CMD_CALIB_MID ",mid," |
◆ PH_CMD_CALIB_PERF
#define PH_CMD_CALIB_PERF "Cal" |
◆ PH_CMD_CHK_BAUD_RATE
#define PH_CMD_CHK_BAUD_RATE "Baud,?" |
◆ PH_CMD_CHK_CALIB
#define PH_CMD_CHK_CALIB "Cal,?" |
◆ PH_CMD_CHK_CALIB_EXP
#define PH_CMD_CHK_CALIB_EXP "Export,?" |
◆ PH_CMD_CHK_CONT_READ
#define PH_CMD_CHK_CONT_READ "C,?" |
◆ PH_CMD_CHK_LED
#define PH_CMD_CHK_LED "L,?" |
◆ PH_CMD_CHK_RSP_CODES
#define PH_CMD_CHK_RSP_CODES "*OK,?" |
◆ PH_CMD_CHK_TEMP_COMP
#define PH_CMD_CHK_TEMP_COMP "T,?" |
◆ PH_CMD_CNG_BAUD_RATE
#define PH_CMD_CNG_BAUD_RATE "Baud," |
pH control commands.
Specified setting for control commands of pH Click driver.
◆ PH_CMD_CNG_I2C
#define PH_CMD_CNG_I2C "I2C," |
◆ PH_CMD_DEV_FIND
#define PH_CMD_DEV_FIND "Find" |
◆ PH_CMD_DEV_INFO
#define PH_CMD_DEV_INFO "i" |
◆ PH_CMD_DIS_RSP_CODES
#define PH_CMD_DIS_RSP_CODES "*OK,0" |
◆ PH_CMD_EN_FTY_RST
#define PH_CMD_EN_FTY_RST "Factory" |
◆ PH_CMD_EN_LED
#define PH_CMD_EN_LED "L," |
◆ PH_CMD_EN_RSP_CODES
#define PH_CMD_EN_RSP_CODES "*OK,1" |
◆ PH_CMD_END_COMMAND
#define PH_CMD_END_COMMAND "\r" |
◆ PH_CMD_ENTER_SLEEP
#define PH_CMD_ENTER_SLEEP "Sleep" |
◆ PH_CMD_GET_DEV_NAME
#define PH_CMD_GET_DEV_NAME "Name,?" |
◆ PH_CMD_PROTOCOL_CKH
#define PH_CMD_PROTOCOL_CKH "Plock,?" |
◆ PH_CMD_PROTOCOL_LOCK
#define PH_CMD_PROTOCOL_LOCK "Plock," |
◆ PH_CMD_READ_STATUS
#define PH_CMD_READ_STATUS "Status" |
◆ PH_CMD_RET_SLOPE
#define PH_CMD_RET_SLOPE "Slope,?" |
◆ PH_CMD_RSP_CODES
#define PH_CMD_RSP_CODES "*OK" |
◆ PH_CMD_SET_CONT_READ
#define PH_CMD_SET_CONT_READ "C," |
◆ PH_CMD_SET_DEV_NAME
#define PH_CMD_SET_DEV_NAME "Name," |
◆ PH_CMD_SET_SNGL_READ
#define PH_CMD_SET_SNGL_READ "r" |
◆ PH_CMD_TEMP_COMP
#define PH_CMD_TEMP_COMP "T," |
◆ PH_RSP_CODE_ALL_GOOD
#define PH_RSP_CODE_ALL_GOOD "*OK" |
◆ PH_RSP_CODE_ERROR
#define PH_RSP_CODE_ERROR "*ER" |
pH Response codes list.
Specified response codes list of pH Click driver.
◆ PH_RSP_CODE_OV_VOLT
#define PH_RSP_CODE_OV_VOLT "*OV" |
◆ PH_RSP_CODE_READY
#define PH_RSP_CODE_READY "*RE" |
◆ PH_RSP_CODE_RESET
#define PH_RSP_CODE_RESET "*RS" |
◆ PH_RSP_CODE_SLEEP_EN
#define PH_RSP_CODE_SLEEP_EN "*SL" |
◆ PH_RSP_CODE_UN_VOLT
#define PH_RSP_CODE_UN_VOLT "*UV" |
◆ PH_RSP_CODE_WAKE_UP
#define PH_RSP_CODE_WAKE_UP "*WA" |
◆ PH_RST_CODE_BRWN_OUT
#define PH_RST_CODE_BRWN_OUT "B" |
◆ PH_RST_CODE_POW_OFF
#define PH_RST_CODE_POW_OFF "P" |
pH Restart codes list.
Specified restart codes list of pH Click driver.
◆ PH_RST_CODE_SW_RST
#define PH_RST_CODE_SW_RST "S" |
◆ PH_RST_CODE_UNKNOWN
#define PH_RST_CODE_UNKNOWN "U" |
◆ PH_RST_CODE_WTD
#define PH_RST_CODE_WTD "W" |