homework i want someone do it well

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

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now
  • 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?

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.