]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/pwm.h
serial/serial_arc: set registers address during compilation
[people/ms/u-boot.git] / include / pwm.h
CommitLineData
3f129280
DL
1/*
2 * header file for pwm driver.
3 *
4 * Copyright (c) 2011 samsung electronics
5 * Donghwa Lee <dh09.lee@samsung.com>
6 *
1a459660 7 * SPDX-License-Identifier: GPL-2.0+
3f129280
DL
8 */
9
10#ifndef _pwm_h_
11#define _pwm_h_
12
13int pwm_init (int pwm_id, int div, int invert);
14int pwm_config (int pwm_id, int duty_ns, int period_ns);
15int pwm_enable (int pwm_id);
16void pwm_disable (int pwm_id);
17
18#endif /* _pwm_h_ */