diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index ed6109f22da..554bf098c23 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -173,28 +173,30 @@ 6.0 NuttX Device Drivers -

6.3.8 Memory Technology Device Drivers

- - - -

6.3.9 SDIO Device Drivers

- - - -

6.3.10 USB Host-Side Drivers

- - - -

6.3.11 USB Device-Side Drivers

- - - -

6.3.12 Analog (ADC/DAC) Drivers

+

6.1.2 Analog (ADC/DAC) Drivers

The NuttX analog drivers are split into two parts:

@@ -5073,7 +4372,7 @@ void board_led_off(int led); -

6.3.12.1 ADC Drivers

+

6.1.3.1 ADC Drivers

-

6.3.12.2 DAC Drivers

+

6.1.3.2 DAC Drivers

-

6.3.13 PWM Drivers

+

6.1.4 PWM Drivers

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 @@ -5159,7 +4458,7 @@ void board_led_off(int led); -

6.3.14 CAN Drivers

+

6.1.5 CAN Drivers

NuttX supports only a very low-level CAN driver. This driver supports only the data exchange and does not include any high-level CAN protocol. @@ -5190,7 +4489,7 @@ void board_led_off(int led); -

6.3.15 Quadrature Encoder Drivers

+

6.1.6 Quadrature Encoder Drivers

NuttX supports a low-level, two-part Quadrature Encoder driver.

@@ -5219,7 +4518,7 @@ void board_led_off(int led); -

6.3.16 Timer Drivers

+

6.1.7 Timer Drivers

NuttX supports a low-level, two-part timer driver.

@@ -5248,7 +4547,7 @@ void board_led_off(int led); -

6.3.17 RTC Drivers

+

6.1.8 RTC Drivers

NuttX supports a low-level, two-part RealTime Clock (RTC) driver.

@@ -5277,7 +4576,7 @@ void board_led_off(int led); -

6.3.18 Watchdog Timer Drivers

+

6.1.9 Watchdog Timer Drivers

NuttX supports a low-level, two-part watchdog timer driver.

@@ -5306,7 +4605,7 @@ void board_led_off(int led); -

6.3.19 Keyboard/Keypad Drivers

+

6.1.10 Keyboard/Keypad Drivers

Keypads vs. Keyboards Keyboards and keypads are really the same devices for NuttX. @@ -5531,6 +4830,739 @@ int kbd_decode(FAR struct lib_instream_s *stream, FAR struct kbd_getstate_s *sta These stream interfaces are defined in include/nuttx/streams.h.

+

6.2 Block Device Drivers

+ +

+ Block device drivers have these properties: +

+ + +

6.3 Specialized Device Drivers

+ +

+ All device drivers that are accessible to application logic are either: (1) Character device drivers that can be accessed via the standard driver operations (open(), close(), read(), write(), etc.), or (2) block drivers that can be accessing only as part of mounting a file system or other special use cases as described in the preceding paragraph. +

+

+ In addition to this, there are also specialized "drivers" that can be used only within the OS logic itself and are not accessible to application logic. These specialized drivers are discussed in the following paragraphs. +

+ +

6.3.1 Ethernet Device Drivers

+ + + +

6.3.2 SPI Device Drivers

+ + + +

6.3.3 I2C Device Drivers

+ + + +

6.3.4 Frame Buffer Drivers

+ + + +

6.3.5 LCD Drivers

+ + + +

6.3.6 Memory Technology Device Drivers

+ + + +

6.3.7 SDIO Device Drivers

+ + + +

6.3.8 USB Host-Side Drivers

+ + + +

6.3.9 USB Device-Side Drivers

+ + +

6.4 Power Management

6.4.1 Overview