Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gnss_driver_api Struct Reference

Driver Operations GNSS driver operations More...

#include <zephyr/drivers/gnss.h>

Data Fields

gnss_set_fix_rate_t set_fix_rate
  OPT Set the GNSS fix rate.
gnss_get_fix_rate_t get_fix_rate
  OPT Get the GNSS fix rate.
gnss_set_navigation_mode_t set_navigation_mode
  OPT Set the GNSS navigation mode.
gnss_get_navigation_mode_t get_navigation_mode
  OPT Get the GNSS navigation mode.
gnss_set_enabled_systems_t set_enabled_systems
  OPT Set enabled GNSS systems.
gnss_get_enabled_systems_t get_enabled_systems
  OPT Get enabled GNSS systems.
gnss_get_supported_systems_t get_supported_systems
  OPT Get supported GNSS systems.
gnss_get_latest_timepulse_t get_latest_timepulse
  OPT Get the timestamp of the latest PPS timepulse.

Detailed Description

Driver Operations GNSS driver operations

This is the driver API structure any GNSS driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ get_enabled_systems

gnss_get_enabled_systems_t gnss_driver_api::get_enabled_systems

OPT Get enabled GNSS systems.

◆ get_fix_rate

gnss_get_fix_rate_t gnss_driver_api::get_fix_rate

OPT Get the GNSS fix rate.

◆ get_latest_timepulse

gnss_get_latest_timepulse_t gnss_driver_api::get_latest_timepulse

OPT Get the timestamp of the latest PPS timepulse.

◆ get_navigation_mode

gnss_get_navigation_mode_t gnss_driver_api::get_navigation_mode

OPT Get the GNSS navigation mode.

◆ get_supported_systems

gnss_get_supported_systems_t gnss_driver_api::get_supported_systems

OPT Get supported GNSS systems.

◆ set_enabled_systems

gnss_set_enabled_systems_t gnss_driver_api::set_enabled_systems

OPT Set enabled GNSS systems.

◆ set_fix_rate

gnss_set_fix_rate_t gnss_driver_api::set_fix_rate

OPT Set the GNSS fix rate.

◆ set_navigation_mode

gnss_set_navigation_mode_t gnss_driver_api::set_navigation_mode

OPT Set the GNSS navigation mode.


The documentation for this struct was generated from the following file: