WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
cmd_StorageManager.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX INC 2025. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, INC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, INC.
15******************************************************************************/
16/*
17Storage Manager command definition header file
18
19Author: Alex Reynolds
20*/
21
22#ifndef COMMAND_CMD_STG_MANAGER_H
23#define COMMAND_CMD_STG_MANAGER_H
24
25#include "flight/Command.h"
26#include "apps/app_apids.h"
27
28// Define the command base for the Storage Manager
29#define CMD_STG_MANAGER_BASE APP_APID_STORAGE_MANAGER + CMD_APID_BASE
30
31
32// -------------------------------------------------------------------------------------
33// STORAGE MANAGER COMMAND APID DEFINITIONS
34// -------------------------------------------------------------------------------------
36#define CMD_APID_CHANGE_STG_RATE CMD_STG_MANAGER_BASE + 0x000
37
45 ((uint32), rate_s), // The updated rate for the telemetry (seconds)
46 ((uint32), rate_ns), // The updated rate for the telemetry (nanoseconds)
47 ((uint16), target_apid), // The APID of the telemetry to change
48 ((uint8), instance) // Instance of the APID
50)
51
52#endif
#define COMMAND(NAME, APID, SIZE,...)
Definition Command.h:33
#define CMD_APID_CHANGE_STG_RATE
Command code to change a specified APID storage rate.
Definition cmd_StorageManager.h:36
Definition cmd_StorageManager.h:46
uint8 instance
Definition cmd_StorageManager.h:46
uint16 target_apid
Definition cmd_StorageManager.h:46
uint32 rate_ns
Definition cmd_StorageManager.h:46