38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
#ifndef UDS_MANAGE_H
|
|
#define UDS_MANAGE_H
|
|
/*!
|
|
* @file uds_manage.h
|
|
* @brief interaction layer between UDS service and TP layer.
|
|
*
|
|
*/
|
|
|
|
#include "uds_types.h"
|
|
|
|
extern bool HAL_Response_Pocessing; /*!< UDS Response Processing */
|
|
|
|
void HAL_UDS_Init(void);
|
|
uint8_t HAL_UDS_Rx_DLC(void);
|
|
void HAL_UDS_Get_Buf(uint8_t* appl_data_ptr);
|
|
void HAL_UDS_PHY_Rx_Callback(uint8_t *p_l_can_data_ptr, uint8_t p_l_can_msg_dlc);
|
|
void HAL_UDS_FUN_Rx_Callback(uint8_t *p_l_can_data_ptr, uint8_t p_l_can_msg_dlc);
|
|
void HAL_UDS_Tx_Callback(void);
|
|
void HAL_UDS_Set_Tx_DLC(uint8_t in_dlc);
|
|
void HAL_UDS_Set_Tx_Buf(uint8_t* in_buf);
|
|
void HAL_UDS_Transmit_Buffer_Empty(void);
|
|
void HAL_UDS_FF_Indication(uint16_t TPReceivexMessageLength);
|
|
void HAL_UDS_Change_Parameter_Confirm(uint8_t Parameter,
|
|
uint8_t ParameterChangeResult);
|
|
void HAL_UDS_FF_Confirmation(void);
|
|
void HAL_UDS_Response_Confirm(uint8_t N_Result);
|
|
void HAL_UDS_Indication(uint16_t TPReceivexMessageLength,
|
|
uint8_t N_Result);
|
|
uint8_t * TP_Get_Message_Buffer_Pointer(void);
|
|
|
|
void HAL_UDS_Set_Tx_ID(uint8_t id);
|
|
|
|
void HAL_UDS_Transmit_Physical_Request(uint16_t in_dlc, uint8_t* in_buf);
|
|
void HAL_UDS_Periodic_Task(void);
|
|
void HAL_UDS_Transmit_Pending_Response(uint8_t SericeID,uint8_t ErrCode);//THT
|
|
|
|
#endif
|