Altera Embedded Peripherals IP Manuel d'utilisateur Page 207

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 336
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 206
Programming with SG-DMA Controller
This section describes the device and descriptor data structures, and the application programming
interface (API) for the SG-DMA controller core.
Data Structure
Table 21-13: Device Data Structure
typedef struct alt_sgdma_dev
{
alt_llist llist; // Device linked-list entry
const char *name; // Name of SGDMA in SOPC System
void *base; // Base address of SGDMA
alt_u32 *descriptor_base; // reserved
alt_u32 next_index; // reserved
alt_u32 num_descriptors; // reserved
alt_sgdma_descriptor *current_descriptor; // reserved
alt_sgdma_descriptor *next_descriptor; // reserved
alt_avalon_sgdma_callback callback; // Callback routine pointer
void *callback_context; // Callback context pointer
alt_u32 chain_control; // Value OR'd into control reg
} alt_sgdma_dev;
21-16
Programming with SG-DMA Controller
UG-01085
2014.24.07
Altera Corporation
Scatter-Gather DMA Controller Core
Send Feedback
Vue de la page 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 335 336

Commentaires sur ces manuels

Pas de commentaire