We suggest developing the code in stages: Stage1: Write a simple main loop that toggles an LED(PF1) at 8Hz with a 50% duty-cycle calling a delay subroutine. This should be simple: Loop Delay for...


Assembly language ARM-Cortex I am using a Tiva Board


With Port F open with PF1 output, and PF0,PF4 inputs


some of my code for reference


LDR R0, =SYSCTL_RCGCGPIO_R ; 1) clock for port F
LDR R1, [R0] ;get all bits
ORR R1, R1, #0x20 ; bit 5, turn on clock
STR R1, [R0] ;update ports


i have more code thats only for reference i just need help with that is displayed in the image


We suggest developing the code in stages:<br>Stage1: Write a simple main loop that toggles an LED(PF1) at 8Hz with a 50% duty-cycle calling a delay<br>subroutine. This should be simple:<br>Loop<br>Delay for 1/16th of a second<br>Toggle PF1<br>B Loop<br>

Extracted text: We suggest developing the code in stages: Stage1: Write a simple main loop that toggles an LED(PF1) at 8Hz with a 50% duty-cycle calling a delay subroutine. This should be simple: Loop Delay for 1/16th of a second Toggle PF1 B Loop

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here