MT2523 API Reference  LinkIt SDK v4

Overview

Enumerations

enum  hal_display_pwm_clock_t {
  HAL_DISPLAY_PWM_CLOCK_26MHZ = 0,
  HAL_DISPLAY_PWM_CLOCK_104MHZ = 1,
  HAL_DISPLAY_PWM_CLOCK_NUM = 2
}
 The input source clock for the PWM. More...
 
enum  hal_display_pwm_status_t {
  HAL_DISPLAY_PWM_STATUS_ERROR = -2,
  HAL_DISPLAY_PWM_STATUS_INVALID_PARAMETER = -1,
  HAL_DISPLAY_PWM_STATUS_OK = 0
}
 The return status of display PWM API. More...
 

Enumeration Type Documentation

The input source clock for the PWM.

Enumerator
HAL_DISPLAY_PWM_CLOCK_26MHZ 

26MHz source clock.

HAL_DISPLAY_PWM_CLOCK_104MHZ 

104MHz source clock.

HAL_DISPLAY_PWM_CLOCK_NUM 

The number of source clocks.

The return status of display PWM API.

Enumerator
HAL_DISPLAY_PWM_STATUS_ERROR 

Failed.

HAL_DISPLAY_PWM_STATUS_INVALID_PARAMETER 

Invalid parameter.

HAL_DISPLAY_PWM_STATUS_OK 

Successful.