PMSIS API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dmacpy.h File Reference

Data Structures

struct  pi_dmacpy_conf
 DMA Memcpy configuration options. More...
 

Enumerations

enum  pi_dmacpy_dir_e
 Memcpy direction. More...
 

Functions

void pi_dmacpy_conf_init (struct pi_dmacpy_conf *conf)
 Initialize DMA memcpy config. More...
 
int pi_dmacpy_open (struct pi_device *device)
 Open a DMA Memcpy device. More...
 
void pi_dmacpy_close (struct pi_device *device)
 Close an opened DMA Memcpy device. More...
 
int pi_dmacpy_copy (struct pi_device *device, void *src, void *dst, uint32_t size, pi_dmacpy_dir_e dir)
 Synchronous copy. More...
 
int pi_dmacpy_copy_async (struct pi_device *device, void *src, void *dst, uint32_t size, pi_dmacpy_dir_e dir, struct pi_task *task)
 Asynchronous copy. More...