]> git.sur5r.net Git - u-boot/blob - include/pwm.h
dfu:core: Find DFU alt setting number by passing its name
[u-boot] / include / pwm.h
1 /*
2  * header file for pwm driver.
3  *
4  * Copyright (c) 2011 samsung electronics
5  * Donghwa Lee <dh09.lee@samsung.com>
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #ifndef _pwm_h_
11 #define _pwm_h_
12
13 int     pwm_init                (int pwm_id, int div, int invert);
14 int     pwm_config              (int pwm_id, int duty_ns, int period_ns);
15 int     pwm_enable              (int pwm_id);
16 void    pwm_disable             (int pwm_id);
17
18 #endif /* _pwm_h_ */