isotp-c
Platform-independent ISO 15765-2 transport for embedded C
Loading...
Searching...
No Matches
isotp_user.h
Go to the documentation of this file.
1
2
// ___ ___ ___ _____ ___ ___ //
3
// |_ _/ __|/ _ \_ _| _ \___ / __| //
4
// | |\__ \ (_) || | | _/___| (__ //
5
// |___|___/\___/ |_| |_| \___| //
6
// //
8
9
#ifndef ISOTPC_USER_H
10
#define ISOTPC_USER_H
11
12
#include <stdint.h>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
22
26
37
void
isotp_user_debug
(
const
char
* message, ...);
38
61
int
isotp_user_send_can
(
const
uint32_t arbitration_id,
const
uint8_t* data,
const
uint8_t size
62
#ifdef
ISO_TP_USER_SEND_CAN_FLAGS
63
,
const
uint8_t flags
64
#endif
65
#ifdef
ISO_TP_USER_SEND_CAN_ARG
66
,
void
* arg
67
#endif
68
);
69
78
uint32_t
isotp_user_get_us
(
void
);
79
81
82
#ifdef __cplusplus
83
}
84
#endif
85
86
#endif
// ISOTPC_USER_H
ISO_TP_USER_SEND_CAN_FLAGS
#define ISO_TP_USER_SEND_CAN_FLAGS
Definition
isotp_config.h:120
ISO_TP_USER_SEND_CAN_ARG
#define ISO_TP_USER_SEND_CAN_ARG
Definition
isotp_config.h:110
isotp_user_debug
void isotp_user_debug(const char *message,...)
Receive a diagnostic message from the library.
isotp_user_get_us
uint32_t isotp_user_get_us(void)
Return the current 32-bit monotonic time in microseconds.
isotp_user_send_can
int isotp_user_send_can(const uint32_t arbitration_id, const uint8_t *data, const uint8_t size, const uint8_t flags, void *arg)
Submit one CAN or CAN FD frame to the application's driver.
isotp_user.h
Generated by
1.15.0