gnupic: gpsim and usart module
Subject:
Re: gpsim and usart module
From:
Scott Dattalo ####@####.####
Date:
14 Mar 2004 23:12:13 +0000
Message-Id: <Pine.LNX.4.44.0403141505050.4689-100000@ruckus.brouhaha.com>
On Sun, 14 Mar 2004, Fabien Marchewka wrote:
> ok for generating the stimulus, my program send data too, and how can I
> have an output readble for a human (eg : ascii ou hex output).
Now, that's where the usart module would be useful! I have used the usart
module for exactly that feature. At the moment, you're going to have to
trust that the data written to the TX buffer will get transmitted. Another
option is to tie the TX line to the RX line. The RX data can be monitored
after every RX interrupt (or perhaps whenever it's written to a buffer).
Obviously you won't be able to simultaneously tie the stimulus and the TX
output to the receiver at the same time. But if you got clever with the
boolean modules, you might be able to rig something up.
> Thanks for your help.
> Another question :
> what about support for interrupt, timer, ... in gpal ?
I'm not sure if Craig (the author of gpal) is subscribed to this list or
not. So perhaps you may wish to post this question to the GNUPIC mailing
list.
Scott