What is the use of TCON in 8051?

What is the use of TCON in 8051?

TCON (Timer Control) Timer Control or TCON Register is used to start or stop the Timers of 8051 Microcontroller. It also contains bits to indicate if the Timers has overflowed. The TCON SFR also consists of Interrupt related bits.

Is TCON bit addressable in 8051?

We put or data in it which we want to transmit, it also contains the data which is transmitted from other Peripherals like PC personal computers to 8051 micro controller. It is not bit addressable.

What is the address of TCON register in 8051?

It is located as an address of 98H. Using SCON, we can control the Operation Modes of the Serial Port, Baud Rate of the Serial Port and Send or Receive Data using Serial Port. Timer Control or TCON Register is used to start or stop the Timers of 8051 Microcontroller.

What is TMOD register and TCON register?

TMOD and TCON registers are used for setting and using these timers/counters. Both can be configured to operate either as timers or as event counters. In the case of timers, register is incremented once every machine cycle. Hence timer is considered as counter which counts machine cycles.

What is function of TCON register?

Timer Control Register (TCON): TCON is another register used to control operations of counter and timers in microcontrollers. It is an 8-bit register wherein four upper bits are responsible for timers and counters and lower bits are responsible for interrupts.

What is the function of the TCON register?

What is the function of the bits TCON 6 and TCON 7?

BIT SYMBOL FUNCTION
TCON .7 TF1 Timer 1 overflow flag
TCON .6 TR1 Timer 1 start bit
TCON .5 TF0 Timer 0 overflow flag
TCON .4 TR0 Timer 0 start bit

What happens when TCON 1 is set by some software instruction?

An instruction like ‘SETB TCON. 1’ will activate the interrupt for INT0 (without any external signal at the INT0 pin) inside the controller. Now the processor will acknowledge the interrupt and branch to the corresponding location of ISR for INT0 (vector address 0003H).

Is TCON bit addressable register?

Explanation: The registers, PSW, TCON and Accumulator are 8-bit registers. Explanation: The registers, accumulator, PSW, B, P0, P1, P2, P3, IP, IE, TCON and SCON are all bit-addressable registers.

What is the address of TCON register?

The TCON register is bit addressable and is placed at the address 88H in the ROM. It is an 8-bit register which starts the timer and also contains the flag which gets updated when the timer overflows. TF1 and TF0 are timer flags that indicate overflow condition in timers 1 and timer 0, respectively.

What is a TCON?

Every display panel has a timing controller (TCON), which is the only active component inside a display. Different displays use different types of TCONs. The brightness of the backlight determines the intensity of the display. Varying levels of filtering produce the different colors.

What is Tmod and TCON in 8051 microcontroller?

Counters and Timers in 8051 microcontroller contain two special function registers: TMOD (Timer Mode Register) and TCON (Timer Control Register), which are used for activating and configuring timers and counters.

What is the PCon Register on an 8051 microcontroller?

The PCON or Power Control register, as the name suggests is used to control the 8051 Microcontroller’s Power Modes and is located at 87H of the SFR Memory Space. Using two bits in the PCON Register, the microcontroller can be set to Idle Mode and Power Down Mode. NOTE: PCON register is not bit addressable.

What is the use of TCON in microcontroller?

TCON (Timer Control register) TCON is an 8-bit register. Its bits are used for generating interrupts internal or external. The most important bits of the timer TR and TF are also in it.

Which pins of 8051 are connected with timer/counter?

Two pins of 8051 connected with Timer/counter. T0 – Timer 0 external input – P3.4 T1 – Timer 1 external input – P3.5 INT0 and INT1 are also used for controlling the timers/counters.

author

Back to Top