diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index d55c727d2db..d3d4af4f125 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@
Last Updated: December 6, 2011
+Last Updated: December 19, 2011
Last Updated: December 14, 2011
+Last Updated: December 19, 2011
+ The NuttX PWM driver is split into two parts: +
+include/nuttx/analog/.
+ General header files for the NuttX analog drivers reside in include/nuttx/analog/.
+ These header files includes both the application level interface to the analog driver as well as the interface between the "upper half" and "lower half" drivers.
drivers/analog/.
@@ -3182,6 +3195,41 @@ extern void up_ledoff(int led);
+ For the purposes of this driver, a PWM device is any device that generates periodic output pulses of controlled frequency and pulse width. + Such a device might be used, for example, to perform pulse-width modulated output or frequency/pulse-count modulated output + (such as might be needed to control a stepper motor). +
++ The NuttX PWM driver is split into two parts: +
+include/nuttx/pwm.h.
+ This header file includes both the application level interface to the PWM driver as well as the interface between the "upper half" and "lower half" 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,
+ the majority of the functionality available to the application is implemented in driver ioctl calls.
+ drivers/pwm.c.
+ arch/<architecture>/src/<chip> directory for the specific processor <architecture> and for the specific <chip> analog peripheral devices.
+