/************************************************************************* Copyright (c) 2024 by CNRS/LESIA This software is copyrighted by and is the sole property of CNRS/LESIA. All rights, title, ownership, or other interests in the software remain the property of CNRS/LESIA. This software may only be used in accordance with the corresponding license agreement. Any unauthorized use, duplication, transmission, distribution, or disclosure of this software is expressly forbidden. This Copyright notice may not be removed or modified without prior written consent of CNRS/LESIA. LESIA Observatoire de Meudon 5 place Jules Janssen 92195 Meudon http://www.lesia.obspm.fr/-Logiciels-embarques-.html *************************************************************************/ /************************************************************************ GERICOS Core Component GscTimingExecutionEntry.cpp $Rev: 0 $ ************************************************************************/ #include "icq_timing_execution_entry.h" void icq_timing_execution_entry_reset(icq_timing_execution_entry_t* timing_execution_entry){ // set attributes to theirs default values timing_execution_entry->timestamp = 0; timing_execution_entry->timingExecutionEvent = STOPPED; timing_execution_entry->parameter = 0; } /* icq_timing_execution_entry_t* icq_timing_execution_entry_init(icq_timing_execution_entry_t* timing_execution_entry) { icq_timing_execution_entry_reset(timing_execution_entry); } */ void icq_timing_execution_entry_set_timing_execution_entry(icq_timing_execution_entry_t* timing_execution_entry, uint32_t timestamp, enum icq_timing_execution_event_enum timingExecutionEvent, uint8_t parameter){ timing_execution_entry->timestamp = timestamp ; timing_execution_entry->timingExecutionEvent = timingExecutionEvent; timing_execution_entry->parameter = parameter; }