MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In the 16F877A, port TRISX indicates ____
A
Timer Control
B
Data Direction Control
C
Interrupt Control
D
CCP control
Explanation: 

Detailed explanation-1: -The TRIS A register controls the direction of the PORT pins even when they are being used as analog inputs. The user must ensure the bits in the TRISA register are maintained set when using them as analog inputs. The block diagram of PORTA register is shown in the figures below.

Detailed explanation-2: -Ports in PIC16F877a: PortA has 8 Pins in total and it is an analogue Port. All Pins in PortA are analogue. PortB also has 8 Pins but these all are digital Pins. PortC is also a digital Port having 8 Pins.

Detailed explanation-3: -TRISx: Data Direction register • PORTx: I/O Port register • LATx: I/O Latch register Each I/O pin on the device has an associated bit in the TRIS, PORT and LAT registers. The TRISx register control bits determine whether each pin associated with the I/O port is an input or an output.

Detailed explanation-4: -PIC16F877A is used in many pic microcontroller projects. PIC16F877A also have much application in digital electronics circuits. PIC16f877a finds its applications in a huge number of devices. It is used in remote sensors, security and safety devices, home automation and many industrial instruments.

There is 1 question to complete.