##// END OF EJS Templates
MOved RTEMS config in fsw_params.h
MOved RTEMS config in fsw_params.h

File last commit:

r73:042275d1388a Next
r73:042275d1388a Next
Show More
fsw_params.h
446 lines | 14.4 KiB | text/x-c | CLexer
paul
Added fsw_params.h
r2 #ifndef FSW_PARAMS_H_INCLUDED
#define FSW_PARAMS_H_INCLUDED
#include "fsw_params_processing.h"
#include "fsw_params_nb_bytes.h"
#include "tm_byte_positions.h"
#include "ccsds_types.h"
paul
DEFAULT modulus, tbad, offset and shift in finetime...
r68 #include "stdint.h"
paul
Added fsw_params.h
r2
MOved RTEMS config in fsw_params.h
r73 /*
* RTEMS CONFIG
*
*/
paul
Added fsw_params.h
r2 #define GRSPW_DEVICE_NAME "/dev/grspw0"
MOved RTEMS config in fsw_params.h
r73 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 23 // number of tasks concurrently active including INIT
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_INIT_TASK_PRIORITY 1 // instead of 100
#define CONFIGURE_INIT_TASK_MODE (RTEMS_DEFAULT_MODES | RTEMS_NO_PREEMPT)
#define CONFIGURE_INIT_TASK_ATTRIBUTES (RTEMS_DEFAULT_ATTRIBUTES | RTEMS_FLOATING_POINT)
#define CONFIGURE_MAXIMUM_DRIVERS 16
#define CONFIGURE_MAXIMUM_PERIODS 6 // [hous] [load] [avgv]
#define CONFIGURE_MAXIMUM_TIMERS 6 // [spiq] [link] [spacewire_reset_link]
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 5
#ifdef PRINT_STACK_REPORT
#define CONFIGURE_STACK_CHECKER_ENABLED
#endif
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 //*******
// MACROS
#ifdef PRINT_MESSAGES_ON_CONSOLE
#define PRINTF(x) printf(x);
#define PRINTF1(x,y) printf(x,y);
#define PRINTF2(x,y,z) printf(x,y,z);
#else
#define PRINTF(x) ;
#define PRINTF1(x,y) ;
#define PRINTF2(x,y,z) ;
#endif
#ifdef BOOT_MESSAGES
#define BOOT_PRINTF(x) printf(x);
#define BOOT_PRINTF1(x,y) printf(x,y);
#define BOOT_PRINTF2(x,y,z) printf(x,y,z);
#else
#define BOOT_PRINTF(x) ;
#define BOOT_PRINTF1(x,y) ;
#define BOOT_PRINTF2(x,y,z) ;
#endif
#ifdef DEBUG_MESSAGES
#define DEBUG_PRINTF(x) printf(x);
#define DEBUG_PRINTF1(x,y) printf(x,y);
#define DEBUG_PRINTF2(x,y,z) printf(x,y,z);
#else
#define DEBUG_PRINTF(x) ;
#define DEBUG_PRINTF1(x,y) ;
#define DEBUG_PRINTF2(x,y,z) ;
#endif
#define CONST_65536 65536 // 2^16
#define CONST_2048 2048 // 2^11
#define CONST_512 512 // 2^9
#define CONST_256 256 // 2^8
Removed most unused macros...
r72 #ifndef UINT8_MAX
#define UINT8_MAX 255
#endif
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
#define FLOAT_LSBYTE 3
#define BITS_PER_BYTE 8
#define INIT_FLOAT 0.
#define INIT_CHAR 0x00
paul
added range for rw_f and init value for int
r65 #define INIT_INT 0
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 #define INT8_ALL_F 0xff
#define INT16_ALL_F 0xffff
#define INT32_ALL_F 0xffffffff
#define INT32_ALL_0 0x00000000
#define SHIFT_1_BYTE 8
#define SHIFT_2_BYTES 16
#define SHIFT_3_BYTES 24
#define SHIFT_4_BYTES 32
#define SHIFT_5_BYTES 40
#define SHIFT_2_BITS 2
#define SHIFT_3_BITS 3
#define SHIFT_4_BITS 4
#define SHIFT_5_BITS 5
#define SHIFT_7_BITS 7
#define BYTE_0 0
#define BYTE_1 1
#define BYTE_2 2
#define BYTE_3 3
#define BYTE_4 4
#define BYTE_5 5
#define BYTE_6 6
#define BYTE_7 7
#define BYTE0_MASK 0xff00
#define BYTE1_MASK 0x00ff
paul
enum lfr_transition_type_t created
r35 enum lfr_transition_type_t{
TRANSITION_NOT_SPECIFIC,
TRANSITION_NORM_TO_S1,
TRANSITION_NORM_TO_S2,
TRANSITION_S1_TO_NORM,
TRANSITION_S2_TO_NORM,
TRANSITION_S1_TO_S2,
TRANSITION_S2_TO_S1
};
paul
Added fsw_params.h
r2 typedef struct ring_node
{
struct ring_node *previous;
struct ring_node *next;
unsigned int sid;
unsigned int coarseTime;
unsigned int fineTime;
int buffer_address;
unsigned int status;
} ring_node;
//************************
// flight software version
// this parameters is handled by the Qt project options
#define NB_PACKETS_PER_GROUP_OF_CWF 8 // 8 packets containing 336 blk
#define NB_PACKETS_PER_GROUP_OF_CWF_LIGHT 4 // 4 packets containing 672 blk
#define NB_SAMPLES_PER_SNAPSHOT 2688 // 336 * 8 = 672 * 4 = 2688
#define TIME_OFFSET 2
#define NB_BYTES_SWF_BLK (2 * 6)
#define NB_WORDS_SWF_BLK 3
#define NB_BYTES_CWF3_LIGHT_BLK 6
#define NB_RING_NODES_F0 3 // AT LEAST 3
#define NB_RING_NODES_F1 5 // AT LEAST 3
#define NB_RING_NODES_F2 5 // AT LEAST 3
#define NB_RING_NODES_F3 3 // AT LEAST 3
//**********
// LFR MODES
#define LFR_MODE_STANDBY 0
#define LFR_MODE_NORMAL 1
#define LFR_MODE_BURST 2
#define LFR_MODE_SBM1 3
#define LFR_MODE_SBM2 4
#define TDS_MODE_LFM 5
#define TDS_MODE_STANDBY 0
#define TDS_MODE_NORMAL 1
#define TDS_MODE_BURST 2
#define TDS_MODE_SBM1 3
#define TDS_MODE_SBM2 4
#define THR_MODE_STANDBY 0
#define THR_MODE_NORMAL 1
#define THR_MODE_BURST 2
paul
one event added RTEM_EVENT_SWF_RESYNCH
r43 #define RTEMS_EVENT_MODE_NORMAL RTEMS_EVENT_1
#define RTEMS_EVENT_MODE_BURST RTEMS_EVENT_2
#define RTEMS_EVENT_MODE_SBM2 RTEMS_EVENT_4
#define RTEMS_EVENT_MODE_NORM_S1_S2 RTEMS_EVENT_5
#define RTEMS_EVENT_NORM_BP1_F0 RTEMS_EVENT_6
#define RTEMS_EVENT_NORM_BP2_F0 RTEMS_EVENT_7
#define RTEMS_EVENT_NORM_ASM_F0 RTEMS_EVENT_8 // ASM only in NORM mode
#define RTEMS_EVENT_NORM_BP1_F1 RTEMS_EVENT_9
#define RTEMS_EVENT_NORM_BP2_F1 RTEMS_EVENT_10
#define RTEMS_EVENT_NORM_ASM_F1 RTEMS_EVENT_11 // ASM only in NORM mode
#define RTEMS_EVENT_NORM_BP1_F2 RTEMS_EVENT_12
#define RTEMS_EVENT_NORM_BP2_F2 RTEMS_EVENT_13
#define RTEMS_EVENT_NORM_ASM_F2 RTEMS_EVENT_14 // ASM only in NORM mode
#define RTEMS_EVENT_SBM_BP1_F0 RTEMS_EVENT_15
#define RTEMS_EVENT_SBM_BP2_F0 RTEMS_EVENT_16
#define RTEMS_EVENT_SBM_BP1_F1 RTEMS_EVENT_17
#define RTEMS_EVENT_SBM_BP2_F1 RTEMS_EVENT_18
paul
Added fsw_params.h
r2 #define RTEMS_EVENT_BURST_BP1_F0 RTEMS_EVENT_19
#define RTEMS_EVENT_BURST_BP2_F0 RTEMS_EVENT_20
#define RTEMS_EVENT_BURST_BP1_F1 RTEMS_EVENT_21
#define RTEMS_EVENT_BURST_BP2_F1 RTEMS_EVENT_22
paul
one event added RTEM_EVENT_SWF_RESYNCH
r43 #define RTEMS_EVENT_SWF_RESYNCH RTEMS_EVENT_23
Added Calibrations Task defines...
r70 #define RTEMS_EVENT_CAL_SWEEP_WAKE RTEMS_EVENT_24
paul
Added fsw_params.h
r2
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 //********************************************
//********************************************
// LFR PARAMETERS: DEFAULT, MIN AND MAX VALUES
paul
DEFAULT_LAST_VALID_TRANSITION_DATE changed to 0xffffffff
r38 #define DEFAULT_LAST_VALID_TRANSITION_DATE 0xffffffff
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 // COMMON
#define DEFAULT_SY_LFR_COMMON0 0x00
paul
sync
r22 #define DEFAULT_SY_LFR_COMMON1 0x20 // default value bw sp0 sp1 r0 r1 r2 = 1 0 0 0 0 0
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 // NORM
#define DFLT_SY_LFR_N_SWF_L 2048 // nb sample
#define DFLT_SY_LFR_N_SWF_P 300 // sec
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 #define MIN_SY_LFR_N_SWF_P 22 // sec
paul
Added fsw_params.h
r2 #define DFLT_SY_LFR_N_ASM_P 3600 // sec
#define DFLT_SY_LFR_N_BP_P0 4 // sec
#define DFLT_SY_LFR_N_BP_P1 20 // sec
#define DFLT_SY_LFR_N_CWF_LONG_F3 0 // 0 => production of light continuous waveforms at f3
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 // BURST
#define DEFAULT_SY_LFR_B_BP_P0 1 // sec
#define DEFAULT_SY_LFR_B_BP_P1 5 // sec
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 // SBM1
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 #define S1_BP_P0_SCALE 0.25
#define DEFAULT_SY_LFR_S1_BP_P0 1 // 0.25 sec
paul
Added fsw_params.h
r2 #define DEFAULT_SY_LFR_S1_BP_P1 1 // sec
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 // SBM2
#define DEFAULT_SY_LFR_S2_BP_P0 1 // sec
#define DEFAULT_SY_LFR_S2_BP_P1 5 // sec
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 // STATUS WORD
#define DEFAULT_STATUS_WORD_BYTE0 0x0d // [0000] [1] [101] mode 4 bits / SPW enabled 1 bit / state is run 3 bits
paul
Many corrections, mainly related to #807 Don_Enumeration
r56
paul
Added fsw_params.h
r2 #define DEFAULT_STATUS_WORD_BYTE1 0x00
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 // TC_LFR_LOAD_FILTER_PAR
#define MIN_PAS_FILTER_MODULUS 4
#define MAX_PAS_FILTER_MODULUS 8
#define MIN_PAS_FILTER_TBAD 0.0
#define MAX_PAS_FILTER_TBAD 4.0
#define MIN_PAS_FILTER_OFFSET 0
#define MAX_PAS_FILTER_OFFSET 7
#define MIN_PAS_FILTER_SHIFT 0.0
#define MAX_PAS_FILTER_SHIFT 1.0
paul
min values for rw_delta_f and rw_k added
r64 #define MIN_SY_LFR_SC_RW_DELTA_F 0
paul
added range for rw_f and init value for int
r65 #define MIN_SY_LFR_RW_F 0
paul
Added fsw_params.h
r2 //
#define SY_LFR_DPU_CONNECT_TIMEOUT 100 // 100 * 10 ms = 1 s
#define SY_LFR_DPU_CONNECT_ATTEMPT 3
//****************************
//*****************************
// APB REGISTERS BASE ADDRESSES
#define REGS_ADDR_APBUART 0x80000100
#define REGS_ADDR_GPTIMER 0x80000300
#define REGS_ADDR_GRSPW 0x80000500
paul
one constant added:...
r44 #define APB_OFFSET_GRSPW_STATUS_REGISTER 0x04
#define APB_OFFSET_GRSPW_TIME_REGISTER 0x14
paul
Added fsw_params.h
r2 #define REGS_ADDR_TIME_MANAGEMENT 0x80000600
#define REGS_ADDR_SPECTRAL_MATRIX 0x80000f00
#define REGS_ADDR_WAVEFORM_PICKER 0x80000f54 // PDB >= 0.1.28
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 #define APB_OFFSET_VHDL_REV 0xb0
paul
Added fsw_params.h
r2 #define REGS_ADDR_VHDL_VERSION 0x80000ff0
#define APBUART_CTRL_REG_MASK_TE 0x00000002
// scaler value = system_clock_frequency / ( baud_rate * 8 ) - 1
#define APBUART_SCALER_RELOAD_VALUE 0x00000050 // 25 MHz => about 38400
//**********
// IRQ LINES
paul
information on task LOAD added...
r33 #define IRQ_GPTIMER_WATCHDOG 9
#define IRQ_SPARC_GPTIMER_WATCHDOG 0x19 // see sparcv8.pdf p.76 for interrupt levels
paul
Added fsw_params.h
r2 #define IRQ_WAVEFORM_PICKER 14
#define IRQ_SPARC_WAVEFORM_PICKER 0x1e // see sparcv8.pdf p.76 for interrupt levels
#define IRQ_SPECTRAL_MATRIX 6
#define IRQ_SPARC_SPECTRAL_MATRIX 0x16 // see sparcv8.pdf p.76 for interrupt levels
//*****
// TIME
paul
timer watchdog duration set to 10 secondes
r40 #define CLKDIV_WATCHDOG (10000000 - 1) // 10.0s => 10 000 000
paul
information on task LOAD added...
r33 #define TIMER_WATCHDOG 1
#define WATCHDOG_PERIOD 100 // 1s
paul
Added fsw_params.h
r2 #define HK_PERIOD 100 // 100 * 10ms => 1s
paul
AVGV parameters added
r52 #define AVGV_PERIOD 6 // 6 * 10ms => 60ms (1 / 16 = 62.5ms)
paul
Added fsw_params.h
r2 #define SY_LFR_TIME_SYN_TIMEOUT_in_ticks 200 // 200 * 10 ms = 2 s
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 #define HK_SYNC_WAIT 10 // 10 * 10 ms = 100 ms
#define SPW_LINK_WAIT 10 // 10 * 10 ms = 100 ms
paul
minor typos
r47 #define TIMECODE_TIMER_TIMEOUT 120 // 120 * 10 ms = 1.2 s
#define TIMECODE_TIMER_TIMEOUT_INIT 200 // 200 * 10 ms = 2.0 s
paul
two unused constants removed...
r36 #define TIMECODE_MASK 0x3f // 0011 1111
paul
Added fsw_params.h
r2
//**********
// LPP CODES
#define LFR_SUCCESSFUL 0
#define LFR_DEFAULT 1
#define LFR_EXE_ERROR 2
//******
// RTEMS
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 #define STACK_SIZE_MULT 2
paul
AVGV parameters added
r52 #define TASKID_AVGV 0
paul
Added fsw_params.h
r2 #define TASKID_RECV 1
#define TASKID_ACTN 2
#define TASKID_SPIQ 3
paul
information on task LOAD added...
r33 #define TASKID_LOAD 4
paul
Added fsw_params.h
r2 #define TASKID_AVF0 5
#define TASKID_SWBD 6
#define TASKID_WFRM 7
#define TASKID_DUMB 8
#define TASKID_HOUS 9
#define TASKID_PRC0 10
#define TASKID_CWF3 11
#define TASKID_CWF2 12
#define TASKID_CWF1 13
#define TASKID_SEND 14
paul
WTDG changed to LINK to avoid confusion with the wathdog function
r37 #define TASKID_LINK 15
paul
Added fsw_params.h
r2 #define TASKID_AVF1 16
#define TASKID_PRC1 17
#define TASKID_AVF2 18
#define TASKID_PRC2 19
Added scrubbing Task, to increase scrubbing frequency and avoid entering...
r69 #define TASKID_SCRB 20
Added Calibrations Task defines...
r70 #define TASKID_CALI 21
paul
Added fsw_params.h
r2
#define TASK_PRIORITY_SPIQ 5
paul
WTDG changed to LINK to avoid confusion with the wathdog function
r37 #define TASK_PRIORITY_LINK 20
paul
AVGV parameters added
r52 #define TASK_PRIORITY_AVGV 25
paul
sync
r11 #define TASK_PRIORITY_HOUS 30
paul
sync
r8 #define TASK_PRIORITY_CWF1 35 // CWF1 and CWF2 are never running together
#define TASK_PRIORITY_CWF2 35 //
#define TASK_PRIORITY_SWBD 37 // SWBD has a lower priority than WFRM, this is to extract the snapshot before sending it
paul
Added fsw_params.h
r2 #define TASK_PRIORITY_WFRM 40
paul
sync
r8 #define TASK_PRIORITY_CWF3 40 // there is a printf in this function, be careful with its priority wrt CWF1
paul
sync
r11 #define TASK_PRIORITY_SEND 45
#define TASK_PRIORITY_RECV 50
Added Calibrations Task defines...
r70 #define TASK_PRIORITY_CALI 50
paul
Added fsw_params.h
r2 #define TASK_PRIORITY_ACTN 50
paul
sync
r11 #define TASK_PRIORITY_AVF0 60
#define TASK_PRIORITY_AVF1 70
paul
Added fsw_params.h
r2 #define TASK_PRIORITY_PRC0 100
paul
sync
r11 #define TASK_PRIORITY_PRC1 100
#define TASK_PRIORITY_AVF2 110
#define TASK_PRIORITY_PRC2 110
paul
timer watchdog duration set to 10 secondes
r40 #define TASK_PRIORITY_LOAD 190
paul
Added fsw_params.h
r2 #define TASK_PRIORITY_DUMB 200
Added scrubbing Task, to increase scrubbing frequency and avoid entering...
r69 #define TASK_PRIORITY_SCRB 210
paul
Added fsw_params.h
r2
#define MSG_QUEUE_COUNT_RECV 10
#define MSG_QUEUE_COUNT_SEND 50
#define MSG_QUEUE_COUNT_PRC0 10
#define MSG_QUEUE_COUNT_PRC1 10
#define MSG_QUEUE_COUNT_PRC2 5
paul
sync
r23 #define MSG_QUEUE_SIZE_SEND 812 // 808 + 4 => TM_LFR_SCIENCE_BURST_BP2_F1
paul
MSG_QUEUE_SIZE_PRCx changed for PAS filtering implementation
r49 #define MSG_QUEUE_SIZE_PRC0 36 // two pointers, one rtems_event + 6 integers
#define MSG_QUEUE_SIZE_PRC1 36 // two pointers, one rtems_event + 6 integers
#define MSG_QUEUE_SIZE_PRC2 36 // two pointers, one rtems_event + 6 integers
paul
Added fsw_params.h
r2
#define QUEUE_RECV 0
#define QUEUE_SEND 1
#define QUEUE_PRC0 2
#define QUEUE_PRC1 3
#define QUEUE_PRC2 4
struct param_local_str{
unsigned int local_sbm1_nb_cwf_sent;
unsigned int local_sbm1_nb_cwf_max;
unsigned int local_sbm2_nb_cwf_sent;
unsigned int local_sbm2_nb_cwf_max;
};
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 //************
// FBINS MASKS
#define BYTES_PER_FBINS_MASK 16
paul
minor updates
r48 typedef struct {
paul
Many corrections, mainly related to #807 Don_Enumeration
r56 unsigned char merged_fbins_mask_f0[BYTES_PER_FBINS_MASK];
unsigned char merged_fbins_mask_f1[BYTES_PER_FBINS_MASK];
unsigned char merged_fbins_mask_f2[BYTES_PER_FBINS_MASK];
paul
minor updates
r48 } fbins_masks_t;
paul
filterPar_t and associated default values added
r50 #define DEFAULT_SY_LFR_PAS_FILTER_ENABLED 0
#define DEFAULT_SY_LFR_PAS_FILTER_MODULUS 4
Added scrubbing Task, to increase scrubbing frequency and avoid entering...
r69 #define DEFAULT_SY_LFR_PAS_FILTER_TBAD 1.0f
paul
filterPar_t and associated default values added
r50 #define DEFAULT_SY_LFR_PAS_FILTER_OFFSET 0
Added scrubbing Task, to increase scrubbing frequency and avoid entering...
r69 #define DEFAULT_SY_LFR_PAS_FILTER_SHIFT 0.5f
paul
DEFAULT modulus, tbad, offset and shift in finetime...
r68 #define DEFAULT_MODULUS 262144 // 65536 * 4
#define DEFAULT_TBAD 65536 // 65536
#define DEFAULT_OFFSET 0 // 65536 * 0
#define DEFAULT_SHIFT 32768 // 65536 / 2
Added scrubbing Task, to increase scrubbing frequency and avoid entering...
r69 #define DEFAULT_SY_LFR_SC_RW_DELTA_F 0.045f
#define DEFAULT_SY_LFR_RW_K1 1.f
#define DEFAULT_SY_LFR_RW_K2 8.f
#define DEFAULT_SY_LFR_RW_K3 24.f
#define DEFAULT_SY_LFR_RW_K4 48.f
paul
filterPar_t and associated default values added
r50
typedef struct{
unsigned char spare_sy_lfr_pas_filter_enabled;
float sy_lfr_pas_filter_tbad;
float sy_lfr_pas_filter_shift;
paul
DEFAULT modulus, tbad, offset and shift in finetime...
r68 uint64_t modulus_in_finetime;
uint64_t tbad_in_finetime;
uint64_t offset_in_finetime;
uint64_t shift_in_finetime;
paul
filterPar_t and associated default values added
r50 float sy_lfr_sc_rw_delta_f;
paul
compliance with ICD 4.3
r60 // rw1_k
float sy_lfr_rw1_k1;
float sy_lfr_rw1_k2;
float sy_lfr_rw1_k3;
float sy_lfr_rw1_k4;
// rw2_k
float sy_lfr_rw2_k1;
float sy_lfr_rw2_k2;
float sy_lfr_rw2_k3;
float sy_lfr_rw2_k4;
// rw3_k
float sy_lfr_rw3_k1;
float sy_lfr_rw3_k2;
float sy_lfr_rw3_k3;
float sy_lfr_rw3_k4;
// rw4_k
float sy_lfr_rw4_k1;
float sy_lfr_rw4_k2;
float sy_lfr_rw4_k3;
float sy_lfr_rw4_k4;
paul
filterPar_t and associated default values added
r50 } filterPar_t;
paul
compliance with ICD 4.3
r60 typedef struct{
// rw1_f
float cp_rpw_sc_rw1_f1;
float cp_rpw_sc_rw1_f2;
float cp_rpw_sc_rw1_f3;
float cp_rpw_sc_rw1_f4;
// rw2_f
float cp_rpw_sc_rw2_f1;
float cp_rpw_sc_rw2_f2;
float cp_rpw_sc_rw2_f3;
float cp_rpw_sc_rw2_f4;
// rw3_f
float cp_rpw_sc_rw3_f1;
float cp_rpw_sc_rw3_f2;
float cp_rpw_sc_rw3_f3;
float cp_rpw_sc_rw3_f4;
// rw4_f
float cp_rpw_sc_rw4_f1;
float cp_rpw_sc_rw4_f2;
float cp_rpw_sc_rw4_f3;
float cp_rpw_sc_rw4_f4;
} rw_f_t;
paul
HALF_ACQUISITION_DURATION_Fx added...
r67 #define MATRIX_IS_POLLUTED 0
#define MATRIX_IS_NOT_POLLUTED 1
paul
MSG_QUEUE_SIZE_PRCx changed for PAS filtering implementation
r49 #define ACQUISITION_DURATION_F0 683 // 256 / 24576 * 65536
#define ACQUISITION_DURATION_F1 4096 // 256 / 4096 * 65536
#define ACQUISITION_DURATION_F2 65536 // 256 / 256 * 65536
paul
HALF_ACQUISITION_DURATION_Fx added...
r67 #define HALF_ACQUISITION_DURATION_F0 341 // 256 / 24576 * 65536 / 2
#define HALF_ACQUISITION_DURATION_F1 2048 // 256 / 4096 * 65536 / 2
#define HALF_ACQUISITION_DURATION_F2 32768 // 256 / 256 * 65536 / 2
paul
MSG_QUEUE_SIZE_PRCx changed for PAS filtering implementation
r49
paul
Added fsw_params.h
r2 #endif // FSW_PARAMS_H_INCLUDED