Renesas Single-Chip Microcomputer M38C89T-ADF Bedienungsanleitung Seite 84

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 138
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 83
Rev.1.00 May 22 2012
REJ09B0566
4-64
Library Reference
4.2.6 37BDMA Controller R_DMAC_GetStatus
4
4) R_DMAC_GetStatus
Synopsis
Check the status of the DMA channel.
Prototype bool R_DMAC_GetStatus(
uint8_t data1, // Control options
uint16_t * data2, // Status flags pointer
uint32_t * data3, // Current source address pointer
uint32_t * data4, // Current destination address pointer
uint32_t * data5 // Current transfer byte count
);
Description
Return status flags and current channel registers.
[data1]
The channel number n (where n = 0 to 15).
[data2]
The status flags shall be stored in the following format:
b15 b14 b13 b12 b11 b10 b9 b8
- Cycle Steal Mode Select - Priority Mode
b7 b3 b2 b1 b0
- AE NMIF DME
0: No Address error
occurred
1: Address error
occurred
0 : No NMI interrupt.
1 : NMI interrupt
occurred.
0: DMA transfer is
disabled
1: DMA transfer is
enabled
[data3]
Where the current source address shall be stored. Specify PDL_NA if it is not required.
[data4]
Where the current destination address shall be stored. Specify PDL_NA if it is not required.
[data5]
Where the current transfer byte count shall be stored. Specify PDL_NA if it is not required.
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
DMA controller
Reference
R_DMAC_Create
Remarks If a Transfer End Interrupt request flag is set to 1, the flag will be cleared to 0 by this function.
Seitenansicht 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 137 138

Kommentare zu diesen Handbüchern

Keine Kommentare