Chapter 4
- 1.
What GPIO port does the built-in LED on the Blue Pill PCB use? Specify the libopencm3 macro name for the port.
Answer: PORTC
- 2.
What GPIO pin does the built-in LED on the Blue Pill PCB use? Specify the libopencm3 macro name.
Answer: GPIO13
- 3.
What level is required to turn the built-in LED on for the Blue Pill PCB?
Answer: logic low (or zero volts)
- 4.
What are two factors affecting the chosen loop count in a programmed delay in non-multitasking environments?
Answer:- a.
The CPU clock rate
- b.
Instruction execution time
- a.
- 5.
Why are programmed delays not used in a multi-tasking environment?
Answer: ...