Atmega32-I/O Configuration.

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmega32-upon reset,all the bits of the portb are configure as _____(input or output)?

embedded freak

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

input

 

(IOW the DDR registers default to 0x00 as the datasheet shows)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That seems a question straight off the exams book.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly