Escolar Documentos
Profissional Documentos
Cultura Documentos
Frequency reference
counters
8051 CPU
interrupts control
Parallel ports, address Serial in Serial out
data bus, i/o pins
Gambarajah blok 8051
1
Disediakan oleh noazri bin bakhari jan 2005
INTEL MCS-51 SINGLE CHIP FAMILY
- 8 bit
- 12MHz clock
- Powerful instruction set
- 4K bytes ROM or EPROM
- 128 bytes data memory, 21 special function registers
- 4 programmable I/O (32 I/O lines)
- 2 16-bit timer/event counters
- Serial I/O port with a UART
- 5 interrupt lines : 2 for ext. signals, 3 for internal operations
- advanced 8 bit microcontroller with on-chip peripherals such as timers, serial I/O and
an 8-channel A/D converter and can operae in four different modes
- 40 i/o lines, 256 bytes of internal R/W memory can be expanded to 64K system
memory in expanded mode
- 48 pin package, operate up to 2MHz clock frequency
- 4 operanting modes
- 8K bytes of ROM and 512 bytes of EEPROM
- 256 bytes of RAM (R/W memory)
- 40 I/O pins with multiple functions
- 8-channel, 8-bit A/D converter
- 16 bit timer system
- 8-bit pulse accumulator circuit
- Serial communication and serial peripheral interface
- Computer operating properly (COP) watching system
2
Disediakan oleh noazri bin bakhari jan 2005
1.3.4 Labuhan masukan/keluaran
Port 0
Output
Input
Port 1
Output
Input
Port 2
Output
Input
Port 3
Output
Input
3
Disediakan oleh noazri bin bakhari jan 2005
Inside the 8051
D7 D6 D5 D4 D3 D2 D1 D0
Registers
A DPH DPL
B
R0 DPTR 16 BIT
R1 PC (PROGRAM COUNTER)
R2
R3
8 BIT
R4
R5
R6
R7
4
Disediakan oleh noazri bin bakhari jan 2005