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
15extern "C" {
16#endif
17
22void ptp_print_clock_identity(uint64_t clockID);
23
28uint64_t hextoclkid(const char *str);
29
37void ptp_create_clock_identity(const uint8_t * hwa);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* FLEXPTP_CLOCK_UTILS_H_ */
void ptp_create_clock_identity(const uint8_t *hwa)
Definition: clock_utils.c:25
void ptp_print_clock_identity(uint64_t clockID)
Definition: clock_utils.c:16
uint64_t hextoclkid(const char *str)
Definition: clock_utils.c:40