Chat with us, powered by LiveChat homework ​i want someone do it well | WriteDemy

Question Description

INSTRUCTIONS: Show all your work. Hand in a hardcopy. Blackboard solutions will not be accepted.

  • How many bits wide is Port B? How many bits wide is Port F?
  • What are the steps required to initialize a parallel port? Which steps are optional?
  • What are the steps required to input one bit from an input pin?
  • Specify a #define that allows us to access bits 2 and 5 of Port A. Use this #define to make both bits 2 and 5 of Port A high.
  • If you were to use UART5 at pins PE4 and PE5, how would you program the GPIO registers?
  • What registers GPIO will you program if you desire to use Analog input 9 and 8? How would you set them

Use the tables below to answer the following questions.

7. To make a pin a digital input, what value do you load into corresponding bits the following registers? Assume it does not need an internal pullup

DIR
PUR
PCTL
AFSEL
AMSEL
DEN

8. To make a pin a digital output, what value do you load into corresponding bits the following registers? Assume it does not need an internal pullup

DIR
PUR
PCTL
AFSEL
AMSEL
DEN

9 Which line of C code is a friendly way to set Port B bit 2 assuming this pin has already been initialized as an output

GPIO_PORTB_DATA_R = 0x00;
GPIO_PORTB_DATA_R = 0x02;
GPIO_PORTB_DATA_R = 0x04;
GPIO_PORTB_DATA_R |= 0x02;
GPIO_PORTB_DATA_R |= 0x04;
GPIO_PORTB_DATA_R &= 0x02;
GPIO_PORTB_DATA_R &= 0x04;
GPIO_PORTB_DATA_R &= ~0x02;
GPIO_PORTB_DATA_R &= ~0x04;

10. How would you program the GPIO registers to make PF5 and PF2 input, and make PF3 PF1 and PF0 outputs?

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order