mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
409 B
15 lines
409 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
/* |
|
* (C) Copyright 2014 |
|
* Heiko Schocher, DENX Software Engineering, [email protected]. |
|
* |
|
* Basic support for the pwm module on imx6. |
|
*/ |
|
|
|
#ifndef _pwm_imx_util_h_ |
|
#define _pwm_imx_util_h_ |
|
|
|
struct pwm_regs *pwm_id_to_reg(int pwm_id); |
|
int pwm_imx_get_parms(int period_ns, int duty_ns, unsigned long *period_c, |
|
unsigned long *duty_c, unsigned long *prescale); |
|
#endif
|
|
|