Pin Reading

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Apr 2 07:16:23 UTC 2012


On 04/01/2012 09:19 PM, Binkowski, Cassio wrote:
> Dear all,
>
> Forgive my ignorance, but I just want to know how to read pins with RTEMS.
> For example, if I want to read a pin in an Arduino I just code it like:
> analogRead(pinNumber).
>
> Is this covered in RTEMS or do I have to read the datasheet and make my own code?

Every BSP handles this differently.  Even if we add a rtems_read_pin(X), then 
what means X on BSP 1, 2, or 3?

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list