CTS-SAT-1-OBC-Firmware
|
#include "adcs_drivers/adcs_types.h"
Go to the source code of this file.
Functions | |
uint8_t | ADCS_pack_to_ack_struct (uint8_t *data_received, ADCS_cmd_ack_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for the ADCS_cmd_ack command. | |
uint8_t | ADCS_pack_to_identification_struct (uint8_t *data_received, ADCS_id_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_program_status_struct (uint8_t *data_received, ADCS_boot_running_status_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_comms_status_struct (uint8_t *data_received, ADCS_comms_status_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_power_control_struct (uint8_t *data_received, ADCS_power_control_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_angular_rates_struct (uint8_t *data_received, ADCS_angular_rates_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_llh_position_struct (uint8_t *data_received, ADCS_llh_position_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_unix_time_save_mode_struct (uint8_t *data_received, ADCS_set_unix_time_save_mode_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_orbit_params_struct (uint8_t *data_received, ADCS_orbit_params_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_rated_sensor_rates_struct (uint8_t *data_received, ADCS_rated_sensor_rates_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_wheel_speed_struct (uint8_t *data_received, ADCS_wheel_speed_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_magnetorquer_command_struct (uint8_t *data_received, ADCS_magnetorquer_command_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_magnetometer_values_struct (uint8_t *data_received, ADCS_raw_magnetometer_values_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_fine_angular_rates_struct (uint8_t *data_received, ADCS_fine_angular_rates_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_magnetometer_config_struct (uint8_t *data_received, ADCS_magnetometer_config_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_commanded_attitude_angles_struct (uint8_t *data_received, ADCS_commanded_angles_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_estimation_params_struct (uint8_t *data_received, ADCS_estimation_params_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_augmented_sgp4_params_struct (uint8_t *data_received, ADCS_augmented_sgp4_params_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_tracking_controller_target_reference_struct (uint8_t *data_received, ADCS_tracking_controller_target_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_rate_gyro_config_struct (uint8_t *data_received, ADCS_rate_gyro_config_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_estimated_attitude_angles_struct (uint8_t *data_received, ADCS_estimated_attitude_angles_struct_t *angles) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_magnetic_field_vector_struct (uint8_t *data_received, ADCS_magnetic_field_vector_struct_t *vector_components) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_fine_sun_vector_struct (uint8_t *data_received, ADCS_fine_sun_vector_struct_t *vector_components) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_nadir_vector_struct (uint8_t *data_received, ADCS_nadir_vector_struct_t *vector_components) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_commanded_wheel_speed_struct (uint8_t *data_received, ADCS_wheel_speed_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_igrf_magnetic_field_vector_struct (uint8_t *data_received, ADCS_magnetic_field_vector_struct_t *vector_components) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_quaternion_error_vector_struct (uint8_t *data_received, ADCS_quaternion_error_vector_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_estimated_gyro_bias_struct (uint8_t *data_received, ADCS_estimated_gyro_bias_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_estimation_innovation_vector_struct (uint8_t *data_received, ADCS_estimation_innovation_vector_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_cam1_sensor_struct (uint8_t *data_received, ADCS_raw_cam_sensor_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_cam2_sensor_struct (uint8_t *data_received, ADCS_raw_cam_sensor_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_coarse_sun_sensor_1_to_6_struct (uint8_t *data_received, ADCS_raw_coarse_sun_sensor_1_to_6_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_coarse_sun_sensor_7_to_10_struct (uint8_t *data_received, ADCS_raw_coarse_sun_sensor_7_to_10_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_cubecontrol_current_struct (uint8_t *data_received, ADCS_cubecontrol_current_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_gps_status_struct (uint8_t *data_received, ADCS_raw_gps_status_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_gps_time_struct (uint8_t *data_received, ADCS_raw_gps_time_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_raw_gps_struct (ADCS_gps_axis_enum_t axis, uint8_t *data_received, ADCS_raw_gps_struct_t *result) |
Packs the ADCS received raw data into the appropriate structure for any of the three Raw_GPS commands (X, Y, Z). | |
uint8_t | ADCS_pack_to_measurements_struct (uint8_t *telemetry_data, ADCS_measurements_struct_t *measurements) |
Packs the ADCS received raw data into the appropriate structure for this command. | |
uint8_t | ADCS_pack_to_file_info_struct (uint8_t *raw_data, ADCS_file_info_struct_t *file_info_struct) |
Parse File Information telemetry data into a struct. | |
uint8_t | ADCS_pack_to_download_block_ready_struct (const uint8_t *data_received, ADCS_download_block_ready_struct_t *result) |
Parse the Download Block Ready telemetry data into the provided struct. | |
uint8_t | ADCS_pack_to_sd_card_format_erase_progress_struct (uint8_t *data_received, ADCS_sd_card_format_erase_progress_struct_t *result) |
Parse the SD Card Format/Erase Progress data into the provided struct. | |
uint8_t | ADCS_pack_to_file_download_buffer_struct (uint8_t *data_received, ADCS_file_download_buffer_struct_t *result) |
Parse the File Download Buffer data into the provided struct. | |
uint8_t | ADCS_pack_to_acp_execution_state_struct (uint8_t *data_received, ADCS_acp_execution_state_struct_t *output_struct) |
Parse ACP Execution State telemetry data into a struct. | |
uint8_t | ADCS_pack_to_current_state_1_struct (uint8_t *data_received, ADCS_current_state_1_struct_t *output_struct) |
Parse Current State 1 telemetry data into a struct. | |
uint8_t | ADCS_pack_to_raw_star_tracker_struct (uint8_t *input_data, ADCS_raw_star_tracker_struct_t *output_data) |
Parse Raw Star Tracker telemetry data into a struct. | |
uint8_t | ADCS_pack_to_unix_time_ms (uint8_t *data_received, uint64_t *output_data) |
Parse Unix Time telemetry data into a uint64. | |
uint8_t | ADCS_pack_to_sd_log_config_struct (uint8_t *data_received, uint8_t which_log, ADCS_sd_log_config_struct *config) |
Parse SD Log Config telemetry data into a struct. | |
uint8_t ADCS_pack_to_ack_struct | ( | uint8_t * | data_received, |
ADCS_cmd_ack_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for the ADCS_cmd_ack command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_acp_execution_state_struct | ( | uint8_t * | data_received, |
ADCS_acp_execution_state_struct_t * | output_struct ) |
Parse ACP Execution State telemetry data into a struct.
[in] | data_received | Pointer to the raw telemetry data buffer. |
[out] | output_struct | Pointer to the struct to store parsed telemetry data. |
uint8_t ADCS_pack_to_angular_rates_struct | ( | uint8_t * | data_received, |
ADCS_angular_rates_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_augmented_sgp4_params_struct | ( | uint8_t * | data_received, |
ADCS_augmented_sgp4_params_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_commanded_attitude_angles_struct | ( | uint8_t * | data_received, |
ADCS_commanded_angles_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_commanded_wheel_speed_struct | ( | uint8_t * | data_received, |
ADCS_wheel_speed_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_comms_status_struct | ( | uint8_t * | data_received, |
ADCS_comms_status_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_cubecontrol_current_struct | ( | uint8_t * | data_received, |
ADCS_cubecontrol_current_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_current_state_1_struct | ( | uint8_t * | data_received, |
ADCS_current_state_1_struct_t * | output_struct ) |
Parse Current State 1 telemetry data into a struct.
[in] | data_received | Pointer to the raw telemetry data buffer. |
[out] | output_struct | Pointer to the struct to store parsed telemetry data. |
uint8_t ADCS_pack_to_download_block_ready_struct | ( | const uint8_t * | data_received, |
ADCS_download_block_ready_struct_t * | result ) |
Parse the Download Block Ready telemetry data into the provided struct.
[in] | data_received | Pointer to the telemetry data array. |
[out] | result | Pointer to the struct to populate. |
uint8_t ADCS_pack_to_estimated_attitude_angles_struct | ( | uint8_t * | data_received, |
ADCS_estimated_attitude_angles_struct_t * | angles ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_estimated_gyro_bias_struct | ( | uint8_t * | data_received, |
ADCS_estimated_gyro_bias_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_estimation_innovation_vector_struct | ( | uint8_t * | data_received, |
ADCS_estimation_innovation_vector_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_estimation_params_struct | ( | uint8_t * | data_received, |
ADCS_estimation_params_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_file_download_buffer_struct | ( | uint8_t * | data_received, |
ADCS_file_download_buffer_struct_t * | result ) |
Parse the File Download Buffer data into the provided struct.
[in] | data_received | Pointer to the telemetry data array. |
[out] | result | Pointer to the struct to populate. |
uint8_t ADCS_pack_to_file_info_struct | ( | uint8_t * | raw_data, |
ADCS_file_info_struct_t * | file_info_struct ) |
Parse File Information telemetry data into a struct.
[in] | raw_data | Pointer to the raw telemetry data buffer (12 bytes). |
[out] | file_info_struct | Pointer to the struct to store parsed telemetry data. |
uint8_t ADCS_pack_to_fine_angular_rates_struct | ( | uint8_t * | data_received, |
ADCS_fine_angular_rates_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_fine_sun_vector_struct | ( | uint8_t * | data_received, |
ADCS_fine_sun_vector_struct_t * | vector_components ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_identification_struct | ( | uint8_t * | data_received, |
ADCS_id_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_igrf_magnetic_field_vector_struct | ( | uint8_t * | data_received, |
ADCS_magnetic_field_vector_struct_t * | vector_components ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_llh_position_struct | ( | uint8_t * | data_received, |
ADCS_llh_position_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_magnetic_field_vector_struct | ( | uint8_t * | data_received, |
ADCS_magnetic_field_vector_struct_t * | vector_components ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_magnetometer_config_struct | ( | uint8_t * | data_received, |
ADCS_magnetometer_config_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_magnetorquer_command_struct | ( | uint8_t * | data_received, |
ADCS_magnetorquer_command_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_measurements_struct | ( | uint8_t * | telemetry_data, |
ADCS_measurements_struct_t * | measurements ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_nadir_vector_struct | ( | uint8_t * | data_received, |
ADCS_nadir_vector_struct_t * | vector_components ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_orbit_params_struct | ( | uint8_t * | data_received, |
ADCS_orbit_params_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_power_control_struct | ( | uint8_t * | data_received, |
ADCS_power_control_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_program_status_struct | ( | uint8_t * | data_received, |
ADCS_boot_running_status_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_quaternion_error_vector_struct | ( | uint8_t * | data_received, |
ADCS_quaternion_error_vector_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_rate_gyro_config_struct | ( | uint8_t * | data_received, |
ADCS_rate_gyro_config_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_rated_sensor_rates_struct | ( | uint8_t * | data_received, |
ADCS_rated_sensor_rates_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_cam1_sensor_struct | ( | uint8_t * | data_received, |
ADCS_raw_cam_sensor_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_cam2_sensor_struct | ( | uint8_t * | data_received, |
ADCS_raw_cam_sensor_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_coarse_sun_sensor_1_to_6_struct | ( | uint8_t * | data_received, |
ADCS_raw_coarse_sun_sensor_1_to_6_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_coarse_sun_sensor_7_to_10_struct | ( | uint8_t * | data_received, |
ADCS_raw_coarse_sun_sensor_7_to_10_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_gps_status_struct | ( | uint8_t * | data_received, |
ADCS_raw_gps_status_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_gps_struct | ( | ADCS_gps_axis_enum_t | axis, |
uint8_t * | data_received, | ||
ADCS_raw_gps_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for any of the three Raw_GPS commands (X, Y, Z).
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_gps_time_struct | ( | uint8_t * | data_received, |
ADCS_raw_gps_time_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_magnetometer_values_struct | ( | uint8_t * | data_received, |
ADCS_raw_magnetometer_values_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_raw_star_tracker_struct | ( | uint8_t * | input_data, |
ADCS_raw_star_tracker_struct_t * | output_data ) |
Parse Raw Star Tracker telemetry data into a struct.
[in] | input_data | Pointer to the raw telemetry data buffer. |
[out] | output_data | Pointer to the struct to store parsed telemetry data. |
uint8_t ADCS_pack_to_sd_card_format_erase_progress_struct | ( | uint8_t * | data_received, |
ADCS_sd_card_format_erase_progress_struct_t * | result ) |
Parse the SD Card Format/Erase Progress data into the provided struct.
[in] | data_received | Pointer to the telemetry data array. |
[out] | result | Pointer to the struct to populate. |
uint8_t ADCS_pack_to_sd_log_config_struct | ( | uint8_t * | data_received, |
uint8_t | which_log, | ||
ADCS_sd_log_config_struct * | config ) |
Parse SD Log Config telemetry data into a struct.
[in] | data_received | Pointer to the raw telemetry data buffer. |
[in] | which_log | Which of the two concurrent logging task configurations is requested (1 or 2). |
[out] | config | Pointer to the struct to store parsed telemetry data. |
uint8_t ADCS_pack_to_tracking_controller_target_reference_struct | ( | uint8_t * | data_received, |
ADCS_tracking_controller_target_struct_t * | ref ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_unix_time_ms | ( | uint8_t * | data_received, |
uint64_t * | output_data ) |
Parse Unix Time telemetry data into a uint64.
[in] | data_received | Pointer to the raw telemetry data buffer. |
[out] | output_data | Pointer to the uint64 to store parsed telemetry data. |
uint8_t ADCS_pack_to_unix_time_save_mode_struct | ( | uint8_t * | data_received, |
ADCS_set_unix_time_save_mode_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |
uint8_t ADCS_pack_to_wheel_speed_struct | ( | uint8_t * | data_received, |
ADCS_wheel_speed_struct_t * | result ) |
Packs the ADCS received raw data into the appropriate structure for this command.
[in] | data_received | Raw data bytes obtained from the ADCS over I2C. |
[out] | result | Structure containing the formated data for this command. |