Question: LDR R 0 , GPIO PORTA _ DIR _ R MOV R 1 , # 0 xFO STR R 1 , [ R 0 ]

LDR R0, GPIO PORTA_DIR_R
MOV R1, #0xFO
STR R1,[R0]
a) This procedure enables the digital output for port A.
b) This procedure enables the digital output for port A pins 7,6,5 and 4 as outputs and 3,2,1 and 0 as inputs.
c) This procedure enables the digital output for port A pins 7,6,5 and 4 as inputs and 3,2,1 and 0 as outputs.
d) This procedure disables the digital output for port A.
 LDR R0, GPIO PORTA_DIR_R MOV R1, #0xFO STR R1,[R0] a) This

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!