Professional Documents
Culture Documents
Write a program to do the above, you need to use a function to create delay
in your program. Assume a loop with 10000 count limit will create 1s delay.
Draw a flowchart for your program and specify the required step.
g) Write a C++ program to generate the PWM signal in part f. Specify the
required steps before writing the program.
Question 3: Interrupt
Design an application to generate periodic interrupt using an AXI
timer/Counter (use count up configuration) every 1s. Develop an interrupt
handler which turns ON an LED every time that an interrupt occurs. Specify
the required configurations as well as the required steps to take before
writing the program. Assume the clock frequency is 150 MHZ.