Assignment [Total Marks 20]View more random threads:
- SOC101 Introduction to Sociology Assignment No.1 Solution...
- CS201 - Introduction to Programming All spring assignments...
- CS504 Software Engineering - I Assignment No 4 Spring 2012...
- CS614 Data Warehousing Assignment No.3 Fall Semester 2013
- CS402 assignment has been uploaded
- Assignment 3 Of MTH202 Fall 2010 idea solution november 29
- CS507 VU Current Assignment No. 4 Fall January 2012
- Assignment No. 02 SEMESTER FALL 2011 CS614- Data...
- Business Communication (ENG301) Assignment 1 (Spring 2013)...
- Assignment 2 (Fall 2012) Business Communication-ENG301
Q No. 1
Write the C Program that can be used to program the master DMA controller, description of your program is as follows.
We have supposed that an I/O device have acquired the control of channel 1 of the master DMA controller and want to write the data from I/O device to RAM using demand transfer mode of DMA. You are required to program the required DMA internal registers such that I/O device can perform the demand transfer mode with above specifications.
In your program suppose the following things.
- Supposed you want to transfer the data from I\O device to Memory and have stored that data in a character array, i.e. global data in your program and name of that character array should be according to your VUID suppose mc060402111.
- Size of the data that I/O device want to write in the memory using the demand transfer mode of DMA should be calculated as follows. Take the last four digits of your VUID and represent them in a hexadecimal number. For example VUID mc060402111 have the value of last four digits ‘2111’ and these are represented in hexadecimal number as 0x2111 and load these values in the respected count register.
Sponsored Links
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
There are currently 1 users browsing this thread. (0 members and 1 guests)