![]() |
Synergy Software Package User's Manual
|
#include <r_ptp.h>
Data Fields | |
| ssp_err_t(* | p_callback )(ptp_callback_args_t *p_args) |
| IRQn_Type | mint_irq |
| MINT interrupt IRQ number. | |
| ptp_device_t | device |
| PTP clock type. | |
| ptp_state_t | state [2] |
| PTP clock state. | |
| ptp_delay_mechanism_t | delay [2] |
| PTP delay correction mechanism. | |
| ptp_frame_format_t | frame_format [2] |
| PTP message frame format. | |
| ptp_stca_mode_t | stca_mode |
| STCA synchronous mode. | |
| ptp_address_t | address [2] |
| IP and MAC address. | |
| uint32_t | open |
| Flag to determine if the device is open. | |
| uint8_t | eptpc_flag [2] |
| Flag to check the EPTPC channel. | |
| uint8_t | infabt_flag [2] |
| Flag to check INFABT status. | |
| void * | p_reg_gen |
| Pointer to R_EPTPC_GEN_Type base register. | |
| void * | p_reg_cfg |
| Pointer to R_EPTPC_CFG_Type base register. | |
| void * | p_reg [2] |
| Pointer to R_EPTPC0_Type base register. | |
| void const * | p_context |
| Placeholder for user data. | |
| void const * | p_extend |
| Extension parameter for hardware specific settings. | |
PTP instance control block. DO NOT INITIALIZE. Initialized in ptp_api_t::open().
| ssp_err_t(* ptp_instance_ctrl_t::p_callback) (ptp_callback_args_t *p_args) |
Callback provided when a PTP message is received. NULL indicates no CPU interrupt.