MT2523 API Reference  LinkIt SDK v4
Enum
HAL » DAC

Overview

Enumerations

enum  hal_dac_status_t {
  HAL_DAC_STATUS_INVALID_PARAMETER = -3,
  HAL_DAC_STATUS_ERROR_BUSY = -2,
  HAL_DAC_STATUS_ERROR = -1,
  HAL_DAC_STATUS_OK = 0
}
 This enum defines the DAC API return status. More...
 
enum  hal_dac_mode_t { HAL_DAC_REPEAT_MODE = 0 }
 This enum defines the DAC output mode, only repeat mode is supported right now. More...
 

Enumeration Type Documentation

This enum defines the DAC output mode, only repeat mode is supported right now.

In repeat mode, DAC will output the waveform pattern continuously.

Enumerator
HAL_DAC_REPEAT_MODE 

DAC output in repeat mode.

This enum defines the DAC API return status.

Enumerator
HAL_DAC_STATUS_INVALID_PARAMETER 

Invalid parameter.

HAL_DAC_STATUS_ERROR_BUSY 

DAC is busy.

HAL_DAC_STATUS_ERROR 

DAC error.

HAL_DAC_STATUS_OK 

DAC ok.