![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
#include "cli_cmds.h"
#include <string.h>
#include "clock_utils.h"
#include "logging.h"
#include "profiles.h"
#include "ptp_core.h"
#include "ptp_profile_presets.h"
#include "ptp_types.h"
#include "settings_interface.h"
Go to the source code of this file.
Macros | |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
Functions | |
void | ptp_register_cli_commands () |
void | ptp_remove_cli_commands () |
#define MAX | ( | a, | |
b | |||
) | (((a) > (b)) ? (a) : (b)) |
Definition at line 23 of file cli_cmds.c.
#define MIN | ( | a, | |
b | |||
) | (((a) < (b)) ? (a) : (b)) |
Definition at line 17 of file cli_cmds.c.
void ptp_register_cli_commands | ( | ) |
Register flexPTP CLI commands. CLI_REG_CMD must be defined and operational to make this work.
Definition at line 353 of file cli_cmds.c.
void ptp_remove_cli_commands | ( | ) |
Remove flexPTP CLI commands.
Definition at line 376 of file cli_cmds.c.