mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
114 lines
2.3 KiB
Plaintext
114 lines
2.3 KiB
Plaintext
# Syntax Colouring Map For INA236
|
|
|
|
|
|
# Data types (KEYWORD1)
|
|
INA236 KEYWORD1
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
begin KEYWORD2
|
|
isConnected KEYWORD2
|
|
getAddress KEYWORD2
|
|
|
|
getBusVoltage KEYWORD2
|
|
getShuntVoltage KEYWORD2
|
|
getCurrent KEYWORD2
|
|
getPower KEYWORD2
|
|
|
|
isConversionReady KEYWORD2
|
|
waitConversionReady KEYWORD2
|
|
|
|
getBusVoltage_mV KEYWORD2
|
|
getShuntVoltage_mV KEYWORD2
|
|
getCurrent_mA KEYWORD2
|
|
getPower_mW KEYWORD2
|
|
|
|
getBusVoltage_uV KEYWORD2
|
|
getShuntVoltage_uV KEYWORD2
|
|
getCurrent_uA KEYWORD2
|
|
getPower_uW KEYWORD2
|
|
|
|
reset KEYWORD2
|
|
setAverage KEYWORD2
|
|
getAverage KEYWORD2
|
|
setBusVoltageConversionTime KEYWORD2
|
|
getBusVoltageConversionTime KEYWORD2
|
|
setShuntVoltageConversionTime KEYWORD2
|
|
getShuntVoltageConversionTime KEYWORD2
|
|
|
|
setADCRange KEYWORD2
|
|
getADCRange KEYWORD2
|
|
|
|
setMaxCurrentShunt KEYWORD2
|
|
isCalibrated KEYWORD2
|
|
getCurrentLSB KEYWORD2
|
|
getCurrentLSB_mA KEYWORD2
|
|
getCurrentLSB_uA KEYWORD2
|
|
getShunt KEYWORD2
|
|
getMaxCurrent KEYWORD2
|
|
|
|
setMode KEYWORD2
|
|
getMode KEYWORD2
|
|
shutDown KEYWORD2
|
|
|
|
setModeShuntTrigger KEYWORD2
|
|
setModeBusTrigger KEYWORD2
|
|
setModeShuntBusTrigger KEYWORD2
|
|
setModeShuntContinuous KEYWORD2
|
|
setModeBusContinuous KEYWORD2
|
|
setModeShuntBusContinuous KEYWORD2
|
|
|
|
setAlertRegister KEYWORD2
|
|
getAlertFlag KEYWORD2
|
|
setAlertLimit KEYWORD2
|
|
getAlertLimit KEYWORD2
|
|
|
|
getManufacturerID KEYWORD2
|
|
getDieID KEYWORD2
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
INA236_LIB_VERSION LITERAL1
|
|
|
|
INA236_SHUNT_OVER_VOLTAGE LITERAL1
|
|
INA236_SHUNT_UNDER_VOLTAGE LITERAL1
|
|
INA236_BUS_OVER_VOLTAGE LITERAL1
|
|
INA236_BUS_UNDER_VOLTAGE LITERAL1
|
|
INA236_POWER_OVER_LIMIT LITERAL1
|
|
INA236_CONVERSION_READY LITERAL1
|
|
|
|
INA236_ALERT_FUNCTION_FLAG LITERAL1
|
|
INA236_CONVERSION_READY_FLAG LITERAL1
|
|
INA236_MATH_OVERFLOW_FLAG LITERAL1
|
|
INA236_ALERT_POLARITY_FLAG LITERAL1
|
|
INA236_ALERT_LATCH_ENABLE_FLAG LITERAL1
|
|
|
|
INA236_ERR_NONE LITERAL1
|
|
INA236_ERR_SHUNTVOLTAGE_HIGH LITERAL1
|
|
INA236_ERR_MAXCURRENT_LOW LITERAL1
|
|
INA236_ERR_SHUNT_LOW LITERAL1
|
|
|
|
INA236_MINIMAL_SHUNT LITERAL1
|
|
|
|
|
|
# setAverage() enum
|
|
INA236_1_SAMPLE LITERAL1
|
|
INA236_4_SAMPLES LITERAL1
|
|
INA236_16_SAMPLES LITERAL1
|
|
INA236_64_SAMPLES LITERAL1
|
|
INA236_128_SAMPLES LITERAL1
|
|
INA236_256_SAMPLES LITERAL1
|
|
INA236_512_SAMPLES LITERAL1
|
|
INA236_1024_SAMPLES LITERAL1
|
|
|
|
|
|
# Conversion timing enum
|
|
INA236_140_us LITERAL1
|
|
INA236_204_us LITERAL1
|
|
INA236_332_us LITERAL1
|
|
INA236_588_us LITERAL1
|
|
INA236_1100_us LITERAL1
|
|
INA236_2100_us LITERAL1
|
|
INA236_4200_us LITERAL1
|
|
INA236_8300_us LITERAL1
|