This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001442] New: LPC17XX bit band macro proposal
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Wed, 4 Jan 2012 09:52:39 +0000
- Subject: [Bug 1001442] New: LPC17XX bit band macro proposal
- Auto-submitted: auto-generated
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 the assignee for the bug.