Skip to main content
GNSS Documentation
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Timing

The TIME HAT (NEO-F10T) supports precise timing features: time mark events and time base mode.

Note
HAT Compatibility — Timing configuration is available only on the L1/L5 TIME HAT (NEO-F10T).

TimingConfig

Field C++ Type Description
enableTimeMark bool Enable UBX-TIM-TM2 time mark events on EXTINT (GPIO 17)
timeBase optional<BaseConfig> Optional time base mode for improved time accuracy

Time Mark

When enableTimeMark = true, the receiver timestamps rising and falling edges on the EXTINT pin (GPIO 17) with nanosecond accuracy. See Time Mark Feature for runtime usage.

Time Base

Time base mode improves time accuracy by entering a TimeOnlyFix. The receiver first determines (or is given) a precise position, then focuses entirely on the time solution.

Uses the same BaseConfig as RTK — supports Survey-In or Fixed Position (ECEF / LLA). See RTK Config — Base Configuration for field details.

Examples

config.timing = TimingConfig {
    .enableTimeMark = true,
    .timeBase = std::nullopt
};
config.timing = TimingConfig {
    .enableTimeMark = false,
    .timeBase = BaseConfig {
        .mode = BaseConfig::SurveyIn {
            .minimumObservationTime_s = 120,
            .requiredPositionAccuracy_m = 50.0
        }
    }
};
config['timing'] = {
    'enable_time_mark': True,
    'time_base': {
        'base_mode': gnsshat.BaseMode.SURVEY_IN,
        'survey_in': {
            'minimum_observation_time_s': 120,
            'required_position_accuracy_m': 50.0
        }
    }
}
config['timing'] = {
    'enable_time_mark': True,
    'time_base': None
}