public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] ADC
@ 2001-07-16  0:44 rob.wj.jansen
  2001-07-16  1:33 ` Andy Simpkins
  0 siblings, 1 reply; 4+ messages in thread
From: rob.wj.jansen @ 2001-07-16  0:44 UTC (permalink / raw)
  To: tadams; +Cc: ecos-discuss

Trenton,

Gary Thomas wrote:

>> On 13-Jul-2001 Trenton D. Adams wrote:
>> Is there a standard api/interface for Analog to Digital Converters in
>> eCos?  I would guess not since programming of an ADC would generally be
>> quite simple.  Correct?
>
> Correct - you are on your own on this one.

Why ? I guess there are others out here that would like a defined API for this.

I would go for a character based interface where it is possible to send/receive data as a byte stream
containing the words from/to the ADC.
Set/get properties of the ADC would contain data like the resolution (in bits), sample period and maybe
also if it is linear/aLaw/uLaw. Just define what you need and leave other fields zero (reserved for future use).

Good luck,

     Rob Jansen

Software Engineer
Competence Center Platforms
BU Mobile Communications
Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
Tel: +31-24-353-6329
Fax: +31-24-353-3613
mailto:Rob.WJ.Jansen@philips.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] ADC
  2001-07-16  0:44 [ECOS] ADC rob.wj.jansen
@ 2001-07-16  1:33 ` Andy Simpkins
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Simpkins @ 2001-07-16  1:33 UTC (permalink / raw)
  To: eCos Discuss, rob.wj.jansen

Whilst a defined API would be nice don't forget that the physical device
will need a driver, this would be component and platform specific.  However
if the format of the API can be agreed there is nothing stopping you from
writing your device drivers to use this convention (or Paying Red Hat to do
the work on your behalf cue Jonathan :-) )

Andy

> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [ mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of
> rob.wj.jansen@philips.com
> Sent: 16 July 2001 08:43
> To: tadams@extremeeng.com
> Cc: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] ADC
>
>
>
> Trenton,
>
> Gary Thomas wrote:
>
> >> On 13-Jul-2001 Trenton D. Adams wrote:
> >> Is there a standard api/interface for Analog to Digital Converters in
> >> eCos?  I would guess not since programming of an ADC would generally be
> >> quite simple.  Correct?
> >
> > Correct - you are on your own on this one.
>
> Why ? I guess there are others out here that would like a defined
> API for this.
>
> I would go for a character based interface where it is possible
> to send/receive data as a byte stream
> containing the words from/to the ADC.
> Set/get properties of the ADC would contain data like the
> resolution (in bits), sample period and maybe
> also if it is linear/aLaw/uLaw. Just define what you need and
> leave other fields zero (reserved for future use).
>
> Good luck,
>
>      Rob Jansen
>
> Software Engineer
> Competence Center Platforms
> BU Mobile Communications
> Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
> Tel: +31-24-353-6329
> Fax: +31-24-353-3613
> mailto:Rob.WJ.Jansen@philips.com
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] ADC
  2001-07-13  9:44 Trenton D. Adams
@ 2001-07-13  9:58 ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2001-07-13  9:58 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: eCos discussion

On 13-Jul-2001 Trenton D. Adams wrote:
> Is there a standard api/interface for Analog to Digital Converters in
> eCos?  I would guess not since programming of an ADC would generally be
> quite simple.  Correct?

Correct - you are on your own on this one.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] ADC
@ 2001-07-13  9:44 Trenton D. Adams
  2001-07-13  9:58 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Trenton D. Adams @ 2001-07-13  9:44 UTC (permalink / raw)
  To: 'eCos discussion'

Is there a standard api/interface for Analog to Digital Converters in
eCos?  I would guess not since programming of an ADC would generally be
quite simple.  Correct?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-16  1:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-16  0:44 [ECOS] ADC rob.wj.jansen
2001-07-16  1:33 ` Andy Simpkins
  -- strict thread matches above, loose matches on Subject: below --
2001-07-13  9:44 Trenton D. Adams
2001-07-13  9:58 ` Gary Thomas

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).