CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
gnss_receiver
gnss_firehose_storage.h
Go to the documentation of this file.
1
#ifndef INCLUDE_GUARD__GNSS_RECEIVER_GNSS_FIREHOSE_STORAGE_H
2
#define INCLUDE_GUARD__GNSS_RECEIVER_GNSS_FIREHOSE_STORAGE_H
3
4
#include <stdint.h>
5
#include "
littlefs/lfs.h
"
6
7
extern
uint8_t
GNSS_firehose_file_is_open
;
8
extern
volatile
uint32_t
GNSS_firehose_bytes_lost
;
9
extern
lfs_file_t
GNSS_firehose_file_pointer
;
10
extern
uint32_t
GNSS_recording_start_uptime_ms
;
11
12
uint8_t
GNSS_enable_firehose_storage_mode
(
const
char
output_file_path[]);
13
14
uint8_t
GNSS_disable_firehose_storage_mode
(
const
char
reason_for_stopping[]);
15
16
uint8_t
GNSS_subtask_store_firehose_data_to_file
();
17
18
19
#endif
// INCLUDE_GUARD__GNSS_RECEIVER_GNSS_FIREHOSE_STORAGE_H
lfs.h
lfs_file_t
struct lfs_file lfs_file_t
GNSS_firehose_bytes_lost
volatile uint32_t GNSS_firehose_bytes_lost
Definition
gnss_firehose_storage.c:21
GNSS_firehose_file_is_open
uint8_t GNSS_firehose_file_is_open
Definition
gnss_firehose_storage.c:20
GNSS_enable_firehose_storage_mode
uint8_t GNSS_enable_firehose_storage_mode(const char output_file_path[])
Configures the OBC to receive and store all data from the GNSS receiver to a file.
Definition
gnss_firehose_storage.c:167
GNSS_recording_start_uptime_ms
uint32_t GNSS_recording_start_uptime_ms
Definition
gnss_firehose_storage.c:23
GNSS_subtask_store_firehose_data_to_file
uint8_t GNSS_subtask_store_firehose_data_to_file()
Store pending data in the UART_gnss_buffer to the GNSS firehose file.
Definition
gnss_firehose_storage.c:257
GNSS_disable_firehose_storage_mode
uint8_t GNSS_disable_firehose_storage_mode(const char reason_for_stopping[])
Definition
gnss_firehose_storage.c:190
GNSS_firehose_file_pointer
lfs_file_t GNSS_firehose_file_pointer
Definition
gnss_firehose_storage.c:22
Generated by
1.17.0