##// END OF EJS Templates
the interrupt sub routine related to the waveform picker is now lighter...
the interrupt sub routine related to the waveform picker is now lighter no more picks are observed on the waveforms

File last commit:

r107:c303d2da6108 VHDLib206
r112:5b5da8d2c053 VHDLib206
Show More
grlib_regs.h
100 lines | 3.1 KiB | text/x-c | CLexer
paul
Minor changes in .h inclusion
r45 #ifndef GRLIB_REGS_H_INCLUDED
#define GRLIB_REGS_H_INCLUDED
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
#define NB_GPTIMER 3
paul@pc-solar1.lab-lpp.local
commit before release
r25 struct apbuart_regs_str{
volatile unsigned int data;
volatile unsigned int status;
volatile unsigned int ctrl;
volatile unsigned int scaler;
volatile unsigned int fifoDebug;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 };
paul
Corrections:...
r107 struct grgpio_regs_str{
volatile int io_port_data_register;
int io_port_output_register;
int io_port_direction_register;
int interrupt_mak_register;
int interrupt_polarity_register;
int interrupt_edge_register;
int bypass_register;
int reserved;
// 0x20-0x3c interrupt map register(s)
paul@pc-solar1.lab-lpp.local
commit before release
r25 };
paul
Minor modifications to meet Logiscope requirements
r77 typedef struct {
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 volatile unsigned int counter;
volatile unsigned int reload;
volatile unsigned int ctrl;
paul@pc-solar1.lab-lpp.local
commit before release
r25 volatile unsigned int unused;
paul
Minor modifications to meet Logiscope requirements
r77 } timer_regs_t;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul
Minor modifications to meet Logiscope requirements
r77 typedef struct {
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 volatile unsigned int scaler_value;
volatile unsigned int scaler_reload;
volatile unsigned int conf;
volatile unsigned int unused0;
paul@pc-solar1.lab-lpp.local
commit before release
r25 timer_regs_t timer[NB_GPTIMER];
paul
Minor modifications to meet Logiscope requirements
r77 } gptimer_regs_t;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul
Minor modifications to meet Logiscope requirements
r77 typedef struct {
paul@pc-solar1.lab-lpp.local
commit before release
r25 volatile int ctrl; // bit 0 forces the load of the coarse_time_load value and resets the fine_time
volatile int coarse_time_load;
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 volatile int coarse_time;
paul@pc-solar1.lab-lpp.local
commit before release
r25 volatile int fine_time;
paul
Minor modifications to meet Logiscope requirements
r77 } time_management_regs_t;
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11
paul
Minor modifications to meet Logiscope requirements
r77 typedef struct {
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 volatile int data_shaping; // 0x00 00 *** R1 R0 SP1 SP0 BW
volatile int burst_enable; // 0x04 01 *** burst f2, f1, f0 enable f3, f2, f1, f0
volatile int addr_data_f0; // 0x08 10 ***
volatile int addr_data_f1; // 0x0c 11 ***
volatile int addr_data_f2; // 0x10 100 ***
volatile int addr_data_f3; // 0x14 101 ***
volatile int status; // 0x18 110 ***
volatile int delta_snapshot; // 0x1c 111 ***
volatile int delta_f2_f1; // 0x20 0000 ***
volatile int delta_f2_f0; // 0x24 0001 ***
volatile int nb_burst_available;// 0x28 0010 ***
volatile int nb_snapshot_param; // 0x2c 0011 ***
paul
Minor modifications to meet Logiscope requirements
r77 } waveform_picker_regs_t;
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18
paul
Integration of the VHDL_DEV option...
r90 typedef struct{
int data_shaping; // 0x00 00 *** R1 R0 SP1 SP0 BW
int run_burst_enable; // 0x04 01 *** [run *** burst f2, f1, f0 *** enable f3, f2, f1, f0 ]
int addr_data_f0; // 0x08
int addr_data_f1; // 0x0c
int addr_data_f2; // 0x10
int addr_data_f3; // 0x14
volatile int status; // 0x18
int delta_snapshot; // 0x1c
int delta_f0; // 0x20
int delta_f0_2; // 0x24
int delta_f1; // 0x28
int delta_f2; // 0x2c
int nb_data_by_buffer; // 0x30
int snapshot_param; // 0x34
int start_date; // 0x38
int nb_word_in_buffer; // 0x3c
} waveform_picker_regs_new_t;
paul
Minor modifications to meet Logiscope requirements
r77 typedef struct {
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 volatile int config;
volatile int status;
volatile int matrixF0_Address0;
volatile int matrixFO_Address1;
volatile int matrixF1_Address;
volatile int matrixF2_Address;
paul
snapshots extraction fully functionnal in SBM1 and SBM2
r106 volatile int coarse_time_F0_0;
volatile int coarse_time_F0_1;
volatile int coarse_time_F1;
volatile int coarse_time_F2;
volatile int fine_time_FO_0;
volatile int fine_time_F0_1;
volatile int fine_time_F1;
volatile int fine_time_F2;
volatile int debug;
paul
Minor modifications to meet Logiscope requirements
r77 } spectral_matrix_regs_t;
paul
SID corrected in TM_LFR_TC_EXE packets...
r31
paul
Minor changes in .h inclusion
r45 #endif // GRLIB_REGS_H_INCLUDED