STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
fake_gnss.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "gnss_core.h"
Include dependency graph for fake_gnss.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fake_gnss_t

Typedefs

typedef void(* fake_gnss_truth_t) (uint32_t t_us, ubx_pvt_t *out)

Functions

void fake_gnss_init (fake_gnss_t *f, uint32_t baud, fake_gnss_truth_t truth)
gnss_io_t fake_gnss_io (fake_gnss_t *f)
size_t fake_gnss_emit (fake_gnss_t *f, uint32_t now_us, uint8_t *out, size_t cap)
void fake_gnss_power_cycle (fake_gnss_t *f, uint32_t now_us)

Typedef Documentation

◆ fake_gnss_truth_t

typedef void(* fake_gnss_truth_t) (uint32_t t_us, ubx_pvt_t *out)

Definition at line 23 of file fake_gnss.h.

Function Documentation

◆ fake_gnss_emit()

◆ fake_gnss_init()

◆ fake_gnss_io()

gnss_io_t fake_gnss_io ( fake_gnss_t * f)

Definition at line 136 of file fake_gnss.c.

References module_rx(), and set_baud().

Referenced by rig(), and world_init().

◆ fake_gnss_power_cycle()

void fake_gnss_power_cycle ( fake_gnss_t * f,
uint32_t now_us )