drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated.

This commit is contained in:
Augusto Fraga Giachero
2019-09-02 07:53:52 -06:00
committed by Gregory Nutt
parent fc250074b3
commit 68bbc8438c
75 changed files with 118 additions and 169 deletions
+1 -1
View File
@@ -5320,7 +5320,7 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
</p>
<ul>
<li><b>Interface Definition</b>.
The header file for the NuttX PWM driver reside at <code>include/nuttx/drivers/pwm.h</code>.
The header file for the NuttX PWM driver reside at <code>include/nuttx/timers/pwm.h</code>.
This header file includes both the application level interface to the PWM driver as well as the interface between the &quot;upper half&quot; and &quot;lower half&quot; drivers.
The PWM module uses a standard character driver framework.
However, since the PWM driver is a devices control interface and not a data transfer interface,