Atmega32-upon reset,all the bits of the portb are configure as _____(input or output)?
(IOW the DDR registers default to 0x00 as the datasheet shows)
If a controler, at init, was output, he might send undefinite commands to the outer world. Thus I bet any controller is GPIO is high impedance (does not harm) at init, before well written programs can control GPIOs in a consistent way.
That seems a question straight off the exams book.
Ampertronics Pty. Ltd.
* Electronic Design * Custom Products * Contract Assembly
© 2018 Microchip Technology Inc.