Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0851 Datasheet(PDF) 80 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 80 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 76Page - STMicroelectronics UM0851 Datasheet HTML 77Page - STMicroelectronics UM0851 Datasheet HTML 78Page - STMicroelectronics UM0851 Datasheet HTML 79Page - STMicroelectronics UM0851 Datasheet HTML 80Page - STMicroelectronics UM0851 Datasheet HTML 81Page - STMicroelectronics UM0851 Datasheet HTML 82Page - STMicroelectronics UM0851 Datasheet HTML 83Page - STMicroelectronics UM0851 Datasheet HTML 84Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 80 / 245 page
background image
Communication device drivers
UM0851
80/245
Doc ID 16604 Rev 2
Figure 20.
I2C framework architecture
4.5.3
I2C framework in linux
The I2C kernel code is broken up into a number of logical pieces: the I2C core, I2C bus
drivers, I2C algorithm drivers and I2C client drivers.
I2C core
The I2C core is a code base consisting of routines and data structures available to host
adapter drivers and client drivers. The core also provides a level of indirection that renders
client drivers independent of the host adapter, allowing them to work even if the client device
is used on a board that has a different I2C host adapter.
Device drivers for I2C host adapters
They fall in the realm of bus drivers and usually contain an adapter driver. The former uses
the latter to talk to the I2C bus. I2C host adapter code is provided by ST and the path is:
Refer to Linux-2.6.27/drivers/i2c/bus/spr_i2c_syn.c
Device drivers for I2C client devices
They are used for reading/writing to the slave device. I2C client device drivers for EEPROM
as an example are provided in the following path:
Refer to Linux-2.6.27/drivers/i2c/chips/eeprom.c
I2C-dev
They allow communication with the user space. Usually, I2C devices are controlled by a
kernel driver. But you can also access all devices on an adapter from the user space,
through the /dev interface. For this, you need to load the module i2c-dev. Each registered i2c
User space
Kernel space
Hardware
User application
I2C user mode
application
I2C client driver
(sys./dev)
I2C dev
I2C core layer
I2C controller driver
I2C controller



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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