#include "ydef.h"
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) |
#define YFIFOEND | ( | fifobuf | ) | ((fifobuf)->buff + (fifobuf)->buffsize) |
#define yFifoInit | ( | fifo, | |
buffer, | |||
len | |||
) | yFifoInitEx(fifo,buffer,len); |
void decodePubVal | ( | Notification_funydx | funInfo, |
const char * | funcval, | ||
char * | buffer | ||
) |
void yFifoInitEx | ( | yFifoBuf * | buf, |
u8 * | buffer, | ||
u16 | bufflen | ||
) |
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 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 | ||
) |