Changes between Version 26 and Version 27 of Component/Vci Block Device


Ignore:
Timestamp:
Sep 30, 2015, 3:18:13 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Block Device

    v26 v27  
    4141
    4242 * '''BLOCK_DEVICE_STATUS''' (read only)
    43 State of the transfer. Reading this register while not busy resets its value to IDLE, and acknowledge the IRQ. Value may be one of :
     43Transfer status: Reading this register while not BUSY resets its value to IDLE, and acknowledge the IRQ. Value may be one of :
    4444||    `BLOCK_DEVICE_IDLE`          ||
    4545||    `BLOCK_DEVICE_BUSY`          ||
     
    4848||    `BLOCK_DEVICE_READ_ERROR`    ||
    4949||    `BLOCK_DEVICE_WRITE_ERROR`   ||
     50Writing any value to this register makes a soft reset: if the status is not IDLE, the on-going transfer is stopped as soon as possible, and the status is reset to IDLE.
    5051
    5152 * '''BLOCK_DEVICE_IRQ_ENABLE''' (read/write)
     
    5859Block size (in bytes)
    5960
     61When the component is not IDLE, only the BLOCK_DEVICE_STATUS register can be accessed by software:
     62Any read/write access to any other register returns an error.
     63
    6064For extensibility issues, you should access this component using globally-defined offsets.
    61 You should include file `soclib/block_device.h` from your software, it
    62 defines `BLOCK_DEVICE_COUNT`, `BLOCK_DEVICE_READ`, ...
     65You should include file `soclib/block_device.h` that defines `BLOCK_DEVICE_COUNT`, `BLOCK_DEVICE_READ`, ...
    6366
    6467Sample code: