[Tinyos Core WG] RE: Small gotcha in UartStream interface
Phil Buonadonna
pbuonadonna at archrock.com
Fri Oct 20 15:47:14 PDT 2006
There's yet another issue:
What is the *default* state of the ReceiveInterrupt for the purpose of
signalling the receivedByte event? Enabled or Disabled?
The code that presently exists assumes it's *enabled*? Is this intentional?
The interface docs should reflect this if so.
pb
> -----Original Message-----
> From: Phil Buonadonna
> Sent: Friday, October 20, 2006 1:37 PM
> To: TinyOS Core WG
> Subject: Small gotcha in UartStream interface
>
> One of the objective of using UartStream was to enable DMA
> based data transfers.
>
> However the 'receivedByte()' event conflicts with the ability
> to use DMA based receives. Specifically, there's no way to
> grab each individual byte if a DMA is in progress.
>
> I think the fix is just to change the 'semantics' of this
> functionality so that it CAN'T be used in conjuction with the
> receive() call.
>
> Thoughts?
>
> pb
>
More information about the Tinyos-2.0wg
mailing list