Back to the 2025 paper

Module 3: Embedded Microcontrollers – PIC18F / Others

2025?m

A timer in a microcontroller counts:
(i) External pulses only
(ii) Internal clock pulses
(iii) Code instructions
(iv) Data bytes

Worked SolutionAI Assisted

Answer

Correct option: (ii) Internal clock pulses

Explanation

A timer in a microcontroller is generally driven by the internal system clock or a clock derived from it. It increments its count at regular intervals and is used for generating delays, measuring time intervals, scheduling tasks and producing periodic events.

A counter can instead be configured to count external events or pulses.

Example

If a timer receives a 1 MHz clock, one clock period is:

T=11 MHz=1 μsT = \frac{1}{1\,MHz} = 1\,\mu s

The timer can therefore measure time by counting these clock periods.

Therefore, the correct answer is (ii).

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.