76#ifndef ALT_DMA_PERIPH_PROVISION_16550_SUPPORT
77#define ALT_DMA_PERIPH_PROVISION_16550_SUPPORT (1)
80#ifndef ALT_DMA_PERIPH_PROVISION_QSPI_SUPPORT
81#define ALT_DMA_PERIPH_PROVISION_QSPI_SUPPORT (1)
790 const void * src_buf,
792 uint32_t register_width_bits,
838 const void * src_reg,
840 uint32_t register_width_bits,
enum ALT_DMA_PERIPH_e ALT_DMA_PERIPH_t
enum ALT_DMA_CHANNEL_e ALT_DMA_CHANNEL_t
enum ALT_DMA_EVENT_e ALT_DMA_EVENT_t
enum ALT_DMA_SECURITY_e ALT_DMA_SECURITY_t
ALT_STATUS_CODE alt_dma_int_status_get(ALT_DMA_EVENT_t irq_num)
Definition: alt_dma.c:805
ALT_DMA_PERIPH_MUX_e
Definition: alt_dma.h:274
ALT_STATUS_CODE alt_dma_send_event(ALT_DMA_EVENT_t evt_num)
Definition: alt_dma.c:619
ALT_STATUS_CODE alt_dma_channel_reg_get(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_REG_t reg, uint32_t *val)
Definition: alt_dma.c:578
ALT_DMA_MANAGER_STATE_e
Definition: alt_dma.h:102
ALT_STATUS_CODE alt_dma_channel_alloc(ALT_DMA_CHANNEL_t channel)
Definition: alt_dma.c:323
ALT_STATUS_CODE alt_dma_event_int_select(ALT_DMA_EVENT_t evt_num, ALT_DMA_EVENT_SELECT_t opt)
Definition: alt_dma.c:735
ALT_STATUS_CODE alt_dma_uninit(void)
Definition: alt_dma.c:304
ALT_STATUS_CODE alt_dma_event_int_status_get_raw(ALT_DMA_EVENT_t evt_num)
Definition: alt_dma.c:772
enum ALT_DMA_CHANNEL_FAULT_e ALT_DMA_CHANNEL_FAULT_t
enum ALT_DMA_MANAGER_FAULT_e ALT_DMA_MANAGER_FAULT_t
ALT_STATUS_CODE alt_dma_manager_fault_status_get(ALT_DMA_MANAGER_FAULT_t *fault)
Definition: alt_dma.c:700
ALT_STATUS_CODE alt_dma_channel_fault_status_get(ALT_DMA_CHANNEL_t channel, ALT_DMA_CHANNEL_FAULT_t *fault)
Definition: alt_dma.c:709
enum ALT_DMA_PERIPH_MUX_e ALT_DMA_PERIPH_MUX_t
ALT_STATUS_CODE alt_dma_manager_state_get(ALT_DMA_MANAGER_STATE_t *state)
Definition: alt_dma.c:661
ALT_STATUS_CODE alt_dma_channel_alloc_any(ALT_DMA_CHANNEL_t *allocated)
Definition: alt_dma.c:355
ALT_DMA_CHANNEL_STATE_e
Definition: alt_dma.h:117
ALT_DMA_EVENT_SELECT_e
Definition: alt_dma.h:254
ALT_DMA_MANAGER_FAULT_e
Definition: alt_dma.h:137
struct ALT_DMA_CFG_s ALT_DMA_CFG_t
ALT_STATUS_CODE alt_dma_channel_exec(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *pgm)
Definition: alt_dma.c:424
ALT_STATUS_CODE alt_dma_channel_free(ALT_DMA_CHANNEL_t channel)
Definition: alt_dma.c:379
ALT_STATUS_CODE alt_dma_channel_kill(ALT_DMA_CHANNEL_t channel)
Definition: alt_dma.c:501
enum ALT_DMA_EVENT_SELECT_e ALT_DMA_EVENT_SELECT_t
ALT_STATUS_CODE alt_dma_init(const ALT_DMA_CFG_t *dma_cfg)
Definition: alt_dma.c:213
enum ALT_DMA_MANAGER_STATE_e ALT_DMA_MANAGER_STATE_t
enum ALT_DMA_CHANNEL_STATE_e ALT_DMA_CHANNEL_STATE_t
ALT_STATUS_CODE alt_dma_int_clear(ALT_DMA_EVENT_t irq_num)
Definition: alt_dma.c:838
ALT_STATUS_CODE alt_dma_channel_state_get(ALT_DMA_CHANNEL_t channel, ALT_DMA_CHANNEL_STATE_t *state)
Definition: alt_dma.c:672
ALT_DMA_CHANNEL_FAULT_e
Definition: alt_dma.h:179
@ ALT_DMA_PERIPH_MUX_DEFAULT
Definition: alt_dma.h:278
@ ALT_DMA_PERIPH_MUX_FPGA
Definition: alt_dma.h:283
@ ALT_DMA_PERIPH_MUX_CAN
Definition: alt_dma.h:288
@ ALT_DMA_MANAGER_STATE_CACHE_MISS
Definition: alt_dma.h:105
@ ALT_DMA_MANAGER_STATE_WFE
Definition: alt_dma.h:107
@ ALT_DMA_MANAGER_STATE_FAULTING
Definition: alt_dma.h:108
@ ALT_DMA_MANAGER_STATE_STOPPED
Definition: alt_dma.h:103
@ ALT_DMA_MANAGER_STATE_EXECUTING
Definition: alt_dma.h:104
@ ALT_DMA_MANAGER_STATE_UPDATING_PC
Definition: alt_dma.h:106
@ ALT_DMA_CHANNEL_STATE_FAULTING_COMPLETING
Definition: alt_dma.h:127
@ ALT_DMA_CHANNEL_STATE_STOPPED
Definition: alt_dma.h:118
@ ALT_DMA_CHANNEL_STATE_FAULTING
Definition: alt_dma.h:128
@ ALT_DMA_CHANNEL_STATE_WFP
Definition: alt_dma.h:124
@ ALT_DMA_CHANNEL_STATE_KILLING
Definition: alt_dma.h:125
@ ALT_DMA_CHANNEL_STATE_UPDATING_PC
Definition: alt_dma.h:121
@ ALT_DMA_CHANNEL_STATE_AT_BARRIER
Definition: alt_dma.h:123
@ ALT_DMA_CHANNEL_STATE_EXECUTING
Definition: alt_dma.h:119
@ ALT_DMA_CHANNEL_STATE_COMPLETING
Definition: alt_dma.h:126
@ ALT_DMA_CHANNEL_STATE_WFE
Definition: alt_dma.h:122
@ ALT_DMA_CHANNEL_STATE_CACHE_MISS
Definition: alt_dma.h:120
@ ALT_DMA_EVENT_SELECT_SEND_EVT
Definition: alt_dma.h:259
@ ALT_DMA_EVENT_SELECT_SIG_IRQ
Definition: alt_dma.h:265
@ ALT_DMA_MANAGER_FAULT_UNDEF_INSTR
Definition: alt_dma.h:170
@ ALT_DMA_MANAGER_FAULT_OPERAND_INVALID
Definition: alt_dma.h:165
@ ALT_DMA_MANAGER_FAULT_DBG_INSTR
Definition: alt_dma.h:142
@ ALT_DMA_MANAGER_FAULT_DMAGO_ERR
Definition: alt_dma.h:159
@ ALT_DMA_MANAGER_FAULT_INSTR_FETCH_ERR
Definition: alt_dma.h:147
@ ALT_DMA_MANAGER_FAULT_MGR_EVNT_ERR
Definition: alt_dma.h:153
@ ALT_DMA_CHANNEL_FAULT_OPERAND_INVALID
Definition: alt_dma.h:240
@ ALT_DMA_CHANNEL_FAULT_MFIFO_ERR
Definition: alt_dma.h:215
@ ALT_DMA_CHANNEL_FAULT_UNDEF_INSTR
Definition: alt_dma.h:245
@ ALT_DMA_CHANNEL_FAULT_CH_RDWR_ERR
Definition: alt_dma.h:221
@ ALT_DMA_CHANNEL_FAULT_CH_EVNT_ERR
Definition: alt_dma.h:234
@ ALT_DMA_CHANNEL_FAULT_LOCKUP_ERR
Definition: alt_dma.h:183
@ ALT_DMA_CHANNEL_FAULT_DBG_INSTR
Definition: alt_dma.h:189
@ ALT_DMA_CHANNEL_FAULT_CH_PERIPH_ERR
Definition: alt_dma.h:227
@ ALT_DMA_CHANNEL_FAULT_INSTR_FETCH_ERR
Definition: alt_dma.h:204
@ ALT_DMA_CHANNEL_FAULT_DATA_READ_ERR
Definition: alt_dma.h:194
@ ALT_DMA_CHANNEL_FAULT_DATA_WRITE_ERR
Definition: alt_dma.h:199
@ ALT_DMA_CHANNEL_FAULT_ST_DATA_UNAVAILABLE
Definition: alt_dma.h:209
enum ALT_DMA_PROGRAM_REG_e ALT_DMA_PROGRAM_REG_t
ALT_STATUS_CODE alt_dma_memory_to_register(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *program, void *dst_reg, const void *src_buf, size_t count, uint32_t register_width_bits, bool send_evt, ALT_DMA_EVENT_t evt)
Definition: alt_dma.c:1504
ALT_STATUS_CODE alt_dma_register_to_memory(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *program, void *dst_buf, const void *src_reg, size_t count, uint32_t register_width_bits, bool send_evt, ALT_DMA_EVENT_t evt)
Definition: alt_dma.c:1780
ALT_STATUS_CODE alt_dma_memory_to_memory(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *program, void *dest, const void *src, size_t size, bool send_evt, ALT_DMA_EVENT_t evt)
Definition: alt_dma.c:866
ALT_STATUS_CODE alt_dma_memory_to_periph(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *program, ALT_DMA_PERIPH_t dest, const void *src, size_t size, void *periph_info, bool send_evt, ALT_DMA_EVENT_t evt)
Definition: alt_dma.c:3508
ALT_STATUS_CODE alt_dma_zero_to_memory(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *program, void *buf, size_t size, bool send_evt, ALT_DMA_EVENT_t evt)
Definition: alt_dma.c:1269
ALT_STATUS_CODE alt_dma_periph_to_memory(ALT_DMA_CHANNEL_t channel, ALT_DMA_PROGRAM_t *program, void *dest, ALT_DMA_PERIPH_t src, size_t size, void *periph_info, bool send_evt, ALT_DMA_EVENT_t evt)
Definition: alt_dma.c:3601
int32_t ALT_STATUS_CODE
Definition: hwlib.h:60
Definition: alt_dma.h:298
ALT_DMA_SECURITY_t periph_sec[32]
Definition: alt_dma.h:316
ALT_DMA_PERIPH_MUX_t periph_mux[4]
Definition: alt_dma.h:324
ALT_DMA_SECURITY_t irq_sec[8]
Definition: alt_dma.h:309
ALT_DMA_SECURITY_t manager_sec
Definition: alt_dma.h:302
Definition: alt_dma_program.h:111