Synergy Software Package User's Manual

Interface for PTPEDMAC functions. More...

Data Structures

struct  ptpedmac_descriptor_t
 
struct  ptpedmac_callback_args_t
 
struct  ptpedmac_cfg_t
 
struct  ptpedmac_api_t
 
struct  ptpedmac_instance_t
 

Typedefs

typedef void ptpedmac_ctrl_t
 

Enumerations

enum  ptpedmac_event_t { PTPEDMAC_EVENT_READ = 0, PTPEDMAC_EVENT_WRITE, PTPEDMAC_EVENT_ERR }
 
enum  ptpedmac_trans_t { PTPEDMAC_TRANS_FLAG_OFF = 0, PTPEDMAC_TRANS_FLAG_ON = 1 }
 

Detailed Description

Interface for PTPEDMAC functions.

Summary

The PTPEDMAC interface supports PTP host interface to receive PTP message.

The PTPEDMAC interface can be implemented by:

Related SSP architecture topics:

PTPEDMAC Interface description: PTPEDMAC Driver on r_ptpedmac

Typedef Documentation

◆ ptpedmac_ctrl_t

typedef void ptpedmac_ctrl_t

PTPEDMAC control block. Allocate an instance specific control block to pass into the PTPEDMAC API calls.

Implemented as

Enumeration Type Documentation

◆ ptpedmac_event_t

PTPEDMAC interrupt event definitions

Enumerator
PTPEDMAC_EVENT_READ 

Frame reception interrupt (FR)

PTPEDMAC_EVENT_WRITE 

Frame transmission interrupt (TC)

PTPEDMAC_EVENT_ERR 

Error interrupt (MACE, RFOF, RDE, TFUF, TDE, ADE and RFCOF)

◆ ptpedmac_trans_t

Enumeration to specify the status of transfer flag

Enumerator
PTPEDMAC_TRANS_FLAG_OFF 

Transfer disable.

PTPEDMAC_TRANS_FLAG_ON 

Transfer enable.