Skip to contentSkip to conversation

Controlling output pin

DISCUSSION Toni Van Remortel 1 participant 1 message Sep 30, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

I once found a small example somewhere which used an output pin of the P1 connector of the EP405 board. It just outputted a square wave. Now, I don't find it anymore, and I like to get it back, because it's the perfect start for a kernel module I need to write. Perhaps anybody else have another example on how to use an output directly.

The target of my module:
* generate 2 PWM signals on 2 output pins.
* do this all in real time (with RTAI).

I rather start from an example, than start from scratch (because I never dealt with direct pin control before).

So, if anybody van help me out with this, it's much appreciated. --
Toni Van Remortel
Wetenschappelijk Medewerker - D-science lab
Real time Linux for embedded systems: http://linemb.d-sciencelab.com

              Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
                      E-mail: [email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/