Page 35 - DEC40053 Ebook_Timer
P. 35
TEST
Y O U R S E L F
Find the T0CON value if we want to program Timer0 in 8 bit
mode and no prescaler used
A. T0CON=0b01001000 C. T0CON=0b01000000
B. T0CON=0b00001000 D. T0CON=0b00000000
Find the timer’s clock frequency and its period for various PIC18-
based system, with the crystal frequencies 20MHz. Assume that no
prescaler is used.
A. 0.5 microsecond C. 0.75 microsecond
B. 0.2 microsecond D. 1 microsecond
How to distinguish PIC timer as a timer or counter?
A. Source Edge C. Clock Source
B. Prescale D. 8/16 bit mode
What is the instruction to start timer0 in PIC C programming
A. T0CONbits.TMR0ON = 0; C. T0CONbits.TMR1ON = 1;
B. T0CONbits.TMR1ON = 0; D. T0CONbits.TMR0ON = 1;
-27-