PIC MICROCONTROLLER
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
RC0/T1CKI
|
|
RA4/T0CKI
|
|
RC1/T1OSI
|
|
RC3/SCK
|
Detailed explanation-1: -Timer mode is selected by clearing the T0CS bit (OPTION<5>).
Detailed explanation-2: -Mode 0 of Timer/Counter The Mode 0 operation is the 8-bit timer or counter with a 5-bit pre-scaler. So it is a 13-bit timer/counter. It uses 5 bits of TL0 or TL1 and all of the 8-bits of TH0 or TH1.
Detailed explanation-3: -Timer 0 has a register called TMR0 Register, which is 8 bits of size. The below table shows the registers associated with PIC16f877A Timer 0 module. This register will hold the count value. When this register overflows (FF to 00) then an interrupt will be generated.
Detailed explanation-4: -Using Timer 0. Using a timer can be extremely simple. Just set the prescale for the desired clock frequency and monitor the roll-over flag which is set when the counter counts to the maximum value and “rolls-over” to zero.