Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

RE: [AVR-Chat] Help with AT32 part

RE: [AVR-Chat] Help with AT32 part

2011-06-16 by Tim Mitchell

Haven't done this on AVR32 but on ARM you just use bitwise anding and oring to change the port bits you are interested in, leaving the others unaffected.

-- 
Tim Mitchell

Re: [AVR-Chat] Help with AT32 part

2011-06-18 by David Kelly

On Jun 16, 2011, at 10:31 AM, Tim Mitchell wrote:

> Haven't done this on AVR32 but on ARM you just use bitwise anding and oring to change the port bits you are interested in, leaving the others unaffected.


Others are not exactly unaffected. Its still a read-modify-write and if the others are inputs then writing a 1 back to their port may have unintended consequences such as enabling pullups, or a 0 will disable pullups.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.