Altera Embedded Peripherals IP Instrukcja Użytkownika Strona 207

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 336
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 335 336

Komentarze do niniejszej Instrukcji

Brak uwag