Writing to multiple GPIO's at the same time

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

Hello,

 

Does AVR32 uC allows you to write to multiple GPIO's in parallel, instead of using set/clr to each port individually?

 

Thanks in advance!

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

 

Isn't it just like AVR/Xmega chips? 

 

 

that seems to suggest that while you can write to OVRS/OVRC to set/clear bits (or OVRT to toggle) you can simply write to "OVR" to set/clear whatever 32 bit pin combination you want?

 

There is also ODER to set in/out direction and PVR reads the state of inputs.

 

In Xmega terms:

 

PORT_DIR = ODER (DDR in original tiny/mega)

PORT_OUT = OVR (PORT in tiny/mega)

PORT_IN = PVR (PIN in tiny/mega)

Last Edited: Thu. Sep 19, 2019 - 01:52 PM