libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
dma.h File Reference
#include <stdint.h>
#include <wonderful.h>
#include "hardware.h"
#include "util.h"

Go to the source code of this file.

Macros

#define ws_dma_set_source(src)
 
#define ws_sdma_set_source(src)
 

Functions

static void ws_dma_set_sourcep (const void __far *src)
 
static void ws_dma_set_sourcei (uint32_t src)
 
static void ws_sdma_set_sourcep (const void __far *src)
 
static void ws_sdma_set_sourcei (uint32_t src)
 
static void ws_sdma_set_length (uint32_t length)
 
void ws_dma_copy_words_linear (void __wf_iram *dest, uint32_t src, uint16_t length)
 Copy words from a source linear address to a destination pointer using DMA.
 
static void ws_dma_copy_words (void __wf_iram *dest, const void __far *src, uint16_t length)
 Copy words from a source pointer to a destination pointer using DMA.
 
void ws_dma_opt_copy_words (void __wf_iram *dest, const void __far *src, uint16_t length)
 Copy words from a source pointer to a destination pointer, using DMA if present.
 

Detailed Description

Functionality related to DMA transfers.

Definition in file dma.h.