35 #include "hal_platform.h" 37 #ifndef __HAL_DISPLAY_PWM_H__ 38 #define __HAL_DISPLAY_PWM_H__ 40 #ifdef HAL_DISPLAY_PWM_MODULE_ENABLED Successful.
Definition: hal_display_pwm.h:106
Failed.
Definition: hal_display_pwm.h:104
hal_display_pwm_status_t hal_display_pwm_set_clock(hal_display_pwm_clock_t clock)
This function sets the input clock of the PWM hardware.
26MHz source clock.
Definition: hal_display_pwm.h:97
hal_display_pwm_clock_t
The input source clock for the PWM.
Definition: hal_display_pwm.h:96
hal_display_pwm_status_t hal_display_pwm_set_width(uint32_t width)
This function sets the PWM duty cycle in integer format.
hal_display_pwm_status_t hal_display_pwm_init(hal_display_pwm_clock_t clock)
This function initializes the display PWM hardware.
hal_display_pwm_status_t hal_display_pwm_deinit(void)
This function de-initializes the display PWM hardware.
Invalid parameter.
Definition: hal_display_pwm.h:105
hal_display_pwm_status_t
The return status of display PWM API.
Definition: hal_display_pwm.h:103
hal_display_pwm_status_t hal_display_pwm_set_duty(uint8_t percentage)
This function sets the PWM duty cycle in percentage.
The number of source clocks.
Definition: hal_display_pwm.h:99
104MHz source clock.
Definition: hal_display_pwm.h:98