labor-mst/sw/config
2021-03-28 13:43:31 +02:00

16 lines
1019 B
Plaintext

#Feedback Loop Configuration File
#
#Each line of this file defines a configuration slot and consists of integer numbers delimited by white
#spaces in the following order:
#ADDSUB_MODE ADD_INPUT_MUX DELAY FACTOR0 FACTOR1 TIMESTAMP
#
#ADDSUB_MODE: Select feedback mode (0=Negative, 1=Positive)
#ADD_INPUT_MUX: Select feedback input (0=Single Input Mode [ADC0], 1=Double Input Mode)
#DELAY: Clock cycles counts (50 ns period) to delay the feedback signal [0-65535]
#FACTOR0: Multiplication factor to apply to the ADC Signal0 [0-32] (NOTE: Integer is intepreted as a Q1.4 Fixed Point Number!)
#FACTOR1: Multiplication factor to apply to the ADC Signal1 [0-32] (NOTE: Integer is intepreted as a Q1.4 Fixed Point Number!)
#TIMESTAMP: Defines the clock count number from the sync pulse from which on the configurations settings will be applied. [32-bit unsigned integer]
# First Config slot should have a timestamp equal to zero.
1 0 0 8 8 0
0 0 0 8 8 1200000000