Synergy Software Package User's Manual
dmac_instance_ctrl_t Struct Reference

#include <r_dmac.h>

Data Fields

uint32_t id
 Driver ID.
 
elc_event_t trigger
 Transfer activation event. Matches event returned by transfer_api_t::infoGet.
 
IRQn_Type irq
 Transfer activation IRQ.
 
uint8_t channel
 Channel number.
 
uint8_t ir_flag_stat
 Status of IR bit in DELSR register.
 
int32_t offset_byte
 Value of offset in bytes for offset addressing mode.
 
void(* p_callback )(transfer_callback_args_t *cb_data)
 
void const * p_context
 
void * p_reg
 

Detailed Description

Control block used by driver. DO NOT INITIALIZE - this structure will be initialized in transfer_api_t::open.

Field Documentation

◆ p_callback

void(* dmac_instance_ctrl_t::p_callback) (transfer_callback_args_t *cb_data)

Callback for transfer end interrupt.

◆ p_context

void const* dmac_instance_ctrl_t::p_context

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

◆ p_reg

void* dmac_instance_ctrl_t::p_reg

Pointer to base register.


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