Re: Hardware Abstraction
- From: "Rocky" <robert@xxxxxxxxxxx>
- Date: 28 Nov 2006 00:49:33 -0800
Vladimir Vassilevsky wrote:
Hello All,
I am looking for a concept for abstracting of a hardware. It is desired
that the concept should be convenient, clear, consistent, logical and
pretty universal.
Hi Vladimir,
I am following this with interest. I try to keep all references to the
hardware in one file or set of files so that even toggling pins becomes
a function call. If speed is needed then the entire function is taken
out of the main code and an API designed for it. While in some case
speed may suffer and then exceptions are made, in general the ease of
porting to different h/w is made much easier.
By their nature interrupt service routines are in this 'h/w' category.
If you find / develop a good 'standardised' concept that does not cause
total bloat it would be really great if you could share it here.
Regards
Rocky
.
- Follow-Ups:
- Re: Hardware Abstraction
- From: Paul E. Bennett
- Re: Hardware Abstraction
- References:
- Hardware Abstraction
- From: Vladimir Vassilevsky
- Hardware Abstraction
- Prev by Date: Re: Math computing time statistics for ARM7TDMI and MSP430
- Next by Date: Re: Embedded malloc (was: which object orient language is most suitable for embedded programming?)
- Previous by thread: Re: Hardware Abstraction
- Next by thread: Re: Hardware Abstraction
- Index(es):
Relevant Pages
|