Altera Embedded Peripherals IP Manuel d'utilisateur Page 215

  • 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 214
Parameters: *dev—a pointer to the SG-DMA device structure.
Returns: void
Description: Starts the DMA engine and processes the descriptor pointed to in the controller's
next descriptor pointer and all subsequent descriptors in the chain. It is not
necessary to call this function when do_sync or do_async is used.
alt_avalon_sgdma_stop()
Prototype: void alt_avalon_sgdma_stop(alt_sgdma_dev *dev)
Thread-safe: No.
Available from
ISR:
Yes.
Include: <altera_avalon_sgdma.h>, <altera_avalon_sgdma_descriptor.h>, <altera_
avalon_sgdma_regs.h>
Parameters: *dev—a pointer to the SG-DMA device structure.
Returns: void
Description: Stops the DMA engine following completion of the current buffer descriptor. It
is not necessary to call this function when do_sync or do_async is used.
alt_avalon_sgdma_open()
Prototype:
alt_sgdma_dev* alt_avalon_sgdma_open(const char* name)
Thread-safe: Yes.
Available from
ISR:
No.
Include: <altera_avalon_sgdma.h>, <altera_avalon_sgdma_descriptor.h>, <altera_
avalon_sgdma_regs.h>
Parameters: name—the name of the SG-DMA device to open.
Returns: A pointer to the SG-DMA device structure associated with the supplied name, or
NULL if no corresponding SG-DMA device structure was found.
Description: Retrieves a pointer to a hardware SG-DMA device structure.
21-24
alt_avalon_sgdma_stop()
UG-01085
2014.24.07
Altera Corporation
Scatter-Gather DMA Controller Core
Send Feedback
Vue de la page 214
1 2 ... 210 211 212 213 214 215 216 217 218 219 220 ... 335 336

Commentaires sur ces manuels

Pas de commentaire