MT7697 API Reference  LinkIt SDK v4
Enum

Overview

Enumerations

enum  hal_gdma_status_t {
  HAL_GDMA_STATUS_ERROR = -3,
  HAL_GDMA_STATUS_ERROR_CHANNEL = -2,
  HAL_GDMA_STATUS_INVALID_PARAMETER = -1,
  HAL_GDMA_STATUS_OK = 0
}
 GDMA status. More...
 
enum  hal_gdma_event_t {
  HAL_GDMA_EVENT_TRANSACTION_ERROR = -1,
  HAL_GDMA_EVENT_TRANSACTION_SUCCESS = 0
}
 GDMA transaction error. More...
 
enum  hal_gdma_running_status_t {
  HAL_GDMA_IDLE = 0,
  HAL_GDMA_BUSY = 1
}
 GDMA current running status. More...
 
enum  hal_gdma_channel_t {
  HAL_GDMA_CHANNEL_0 = 0,
  HAL_GDMA_CHANNEL_1 = 1,
  HAL_GDMA_CHANNEL_MAX
}
 gdma channel More...
 

Enumeration Type Documentation

gdma channel

Enumerator
HAL_GDMA_CHANNEL_0 

gdma channel 0

HAL_GDMA_CHANNEL_1 

gdma channel 1

HAL_GDMA_CHANNEL_MAX 

gdma max channel <invalid>

GDMA transaction error.

Enumerator
HAL_GDMA_EVENT_TRANSACTION_ERROR 

GDMA transaction error occurred.

HAL_GDMA_EVENT_TRANSACTION_SUCCESS 

GDMA transaction completed successfully.

GDMA current running status.

Enumerator
HAL_GDMA_IDLE 

GDMA idle.

HAL_GDMA_BUSY 

GDMA busy.

GDMA status.

Enumerator
HAL_GDMA_STATUS_ERROR 

GDMA function error occurred.

HAL_GDMA_STATUS_ERROR_CHANNEL 

Invalid GDMA channel.

HAL_GDMA_STATUS_INVALID_PARAMETER 

Invalid input parameter.

HAL_GDMA_STATUS_OK 

GDMA completed successfully.