#########################################################
# Syntax Coloring Map for SparkFun XM125                #
#########################################################
# Datatypes 
#########################################################

sfe_xm125_distance_profile_t KEYWORD1
sfe_xm125_distance_threshold_method_t KEYWORD1
sfe_xm125_distance_peak_sorting_t KEYWORD1
sfe_xm125_distance_reflector_shape_t KEYWORD1
sfe_xm125_distance_command_t KEYWORD1
sfe_xm125_presence_manual_profile_t KEYWORD1
sfe_xm125_presence_command_t KEYWORD1

#########################################################
# Methods and Functions
#########################################################

begin KEYWORD2
returnRegister KEYWORD2
distanceBegin KEYWORD2
distanceDetectorReadingSetup KEYWORD2
getDistanceDetectorVersion KEYWORD2
getDistanceDetectorError KEYWORD2
getDistanceMeasureCounter KEYWORD2
getDistanceDetectorErrorStatus KEYWORD2
getDistanceDetectorStatus KEYWORD2
getDistanceNumberDistances KEYWORD2
getDistanceNearStartEdge KEYWORD2
getDistanceCalibrationNeeded KEYWORD2
getDistanceMeasureDistanceError KEYWORD2
getDistanceTemperature KEYWORD2
getDistancePeak0Distance KEYWORD2
getDistancePeak1Distance KEYWORD2
getDistancePeak2Distance KEYWORD2
getDistancePeak3Distance KEYWORD2
getDistancePeak4Distance KEYWORD2
getDistancePeak5Distance KEYWORD2
getDistancePeak6Distance KEYWORD2
getDistancePeak7Distance KEYWORD2
getDistancePeak8Distance KEYWORD2
getDistancePeak9Distance KEYWORD2
getDistancePeak0Strength KEYWORD2
getDistancePeak1Strength KEYWORD2
getDistancePeak2Strength KEYWORD2
getDistancePeak3Strength KEYWORD2
getDistancePeak4Strength KEYWORD2
getDistancePeak5Strength KEYWORD2
getDistancePeak6Strength KEYWORD2
getDistancePeak7Strength KEYWORD2
getDistancePeak8Strength KEYWORD2
getDistancePeak9Strength KEYWORD2
getDistanceStart KEYWORD2
setDistanceStart KEYWORD2
getDistanceEnd KEYWORD2
setDistanceEnd KEYWORD2
getDistanceMaxStepLength KEYWORD2
setDistanceMaxStepLength KEYWORD2
getDistanceCloseRangeLeakageCancellation KEYWORD2
setDistanceCloseRangeLeakageCancellation KEYWORD2
getDistanceSignalQuality KEYWORD2
setDistanceSignalQuality KEYWORD2
getDistanceMaxProfile KEYWORD2
setDistanceMaxProfile KEYWORD2
getDistanceThresholdMethod KEYWORD2
setDistanceThresholdMethod KEYWORD2
getDistancePeakSorting KEYWORD2
setDistancePeakSorting KEYWORD2
getDistanceNumFramesRecordedThreshold KEYWORD2
setDistanceNumFramesRecordedThreshold KEYWORD2
getDistanceFixedAmpThreshold KEYWORD2
setDistanceFixedAmpThreshold KEYWORD2
getDistanceThresholdSensitivity KEYWORD2
setDistanceThresholdSensitivity KEYWORD2
getDistanceReflectorShape KEYWORD2
setDistanceReflectorShape KEYWORD2
getDistanceFixedStrengthThresholdValue KEYWORD2
setDistanceFixedStrengthThresholdValue KEYWORD2
getDistanceMeasureOneWakeup KEYWORD2
setDistanceMeasureOneWakeup KEYWORD2
setDistanceCommand KEYWORD2
distanceApplyConfiguration KEYWORD2
distanceStart KEYWORD2
distanceStop KEYWORD2
distanceCalibrate KEYWORD2
distanceRecalibrate KEYWORD2
distanceEnableUartLogs KEYWORD2
distanceDisableUartLogs KEYWORD2
distanceLogConfiguration KEYWORD2
distanceReset KEYWORD2
distanceBusyWait KEYWORD2
presenceDetectorStart KEYWORD2
getPresenceDistanceValuemm KEYWORD2
getPresenceDetectorVersion KEYWORD2
getPresenceDetectorError KEYWORD2
getPresenceMeasureCounter KEYWORD2
getPresenceDetectorStatus KEYWORD2
getPresenceDetectorErrorStatus KEYWORD2
getPresenceDetectorPresenceDetected KEYWORD2
getPresenceDetectorPresenceStickyDetected KEYWORD2
getPresenceDetectorRegError KEYWORD2
getPresenceTemperature KEYWORD2
getPresenceDistance KEYWORD2
getPresenceIntraPresenceScore KEYWORD2
getPresenceInterPresenceScore KEYWORD2
getPresenceSweepsPerFrame KEYWORD2
setPresenceSweepsPerFrame KEYWORD2
getPresenceInterFramePresenceTimeout KEYWORD2
setPresenceInterFramePresenceTimeout KEYWORD2
getPresenceInterPhaseBoostEnabled KEYWORD2
setPresenceInterPhaseBoostEnabled KEYWORD2
getPresenceIntraDetectionEnabled KEYWORD2
setPresenceInterDetectionEnabled KEYWORD2
getPresenceFrameRate KEYWORD2
setPresenceFrameRate KEYWORD2
getPresenceIntraDetectionThreshold KEYWORD2
setPresenceIntraDetectionThreshold KEYWORD2
getPresenceInterDetectionThreshold KEYWORD2
setPresenceInterDetectionThreshold KEYWORD2
getPresenceInterFrameDeviationTime KEYWORD2
setPresenceInterFrameDeviationTime KEYWORD2
getPresenceInterFrameFastCutoff KEYWORD2
setPresenceInterFrameFastCutoff KEYWORD2
getPresenceInterFrameSlowCutoff KEYWORD2
setPresenceInterFrameSlowCutoff KEYWORD2
getPresenceIntraFrameTimeConst KEYWORD2
setPresenceIntraFrameTimeConst KEYWORD2
getPresenceIntraOutputTimeConst KEYWORD2
setPresenceIntraOutputTimeConst KEYWORD2
getPresenceInterOutputTimeConst KEYWORD2
setPresenceInterOutputTimeConst KEYWORD2
getPresenceAutoProfileEn KEYWORD2
setPresenceAutoProfileEn KEYWORD2
getPresenceAutoStepLengthEn KEYWORD2
setPresenceAutoStepLengthEn KEYWORD2
getPresenceManualProfile KEYWORD2
setPresenceManualProfile KEYWORD2
getPresenceManualStepLength KEYWORD2
setPresenceManualStepLength KEYWORD2
getPresenceStart KEYWORD2
setPresenceStart KEYWORD2
getPresenceEnd KEYWORD2
setPresenceEnd KEYWORD2
getPresenceResetFilters KEYWORD2
setPresenceResetFilters KEYWORD2
getPresenceHWAAS KEYWORD2
setPresenceHWAAS KEYWORD2
getPresenceDetectionOnGPIO KEYWORD2
setPresenceDetectionOnGPIO KEYWORD2
setPresenceCommand KEYWORD2
presencestop KEYWORD2
presenceEnableUartLogs KEYWORD2
presenceDisableUartLogs KEYWORD2
presenceLogConfiguration KEYWORD2
presenceReset KEYWORD2
getPresenceBusy KEYWORD2
presenceBusyWait KEYWORD2

