Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
Review Questions : 1. Explain the register IE format of 8051. 2. Explain the interrupt structure of 8051 microcontroller and explain how interrupts are prioritized. 3. Explain the interrupt structure with the associated registers in 8051 microcontroller. 4. Explain the vectored interrupts in 8051 microcontroller 5. Explain interrupt structure of 8051 in detail. 6. Explain the vectored interrupts in 8051 microcontroller.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
The serial port of 8051 is full duplex, means it can transmit and receive simultaneously. It uses register SBUF to hold data.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
When the timer/counter is used as a counter, the TMOD, TH and TL registers are used, functioning the same as for the timer studied in the last section.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
There are four modes of timer, mode 0, mode 1, mode 2 and mode 3. All these modes and their programming are discussed in this section. Mode 1 and mode 2 are widely used, so we will discuss them in detail.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
8051 has two timers, timer 0 and timer 1. Basically both, timer 0 and timer 1 are 16-bit registers.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
Let us see important points for programming I/O ports :
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
Review Questions : 1. Explain the I/O ports of 8051. 2. Explain the port operation in 8051 microcontroller. 3. Explain the I/O ports and their functions of 8051 microcontroller. 4. Explain the I/O ports of 8051 microcontroller in detail. 5. Briefly discuss the ports of 8051, internal circuits and its functions in detail.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts
Microprocessors and Microcontrollers: Unit III: (c) 8051 I/O Ports, Timer, Serial Port & Interrupts : Contents
8051 Instruction Set and Programming
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (b) 8051 Instruction Set and Programming
Microprocessors and Microcontrollers: Unit III: (b) 8051 Instruction Set and Programming : University Questions with Answers (Long Answered Questions) Two Marks Questions with Answers
8051 Instruction Set and Programming
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (b) 8051 Instruction Set and Programming
Review Question : 1. Write an 8051 based assembly language program for performing four basic arithmetic operations on two data.
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (b) 8051 Instruction Set and Programming
Many times, it is necessary to generate time delays. For example, to generate a square wave we have to generate a delay of T/2 period so that we can make output 1 for T/2 period and make output 0 for T/2 period. Let us see how to calculate exact delays for 8051.
8051 Instruction Set and Programming
Subject and UNIT: Microprocessors and Microcontrollers: Unit III: (b) 8051 Instruction Set and Programming
Review Questions : 1. What are the uses of LCALL and LJUMP instructions of 8051 ? 2. Explain about the instruction DJNZ.