Changes between Version 4 and Version 5 of bdv_driver
- Timestamp:
- Oct 7, 2014, 6:30:36 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
bdv_driver
v4 v5 1 1 = GIET-VM / BDV Driver = 2 2 3 [[PageOutline]] 4 3 5 The [source:soft/giet_vm/giet_drivers/bdv_driver.c bdv_driver.c] and [source:soft/giet_vm/giet_drivers/bdv_driver.h bdv_driver.h] files define the block_device driver. This component is a single channel, block oriented, external mass storage peripheral, available in the SoCLib components library. 4 5 [[PageOutline]]6 6 7 7 The _bdv_read() and _bdv_write() functions are always blocking. They can be called in 3 modes: … … 49 49 === void '''_bdv_isr'''( unsigned irq_type, unsigned irq_id, unsigned channel ) === 50 50 This Interrupt Service Routine save the status, acknowledge the IRQ, and activates the task waiting on IO transfer. It can be an HWI or a SWI. 51 * irq_type : HWI / PTI / WTI 52 * irq-id : index returned by ICU/XCU 53 * channel : unused (block-device peripheral is single channel). 51 54 52 55 53