#########################################################
# Structs
#########################################################

sfe_xm125_distance_version_t KEYWORD3
sfe_xm125_distance_protocol_status_t KEYWORD3
sfe_xm125_distance_detector_status_t KEYWORD3
sfe_xm125_distance_result_t KEYWORD3
sfe_xm125_presence_version_t KEYWORD3
sfe_xm125_presence_protocol_status_t KEYWORD3
sfe_xm125_presence_detector_status_t KEYWORD3
sfe_xm125_presence_result_t KEYWORD3

#########################################################
# Constants
#########################################################

SFE_XM125_I2C_ADDRESS LITERAL1
SFE_XM125_DISTANCE_MAJOR_VERSION_MASK LITERAL1
SFE_XM125_DISTANCE_MINOR_VERSION_MASK LITERAL1
SFE_XM125_DISTANCE_PATCH_VERSION_MASK LITERAL1
SFE_XM125_DISTANCE_NUMBER_DISTANCES_MASK LITERAL1
SFE_XM125_DISTANCE_NEAR_START_EDGE_MASK LITERAL1
SFE_XM125_DISTANCE_MEASURE_DISTANCE_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_TEMPERATURE_MASK LITERAL1
SFE_XM125_DISTANCE_RSS_REGISTER_OK_MASK LITERAL1
SFE_XM125_DISTANCE_CONFIG_CREATE_OK_MASK LITERAL1
SFE_XM125_DISTANCE_SENSOR_CREATE_OK_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_CREATE_OK_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_BUFFER_OK_MASK LITERAL1
SFE_XM125_DISTANCE_SENSOR_BUFFER_OK_MASK LITERAL1
SFE_XM125_DISTANCE_CALIBRATION_BUFFER_OK_MASK LITERAL1
SFE_XM125_DISTANCE_CONFIG_APPLY_OK_MASK LITERAL1
SFE_XM125_DISTANCE_SENSOR_CALIBRATE_OK_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_CALIBRATE_OK_MASK LITERAL1
SFE_XM125_DISTANCE_RSS_REGISTER_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_CONFIG_CREATE_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_SENSOR_CREATE_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_CREATE_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_BUFFER_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_SENSOR_BUFFER_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_CALIBRATION_BUFFER_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_CONFIG_APPLY_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_SENSOR_CALIBRATE_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_CALIBRATE_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_DETECTOR_ERROR_MASK LITERAL1
SFE_XM125_DISTANCE_BUSY_MASK LITERAL1
SFE_XM125_DISTANCE_CALIBRATION_NEEDED_MASK LITERAL1
SFE_XM125_DISTANCE_MAJOR_VERSION_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_MINOR_VERSION_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_RSS_REGISTER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_CONFIG_CREATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_SENSOR_CREATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_DETECTOR_CREATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_DETECTOR_BUFFER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_SENSOR_BUFFER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_CALIBRATION_BUFFER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_CONFIG_APPLY_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_SENSOR_CALIBRATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_DETECTOR_CALIBRATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_DETECTOR_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_BUSY_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_NEAR_START_EDGE_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_CALIBRATION_NEEDED_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_MEASURE_DISTANCE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_TEMPERATURE_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_DETECTOR_STATUS_MASK_SHIFT LITERAL1
SFE_XM125_DISTANCE_DETECTOR_STATUS_MASK LITERAL1
SFE_XM125_DISTANCE_VERSION LITERAL1
SFE_XM125_DISTANCE_PROTOCOL_STATUS LITERAL1
SFE_XM125_DISTANCE_MEASURE_COUNTER LITERAL1
SFE_XM125_DISTANCE_DETECTOR_STATUS LITERAL1
SFE_XM125_DISTANCE_RESULT LITERAL1
SFE_XM125_DISTANCE_START LITERAL1
sfe_xm125_distance_start_default LITERAL1
SFE_XM125_DISTANCE_END LITERAL1
sfe_xm125_distance_end_default LITERAL1
SFE_XM125_DISTANCE_MAX_STEP_LENGTH LITERAL1
sfe_xm125_distance_max_step_length_default LITERAL1
SFE_XM125_DISTANCE_CLOSE_RANGE_LEAKAGE LITERAL1
sfe_xm125_distance_close_range_leakage_default LITERAL1
SFE_XM125_DISTANCE_SIGNAL_QUALITY LITERAL1
sfe_xm125_distance_signal_quality_default LITERAL1
SFE_XM125_DISTANCE_MAX_PROFILE LITERAL1
SFE_XM125_DISTANCE_THRESHOLD_METHOD LITERAL1
SFE_XM125_DISTANCE_PEAK_SORTING LITERAL1
SFE_XM125_DISTANCE_NUM_FRAMES_RECORDED_THRESH LITERAL1
sfe_xm125_distance_num_frames_recorded_thresh_default LITERAL1
SFE_XM125_DISTANCE_FIXED_AMPLITUDE_THRESHOLD_VAL LITERAL1
sfe_xm125_distance_fixed_amp_thresh_val_default LITERAL1
SFE_XM125_DISTANCE_THREHSOLD_SENSITIVITY LITERAL1
sfe_xm125_distance_threshold_sensitivity_default LITERAL1
SFE_XM125_DISTANCE_REFLECTOR_SHAPE LITERAL1
SFE_XM125_DISTANCE_FIXED_STRENGTH_THRESHOLD_VAL LITERAL1
sfe_xm125_distance_fixed_strength_threshold_val_default LITERAL1
SFE_XM125_DISTANCE_MEASURE_ON_WAKEUP LITERAL1
sfe_xm125_distance_measure_on_wakup LITERAL1
SFE_XM125_DISTANCE_COMMAND LITERAL1 
SFE_XM125_DISTANCE_APPLY_CONFIGURATION LITERAL1
SFE_XM125_DISTANCE_START_DETECTOR LITERAL1
SFE_XM125_DISTANCE_STOP_DETECTOR LITERAL1
SFE_XM125_DISTANCE_CALIBRATE LITERAL1
SFE_XM125_DISTANCE_RECALIBRATE LITERAL1
SFE_XM125_DISTANCE_ENABLE_UART_LOGS LITERAL1
SFE_XM125_DISTANCE_DISABLE_UART_LOGS LITERAL1
SFE_XM125_DISTANCE_LOG_CONFIGURATION LITERAL1
SFE_XM125_DISTANCE_RESET_MODULE LITERAL1
SFE_XM125_PRESENCE_DETECTOR_STATUS_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTED_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTED_STICKY_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTOR_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_TEMPERATURE_MASK LITERAL1
SFE_XM125_PRESENCE_MAJOR_VERSION_MASK LITERAL1
SFE_XM125_PRESENCE_MINOR_VERSION_MASK LITERAL1
SFE_XM125_PRESENCE_PATCH_VERSION_MASK LITERAL1
SFE_XM125_PRESENCE_RSS_REGISTER_OK_MASK LITERAL1
SFE_XM125_PRESENCE_CONFIG_CREATE_OK_MASK LITERAL1
SFE_XM125_PRESENCE_SENSOR_CREATE_OK_MASK LITERAL1
SFE_XM125_PRESENCE_SENSOR_CALIBRATE_OK_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTOR_CREATE_OK_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTOR_BUFFER_OK_MASK LITERAL1
SFE_XM125_PRESENCE_SENSOR_BUFFER_OK_MASK LITERAL1
SFE_XM125_PRESENCE_CONFIG_APPLY_OK_MASK LITERAL1
SFE_XM125_PRESENCE_RSS_REGISTER_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_CONFIG_CREATE_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_SENSOR_CREATE_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_SENSOR_CALIBRATE_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTOR_CREATE_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTOR_BUFFER_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_SENSOR_BUFFER_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_CONFIG_APPLY_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_DETECTOR_REG_ERROR_MASK LITERAL1
SFE_XM125_PRESENCE_BUSY_MASK LITERAL1
SFE_XM125_PRESENCE_MAJOR_VERSION_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_MINOR_VERSION_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_RSS_REGISTER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_CONFIG_CREATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_SENSOR_CREATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_SENSOR_CALIBRATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_DETECTOR_CREATE_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_DETECTOR_BUFFER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_SENSOR_BUFFER_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_CONFIG_APPLY_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_DETECTOR_REG_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_DETECTOR_ERROR_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_TEMPERATURE_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_BUSY_MASK_SHIFT LITERAL1
SFE_XM125_PRESENCE_VERSION LITERAL1
SFE_XM125_PRESENCE_PROTOCOL_STATUS LITERAL1
SFE_XM125_PRESENCE_MEASURE_COUNTER LITERAL1
SFE_XM125_PRESENCE_DETECTOR_STATUS LITERAL1
SFE_XM125_PRESENCE_RESULT LITERAL1
SFE_XM125_PRESENCE_DISTANCE LITERAL1
SFE_XM125_INTRA_PRESENCE_SCORE LITERAL1
SFE_XM125_INTER_PRESENCE LITERAL1
SFE_XM125_PRESENCE_SWEEPS_PER_FRAME LITERAL1
sfe_xm125_presence_sweeps_per_frame_default LITERAL1
SFE_XM125_PRESENCE_INTER_FRAME_TIMEOUT LITERAL1
sfe_xm125_presence_inter_frame_timeout_default LITERAL1
SFE_XM125_PRESENCE_INTER_PHASE_BOOST_ENABLED LITERAL1
sfe_xm125_presence_inter_phase_boost_enabled_default LITERAL1
SFE_XM125_PRESENCE_INTRA_DETECTION_ENABLED LITERAL1
sfe_xm125_presence_intra_detection_enabled_default LITERAL1
SFE_XM125_PRESENCE_INTER_DETECTION_ENABLED LITERAL1
sfe_xm125_presence_inter_detection_enabled_default LITERAL1
SFE_XM125_PRESENCE_FRAME_RATE LITERAL1
sfe_xm125_presence_frame_rate_default LITERAL1
SFE_XM125_PRESENCE_INTRA_DETECTION_THRESHOLD LITERAL1
sfe_xm125_presence_intra_detection_threshold_default LITERAL1
SFE_XM125_PRESENCE_INTER_DETECTION_THRESHOLD LITERAL1
sfe_xm125_presence_inter_detection_threshold_default LITERAL1
SFE_XM125_PRESENCE_INTER_FRAME_DEVIATION LITERAL1
sfe_xm125_presence_inter_frame_deviation_default LITERAL1
SFE_XM125_PRESENCE_INTER_FRAME_FAST_CUTOFF LITERAL1
sfe_xm125_presence_inter_frame_fast_cutoff_default LITERAL1
SFE_XM125_PRESENCE_INTER_FRAME_SLOW_CUTOFF LITERAL1
sfe_xm125_presence_inter_frame_slow_cutoff_default LITERAL1
SFE_XM125_PRESENCE_INTRA_FRAME_TIME_CONST LITERAL1
sfe_xm125_presence_intra_frame_time_const_default LITERAL1
SFE_XM125_PRESENCE_INTRA_OUTPUT_TIME_CONST LITERAL1
sfe_xm125_presence_intra_output_time_const_default LITERAL1
SFE_XM125_PRESENCE_INTER_OUTPUT_TIME_CONST LITERAL1
sfe_xm125_presence_inter_output_time_const_default LITERAL1
SFE_XM125_PRESENCE_AUTO_PROFILE_ENABLED LITERAL1
sfe_xm125_presence_auto_profile_enabled_default LITERAL1
SFE_XM125_PRESENCE_AUTO_STEP_LENGTH_ENABLED LITERAL1
sfe_xm125_presence_auto_step_length_enabled_default LITERAL1
SFE_XM125_PRESENCE_MANUAL_PROFILE LITERAL1
SFE_XM125_PRESENCE_MANUAL_STEP_LENGTH LITERAL1
sfe_xm125_presence_manual_step_length_default LITERAL1
SFE_XM125_PRESENCE_START LITERAL1
sfe_xm125_presence_start_default LITERAL1
SFE_XM125_PRESENCE_END LITERAL1
sfe_xm125_presence_end_default LITERAL1
SFE_XM125_PRESENCE_RESET_FILTERS_ON_PREPARE LITERAL1
sfe_xm125_presence_reset_filters_on_prepare_default LITERAL1
SFE_XM125_PRESENCE_HWAAS LITERAL1
sfe_xm125_presence_hwaas_default LITERAL1
SFE_XM125_PRESENCE_DETECTION_ON_GPIO LITERAL1
sfe_xm125_presence_detection_on_gpio_default LITERAL1
SFE_XM125_PRESENCE_COMMAND LITERAL1
SFE_XM125_PRESENCE_APPLY_CONFIGURATION LITERAL1
SFE_XM125_PRESENCE_START_DETECTOR LITERAL1
SFE_XM125_PRESENCE_STOP_DETECTOR LITERAL1
SFE_XM125_PRESENCE_RESET_MODULE LITERAL1