public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001442] New: LPC17XX bit band macro proposal
@ 2012-01-04  9:52 bugzilla-daemon
  2012-01-04  9:53 ` [Bug 1001442] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: bugzilla-daemon @ 2012-01-04  9:52 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001442

           Summary: LPC17XX bit band macro proposal
           Product: eCos
           Version: CVS
          Platform: Other (please specify)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: bernard.fouche@kuantic.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


If ever bit band macros can make it into eCos, here is a proposal.

Beside the gain in speed, IMHO the real advantage is to avoid race conditions
that can occur in a memory/register area that concerns more than one
peripheral.

For instance:

- peripheral power control register.
- ADC channel selection register (see for instance bug #1001437)

For GPIO bit band avoids having to select FIOSET or FIOCLR according to the bit
value to write.

(Maybe the proposed macro names are ugly, not located in the correct file,
etc...)

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-1001442-777@http.bugs.ecos.sourceware.org/>]

end of thread, other threads:[~2012-01-26 18:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-04  9:52 [Bug 1001442] New: LPC17XX bit band macro proposal bugzilla-daemon
2012-01-04  9:53 ` [Bug 1001442] " bugzilla-daemon
2012-01-06 12:48 ` bugzilla-daemon
2012-01-10 14:51 ` bugzilla-daemon
2012-01-13 15:45 ` bugzilla-daemon
     [not found] <bug-1001442-777@http.bugs.ecos.sourceware.org/>
2012-01-06 12:47 ` bugzilla-daemon
2012-01-13 15:45 ` bugzilla-daemon
2012-01-26 18:32 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).