

MCPFE
Flashcard
•
Science
•
University
•
Practice Problem
•
Hard
Chính Danh
FREE Resource
Student preview

50 questions
Show all answers
1.
FLASHCARD QUESTION
Front
The NVIC manages prioritisation of interrupts, this becomes very important when multiple interrupts are in use. Identify the correct statement in the following:
Back
An interrupt which has occurred, and to which the CPU cannot yet respond, is called "pending".
2.
FLASHCARD QUESTION
Front
What are the three operation modes of a standard timer?
Back
Capture mode, Compare mode, PWM mode
3.
FLASHCARD QUESTION
Front
The resolution, range, and number of bits of an ADC are linked. An n-bit ADC has a resolution of 1 part in 2^n values. For example, an 8-bit ADC with a range of 10 volts can resolve measurements into 10/256 = 39mV. Identify the correct combination of values in the table below: No.nResolutionRange 1819.53 mV5.000 V 2104.88 mV10.000 V 3100.08 V5.120 V 4124.00 mV4.096 V Options: Row 2, Row 3, Row 1, Row 4
Back
Row 1
4.
FLASHCARD QUESTION
Front
A pulse width modulated signal is shown below. Identify the correct statement:
Back
The period is 5 ms, frequency is 200 Hz, on-time is 1 ms, duty cycle is 20%.
5.
FLASHCARD QUESTION
Front
A simple software timing function, based on a for loop, is shown here. If each iteration of the for loop takes 2.5 us to execute, estimate the overall duration of the function. void delay(void){ int j; //loop variable j for ( j = 0; j < 20480 ;j++) { j++; j-; //waste time } }
Back
51.2 ms
6.
FLASHCARD QUESTION
Front
A simple program for an Mbed-enabled microcontroller is shown below. #include "mbed.h" AnalogOut Aout(p18); Analogin Ain(p20) int main() { while(1) { Aout=Ain; } } Identify the correct statements:
Back
An analog output is created on pin 18, analog input on pin 20, the line Aout=Ain; triggers both an analog to digital and a digital to analog conversion, Aout and Ain are both of data type float.
7.
FLASHCARD QUESTION
Front
Which of the following are not components of a standard timer? Prescaler, Program counter, Compare register, Timer register
Back
Program counter
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?