Saturday, August 11, 2018

PCON Register in 8051

The power control register is an 8-bit register and its address is 0X87.  it can be Byte Addressable. the power control register is used to control 8051 power modes.

IDL, idle mode bit -

If IDL bit is set then it will activate idle mode of 8051 to save power.

PD, power down bit -

If PD bit is set when it will power down 8051.

GF0 and GF1 -

These are the general purpose flag bits.(i.e. bit0 and bit1)

SMOD, serial mode bit -

This bit is used to determine the serial communication port baud rate with timer 1.
Baudrate = Oscillator frequency in Hz / N[256-TH1].
The value of N, in above equation, is determined based of SMOD. 
If SMOD = 0 then N = 384.
If SMOD = 1 then N = 192.
Double baud rate bit. If Timer 1 is used to generate baud rate and SMOD = 1, the baud rate is doubled when the serial port is used in modes 1, 2, or 3.


Thanks for spending your valuable time with this article, and we hope that you might have received a good content about PCON Register. Please share your views on this topic by commenting below and you can see my video on this topic.





No comments:

Post a Comment