diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-22 15:42:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-22 15:42:10 +0000 |
commit | fd891fceaf3c9852a361c70705d44e1ba7c4a38e (patch) | |
tree | 77b99409525c8dff5bb51edd1135042485f2fa74 /nuttx/Documentation/NuttxPortingGuide.html | |
parent | 75ae6a7cb1ffba04cd6c697cbc8679c0fc80b943 (diff) | |
download | px4-nuttx-fd891fceaf3c9852a361c70705d44e1ba7c4a38e.tar.gz px4-nuttx-fd891fceaf3c9852a361c70705d44e1ba7c4a38e.tar.bz2 px4-nuttx-fd891fceaf3c9852a361c70705d44e1ba7c4a38e.zip |
Progress with Kinetis SDHC driver (more to to)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3904 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 2fda4d612..4289e9146 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -2760,6 +2760,16 @@ extern void up_ledoff(int led); That structure defines a call table with the following methods: </p> <p> + Mutual exclusion: + </p> + <ul> + <p> + <code>#ifdef CONFIG_SDIO_MUXBUS</code><br> + <code> int (*lock)(FAR struct sdio_dev_s *dev, bool lock);</code><br> + <code>#endif</code> + </p> + </ul> + <p> Initialization/setup: </p> <ul> @@ -2767,13 +2777,13 @@ extern void up_ledoff(int led); <code>uint8_t (*status)(FAR struct sdio_dev_s *dev);</code><br> <code>void (*widebus)(FAR struct sdio_dev_s *dev, bool enable);</code><br> <code>void (*clock)(FAR struct sdio_dev_s *dev, enum sdio_clock_e rate);</code><br> - <code>int (*attach)(FAR struct sdio_dev_s *dev);</code></p> + <code>int (*attach)(FAR struct sdio_dev_s *dev);</code><br> </ul> <p> Command/Status/Data Transfer: </p> <ul> - <p><code>void (*sendcmd)(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg);</code><br> + <p><code>int (*sendcmd)(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg);</code><br> <code>int (*recvsetup)(FAR struct sdio_dev_s *dev, FAR uint8_t *buffer, size_t nbytes);</code><br> <code>int (*sendsetup)(FAR struct sdio_dev_s *dev, FAR const uint8_t *buffer, size_t nbytes);</code><br> <code>int (*cancel)(FAR struct sdio_dev_s *dev);</code><br> |