13#define MAX_ARRAY_SIZE 25
Init the structs Inicialization of structs with Data, Time and Alarm values.
void CAN_TP_Periodic_Task(CAN_TP_Header *header)
Task process for CAN_TP.
Definition can_tp.c:169
#define MAX_ARRAY_SIZE
Definition can_tp.h:13
void CAN_TP_MessageGet(CAN_TP_Header *header, uint8_t *data, uint8_t data_length)
Gets the processed message.
Definition can_tp.c:704
void CAN_TP_NewMessage(CAN_TP_Header *header, void *buffer)
Handles a new message received by CAN_TP.
Definition can_tp.c:672
uint8_t CAN_TP_IsMessageReady(const CAN_TP_Header *header)
Checks if the message is ready to be processed.
Definition can_tp.c:687
void CAN_TP_TransmitInterruptMessage(CAN_TP_Header *header)
Message transmission with interruption.
Definition can_tp.c:731
void CAN_TP_RxSeparationTimeSet(CAN_TP_Header *header, uint8_t separationTime)
Sets the separation time between received messages.
Definition can_tp.c:570
void CAN_TP_RxBlockSizeSet(CAN_TP_Header *header, uint8_t blockSize)
Sets the block size for received messages.
Definition can_tp.c:585
struct _CAN_MsgTypeDef CAN_MsgTypeDef
struct store the element saved the messages of the module FDCAN for CAN Message Elements.
void CAN_TP_TransmitMessage(CAN_TP_Header *header, const uint8_t *data, uint32_t length)
Initiates the transmission of a CAN_TP_Transmited message.
Definition can_tp.c:601
void CAN_TP_Tick(void)
Timing function for CAN_TP.
Definition can_tp.c:657
void CAN_TP_Init(CAN_TP_Header *header)
Initializes the CAN_TP configuration for the CAN_TP_Periodic_Task.
Definition can_tp.c:156
struct _CAN_TP_Header CAN_TP_Header
struct store the element saved the messages of the module FDCAN for CAN_TP Header information.
void CAN_TP_RxMessageBufferSet(CAN_TP_Header *header, uint8_t *buffer, uint32_t bufferSize)
Sets the received message buffer and its size.
Definition can_tp.c:553
struct store the element saved the messages of the module FDCAN for CAN Message Elements.
Definition can_tp.h:19
uint8_t Messagetype
Definition can_tp.h:21
uint8_t Data[7]
Definition can_tp.h:22