Thank you!
Vasile

On Sat, Apr 3, 2010 at 9:54 AM, <[email protected]> wrote:

> Revision: 1870
> Author: jsuijs
> Date: Sat Apr  3 09:53:37 2010
> Log: extended comment on serial_receive_wedge()
> http://code.google.com/p/jallib/source/detail?r=1870
>
> Modified:
>  /trunk/include/peripheral/usart/serial_hw_int_cts.jal
>
> =======================================
> --- /trunk/include/peripheral/usart/serial_hw_int_cts.jal       Mon Aug 17
> 00:17:21 2009
> +++ /trunk/include/peripheral/usart/serial_hw_int_cts.jal       Sat Apr  3
> 09:53:37 2010
> @@ -227,12 +227,19 @@
>
>          if (defined(serial_receive_wedge) == true) then
>             -- receive wedge - a user program can define this procedure.
> -            --    procedure serial_receive_wedge(byte in char)
> +            --
> +            --    procedure serial_receive_wedge(byte in char)
> +            --
>             -- If this procedure exisits, it will be called from the
> -            -- isr for each received char.
> +            -- isr, each time a char is received and put into the rx
> queue.
> +            --
> +            -- serial_receive_wedge is used in test_queue_isr.jal
> +            -- In general it can be usefull to detect ctrl-c or alike when
> they
> +            -- arive at the pic (and not when you are ready to process
> them).
> +            --
>             -- CAUTION: the wedge is part of the ISR and should be designed
> -            -- to behave accordingly. If you are not sure you need this,
> you
> -            -- probably don't!
> +            -- to behave accordingly (fast, minimal stack use and
> nonblocking).
> +            -- If you are not sure you need this, you probably don't!
>             serial_receive_wedge(_serial_rcvbuf[_serial_offsetrcvhead])
>          end if
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<jallib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to