--------------------------------------------------------------------------------
- TO DO LIST
--------------------------------------------------------------------------------
.) cvt_V1190, cvt_V1495, cvt_V792, cvt_V812: to be completed and debugged

--------------------------------------------------------------------------------
- BUGS LIST
--------------------------------------------------------------------------------

Lista cose da fare:
Ok .) Implementa lettura con readout ad eventi

.) rivedere con Luca i registri sotto (vedi cartaceo 12/02/07)

	ACQUISITION CONTROL (**)	0x8100	A24/A32	D32	R/W	NUOVO		X						: da documentare
Ok		CVT_V1724_ACQ_CONTROL: 
			cvt_V1724_set_acquisition_mode setta anche:
				 run mode
				 event-counter mode
				 down_sample_enable + numero downsample registro (CVT_V1724_DOWNSAMPLE_FACT): vedere in funzione del tipo di run mode
				 
Ok			cvt_V1724_start_acquisition/ cvt_V1724_stop_acquisition da implementare  bit START/STOP
		
Ok	ACQUISITION STATUS	0x8104	A24/A32	D32	R	NUOVO										: da documentare
		aggiungi cvt_V1724_get_acquisition_status : non documentare TRG_IN status
			
Ok	FP TRIG-OUT ENABLE MASK (**)	0x8110	A24/A32	D32	R/W	NUOVO		X					: da documentare
		stessa maschera CVT_V1724_TRIGGER_SRC_ENABLE_MSK ma per rigirare su FrontPanel
		fai funzione dedicata
	
Ok		cvt_V1724_set_front_panel_IO
			aggiungi out-enable
			direzione (a blocchi di 4) legato a registro di modo
			+ altri mancanti salvo trg-out


Ok	CHANNEL ENABLE MASK	0x8120	A24/A32	D32	R/W	NUOVO		X								: da documentare
			setta in cvt_V1724_start_acquisition
			vedi doc: vedi condizione di run
	
Ok	DOWNSAMPLING FACTOR	0x8128	A24/A32	D32	R/W	NUOVO		X								: da documentare
		vedi CVT_V1724_ACQ_CONTROL
		
	EVENT STORED	0x8130	A24/A32	D32	R/W	NUOVO		X									: da documentare
		Numero di eventi non riletti

	BOARD ID	0xEF08	A24/A32	D32	R/W	RILOCATO (ERA D16)									:  CVT_V1724_GEO_ADDRESS !!??!??!
	MULTICAST BASE ADDRESS & CONTROL	0xEF0C	A24/A32	D32	R/W	RILOCATO (ERA D16)			: Address e control insieme (LSW e MSW )?!?!?!

	Registri vecchi senza match: sentire Annalisa
	EVENT NUMBER #define CVT_V1724_INT_LEVEL_ADD						0x8108				/*!< \brief Interrupt level register relative address */
	STATUS ID -> #define CVT_V1724_INT_VECTOR_ADD					0x810A				/*!< \brief Interrupt vector register relative address */

.) Rivedere le sezioni marcate con HACK
.) Rivedere le maschere di tutti i registri



readout: solo canali attivi da bit + basso in su 
set_read_out_mode -> aggiungi set modo sequential (CVT_V1724_BROAD_CH_SET_CTRL bit 4 