flexPTP
1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
clock_utils.h
Go to the documentation of this file.
1
9
#ifndef FLEXPTP_CLOCK_UTILS_H_
10
#define FLEXPTP_CLOCK_UTILS_H_
11
12
#include <stdint.h>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
22
void
ptp_print_clock_identity
(uint64_t clockID);
23
28
uint64_t
hextoclkid
(
const
char
*str);
29
37
void
ptp_create_clock_identity
(
const
uint8_t * hwa);
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* FLEXPTP_CLOCK_UTILS_H_ */
ptp_create_clock_identity
void ptp_create_clock_identity(const uint8_t *hwa)
Definition:
clock_utils.c:25
ptp_print_clock_identity
void ptp_print_clock_identity(uint64_t clockID)
Definition:
clock_utils.c:16
hextoclkid
uint64_t hextoclkid(const char *str)
Definition:
clock_utils.c:40
src
flexptp
clock_utils.h
Generated by
1.9.6