Question: Thcory Session: 1. (15 Points) When coding in C, what is the recommended maximum number of word should be passed to a called function A)

 Thcory Session: 1. (15 Points) When coding in C, what is

Thcory Session: 1. (15 Points) When coding in C, what is the recommended maximum number of word should be passed to a called function A) One B) Two C) Four D) Eight 2. (15 Points) Automatic initialization at reset occurs for which of the following registers? A) MSP B) MSP and PC C) MSP and PSP D) MSP, PSP and PC (15 Points) Interface the LED to PEO using negative logic. The desired LED operating point is 1.8V at 1.2 mAThe output voltage VOL of the microcontroller is 0.5 V. You may also use 3.3 power and ground, as you need them. Show the equation used to calculate the resistor value and the circuit diagram showing the connections 3. 4. (15 Points) The following codes are enabling Port B for Cortex-M4 SYSCTL RCGC2R SYSCTL_ RCGC2_GPIOB GPIO PORTB_DIR_R -exFF GPIO PORTBDENR = eXFF; // enable PORTB GPTO // set PORTB as output // enable digital PORTB - - How do you enable Port F? 5. (40 Points) Multiply two four bit numbers from the switch and show the result in the output LEDs (1). Show hardware lab result to instructor, instructor will need to sign on the exam. (2) Write down the source code on the back of this page

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!