Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma_status Struct Reference

DMA runtime status structure. More...

#include <dma.h>

Data Fields

bool busy
 Is the current DMA transfer busy or idle.
 
enum dma_channel_direction dir
 Direction for the transfer.
 
uint32_t pending_length
 Pending length to be transferred in bytes, HW specific.
 
uint32_t free
 Available buffers space, HW specific.
 
uint32_t write_position
 Write position in circular DMA buffer, HW specific.
 
uint32_t read_position
 Read position in circular DMA buffer, HW specific.
 
uint64_t total_copied
 Total copied, HW specific.
 

Detailed Description

DMA runtime status structure.

Field Documentation

◆ busy

bool dma_status::busy

Is the current DMA transfer busy or idle.

◆ dir

enum dma_channel_direction dma_status::dir

Direction for the transfer.

◆ free

uint32_t dma_status::free

Available buffers space, HW specific.

◆ pending_length

uint32_t dma_status::pending_length

Pending length to be transferred in bytes, HW specific.

◆ read_position

uint32_t dma_status::read_position

Read position in circular DMA buffer, HW specific.

◆ total_copied

uint64_t dma_status::total_copied

Total copied, HW specific.

◆ write_position

uint32_t dma_status::write_position

Write position in circular DMA buffer, HW specific.


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