Hi Geert, fastest way is to do a readbits and a setbits command from a console session.
Since in the SDK in the Drivers for built in interfaces option page of the make kernelconfig you can also set PA input and output wanted lines, you should be able to read the state of the input PA lines with the command readbits and to set the output state with the command: setbits -p A -b 0 -s 1 (this is to setup PA0 to logic state '1' See you Roberto Asquini Geert Vancompernolle ha scritto: > > Hi, > > When looking to the set-up of the FoxBoard, then one can see that with > the default settings only one pin is left for IO or interrupt purposes > on port PA. > > The rest of the pins are claimed to control the LED's, spy the switch > and also control ttyS2 (4 pins of PA are used for DTR, DSR, DCD and RI > signals). > > In the kernel configuration, I disabled serial port 2, since I don't > need this port. > > After recompiling the kernel, I saw during the boot process that ttyS2 > has indeed disappeared. > > I assume the 4 pins of PA have become available now as IO again. > > How can this easily be tested just to be sure I can use them as IO or > interrupt again? > > Best rgds, > > --Geert > > > > __________ Informazione NOD32 2341 (20070620) __________ > > Questo messaggio รจ stato controllato dal Sistema Antivirus NOD32 > http://www.nod32.it -- Roberto Asquini Acme Systems srl [EMAIL PROTECTED] http://www.acmesystems.it
