AVR MICROCONTROLLER
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
0
|
|
1
|
|
None of above
|
|
2
|
Detailed explanation-1: -Explanation: On reset, the DDR registers of all the ports are set to 0 which means that the by default all ports are set as input ports.
Detailed explanation-2: -Upon RESET, all the ports are configured as inputs, ready to be used as input ports. When the first 0 is written to a port, it becomes an output.
Detailed explanation-3: -When connecting 8051 to an external memory, port 0 provides both address and data. The 8051 multiplexes address and data through port 0 to save pins. ALE indicates if P0 has address or data. When ALE=0, it provides data D0-D7, but when ALE=1 it has address A0-A7.
Detailed explanation-4: -Each port in AVR microcontroller has three I/O registers associated with it. They are designated as PORTx, DDRx and PINx.
Detailed explanation-5: -Data Direction Register configures the data direction of port pins. These registers are used for determining whether port pins will be used for input or output.