Re: Hardware Abstraction



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

.



Relevant Pages

  • Hardware Abstraction
    ... 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. ... I am not very interested in the specifics of a particular OS or board, but in the good concepts and ideas. ...
    (comp.arch.embedded)
  • Re: Hardware Abstraction
    ... Vladimir Vassilevsky wrote: ... 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. ...
    (comp.arch.embedded)
  • Re: I think the standard will be on my side (BOZ)
    ... Motorola 680x0 is big endian in byte order, ... My remarks have exactly nothing to do with hardware. ... hardware can emulate the little-endian semantics required by ... semantics should be consistent with little-endian terminology. ...
    (comp.lang.fortran)
  • Re: Hardware Abstraction
    ... I am looking for a concept for abstracting of a hardware. ... to another interface that is most likely not abstract. ... I have been abstracting whole uart routine to the hardware file. ...
    (comp.arch.embedded)
  • Re: Who buys used hardware?
    ... used h/w is fine as long as you can buy it with an IBM maintenance contract. ... if you have a reliable IBM business partner, they might be able to discount future purchases based on the current h/w value. ... Subject: Who buys used hardware? ... Define "fair prices." ...
    (AIX-L)