công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UM0851 bảng dữ liệu(PDF) 95 Page - STMicroelectronics

tên linh kiện UM0851
Giải thích chi tiết về linh kiện  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 bảng dữ liệu(HTML) 95 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 91Page - STMicroelectronics UM0851 Datasheet HTML 92Page - STMicroelectronics UM0851 Datasheet HTML 93Page - STMicroelectronics UM0851 Datasheet HTML 94Page - STMicroelectronics UM0851 Datasheet HTML 95Page - STMicroelectronics UM0851 Datasheet HTML 96Page - STMicroelectronics UM0851 Datasheet HTML 97Page - STMicroelectronics UM0851 Datasheet HTML 98Page - STMicroelectronics UM0851 Datasheet HTML 99Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 95 / 245 page
background image
UM0851
Communication device drivers
Doc ID 16604 Rev 2
95/245
Figure 24.
SD/SDIO/MMC Linux protocol stack
4.7.3
SDIO/SD/MMC usage in Linux
You can interact with the SDIO/SD/MMC card inserted in the SDIO slot on SPEAr board
from two levels: either from the user level (using the block device interface exposed by the
existing card driver) or from the core driver interface (creating a new card driver).
Using the block device interface
There are few card drivers present in Linux that expose the block device interface to the user
application. You can use /dev/mmcblkp1, /dev/mmcblkp2, etc nodes provided by this layer
for any interaction with the SDIO/SD/MMC card. Once the card is inserted, you can mount
its file system using the above nodes and access it like a normal mass storage device.
Usual operations like cp, mv, rm, etc work fine. You could also create a new file system
structure on the memory card.
# mount /dev/mmcblkp1 /mnt/
Using the MMC core driver interface
The core driver layer provides function calls to use the underlying SDIO hardware. This
section explains how you can create a new card driver. There are few sample drivers
present in Linux which use this interface. They are present at the drivers/mmc/card folder.
The card driver can use functions exposed by the underlying core driver layer. It must
include the following files to access the internal structures of the MMC framework:
include/linux/mmc/core.h, include/linux/mmc/card.h, include/linux/mmc/host.h,
include/linux/mmc/mmc.h
●
Driver registration:
The card driver must register itself with the MMC core layer in order to use the core
driver layer interface. This can be done using the following function.
/* drv: MMC media driver. */
int mmc_register_driver(struct mmc_driver *drv);
struct mmc_driver {
struct device_driver drv;
int (*probe)(struct mmc_card *);
void (*remove)(struct mmc_card *);
User applications
Hardware
Kernel space
User space
SDIO/SD/MMC core
SDIO controller driver
Arasan SDIO controller
Block
UART
WLAN
BT
SDIO
SD
MMC



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com