2021-12-11 10:46:06 -05:00
|
|
|
# Syntax Colouring Map For ADS1X15
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2021-12-11 10:46:06 -05:00
|
|
|
# Data types (KEYWORD1)
|
2021-01-29 06:31:58 -05:00
|
|
|
ADS1X13 KEYWORD1
|
|
|
|
ADS1014 KEYWORD1
|
|
|
|
ADS1015 KEYWORD1
|
|
|
|
ADS1015 KEYWORD1
|
|
|
|
ADS1113 KEYWORD1
|
|
|
|
ADS1114 KEYWORD1
|
|
|
|
ADS1115 KEYWORD1
|
|
|
|
|
|
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
2021-04-25 13:56:44 -04:00
|
|
|
reset KEYWORD2
|
2021-01-29 06:31:58 -05:00
|
|
|
isBusy KEYWORD2
|
|
|
|
isReady() KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
|
|
|
|
|
|
|
setGain KEYWORD2
|
|
|
|
getGain KEYWORD2
|
|
|
|
toVoltage KEYWORD2
|
|
|
|
getMaxVoltage KEYWORD2
|
|
|
|
setMode KEYWORD2
|
|
|
|
getMode KEYWORD2
|
|
|
|
setDataRate KEYWORD2
|
|
|
|
getDataRate KEYWORD2
|
|
|
|
|
|
|
|
readADC KEYWORD2
|
|
|
|
readADC_Differential_0_1 KEYWORD2
|
|
|
|
readADC_Differential_0_3 KEYWORD2
|
|
|
|
readADC_Differential_1_3 KEYWORD2
|
|
|
|
readADC_Differential_2_3 KEYWORD2
|
|
|
|
getValue KEYWORD2
|
|
|
|
|
2023-09-14 05:34:36 -04:00
|
|
|
getLastRequest KEYWORD2
|
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
setComparatorMode KEYWORD2
|
|
|
|
getComparatorMode KEYWORD2
|
|
|
|
setComparatorPolarity KEYWORD2
|
|
|
|
getComparatorPolarity KEYWORD2
|
|
|
|
setComparatorLatch KEYWORD2
|
|
|
|
getComparatorLatch KEYWORD2
|
|
|
|
setComparatorQueConvert KEYWORD2
|
|
|
|
getComparatorQueConvert KEYWORD2
|
|
|
|
setComparatorThresholdLow KEYWORD2
|
|
|
|
getComparatorThresholdLow KEYWORD2
|
|
|
|
setComparatorThresholdHigh KEYWORD2
|
|
|
|
getComparatorThresholdHigh KEYWORD2
|
|
|
|
|
|
|
|
getError KEYWORD2
|
2021-04-25 13:56:44 -04:00
|
|
|
setWireClock KEYWORD2
|
|
|
|
getWireClock KEYWORD2
|
2021-01-29 06:31:58 -05:00
|
|
|
|
|
|
|
# ASYNC INTERFACE
|
|
|
|
|
|
|
|
requestADC KEYWORD2
|
|
|
|
requestADC_Differential_0_1 KEYWORD2
|
|
|
|
requestADC_Differential_0_3 KEYWORD2
|
|
|
|
requestADC_Differential_1_3 KEYWORD2
|
|
|
|
requestADC_Differential_2_3 KEYWORD2
|
|
|
|
|
|
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
ADS1X15_LIB_VERSION LITERAL1
|
2021-12-11 10:46:06 -05:00
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
ADS1X15_INVALID_VOLTAGE LITERAL1
|
|
|
|
ADS1X15_INVALID_GAIN LITERAL1
|
2021-10-17 06:48:59 -04:00
|
|
|
ADS1X15_INVALID_MODE LITERAL1
|
|
|
|
ADS1015_ADDRESS LITERAL1
|
|
|
|
ADS1115_ADDRESS LITERAL1
|
|
|
|
|