![]() |
CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
|
#include "tutti_gli_header.h"Go to the source code of this file.
Macros | |
| #define | usa_la_struttura |
| #define | check_for_presence_of_erros ( uint8_t) 1 |
| #define | send_back_the_register ( uint8_t) 2 |
| #define | reste_all_errors ( uint8_t) 3 |
| #define | quering_echo_on_or_off ( uint8_t) 4 |
Functions | |
| void | ERROR_codifica_errore (uint8_t scheda_su_scheda_giu, unsigned char error_addres, unsigned char code_to_shift, uint8_t reset_count_se_0) |
| If an error is found its flag is codified here. | |
| void | instr_ERROR_inspection_function (void) |
| The state of the errors can be verified/reset. | |
| void | store_errors (void) |
| Copy all errors in a buffer. | |
| void | restore_errors (void) |
| Re-store all errors from the buffer. | |
| void | instr_ERROR_echo_on_off_function (void) |
| Immediate echos of a verified error activated/disattivated. | |
| void | Error_imposta_la_istruzione (void) |
| Function to be located at the end of every instruction to mark the error, if any. | |
Variables | |
| volatile unsigned int | flag_error_verified =0 |
| volatile unsigned int | flag_error_verified_at_startup =0 |
| Alla verifica di un qualsiasi errore questo flag viene incrementato, 0 implica nessun errore. | |
| volatile unsigned char | flag_error_acknowledged =0 |
| Alla verifica di un qualsiasi errore allo startup questo flag viene posto ad 1, 0 altrimenti. | |
| volatile unsigned char | last_error_address =0 |
| Il flag di errore veirifcato e tutti gli errori vengono resettati perch\'e acquisiti. | |
| volatile unsigned char | last_code_to_shift =0 |
| The address of the last verified error. | |
| volatile unsigned char | last_error_address_at_startup =0 |
| The shift bit of the last error. | |
| volatile unsigned char | last_code_to_shift_at_startup =0 |
| The address of the last verified error. | |
| volatile unsigned char | can_send_error =0 |
| The shift bit of the last error. | |
| unsigned int | Post_frontend_errors [error_number_of_errors_registers+error_offset_for_board_up] |
| Error are notified via can if =1; not notified if =0. | |
| unsigned int | Post_frontend_errors_copy [error_number_of_errors_registers+error_offset_for_board_up] |
| /// | |
| volatile uint32_t | Error_good_operation |
| volatile uint32_t | Error_bad_operation |
| exploited to mark the errors | |
| char | flag_error_verified_vecchio |
| unsigned char | last_error_address_vecchio |