Changes between Version 2 and Version 3 of TBR/Review/RsgTrialsAndTribulations


Ignore:
Timestamp:
05/20/08 23:18:24 (16 years ago)
Author:
Rsg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/Review/RsgTrialsAndTribulations

    v2 v3  
    5151
    5252
    53 Here's what happens when you e.g., read() from a libi2c device:
     53Even more from Till:
     54
     55<blockquote>
     56"Here's what happens when you e.g., read() from a libi2c device:
    5457
    5558# OS knows (by major number) that it has to call libi2c
     
    5861# libi2c calls the 'device' driver's 'read' function
    5962# the 'read' function does it's job (e.g., if you read from a thermometer the driver has to i) trigger a measurement, ii) read back from the device, interpret the results and hand them to the user.
    60 # the device driver accomplishes i), ii) using libi2c's low-level
    61 routines rtems_libi2c_start_write_bytes & friends to interact with the device
     63# the device driver accomplishes i), ii) using libi2c's low-level routines rtems_libi2c_start_write_bytes & friends to interact with the device
    6264# low-level routines use the bus driver (as encoded in 'minor') to actually perform the communication
    6365