0% found this document useful (0 votes)
3 views2 pages

AM232X Syntax Colouring Guide

The document outlines the syntax coloring map for the AM232X sensor, categorizing data types, methods, functions, and constants. It includes specific keywords related to the AM232X model, various methods for reading and setting sensor parameters, and constants representing error codes and statuses. This structured format aids in code readability and organization for developers working with the AM232X sensor.

Uploaded by

pmshrikvno.1atl
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

AM232X Syntax Colouring Guide

The document outlines the syntax coloring map for the AM232X sensor, categorizing data types, methods, functions, and constants. It includes specific keywords related to the AM232X model, various methods for reading and setting sensor parameters, and constants representing error codes and statuses. This structured format aids in code readability and organization for developers working with the AM232X sensor.

Uploaded by

pmshrikvno.1atl
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

# Syntax Colouring Map For AM232X

# Data types (KEYWORD1)


AM232X KEYWORD1
AM2320 KEYWORD1
AM2321 KEYWORD1
AM2322 KEYWORD1

# Methods and Functions (KEYWORD2)


begin KEYWORD2
isConnected KEYWORD2

read KEYWORD2
lastRead KEYWORD2

getReadDelay KEYWORD2
setReadDelay KEYWORD2

getModel KEYWORD2
getVersion KEYWORD2
getDeviceID KEYWORD2

getStatus KEYWORD2
getUserRegisterA KEYWORD2
getUserRegisterB KEYWORD2

setStatus KEYWORD2
setUserRegisterA KEYWORD2
setUserRegisterB KEYWORD2

getHumidity KEYWORD2
getTemperature KEYWORD2

setHumOffset KEYWORD2
setTempOffset KEYWORD2
getHumOffset KEYWORD2
getTempOffset KEYWORD2

getSuppressError KEYWORD2
setSuppressError KEYWORD2

wakeUp KEYWORD2

# Constants (LITERAL1)
AM232X_LIB_VERSION LITERAL1

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
AM232X_READ_TOO_FAST LITERAL1

AM232X_HUMIDITY_OUT_OF_RANGE LITERAL1
AM232X_TEMPERATURE_OUT_OF_RANGE LITERAL1
AM232X_INVALID_VALUE LITERAL1

You might also like