SPECIAL FUNCTION REGISTER IN 8051

 

SPECIAL FUNCTION REGISTER (SRF) OF 8051 MICROCONTROLLER

To monitors or control the various functions within a microcontroller like control different hardware peripherals like Timers, Serial Port, I/O Ports etc. Here we use some special registers in 8051 microcontroller called Special Function Register (SRF) (or Special Purpose Register, or simply Special Register).

If we want to assess or change the operating mode of the 8051 Microcontroller. This will be done by manipulating the 8051 Microcontroller Special Function Registers (SFRs).

In 8051 micro controller there are 21 Special function registers (SFR) and this includes Register A, Register B, Processor Status Word (PSW), PCON etc.  So, it required 21 unique locations for these 21 special function registers and the size of each register is of 1 byte. Some of these special function registers are bit addressable registers (which means you can access 8 individual bits inside a single byte), while some others are only byte addressable register.4

Comments

Popular posts from this blog

Alternating Current

SOLAR TRANSFORMERS