URL
https://opencores.org/ocsvn/ha1588/ha1588/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 43 |
Rev 44 |
Line 74... |
Line 74... |
#define TSU_TXQUE_DATA_LL 0x0000007C
|
#define TSU_TXQUE_DATA_LL 0x0000007C
|
// define TSU control values
|
// define TSU control values
|
#define TSU_SET_CTRL_0 0x00
|
#define TSU_SET_CTRL_0 0x00
|
#define TSU_GET_RXQUE 0x01
|
#define TSU_GET_RXQUE 0x01
|
#define TSU_SET_RXRST 0x02
|
#define TSU_SET_RXRST 0x02
|
#define TSU_SET_RXMSGID 0xFF000000
|
#define TSU_SET_RXMSGID 0xFF000000 // FF to enable 0x0 to 0x7
|
#define TSU_GET_TXQUE 0x01
|
#define TSU_GET_TXQUE 0x01
|
#define TSU_SET_TXRST 0x02
|
#define TSU_SET_TXRST 0x02
|
#define TSU_SET_TXMSGID 0xFF000000
|
#define TSU_SET_TXMSGID 0xFF000000 // FF to enable 0x0 to 0x7
|
|
|
int ptp_drv_bfm_c(double fw_delay)
|
int ptp_drv_bfm_c(double fw_delay)
|
{
|
{
|
unsigned int cpu_addr_i;
|
unsigned int cpu_addr_i;
|
unsigned int cpu_data_i;
|
unsigned int cpu_data_i;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.