|
@@
-76,19
+76,20
rtems_isr waveforms_isr( rtems_vector_nu
|
|
76
|
statusReg = new_waveform_picker_regs->status;
|
|
76
|
statusReg = new_waveform_picker_regs->status;
|
|
77
|
fullRecord = fullRecord | ( statusReg & 0x7 );
|
|
77
|
fullRecord = fullRecord | ( statusReg & 0x7 );
|
|
78
|
// if ( (new_waveform_picker_regs->status & 0x7) == 0x7 ){ // f2 f1 and f0 are full
|
|
78
|
// if ( (new_waveform_picker_regs->status & 0x7) == 0x7 ){ // f2 f1 and f0 are full
|
|
|
|
|
79
|
if ( (new_waveform_picker_regs->status & 0x1) == 0x1 ){ // f2 is full
|
|
|
|
|
80
|
if (rtems_event_send( Task_id[TASKID_WFRM], RTEMS_EVENT_MODE_NORMAL ) != RTEMS_SUCCESSFUL) {
|
|
|
|
|
81
|
rtems_event_send( Task_id[TASKID_DUMB], RTEMS_EVENT_2 );
|
|
|
|
|
82
|
}
|
|
|
|
|
83
|
new_waveform_picker_regs->status = new_waveform_picker_regs->status & 0xfffff888;
|
|
|
|
|
84
|
}
|
|
|
|
|
85
|
// if ( fullRecord == 0x7 ){ // f2 f1 and f0 are full
|
|
79
|
// if (rtems_event_send( Task_id[TASKID_WFRM], RTEMS_EVENT_MODE_NORMAL ) != RTEMS_SUCCESSFUL) {
|
|
86
|
// if (rtems_event_send( Task_id[TASKID_WFRM], RTEMS_EVENT_MODE_NORMAL ) != RTEMS_SUCCESSFUL) {
|
|
80
|
// rtems_event_send( Task_id[TASKID_DUMB], RTEMS_EVENT_2 );
|
|
87
|
// rtems_event_send( Task_id[TASKID_DUMB], RTEMS_EVENT_2 );
|
|
81
|
// }
|
|
88
|
// }
|
|
82
|
// new_waveform_picker_regs->status = new_waveform_picker_regs->status & 0xfffff888;
|
|
89
|
// fullRecord = 0x00;
|
|
83
|
// }
|
|
90
|
// }
|
|
84
|
if ( fullRecord == 0x7 ){ // f2 f1 and f0 are full
|
|
91
|
// new_waveform_picker_regs->status = ( new_waveform_picker_regs->status & (~statusReg) )
|
|
85
|
if (rtems_event_send( Task_id[TASKID_WFRM], RTEMS_EVENT_MODE_NORMAL ) != RTEMS_SUCCESSFUL) {
|
|
92
|
// | ( new_waveform_picker_regs->status & 0xfffffff8 );
|
|
86
|
rtems_event_send( Task_id[TASKID_DUMB], RTEMS_EVENT_2 );
|
|
|
|
|
87
|
}
|
|
|
|
|
88
|
fullRecord = 0x00;
|
|
|
|
|
89
|
}
|
|
|
|
|
90
|
new_waveform_picker_regs->status = ( new_waveform_picker_regs->status & (~statusReg) )
|
|
|
|
|
91
|
| ( new_waveform_picker_regs->status & 0xfffffff8 );
|
|
|
|
|
92
|
#endif
|
|
93
|
#endif
|
|
93
|
break;
|
|
94
|
break;
|
|
94
|
|
|
95
|
|
|
@@
-1031,7
+1032,8
void set_wfp_burst_enable_register( unsi
|
|
1031
|
case(LFR_MODE_NORMAL):
|
|
1032
|
case(LFR_MODE_NORMAL):
|
|
1032
|
new_waveform_picker_regs->run_burst_enable = 0x00; // [0000 0000] no burst enable
|
|
1033
|
new_waveform_picker_regs->run_burst_enable = 0x00; // [0000 0000] no burst enable
|
|
1033
|
// new_waveform_picker_regs->run_burst_enable = 0x0f; // [0000 1111] enable f3 f2 f1 f0
|
|
1034
|
// new_waveform_picker_regs->run_burst_enable = 0x0f; // [0000 1111] enable f3 f2 f1 f0
|
|
1034
|
new_waveform_picker_regs->run_burst_enable = 0x07; // [0000 0111] enable f2 f1 f0
|
|
1035
|
// new_waveform_picker_regs->run_burst_enable = 0x07; // [0000 0111] enable f2 f1 f0
|
|
|
|
|
1036
|
new_waveform_picker_regs->run_burst_enable = 0x01; // [0000 0111] enable f0
|
|
1035
|
break;
|
|
1037
|
break;
|
|
1036
|
case(LFR_MODE_BURST):
|
|
1038
|
case(LFR_MODE_BURST):
|
|
1037
|
new_waveform_picker_regs->run_burst_enable = 0x40; // [0100 0000] f2 burst enabled
|
|
1039
|
new_waveform_picker_regs->run_burst_enable = 0x40; // [0100 0000] f2 burst enabled
|