NEW
Font size
WorksheetsRevision
Total questions: 10
Worksheet time: 5mins
purpose of setting TOIE bit in INTCON along with GIE bit?
To enable Timer 1 overflow interrupt
For setting the TOIF flag in INTCON due to generation of Timer 0 overflow interrupt
To disable all interrupts
To configure the Timer 0 prescaler
when the power supply drops the voltage below 4V, Which operational feature of PIC allows it to reset?
Brown-out reset
Power-on reset
Watchdog timer
Low-voltage detection
Which pins assigned to INT0-INT2
RB0-RB2
RA0-RA2
RC0-RC2
RD0-RD2
What address in IVT is assigned to high priority and low priority interrupts
High Priority : 0008h
High Priority : 0010h
Low Priority : 0018h
Low Priority : 0020h
Which bit permits to enable (if set) or disable (if cleared) all the interrupts in an INTCON register?
GIE: Global Interrupt Enable
TIE: Timer Interrupt Enable
PIE: Peripheral Interrupt Enable
RIE: Reset Interrupt Enable
execution speed of instructions in PIC especially while operating at the maximum value of clock rate
0.1 μs
0.2 μs
0.5 μs
1 μs
How many PORTS are available for PIC18FXX and corresponding lines?
3 PORTS: PORT A : RA0 to RA5, PORT B : RB0 to RB7, PORT C : RC0 to RC7
4 PORTS: PORT A : RA0 to RA5, PORT B : RB0 to RB7, PORT C : RC0 to RC7, PORT D : RD0 to RD7
5 PORTS: PORT A : RA0 to RA5, PORT B : RB0 to RB7, PORT C : RC0 to RC7, PORT D : RD0 to RD7, PORT E : RE0 to RE3
6 PORTS: PORT A : RA0 to RA5, PORT B : RB0 to RB7, PORT C : RC0 to RC7, PORT D : RD0 to RD7, PORT E : RE0 to RE3, PORT F : RF0 to RF7
What is the primary advantage of using an interrupt service routine (ISR) in your PIC microcontroller application?
To execute code in response to specific events without polling
To increase the clock speed of the microcontroller
To reduce the power consumption of the microcontroller
To simplify the programming of the microcontroller
Registers associated with PORT configuration:
TRIS : Direction selection
LAT : Read modify write operation
PORT : Port Pin status
ADC : Analog to Digital Conversion
Which module in a PIC microcontroller would you use to generate precise delays for timing purposes?
Timer module
ADC module
PWM module
UART module
