Line 40... |
Line 40... |
40 |
hitin1=TDC_HITIN1_4; // set nomber of hits on channel 1 |
40 |
hitin1=TDC_HITIN1_4; // set nomber of hits on channel 1 |
41 |
hitin2=TDC_HITIN2_0; // disable channel 2 (normal state for this mode) |
41 |
hitin2=TDC_HITIN2_0; // disable channel 2 (normal state for this mode) |
42 |
en_int= TDC_INT_ALU | TDC_INT_ENDHIT | TDC_INT_TIMEOUT; // eneble all possible interrupt flags |
42 |
en_int= TDC_INT_ALU | TDC_INT_ENDHIT | TDC_INT_TIMEOUT; // eneble all possible interrupt flags |
43 |
en_err_val=TDC_ERRVAL_EN; // enable of error value output |
43 |
en_err_val=TDC_ERRVAL_EN; // enable of error value output |
44 |
clkhsdiv=TDC_CLKHSDIV_4; // divide clkHS by 4 |
44 |
clkhsdiv=TDC_CLKHSDIV_4; // divide clkHS by 4 |
- |
|
45 |
firenum=TDC_FIRENUM_1; |
45 |
|
46 |
|
46 |
delval1=0x0; // windowing disabled |
47 |
delval1=0x0; // windowing disabled |
47 |
delval2=0x0; |
48 |
delval2=0x0; |
48 |
delval3=0x0; |
49 |
delval3=0x0; |
49 |
|
50 |
|