CRpi
A library for rpi with intefaces to: gpio, pwm, dma
Data Fields
ControlBlock_struct Struct Reference

Describes a control block, contorl blocks are needed to load the registers of the DMA engine and start a transfer. More...

#include <dma.h>

Data Fields

uint32_t transferInfo
 The tranfer info register: fill using the TI_* macros.
 
uint32_t srcAddrPhys
 The physical source address.
 
uint32_t dstAddrPhys
 The physical destination address.
 
uint32_t transferLength
 The transfer length register, fill using the TL_* macros.
 
uint32_t _2DStrideMode
 The 2DStride register, fill using the REG_2D_* macros.
 
uint32_t nextControlBlockAddrPhys
 The physical address of the next control block, 0 if there isn't a next control block.
 
uint32_t zero1
 This must be zero.
 
uint32_t zero2
 This must be zero.
 

Detailed Description

Describes a control block, contorl blocks are needed to load the registers of the DMA engine and start a transfer.


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