Escolar Documentos
Profissional Documentos
Cultura Documentos
Segunda Prova
Entrega 3 jun em 10:30 Pontos 25 Perguntas 5
Disponível 3 jun em 8:50 - 3 jun em 10:30 aproximadamente 2 horas
Limite de tempo 100 Minutos
Instruções
1) Leia as questões atentamente antes de responder.
Prof. Hegler
Histórico de tentativas
Tentativa Tempo Pontuação
MAIS RECENTE Tentativa 1 81 minutos 15 de 25
TCCR0A = 0xA0;
TCCR1A = 0x50;
TCCR2A = 0xA0;
https://pucminas.instructure.com/courses/13633/quizzes/68988 1/5
03/06/2020 Segunda Prova: SISTEMAS EMBUTIDOS MICROPROCESSADOS - Engenharia de Controle e Automação - CAMPUS CORAÇÃ…
Verdadeiro
Falso
Pergunta 2 5 / 5 pts
OCR2A = 99;
OCR2B = 74;
DDRD = _BV(DDD3);
DDRB = _BV(DDB3);
https://pucminas.instructure.com/courses/13633/quizzes/68988 2/5
03/06/2020 Segunda Prova: SISTEMAS EMBUTIDOS MICROPROCESSADOS - Engenharia de Controle e Automação - CAMPUS CORAÇÃ…
Pergunta 4 5 / 5 pts
void main(void)
{
https://pucminas.instructure.com/courses/13633/quizzes/68988 3/5
03/06/2020 Segunda Prova: SISTEMAS EMBUTIDOS MICROPROCESSADOS - Engenharia de Controle e Automação - CAMPUS CORAÇÃ…
TCCR0A = _BV(WGM01);
TCCR0B = _BV(CS01);
TIMSK0 = _BV(OCIE0A);
DDRB = _BV(DDB5);
OCR0A = 99;
sei();
for (;;)
ISR (TIMER0_COMPA_vect)
PORTB ^= _BV(PORTB5);
10 KHz
40 KHz
5 KHz
20 KHz
Pergunta 5 5 / 5 pts
https://pucminas.instructure.com/courses/13633/quizzes/68988 4/5
03/06/2020 Segunda Prova: SISTEMAS EMBUTIDOS MICROPROCESSADOS - Engenharia de Controle e Automação - CAMPUS CORAÇÃ…
void main(void)
{
DDRC = _BV(DDC2);
OCR1A = 9999;
OCR1B = 1999;
TCCR1B = _BV(WGM12) | _BV(CS11);
TIMSK1 = _BV(OCIE1A) | _BV(OCIE1B);
sei();
for (;;)
{
}
}
ISR (TIMER1_COMPA_vect)
{
PORTC |= _BV(PORTC2);
}
ISR (TIMER1_COMPB_vect)
{
PORTC &= ~_BV(PORTC2);
}
PWM : T= 5 mS : 20%
Pontuação do teste: 15 de 25
https://pucminas.instructure.com/courses/13633/quizzes/68988 5/5