From: Frank Buss <fb@frank-buss.de>
Subject: Re: FIFO
Date: Sat, 16 Sep 2017 19:12:44 +0200
Date: 2017-09-16T19:12:44+02:00 [thread overview]
Message-ID: <opjm2c$g7p$1@newsreader4.netcologne.de> (raw)
In-Reply-To: <87wp4y8vkn.fsf@jacob-sparre.dk>
On 09/16/2017 06:19 PM, Jacob Sparre Andersen wrote:
> Frank Buss <fb@frank-buss.de> writes:
>
>> I need a FIFO with a fixed size, for buffering serial data on an
>> embedded system. The FIFO will be filled in an interrupt and read from
>> the main function.
>
> Maybe something like a bounded, synchronised queue
> (http://www.ada-auth.org/standards/rm12_w_tc1/html/RM-A-18-29.html)?
Bit cumbersome to define the right type, but otherwise looks like what I
was searching for. Unfortunately not supported for my implementation of
ravenscar:
http://www.adacore.com/developers/development-log/NF-74-O619-005-gnat/
Oh well, I'll write my own package for it then. On the plus side it
wouldn't have all these interface stuff overhead and might be smaller
and faster, just a simple generic with the type and the size.
--
Frank Buss, http://www.frank-buss.de
electronics and more: http://www.youtube.com/user/frankbuss
next prev parent reply other threads:[~2017-09-16 17:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-16 15:24 FIFO Frank Buss
2017-09-16 16:19 ` FIFO Jacob Sparre Andersen
2017-09-16 17:07 ` FIFO Dmitry A. Kazakov
2017-09-16 17:12 ` Frank Buss [this message]
2017-09-16 17:22 ` FIFO Dmitry A. Kazakov
2017-09-16 18:32 ` FIFO Frank Buss
2017-09-17 7:39 ` FIFO Jacob Sparre Andersen
2017-09-17 8:38 ` FIFO Jacob Sparre Andersen
2017-09-17 8:57 ` FIFO Niklas Holsti
2017-09-17 11:30 ` FIFO AdaMagica
[not found] ` <8b99f47a-63bf-4f07-9077-6dab3cf32a7f@googlegroups.com>
[not found] ` <oppbcq$7jj$1@newsreader4.netcologne.de>
[not found] ` <d37417dd-3a94-4a43-bc9c-071f2da6181d@googlegroups.com>
[not found] ` <f2bs2lFq4j3U1@mid.individual.net>
[not found] ` <opqq32$3bd$1@newsreader4.netcologne.de>
2017-09-25 20:57 ` FIFO Niklas Holsti
2017-09-16 17:52 ` FIFO Robert A Duff
2017-09-16 18:11 ` FIFO Frank Buss
2017-09-17 9:46 ` FIFO Simon Wright
2017-09-16 22:04 ` FIFO Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox