]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/pwm.h
2 * header file for pwm driver.
4 * Copyright (c) 2011 samsung electronics
5 * Donghwa Lee <dh09.lee@samsung.com>
7 * SPDX-License-Identifier: GPL-2.0+
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
);