1. NAME▲

DEFINE_KFIFO - macro to define and initialize a fifo

2. SYNOPSIS ▲

DEFINE_KFIFO( fifo , type , size );

3. ARGUMENTS ▲

fifo
    name of the declared fifo datatype

type
    type of the fifo elements

size
    the number of elements in the fifo, this must be a power of 2

4. NOTE ▲

the macro can be used for global and local fifo data type variables.

5. COPYRIGHT ▲