![]() |
MT2523 API Reference
LinkIt SDK v4
|
Enumerations | |
| enum | hal_pwm_status_t { HAL_PWM_STATUS_ERROR = -4, HAL_PWM_STATUS_ERROR_CHANNEL = -3, HAL_PWM_STATUS_INVALID_PARAMETER = -2, HAL_PWM_STATUS_INVALID_FREQUENCY = -1, HAL_PWM_STATUS_OK = 0 } |
| This enum defines the API return type. More... | |
| enum | hal_pwm_running_status_t { HAL_PWM_IDLE = 0, HAL_PWM_BUSY = 1 } |
| This enum defines the PWM running status. More... | |
| enum | hal_pwm_advanced_config_t { HAL_PWM_CLOCK_DIVISION_2 = 1, HAL_PWM_CLOCK_DIVISION_4 = 2, HAL_PWM_CLOCK_DIVISION_8 = 3 } |
| This enum defines PWM clock division advanced configuration. More... | |
| enum | hal_pwm_channel_t { HAL_PWM_0 = 0, HAL_PWM_1 = 1, HAL_PWM_2 = 2, HAL_PWM_3 = 3, HAL_PWM_4 = 4, HAL_PWM_5 = 5, HAL_PWM_MAX_CHANNEL } |
| The PWM channels. More... | |
| enum | hal_pwm_source_clock_t { HAL_PWM_CLOCK_13MHZ = 0, HAL_PWM_CLOCK_32KHZ = 1 } |
| PWM clock source options. More... | |
| enum hal_pwm_channel_t |
| enum hal_pwm_status_t |
This enum defines the API return type.