@@ -683,14 +683,21 void hk_lfr_le_me_he_update() | |||||
683 | unsigned int hk_lfr_le_cnt; |
|
683 | unsigned int hk_lfr_le_cnt; | |
684 | unsigned int hk_lfr_me_cnt; |
|
684 | unsigned int hk_lfr_me_cnt; | |
685 | unsigned int hk_lfr_he_cnt; |
|
685 | unsigned int hk_lfr_he_cnt; | |
|
686 | unsigned int current_hk_lfr_le_cnt; | |||
|
687 | unsigned int current_hk_lfr_me_cnt; | |||
|
688 | unsigned int current_hk_lfr_he_cnt; | |||
686 |
|
689 | |||
687 | hk_lfr_le_cnt = 0; |
|
690 | hk_lfr_le_cnt = 0; | |
688 | hk_lfr_me_cnt = 0; |
|
691 | hk_lfr_me_cnt = 0; | |
689 | hk_lfr_he_cnt = 0; |
|
692 | hk_lfr_he_cnt = 0; | |
|
693 | current_hk_lfr_le_cnt = ((unsigned int) housekeeping_packet.hk_lfr_le_cnt[0]) * 256 + housekeeping_packet.hk_lfr_le_cnt[1]; | |||
|
694 | current_hk_lfr_me_cnt = ((unsigned int) housekeeping_packet.hk_lfr_me_cnt[0]) * 256 + housekeeping_packet.hk_lfr_me_cnt[1]; | |||
|
695 | current_hk_lfr_he_cnt = ((unsigned int) housekeeping_packet.hk_lfr_he_cnt[0]) * 256 + housekeeping_packet.hk_lfr_he_cnt[1]; | |||
690 |
|
696 | |||
691 | //update the low severity error counter |
|
697 | //update the low severity error counter | |
692 | hk_lfr_le_cnt = |
|
698 | hk_lfr_le_cnt = | |
693 | housekeeping_packet.hk_lfr_dpu_spw_parity |
|
699 | current_hk_lfr_le_cnt | |
|
700 | + housekeeping_packet.hk_lfr_dpu_spw_parity | |||
694 | + housekeeping_packet.hk_lfr_dpu_spw_disconnect |
|
701 | + housekeeping_packet.hk_lfr_dpu_spw_disconnect | |
695 | + housekeeping_packet.hk_lfr_dpu_spw_escape |
|
702 | + housekeeping_packet.hk_lfr_dpu_spw_escape | |
696 | + housekeeping_packet.hk_lfr_dpu_spw_credit |
|
703 | + housekeeping_packet.hk_lfr_dpu_spw_credit | |
@@ -707,7 +714,8 void hk_lfr_le_me_he_update() | |||||
707 |
|
714 | |||
708 | //update the medium severity error counter |
|
715 | //update the medium severity error counter | |
709 | hk_lfr_me_cnt = |
|
716 | hk_lfr_me_cnt = | |
710 | housekeeping_packet.hk_lfr_dpu_spw_early_eop |
|
717 | current_hk_lfr_me_cnt | |
|
718 | + housekeeping_packet.hk_lfr_dpu_spw_early_eop | |||
711 | + housekeeping_packet.hk_lfr_dpu_spw_invalid_addr |
|
719 | + housekeeping_packet.hk_lfr_dpu_spw_invalid_addr | |
712 | + housekeeping_packet.hk_lfr_dpu_spw_eep |
|
720 | + housekeeping_packet.hk_lfr_dpu_spw_eep | |
713 | + housekeeping_packet.hk_lfr_dpu_spw_rx_too_big; |
|
721 | + housekeeping_packet.hk_lfr_dpu_spw_rx_too_big; |
General Comments 0
You need to be logged in to leave comments.
Login now