Synergy Software Package User's Manual
ptpedmac_instance_ctrl_t Struct Reference

#include <r_ptpedmac.h>

Public Member Functions

ptpedmac_descriptor_t p_rx_descriptors [PTPEDMAC_NUM_RX_DESCRIPTORS] BSP_ALIGN_VARIABLE_V2 (16)
 Pointer to receive descriptor aligned to 16 bytes.
 

Data Fields

ssp_err_t(* p_callback )(ptpedmac_callback_args_t *p_args)
 
void const * p_context
 Pointer to user interrupt context data.
 
IRQn_Type pint_irq
 PINT interrupt IRQ number.
 
void * p_reg
 Pointer to R_PTPEDMAC_Type base register.
 
uint32_t open
 Flag to determine if the device is open.
 
ptpedmac_trans_t transfer_flag
 Flag to determine if the PTP host interface is linked.
 
ptpedmac_ether_buffer_t p_ptpedmac_buffer
 Pointer to Ethernet buffer.
 
ptpedmac_descriptor_tp_app_ptp_rx_desc
 Pointer to application descriptor.
 

Detailed Description

PTPEDMAC instance control block. DO NOT INITIALIZE. Initialized in ptpedmac_api_t::open().

Field Documentation

◆ p_callback

ssp_err_t(* ptpedmac_instance_ctrl_t::p_callback) (ptpedmac_callback_args_t *p_args)

Callback provided when a PTP message is received. NULL indicates no CPU interrupt.


The documentation for this struct was generated from the following file: