uint32_tfilter_thres:10;/*This register is used to filter pulse whose width is smaller than this value for unit0.*/
uint32_tfilter_en:1;/*This is the enable bit for filtering input signals for unit0.*/
uint32_tthr_zero_en:1;/*This is the enable bit for comparing unit0's count with 0 value.*/
uint32_tthr_h_lim_en:1;/*This is the enable bit for comparing unit0's count with thr_h_lim value.*/
uint32_tthr_l_lim_en:1;/*This is the enable bit for comparing unit0's count with thr_l_lim value.*/
uint32_tthr_thres0_en:1;/*This is the enable bit for comparing unit0's count with thres0 value.*/
uint32_tthr_thres1_en:1;/*This is the enable bit for comparing unit0's count with thres1 value .*/
uint32_tch0_neg_mode:2;/*This register is used to control the mode of channel0's input neg-edge signal for unit0. 2'd1:increase at the negedge of input signal 2'd2:decrease at the negedge of input signal others:forbidden*/
uint32_tch0_pos_mode:2;/*This register is used to control the mode of channel0's input pos-edge signal for unit0. 2'd1:increase at the posedge of input signal 2'd2:decrease at the posedge of input signal others:forbidden*/
uint32_tch0_hctrl_mode:2;/*This register is used to control the mode of channel0's high control signal for unit0. 2'd0:increase when control signal is low 2'd1:decrease when control signal is high others:forbidden*/
uint32_tch0_lctrl_mode:2;/*This register is used to control the mode of channel0's low control signal for unit0. 2'd0:increase when control signal is low 2'd1:decrease when control signal is high others:forbidden*/
uint32_tch1_neg_mode:2;/*This register is used to control the mode of channel1's input neg-edge signal for unit0. 2'd1:increase at the negedge of input signal 2'd2:decrease at the negedge of input signal others:forbidden*/
uint32_tch1_pos_mode:2;/*This register is used to control the mode of channel1's input pos-edge signal for unit0. 2'd1:increase at the posedge of input signal 2'd2:decrease at the posedge of input signal others:forbidden*/
uint32_tch1_hctrl_mode:2;/*This register is used to control the mode of channel1's high control signal for unit0. 2'd0:increase when control signal is low 2'd1:decrease when control signal is high others:forbidden*/
uint32_tch1_lctrl_mode:2;/*This register is used to control the mode of channel1's low control signal for unit0. 2'd0:increase when control signal is low 2'd1:decrease when control signal is high others:forbidden*/