Skip to content

Commit

Permalink
Update syntax coloring map
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Sep 19, 2024
1 parent 39b8a83 commit c7b9164
Showing 1 changed file with 217 additions and 6 deletions.
223 changes: 217 additions & 6 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,29 @@
# Datatypes (KEYWORD1)
#######################################
ExtensionIOXL9555 KEYWORD1
RTC_DateTime KEYWORD1
RTC_Alarm KEYWORD1

SensorPCF8563 KEYWORD1
SensorQMC6310 KEYWORD1
SensorBMM150 KEYWORD1
SensorBHI260AP KEYWORD1
SensorBMA423 KEYWORD1
SensorCM32181 KEYWORD1
SensorDRV2605 KEYWORD1
SensorLTR553 KEYWORD1
SensorPCF85063 KEYWORD1
SensorWireHelper KEYWORD1
TouchDrvCHSC5816 KEYWORD1
TouchDrvCST92xx KEYWORD1
TouchDrvCSTXXX KEYWORD1
TouchDrvFT6X36 KEYWORD1
TouchDrvGT911 KEYWORD1
TouchDrvInterface KEYWORD1
TouchClassCST226 KEYWORD1
TouchClassCST816 KEYWORD1


RTC_DateTime KEYWORD1
RTC_Alarm KEYWORD1
MagRange KEYWORD1
OutputRate KEYWORD1
CtrlReg KEYWORD1
Expand All @@ -32,13 +51,14 @@ CommandTable KEYWORD1
StatusReg KEYWORD1
TagPriority KEYWORD1
SensorStatus KEYWORD1
ioEvent_t KEYWORD1


#######################################
# Methods and Functions (KEYWORD2)
#######################################

# XL9555 Coloring Map
### XL9555 Coloring Map ###

init KEYWORD2
deinit KEYWORD2
Expand All @@ -50,9 +70,20 @@ readPort KEYWORD2
writePort KEYWORD2
readConfig KEYWORD2
configPort KEYWORD2
update KEYWORD2
removePinEvent KEYWORD2
setPinEvent KEYWORD2
write KEYWORD2
read KEYWORD2
transferDataBits KEYWORD2
transfer9 KEYWORD2
transfer8 KEYWORD2
setBitOrder KEYWORD2
beginSPI KEYWORD2


# PCF8563 Coloring Map
### PCF8563 Coloring Map ###

setDateTime KEYWORD2
getDateTime KEYWORD2
getAlarm KEYWORD2
Expand Down Expand Up @@ -82,7 +113,8 @@ getNextYear KEYWORD2
getLeapYear KEYWORD2
getDaysInMonth KEYWORD2

# SensorQMC6310 Coloring Map
### SensorQMC6310 Coloring Map ###

reset KEYWORD2
getChipID KEYWORD2
getStatus KEYWORD2
Expand Down Expand Up @@ -110,7 +142,8 @@ getZ KEYWORD2
getMag KEYWORD2
dumpCtrlRegister KEYWORD2

# SensorQMI8658 Coloring Map
### SensorQMI8658 Coloring Map ###

whoAmI KEYWORD2
getTimestamp KEYWORD2
getTemperature_C KEYWORD2
Expand Down Expand Up @@ -169,9 +202,187 @@ setGyroDataReadyCallBack KEYWORD2
setAccelDataReadyEventCallBack KEYWORD2
setDataLockingEvevntCallBack KEYWORD2

### SensorBMM150 Coloring Map ###
sleep KEYWORD2
setMode KEYWORD2
setThreshold KEYWORD2
setInterruptLevel KEYWORD2
enabledDataReady KEYWORD2
disabledDataReady KEYWORD2
# getIrqStatus KEYWORD2
# isDataReady KEYWORD2
isLowThreshold KEYWORD2
isHighThreshold KEYWORD2
# getMag KEYWORD2

### SensorBHI260AP Coloring Map ###
setPins KEYWORD2
setBootFormFlash KEYWORD2
getHandler KEYWORD2
printSensors KEYWORD2
printInfo KEYWORD2
setInterruptCtrl KEYWORD2
getInterruptCtrl KEYWORD2
printInterruptCtrl KEYWORD2
isReady KEYWORD2
getKernelVersion KEYWORD2
onEvent KEYWORD2
removeEvent KEYWORD2
onResultEvent KEYWORD2
removeResultEvent KEYWORD2
setProcessBufferSize KEYWORD2
uploadFirmware KEYWORD2
getError KEYWORD2
configure KEYWORD2
getConfigure KEYWORD2
getScaling KEYWORD2
setFirmware KEYWORD2
getSensorName KEYWORD2
getAccuracy KEYWORD2

