Microchip® Advanced Software Framework

fifo.c File Reference

FIFO definitions.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

#include "fifo.h"
#include <stddef.h>

Functions

uint8_t fifo_empty (fifo_t *const fifo)
 
uint8_t fifo_full (fifo_t *const fifo)
 
uint8_t fifo_get (fifo_t *const fifo, uint8_t *const byte)
 
uint8_t fifo_init (fifo_t *const fifo, uint8_t *const buffer, const uint32_t size)
 
uint8_t fifo_put (fifo_t *const fifo, const uint8_t byte)
 

uint8_t fifo_empty ( fifo_t *const  fifo)
uint8_t fifo_full ( fifo_t *const  fifo)
uint8_t fifo_get ( fifo_t *const  fifo,
uint8_t *const  byte 
)
uint8_t fifo_init ( fifo_t *const  fifo,
uint8_t *const  buffer,
const uint32_t  size 
)
uint8_t fifo_put ( fifo_t *const  fifo,
const uint8_t  byte 
)