2025-06-21 13:50:24 +08:00
|
|
|
#ifndef __UART2CANDIAGAPP_H__
|
|
|
|
#define __UART2CANDIAGAPP_H__
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* the includes
|
|
|
|
******************************************************************************/
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* the defines
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* the typedefs
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* the globals
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* the functions
|
|
|
|
******************************************************************************/
|
2025-06-21 17:19:31 +08:00
|
|
|
void U2CD_Init(void);
|
|
|
|
void U2CD_cfg(uint16_t pid,uint16_t fid,uint16_t rid,uint8_t stmin,uint8_t fill);
|
|
|
|
void U2CD_Task(void);
|
|
|
|
void U2CD_TickTask(void);
|
2025-06-21 13:50:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|