Move files to sbc_fw directory to make Arduino IDE shut up
This commit is contained in:
parent
db8f8408af
commit
63583ce984
11 changed files with 0 additions and 0 deletions
71
sbc_fw/rsense.h
Normal file
71
sbc_fw/rsense.h
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
/*
|
||||
* @file rsense.h
|
||||
* @brief Radiation sensor management and command handling
|
||||
*
|
||||
* Created: 21.09.2025 06:01:56
|
||||
* Author: ThePetrovich
|
||||
*
|
||||
* Copyright YKSA - Sakha Aerospace Systems, LLC.
|
||||
* See the LICENSE file for details.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef RSENSE_H
|
||||
#define RSENSE_H
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
/**
|
||||
* @brief Initialize radiation sensor subsystem
|
||||
*/
|
||||
void rsense_init(void);
|
||||
|
||||
/**
|
||||
* @brief Send telemetry data via serial
|
||||
*/
|
||||
void rsense_cmd_telemetry(void);
|
||||
|
||||
/**
|
||||
* @brief Dump channel data via serial
|
||||
*/
|
||||
void rsense_cmd_dump_channels(void);
|
||||
|
||||
/**
|
||||
* @brief Flush detector counters
|
||||
*/
|
||||
void rsense_cmd_flush(void);
|
||||
|
||||
/**
|
||||
* @brief Enable radiation detection
|
||||
*/
|
||||
void rsense_cmd_enable(void);
|
||||
|
||||
/**
|
||||
* @brief Disable radiation detection
|
||||
*/
|
||||
void rsense_cmd_disable(void);
|
||||
|
||||
/**
|
||||
* @brief Set potentiometer values
|
||||
*/
|
||||
void rsense_cmd_set_potentiometers(void);
|
||||
|
||||
/**
|
||||
* @brief Send counts per minute data
|
||||
*/
|
||||
void rsense_cmd_get_cpm(void);
|
||||
|
||||
/**
|
||||
* @brief Set spectrum mode (16-bit or 32-bit)
|
||||
*/
|
||||
void rsense_cmd_set_mode(void);
|
||||
|
||||
/**
|
||||
* @brief Periodic tasks for radiation sensor
|
||||
* Updates CPM calculation every 10 seconds
|
||||
* Call from main loop
|
||||
*/
|
||||
void rsense_periodic(void);
|
||||
|
||||
#endif // RSENSE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue