Searched refs:hi_pwm_port (Results 1 – 4 of 4) sorted by relevance
32 hi_u32 hi_pwm_init(hi_pwm_port port) in hi_pwm_init()82 hi_void pwm_deinit_clken(hi_pwm_port port) in pwm_deinit_clken()100 hi_u32 hi_pwm_deinit(hi_pwm_port port) in hi_pwm_deinit()136 static hi_void pwm_set_enable(hi_pwm_port port, hi_bool flag) in pwm_set_enable()147 static hi_void pwm_set_freq(hi_pwm_port port, hi_u16 freq) in pwm_set_freq()152 static hi_void pwm_set_duty(hi_pwm_port port, hi_u16 duty) in pwm_set_duty()157 static hi_void pwm_take_effect(hi_pwm_port port) in pwm_take_effect()162 hi_u32 hi_pwm_start(hi_pwm_port port, hi_u16 duty, hi_u16 freq) in hi_pwm_start()184 hi_u32 hi_pwm_stop(hi_pwm_port port) in hi_pwm_stop()204 hi_u32 pwm_check_port(hi_pwm_port port) in pwm_check_port()
42 hi_u32 pwm_check_port(hi_pwm_port port);43 hi_bool pwm_is_init(hi_pwm_port port);44 hi_u32 pwm_lock(hi_pwm_port port);45 hi_u32 pwm_unlock(hi_pwm_port port);46 pwm_ctl *pwm_get_ctl(hi_pwm_port port);
62 } hi_pwm_port; typedef87 hi_u32 hi_pwm_init(hi_pwm_port port);107 hi_u32 hi_pwm_deinit(hi_pwm_port port);153 hi_u32 hi_pwm_start(hi_pwm_port port, hi_u16 duty, hi_u16 freq);172 hi_u32 hi_pwm_stop(hi_pwm_port port);
32 return hi_pwm_init((hi_pwm_port)port); in IoTPwmInit()37 return hi_pwm_deinit((hi_pwm_port)port); in IoTPwmDeinit()56 return hi_pwm_start((hi_pwm_port)port, hiDuty, hiFreq); in IoTPwmStart()61 return hi_pwm_stop((hi_pwm_port)port); in IoTPwmStop()