2022-01-06 14:05:38 +01:00
|
|
|
# Syntax Colouring Map For AM232X
|
2017-12-12 13:16:58 +01:00
|
|
|
|
2021-02-03 17:20:20 +01:00
|
|
|
|
2021-10-19 11:51:07 +02:00
|
|
|
# Data types (KEYWORD1)
|
2020-05-07 09:53:25 +02:00
|
|
|
AM232X KEYWORD1
|
2017-12-12 13:16:58 +01:00
|
|
|
|
2021-02-03 17:20:20 +01:00
|
|
|
|
2017-12-12 13:16:58 +01:00
|
|
|
# Methods and Functions (KEYWORD2)
|
2021-01-29 12:31:58 +01:00
|
|
|
begin KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
2021-04-07 13:31:22 +02:00
|
|
|
|
2020-05-07 09:53:25 +02:00
|
|
|
read KEYWORD2
|
|
|
|
getModel KEYWORD2
|
|
|
|
getVersion KEYWORD2
|
|
|
|
getDeviceID KEYWORD2
|
2021-04-07 13:31:22 +02:00
|
|
|
|
2020-05-07 09:53:25 +02:00
|
|
|
getStatus KEYWORD2
|
|
|
|
getUserRegisterA KEYWORD2
|
|
|
|
getUserRegisterB KEYWORD2
|
2021-04-07 13:31:22 +02:00
|
|
|
|
2020-05-07 09:53:25 +02:00
|
|
|
setStatus KEYWORD2
|
|
|
|
setUserRegisterA KEYWORD2
|
|
|
|
setUserRegisterB KEYWORD2
|
2021-04-07 13:31:22 +02:00
|
|
|
|
2020-05-07 09:53:25 +02:00
|
|
|
getHumidity KEYWORD2
|
|
|
|
getTemperature KEYWORD2
|
2021-04-07 13:31:22 +02:00
|
|
|
wakeUp KEYWORD2
|
2017-12-12 13:16:58 +01:00
|
|
|
|
2022-01-06 14:05:38 +01:00
|
|
|
setHumOffset KEYWORD2
|
|
|
|
setTempOffset KEYWORD2
|
|
|
|
getHumOffset KEYWORD2
|
|
|
|
getTempOffset KEYWORD2
|
|
|
|
|
|
|
|
getReadDelay KEYWORD2
|
|
|
|
setReadDelay KEYWORD2
|
|
|
|
lastRead KEYWORD2
|
|
|
|
|
2022-06-18 09:51:07 +02:00
|
|
|
getSuppressError KEYWORD2
|
|
|
|
setSuppressError KEYWORD2
|
2021-02-03 17:20:20 +01:00
|
|
|
|
2017-12-12 13:16:58 +01:00
|
|
|
# Constants (LITERAL1)
|
2021-01-29 12:31:58 +01:00
|
|
|
AM232X_LIB_VERSION LITERAL1
|
2021-12-11 19:15:19 +01:00
|
|
|
|
2021-01-29 12:31:58 +01:00
|
|
|
AM232X_OK LITERAL1
|
|
|
|
AM232X_ERROR_UNKNOWN LITERAL1
|
|
|
|
AM232X_ERROR_CONNECT LITERAL1
|
|
|
|
AM232X_ERROR_FUNCTION LITERAL1
|
|
|
|
AM232X_ERROR_ADDRESS LITERAL1
|
|
|
|
AM232X_ERROR_REGISTER LITERAL1
|
|
|
|
AM232X_ERROR_CRC_1 LITERAL1
|
|
|
|
AM232X_ERROR_CRC_2 LITERAL1
|
|
|
|
AM232X_ERROR_WRITE_DISABLED LITERAL1
|
|
|
|
AM232X_ERROR_WRITE_COUNT LITERAL1
|
|
|
|
AM232X_MISSING_BYTES LITERAL1
|
2022-01-06 14:05:38 +01:00
|
|
|
AM232X_READ_TOO_FAST LITERAL1
|
2021-01-29 12:31:58 +01:00
|
|
|
|
2022-06-18 09:51:07 +02:00
|
|
|
AM232X_HUMIDITY_OUT_OF_RANGE LITERAL1
|
|
|
|
AM232X_TEMPERATURE_OUT_OF_RANGE LITERAL1
|
|
|
|
AM232X_INVALID_VALUE LITERAL1
|
|
|
|
|
|
|
|
|