|
@@
-408,6
+408,12
void send_waveform_SWF( Header_TM_LFR_SC
|
|
408
|
header->time[3] = (unsigned char) (time_management_regs->coarse_time);
|
|
408
|
header->time[3] = (unsigned char) (time_management_regs->coarse_time);
|
|
409
|
header->time[4] = (unsigned char) (time_management_regs->fine_time>>8);
|
|
409
|
header->time[4] = (unsigned char) (time_management_regs->fine_time>>8);
|
|
410
|
header->time[5] = (unsigned char) (time_management_regs->fine_time);
|
|
410
|
header->time[5] = (unsigned char) (time_management_regs->fine_time);
|
|
|
|
|
411
|
header->acquisitionTime[0] = (unsigned char) (time_management_regs->coarse_time>>24);
|
|
|
|
|
412
|
header->acquisitionTime[1] = (unsigned char) (time_management_regs->coarse_time>>16);
|
|
|
|
|
413
|
header->acquisitionTime[2] = (unsigned char) (time_management_regs->coarse_time>>8);
|
|
|
|
|
414
|
header->acquisitionTime[3] = (unsigned char) (time_management_regs->coarse_time);
|
|
|
|
|
415
|
header->acquisitionTime[4] = (unsigned char) (time_management_regs->fine_time>>8);
|
|
|
|
|
416
|
header->acquisitionTime[5] = (unsigned char) (time_management_regs->fine_time);
|
|
411
|
// SEND PACKET
|
|
417
|
// SEND PACKET
|
|
412
|
status = write_spw(spw_ioctl_send);
|
|
418
|
status = write_spw(spw_ioctl_send);
|
|
413
|
if (status != RTEMS_SUCCESSFUL) {
|
|
419
|
if (status != RTEMS_SUCCESSFUL) {
|
|
@@
-454,6
+460,19
void send_waveform_CWF( Header_TM_LFR_SC
|
|
454
|
// BUILD THE HEADER
|
|
460
|
// BUILD THE HEADER
|
|
455
|
header->packetLength[0] = (unsigned char) (length>>8);
|
|
461
|
header->packetLength[0] = (unsigned char) (length>>8);
|
|
456
|
header->packetLength[1] = (unsigned char) (length);
|
|
462
|
header->packetLength[1] = (unsigned char) (length);
|
|
|
|
|
463
|
// SET PACKET TIME
|
|
|
|
|
464
|
header->time[0] = (unsigned char) (time_management_regs->coarse_time>>24);
|
|
|
|
|
465
|
header->time[1] = (unsigned char) (time_management_regs->coarse_time>>16);
|
|
|
|
|
466
|
header->time[2] = (unsigned char) (time_management_regs->coarse_time>>8);
|
|
|
|
|
467
|
header->time[3] = (unsigned char) (time_management_regs->coarse_time);
|
|
|
|
|
468
|
header->time[4] = (unsigned char) (time_management_regs->fine_time>>8);
|
|
|
|
|
469
|
header->time[5] = (unsigned char) (time_management_regs->fine_time);
|
|
|
|
|
470
|
header->acquisitionTime[0] = (unsigned char) (time_management_regs->coarse_time>>24);
|
|
|
|
|
471
|
header->acquisitionTime[1] = (unsigned char) (time_management_regs->coarse_time>>16);
|
|
|
|
|
472
|
header->acquisitionTime[2] = (unsigned char) (time_management_regs->coarse_time>>8);
|
|
|
|
|
473
|
header->acquisitionTime[3] = (unsigned char) (time_management_regs->coarse_time);
|
|
|
|
|
474
|
header->acquisitionTime[4] = (unsigned char) (time_management_regs->fine_time>>8);
|
|
|
|
|
475
|
header->acquisitionTime[5] = (unsigned char) (time_management_regs->fine_time);
|
|
457
|
// SEND PACKET
|
|
476
|
// SEND PACKET
|
|
458
|
status = write_spw(spw_ioctl_send);
|
|
477
|
status = write_spw(spw_ioctl_send);
|
|
459
|
if (status != RTEMS_SUCCESSFUL) {
|
|
478
|
if (status != RTEMS_SUCCESSFUL) {
|