Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

The main I/O used by micro controllers are the parallel ports , the 68HC11F1 has seven  8 bit ports namely Port A,B,C,D,E,F and G . The use of ports depends on the mode configuration of the system and the use of the other peripheral devices, since they share pins. In order to program the ports we need to write/read data to special registers, the area from 0x1000 to 0x105f is memory mapped to the peripheral devices.  NOTE: The monitor has moved the register block to start at 0x00 i.e Padr = 0x00, Paddr = 0x1 etc.

Below are shown the RAM based I/O registers i.e. 0x0 to 0x0a
 
  Address   Register
 
  0x0000  Port A register Padr
   0x0001  Port A Data direction register Paddr
  0x0002  Port G register Pgdr
  0x0003  Port G Data direction register Pgddr
  0x0004  Port B register Pbdr
  0x0005  Port F register Pfdr
  0x0006  Port C register Pcdr
  0x0007  Port C Data direction register Pcddr
  0x0008  Port D register Pddr
  0x0009  Port D Data direction register Pdddr
  0x000a  Port E register Pedr
 
Port A, D, are bi-directional 8 bit ports and have alternate uses G timer, serial comms and chip selects respectively.
 
Port B is an 8 bit general purpose output port with alternate function as the upper address bus in the extended mode.
 
Port C is a general purpose 8 bit port with alternate functions as the data bus in the extended mode
 
Port E is an 8 bit general purpose 8 bit input port with an alternate function as the ADC input
 
Port F is a 8 bit general purpose output port with alternate function as the lower address bus in the extended mode.
 
On the target system provided the 68HC11 is set in extended mode therefore the only ports available are A,D,E and G since B,F form the address bus and C forms the data bus to the EPROM. Each register is bit defined in that each bit configures one feature of the respective port , however all the data registers and data direction registers work on the same principle.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9537806

Have any Question?


Related Questions in Computer Engineering

Display the manager of the employee with the oldest project

Display the manager of the employee with the oldest project start date (start_date). (This query requires 3 nested queries, start by finding the min start_date from project, then find the emp_id from project where start_ ...

A decision maker has ordered every commodity in walmart

A decision maker has ordered every commodity in Walmart alphabetically according to the commodity's name. Every time when he needs to choose from several commodities, he always choose the second one according to his orde ...

What is the various security architectures which provides

What is the various security architectures. Which provides the best balance between simplicity and security? Justify your answer.

Answer the following question what is the relationship

Answer the following Question : What is the relationship between eminent domain and condemnation? What is the essential difference between prescription and dedication? Describe the major differences between a right-of-wa ...

Short answer1 explain the tradeoffs or decisions required

SHORT ANSWER 1. Explain the "tradeoffs or decisions" required when writing/creating computer programs and how the "decisions" relate to Data Structures, algorithms, and Big O notation? 2. Describe divide and conquer algo ...

What is vsftpd name two other server packages that may be

What is vsftpd? Name two other server packages that may be used for the same purpose

Question suppose host a has 10 packets with sequence

Question : Suppose host A has 10 packets with sequence numbers 1 to 10 to be transmitted to host B. Now imagine that the packets numbered 2 and 7 are lost when they were sent the first time. Assume that ACKs are never lo ...

Question goal setting please respond to the

Question: "Goal Setting" Please respond to the following: • Early computers were only usable by experts with strong technical knowledge. Examine how interactive systems have changed throughout the years to accommodate av ...

Recall that the cpu execution time of a program is given by

Recall that the CPU execution time of a program is given by CPU time = IC times CPI times T. Suppose two different processors P 1 and P 2 execute the same number of instructions for a given benchmark. If P 1 is a 2 Ghz p ...

A bit-comparator is a combinational circuit with 2 inputs a

A Bit-Comparator is a combinational circuit with 2 inputs, A and B, and 3 outputs. L, E and G. Output L is 1 if A Output E is 1 if A = B, otherwise E is 0. Output G is 1 if A > B, otherwise G is 0. Show how the 2x4 decod ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As