Synergy Software Package User's Manual

#include <r_transfer_api.h>

Data Fields

transfer_info_tp_info
 
elc_event_t activation_source
 
bool auto_enable
 
uint8_t irq_ipl
 
void(* p_callback )(transfer_callback_args_t *p_args)
 
void const * p_context
 
void const * p_extend
 Extension parameter for hardware specific settings.
 

Detailed Description

Driver configuration set in transfer_api_t::open. All elements except p_extend are required and must be initialized.

Field Documentation

◆ activation_source

elc_event_t transfer_cfg_t::activation_source

Select which event will trigger the transfer.

Note
Select ELC_EVENT_ELC_SOFTWARE_EVENT_0 or ELC_EVENT_ELC_SOFTWARE_EVENT_0 for software activation. When using DTC, these events may only be used once each. DMAC uses internal software start when either of these events are selected.

◆ auto_enable

bool transfer_cfg_t::auto_enable

Select whether the transfer should be enabled after open.

◆ irq_ipl

uint8_t transfer_cfg_t::irq_ipl

Interrupt priority level.

Warning
Unsupported for DTC except when ELC software events are used. DTC transfers trigger the interrupt associated with the activation source.

◆ p_callback

void(* transfer_cfg_t::p_callback) (transfer_callback_args_t *p_args)

Callback for transfer end interrupt. Set to NULL for no CPU interrupt.

Warning
Unsupported for DTC except when ELC software events are used. DTC transfers trigger the interrupt associated with the activation source.

◆ p_context

void const* transfer_cfg_t::p_context

Placeholder for user data. Passed to the user p_callback in transfer_callback_args_t.

◆ p_info

transfer_info_t* transfer_cfg_t::p_info

Pointer to transfer configuration options. If using chain transfer (DTC only), this can be a pointer to an array of chained transfers that will be completed in order.


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