diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 93c629fe51..b401adcdbe 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: November 17, 2009

+

Last Updated: December 12, 2009

@@ -115,7 +115,9 @@ 6.3.1 Ethernet Device Drivers
6.3.2 SPI Device Drivers
6.3.3 I2C Device Drivers
- 6.3.4 Serial Device Drivers + 6.3.4 Serial Device Drivers
+ 6.3.5 Frame Buffer Drivers
+ 6.3.6 Memory Technology Device Drivers Appendix A: NuttX Configuration Settings
@@ -1909,6 +1911,191 @@ extern void up_ledoff(int led); +

6.3.5 Frame Buffer Drivers

+ + +

+ The following are provided only if the video hardware supports a hardware cursor: +

+ + +
  • + Binding Frame Buffer Drivers. + Frame buffer drivers are not normally directly accessed by user code, but are usually bound to another, + higher level device driver. + In general, the binding sequence is: + +
  • +
  • + Examples: + arch/sim/src/up_framebuffer.c. + See also the usage of the frame buffer driver in the graphics/ directory. +
  • + + +

    6.3.6 Memory Technology Device Drivers

    + + +

    + Some devices may support byte oriented reads (optional). + Most MTD devices are inherently block oriented so byte-oriented writing is not supported. + It is recommended that low-level drivers not support read() if it requires buffering. +

    + +

    + Support other, less frequently used commands: +

    + +

    + is provided via a sinble ioctl method (see include/nuttx/ioctl.h): +

    + + +
  • + Binding MTD Drivers. + MTD drivers are not normally directly accessed by user code, but are usually bound to another, + higher level device driver. + In general, the binding sequence is: + +
  • +
  • + Examples: + drivers/mtd/m25px.c and drivers/mtd/ftl.c +
  • + + +

    6.3.7 SDIO Device Drivers

    + + +

    + Event/Callback support: +

    + +

    + DMA support: +

    + + +
  • + Binding SDIO Drivers. + SDIO drivers are not normally directly accessed by user code, but are usually bound to another, + higher level device driver. + In general, the binding sequence is: + +
  • +
  • + Examples: + arch/arm/src/stm32/stm32_sdio.c and drivers/mmcsd/mmcsd_sdio.c +
  • + +