![]() |
CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
|
#include "tutti_gli_header.h"Go to the source code of this file.
Functions | |
| unsigned char | lettura_indirizzi_CAN (void) |
| The CAN bus address. | |
| void | CAN_SignalUnitEvent (uint32_t event) |
| After that CAN aneded operation eand the interrupt is generated this signal function is called which marks errors, if any. | |
| void | CAN_SignalObjectEvent (uint32_t obj_idx, uint32_t event) |
| After that CAN aneded operation eand the interrupt is generated this object function is called which marks which action completed. | |
| void | CAN_Inizialize (void) |
| The CAN initialization function. | |
Variables | |
| int8_t | Status_Error_Codes_CAN |
| Macros. | |
| int32_t | status |
| volatile uint8_t | rx_data [8] |
| Received data vector. | |
| ARM_CAN_MSG_INFO | rx_msg_info |
| uint32_t | rx_obj_idx = 0U |
| uint8_t | tx_data [8] |
| Transmission data vector. | |
| ARM_CAN_MSG_INFO | tx_msg_info |
| uint32_t | tx_obj_idx = 1U |
| This is the variable which resembles the flags from the communication. | |
| uint32_t volatile | evento_CAN |
| This is the variable which resembles the flags from the communication. | |
| bool | messaggio_CAN_arrivato = false |
| This variable is set to true as soon as a reception have been concluded. | |
| bool | messaggio_CAN_spedito = false |
| This variable is set to true as soon as a transmission have been concluded. | |
| ARM_DRIVER_CAN | Driver_CAN1 |
| Viene inclusa la Periferica CAN1. | |
| ARM_DRIVER_CAN * | CANdrv = &Driver_CAN1 |
| unsigned int | indirizzo_CAN_della_scheda =0x12345678 |
| Per ora lo assegnamo cos\i l'indirizzo della scheda. | |