### SensorBMA423 Coloring Map ###
enablePowerSave KEYWORD2
disablePowerSave KEYWORD2
disableInterruptCtrl KEYWORD2
enableInterruptCtrl KEYWORD2
enableAccelerometer KEYWORD2
disableAccelerometer KEYWORD2
configAccelerometer KEYWORD2
getAccelRaw KEYWORD2
getAccelerometer KEYWORD2
getTemperature KEYWORD2
direction KEYWORD2
setRemapAxes KEYWORD2
setStepCounterWatermark KEYWORD2
resetPedometer KEYWORD2
enableFeature KEYWORD2
readIrqStatus KEYWORD2
configInterrupt KEYWORD2
configFeatureInterrupt KEYWORD2
enablePedometerIRQ KEYWORD2
enableTiltIRQ KEYWORD2
enableWakeupIRQ KEYWORD2
enableAnyNoMotionIRQ KEYWORD2
enableActivityIRQ KEYWORD2
disablePedometerIRQ KEYWORD2
disableTiltIRQ KEYWORD2
disableWakeupIRQ KEYWORD2
disableAnyNoMotionIRQ KEYWORD2
disableActivityIRQ KEYWORD2
isActivity KEYWORD2
isTilt KEYWORD2
isDoubleTap KEYWORD2
isAnyNoMotion KEYWORD2
isPedometer KEYWORD2

### SensorCM32181 Coloring Map ###
setSampling KEYWORD2
setIntThreshold KEYWORD2
powerSave KEYWORD2
getRaw KEYWORD2
getLux KEYWORD2


### SensorDRV2605 Coloring Map ###
setWaveform KEYWORD2
selectLibrary KEYWORD2
run KEYWORD2
stop KEYWORD2
setMode KEYWORD2
setRealtimeValue KEYWORD2
useERM KEYWORD2
useLRA KEYWORD2

### SensorLTR553 Coloring Map ###
setIRQLevel KEYWORD2
enableIRQ KEYWORD2
disableIRQ KEYWORD2
psAvailable KEYWORD2
setLightSensorThreshold KEYWORD2
setLightSensorPersists KEYWORD2
setLightSensorRate KEYWORD2
enableLightSensor KEYWORD2
disableLightSensor KEYWORD2
setLightSensorGain KEYWORD2
getLightSensor KEYWORD2
setProximityPersists KEYWORD2
setProximityThreshold KEYWORD2
setProximityRate KEYWORD2
enableProximity KEYWORD2
disableProximity KEYWORD2
enablePsIndicator KEYWORD2
disablePsIndicator KEYWORD2
getProximity KEYWORD2
setPsLedPulsePeriod KEYWORD2
setPsLedDutyCycle KEYWORD2
setPsLedCurrent KEYWORD2
setPsLedPulses KEYWORD2
getPartID KEYWORD2
getRevisionID KEYWORD2
getManufacturerID KEYWORD2


### SensorWireHelper Coloring Map ###
regdump KEYWORD2
dumpDevices KEYWORD2
hexdump KEYWORD2

### TouchDrvCHSC5816 Coloring Map ###
getPoint KEYWORD2
isPressed KEYWORD2
getModelName KEYWORD2
sleep KEYWORD2
wakeup KEYWORD2
idle KEYWORD2
getSupportTouchPoint KEYWORD2
getResolution KEYWORD2
setGpioCallback KEYWORD2

### TouchDrvCST92xx Coloring Map ###
jumpCheck KEYWORD2
setCoverScreenCallback KEYWORD2

### TouchDrvCSTXXX Coloring Map ###
setCenterButtonCoordinate KEYWORD2
setHomeButtonCallback KEYWORD2
disableAutoSleep KEYWORD2
enableAutoSleep KEYWORD2
setSwapXY KEYWORD2
setMirrorXY KEYWORD2
setMaxCoordinates KEYWORD2

### TouchDrvFT6X36 Coloring Map ###
getDeviceMode KEYWORD2
getGesture KEYWORD2
getThreshold KEYWORD2
getMonitorTime KEYWORD2
setMonitorTime KEYWORD2
getLibraryVersion KEYWORD2
interruptPolling KEYWORD2
interruptTrigger KEYWORD2
getVendorID KEYWORD2
getErrorCode KEYWORD2


### TouchDrvGT911 Coloring Map ###
setInterruptMode KEYWORD2
getInterruptMode KEYWORD2
getFwVersion KEYWORD2
getConfigVersion KEYWORD2
updateRefreshRate KEYWORD2
getRefreshRate KEYWORD2
writeConfig KEYWORD2
loadConfig KEYWORD2
reloadConfig KEYWORD2
dumpRegister KEYWORD2
setMaxTouchPoint KEYWORD2
getMaxTouchPoint KEYWORD2


#######################################
# Constants (LITERAL1)
#######################################




0 comments on commit c7b9164

Please sign in to comment.