Beruflich Dokumente
Kultur Dokumente
2. Embedded system: where you can use it for specific task.it contains special purpose compute within the device, and is designed with various funtions .For e.g. microwave.
EMBEDDED SYSTEMS
Embedded systems are combination of computer H/W and S/W, and perhaps additional mechanical or other parts, which are designed using uP or uC but for a specific task to perform a dedicated function. function. In some cases, ES may be part of a larger system , as is the case of an anti-lock braking antisystem in a car. car.
EMBEDDED SYSTEMS
ES generally use microcontroller that contains many functions of computer on a single device Motorola and Intel make some of the most popular microcontrollers
TYPES OF MEMORY
On-Chip Memory OnExternal Code Memory External RAM
On chip memory
It has four parts on which it can be explained : Register banks- R0,R1,R2 and R4 banksare basically used to manipulate data from one memory to another memory place.
BIT MEMORY
gives the user the ability to access a number of bit variables. There are 128 bit variables available to the user, numbered 00h through 7Fh
SFR
TIMER
The 8051 comes equipped with two timers, both of which may be controlled, set, read, and configured individually. The 8051 timers have three general functions: 1) Keeping time and/or calculating the amount of time between events, 2) Counting the events themselves, 3) Generating baud rates for the serial port.
Timer SFRs
The 8051 has two timers which each function essentially the sameway. One timer is TIMER0 and the other is TIMER1. The two timers share two SFRs (TMOD and TCON) which control the timers. Each timer also has two SFRs, dedicated solely to itself (TH0/TL0 and TH1/TL1).
Timer SFRS
TIMER MODES
TMOD SFRS
TCON SFRS
Interrupt
An interrupt is some event which interrupts normal program execution Interrupts give us a mechanism to put on hold the normal program flow,execute a subroutine,and then resume normal program flow as if we had never left it Subroutine called an interrupt handler,is only executed when a certain even occurs.
IE SFR
INTERRUPT HANDLING
SCON SFR
THANK YOU