88 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-11-05 19:39:16 +01:00
# Syntax Colouring Map For INA226
2021-05-30 14:22:31 +02:00
2021-12-20 08:48:45 +01:00
2021-06-22 15:22:35 +02:00
# Data types (KEYWORD1)
2021-05-30 14:22:31 +02:00
INA226 KEYWORD1
2021-12-20 08:48:45 +01:00
2021-05-30 14:22:31 +02:00
# Methods and Functions (KEYWORD2)
begin KEYWORD2
isConnected KEYWORD2
2022-07-02 10:42:38 +02:00
getAddress KEYWORD2
2021-05-30 14:22:31 +02:00
getShuntVoltage KEYWORD2
getBusVoltage KEYWORD2
getPower KEYWORD2
getCurrent KEYWORD2
2023-04-04 12:40:56 +02:00
getBusVoltage_mV KEYWORD2
2021-06-22 15:22:35 +02:00
getShuntVoltage_mV KEYWORD2
getPower_mW KEYWORD2
getCurrent_mA KEYWORD2
2023-04-04 12:40:56 +02:00
getBusVoltage_uV KEYWORD2
2021-06-22 20:38:00 +02:00
getShuntVoltage_uV KEYWORD2
getPower_uW KEYWORD2
getCurrent_uA KEYWORD2
2021-05-30 14:22:31 +02:00
reset KEYWORD2
setAverage KEYWORD2
getAverage KEYWORD2
setBusVoltageConversionTime KEYWORD2
getBusVoltageConversionTime KEYWORD2
setShuntVoltageConversionTime KEYWORD2
getShuntVoltageConversionTime KEYWORD2
setMaxCurrentShunt KEYWORD2
2023-04-04 12:40:56 +02:00
isCalibrated KEYWORD2
2021-05-30 14:22:31 +02:00
getCurrentLSB KEYWORD2
2021-06-22 20:38:00 +02:00
getCurrentLSB_mA KEYWORD2
getCurrentLSB_uA KEYWORD2
2021-06-22 15:22:35 +02:00
getShunt KEYWORD2
getMaxCurrent KEYWORD2
2021-05-30 14:22:31 +02:00
setMode KEYWORD2
getMode KEYWORD2
shutDown KEYWORD2
2021-06-22 15:22:35 +02:00
2021-05-30 14:22:31 +02:00
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)
INA226_LIB_VERSION LITERAL1
2021-06-22 15:22:35 +02:00
INA226_SHUNT_OVER_VOLTAGE LITERAL1
INA226_SHUNT_UNDER_VOLTAGE LITERAL1
INA226_BUS_OVER_VOLTAGE LITERAL1
INA226_BUS_UNDER_VOLTAGE LITERAL1
INA226_POWER_OVER_LIMIT LITERAL1
INA226_CONVERSION_READY LITERAL1
INA226_ALERT_FUNCTION_FLAG LITERAL1
INA226_CONVERSION_READY_FLAG LITERAL1
INA226_MATH_OVERFLOW_FLAG LITERAL1
INA226_ALERT_POLARITY_FLAG LITERAL1
INA226_ALERT_LATCH_ENABLE_FLAG LITERAL1
2022-08-28 07:32:00 +02:00
INA226_ERR_NONE LITERAL1
INA226_ERR_SHUNTVOLTAGE_HIGH LITERAL1
INA226_ERR_MAXCURRENT_LOW LITERAL1
INA226_ERR_SHUNT_LOW LITERAL1
2023-05-24 12:54:25 +02:00
INA226_MINIMAL_SHUNT LITERAL1