Classes | Macros | Functions
yfifo.h File Reference
#include "ydef.h"
Include dependency graph for yfifo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yFifoBuf
 

Macros

#define YFIFO_USE_MUTEX
 
#define YFIFOEND(fifobuf)   ((fifobuf)->buff + (fifobuf)->buffsize)
 
#define yFifoInit(fifo, buffer, len)   yFifoInitEx(fifo,buffer,len);
 

Functions

void decodePubVal (Notification_funydx funInfo, const char *funcval, char *buffer)
 
void yFifoCleanup (yFifoBuf *buf)
 
void yFifoEmpty (yFifoBuf *buf)
 
void yFifoEmptyEx (yFifoBuf *buf)
 
void yFifoEnterCS (yFifoBuf *buf)
 
u16 yFifoGetFree (yFifoBuf *buf)
 
u16 yFifoGetFreeEx (yFifoBuf *buf)
 
u16 yFifoGetUsed (yFifoBuf *buf)
 
u16 yFifoGetUsedEx (yFifoBuf *buf)
 
void yFifoInitEx (yFifoBuf *buf, u8 *buffer, u16 bufflen)
 
void yFifoLeaveCS (yFifoBuf *buf)
 
u16 yForceFifo (yFifoBuf *buf, const u8 *data, u16 datalen, u32 *absCounter)
 
u16 yPeekContinuousFifo (yFifoBuf *buf, u8 **ptr, u16 startofs)
 
u16 yPeekContinuousFifoEx (yFifoBuf *buf, u8 **ptr, u16 startofs)
 
u16 yPeekFifo (yFifoBuf *buf, u8 *data, u16 datalen, u16 startofs)
 
u16 yPeekFifoEx (yFifoBuf *buf, u8 *data, u16 datalen, u16 startofs)
 
u16 yPopFifo (yFifoBuf *buf, u8 *data, u16 datalen)
 
u16 yPopFifoEx (yFifoBuf *buf, u8 *data, u16 datalen)
 
u16 yPushFifo (yFifoBuf *buf, const u8 *data, u16 datalen)
 
u16 yPushFifoEx (yFifoBuf *buf, const u8 *data, u16 datalen)
 
u16 ySeekFifo (yFifoBuf *buf, const u8 *pattern, u16 patlen, u16 startofs, u16 searchlen, u8 bTextCompare)
 
u16 ySeekFifoEx (yFifoBuf *buf, const u8 *pattern, u16 patlen, u16 startofs, u16 searchlen, u8 bTextCompare)
 
void yxtoa (u32 x, char *buf, u16 len)
 

Macro Definition Documentation

#define YFIFO_USE_MUTEX

Definition at line 44 of file yfifo.h.

#define YFIFOEND (   fifobuf)    ((fifobuf)->buff + (fifobuf)->buffsize)

Definition at line 76 of file yfifo.h.

#define yFifoInit (   fifo,
  buffer,
  len 
)    yFifoInitEx(fifo,buffer,len);

Definition at line 84 of file yfifo.h.

Function Documentation

void decodePubVal ( Notification_funydx  funInfo,
const char *  funcval,
char *  buffer 
)

Definition at line 429 of file yfifo.c.

void yFifoCleanup ( yFifoBuf buf)

Definition at line 70 of file yfifo.c.

void yFifoEmpty ( yFifoBuf buf)

Definition at line 100 of file yfifo.c.

void yFifoEmptyEx ( yFifoBuf buf)

Definition at line 92 of file yfifo.c.

void yFifoEnterCS ( yFifoBuf buf)

Definition at line 81 of file yfifo.c.

u16 yFifoGetFree ( yFifoBuf buf)

Definition at line 401 of file yfifo.c.

u16 yFifoGetFreeEx ( yFifoBuf buf)

Definition at line 395 of file yfifo.c.

u16 yFifoGetUsed ( yFifoBuf buf)

Definition at line 385 of file yfifo.c.

u16 yFifoGetUsedEx ( yFifoBuf buf)

Definition at line 378 of file yfifo.c.

void yFifoInitEx ( yFifoBuf buf,
u8 *  buffer,
u16  bufflen 
)

Definition at line 50 of file yfifo.c.

void yFifoLeaveCS ( yFifoBuf buf)

Definition at line 86 of file yfifo.c.

u16 yForceFifo ( yFifoBuf buf,
const u8 *  data,
u16  datalen,
u32 *  absCounter 
)

Definition at line 214 of file yfifo.c.

u16 yPeekContinuousFifo ( yFifoBuf buf,
u8 **  ptr,
u16  startofs 
)

Definition at line 303 of file yfifo.c.

u16 yPeekContinuousFifoEx ( yFifoBuf buf,
u8 **  ptr,
u16  startofs 
)

Definition at line 274 of file yfifo.c.

u16 yPeekFifo ( yFifoBuf buf,
u8 *  data,
u16  datalen,
u16  startofs 
)

Definition at line 263 of file yfifo.c.

u16 yPeekFifoEx ( yFifoBuf buf,
u8 *  data,
u16  datalen,
u16  startofs 
)

Definition at line 232 of file yfifo.c.

u16 yPopFifo ( yFifoBuf buf,
u8 *  data,
u16  datalen 
)

Definition at line 187 of file yfifo.c.

u16 yPopFifoEx ( yFifoBuf buf,
u8 *  data,
u16  datalen 
)

Definition at line 153 of file yfifo.c.

u16 yPushFifo ( yFifoBuf buf,
const u8 *  data,
u16  datalen 
)

Definition at line 143 of file yfifo.c.

u16 yPushFifoEx ( yFifoBuf buf,
const u8 *  data,
u16  datalen 
)

Definition at line 108 of file yfifo.c.

u16 ySeekFifo ( yFifoBuf buf,
const u8 *  pattern,
u16  patlen,
u16  startofs,
u16  searchlen,
u8  bTextCompare 
)

Definition at line 367 of file yfifo.c.

u16 ySeekFifoEx ( yFifoBuf buf,
const u8 *  pattern,
u16  patlen,
u16  startofs,
u16  searchlen,
u8  bTextCompare 
)

Definition at line 314 of file yfifo.c.

void yxtoa ( u32  x,
char *  buf,
u16  len 
)

Definition at line 413 of file yfifo.c.



yoctopuce_altimeter
Author(s): Anja Sheppard
autogenerated on Mon Jun 10 2019 15:49:13