Test: Timer Programming

# Test: Timer Programming

Test Description

## 10 Questions MCQ Test Microprocessors and Microcontrollers - Notes, Videos, MCQs | Test: Timer Programming

Test: Timer Programming for Computer Science Engineering (CSE) 2022 is part of Microprocessors and Microcontrollers - Notes, Videos, MCQs preparation. The Test: Timer Programming questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Timer Programming MCQs are made for Computer Science Engineering (CSE) 2022 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Timer Programming below.
Solutions of Test: Timer Programming questions in English are available as part of our Microprocessors and Microcontrollers - Notes, Videos, MCQs for Computer Science Engineering (CSE) & Test: Timer Programming solutions in Hindi for Microprocessors and Microcontrollers - Notes, Videos, MCQs course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Timer Programming | 10 questions in 10 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Microprocessors and Microcontrollers - Notes, Videos, MCQs for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
 1 Crore+ students have signed up on EduRev. Have you?
Test: Timer Programming - Question 1

### What is the clock source for the timers?

Detailed Solution for Test: Timer Programming - Question 1

Timer’s clock source is the crystal that is applied to the controller.

Test: Timer Programming - Question 2

### What is the frequency of the clock that is being used as the clock source for the timer?

Detailed Solution for Test: Timer Programming - Question 2

The frequency of the clock source for the timer is equal to f/12( where f is frequency of the crystal ).

Test: Timer Programming - Question 3

### What is the function of the TMOD register?

Detailed Solution for Test: Timer Programming - Question 3

TMOD register is used to set different timer’s or counter’s to their appropriate modes so that it tells the user that what mode is being used when operating any timer or counter.

Test: Timer Programming - Question 4

What is the maximum delay that can be generated with the crystal frequency of 22MHz?

Detailed Solution for Test: Timer Programming - Question 4

For generating the maximum delay we have to multiply the maximum number of counts with the time period required to execute one machine cycle( 65536*1/22MHz).

Test: Timer Programming - Question 5

Auto reload mode is allowed in which mode of the timer?

Detailed Solution for Test: Timer Programming - Question 5

Auto reload is allowed in the Mode 2 of the timer because here in this mode, we don’t need to load the count again and again in the register.

Test: Timer Programming - Question 6

Find out the roll over value for the timer in Mode 0, Mode 1 and Mode 2?

Detailed Solution for Test: Timer Programming - Question 6

For Mode 0 13 bit value is used so 1FFFH is chosen to be the roll over value. Similarly for Mode 1 FFFFH and for Mode 2 FFH is the roll over value for the timers and counter.

Test: Timer Programming - Question 7

What steps are followed when we need to turn on any timer?

Detailed Solution for Test: Timer Programming - Question 7

When any timer is to turn on, then firstly we have to load the TMOD register and the count. Then timer is to get started. After then, we need to monitor the timer properly and then when the roll over condition arises then timer is to be stopped.

Test: Timer Programming - Question 8

If Timer 0 is to be used as a counter, then at what particular pin clock pulse need to be applied?

Detailed Solution for Test: Timer Programming - Question 8

If Timer 0 is to be used as a counter, then a pulse has to be applied at P3.4 and if it is for Timer 1 then the clock pulse has to be applied at the pin P3.5.

Test: Timer Programming - Question 9

In the instruction “MOV TH1,#-3”, what is the value that is being loaded in the TH1 register ?

Detailed Solution for Test: Timer Programming - Question 9

Hex value that is being loaded in the TH1 register is the two’s complement of the value being loaded in it.

Test: Timer Programming - Question 10

TF1, TR1, TF0, TR0 bits are of which register?

Detailed Solution for Test: Timer Programming - Question 10

These bits are of TCON register. It tells us about the overflow flag bit and the run control bit

## Microprocessors and Microcontrollers - Notes, Videos, MCQs

12 videos|38 docs|38 tests
 Use Code STAYHOME200 and get INR 200 additional OFF Use Coupon Code
Information about Test: Timer Programming Page
In this test you can find the Exam questions for Test: Timer Programming solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Timer Programming, EduRev gives you an ample number of Online tests for practice

## Microprocessors and Microcontrollers - Notes, Videos, MCQs

12 videos|38 docs|38 tests