#include "ptp_port_stm32h743_etherlib.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
#include "stm32h7xx_hal.h"
#include <flexptp_options.h>
Go to the source code of this file.
◆ ptphw_gettime()
◆ ptphw_init()
void ptphw_init |
( |
uint32_t |
increment, |
|
|
uint32_t |
addend |
|
) |
| |
Initialize PTP hardware.
- Parameters
-
increment | PTP hardware clock tick increment in nanoseconds |
addend | initialize frequency tuning code word |
Definition at line 104 of file ptp_port_stm32h743_etherlib.c.
◆ ptphw_restart_pps()
void ptphw_restart_pps |
( |
| ) |
|
◆ ptphw_set_pps_freq()
void ptphw_set_pps_freq |
( |
double |
freq | ) |
|
◆ EthHandle
ETH_HandleTypeDef EthHandle |
|
extern |
◆ sFreq