INTRODUCTION TO MICROPEOCESSOR
MODEL OF MICROPROCESSOR
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
ATMega32 Ports
|
has 3 registers, i.e. DDRx, PORTx, and PINx
|
|
DDRx for setting the pin direction
|
|
PORTx for sending data and setting the pull-up resistor
|
|
PINx for receiving data
|
Explanation:
Detailed explanation-1: -Each port has 8 pins. The pins of these four ports can be used as general-purpose inputs/outputs. 2.
Detailed explanation-2: -Port A (PA7-PA0): Port A serves as analog inputs for A/D converter. It also acts as an 8-bit bidirectional I/O port if the A/D converter is not used internally. Port B (PB7-PB0) and Port D (PD7-PD0): These ports are 8-bit bidirectional I/O ports.
Detailed explanation-3: -PIN count: Atmega32 has got 40 pins. Two for Power (pin no. 10: +5v, pin no. 11: ground), two for oscillator (pin 12, 13), one for reset (pin 9), three for providing necessary power and reference voltage to its internal ADC, and 32 (4×8) I/O pins.
There is 1 question to complete.