Appiko
Functions
S2LP_Fifo.h File Reference

Configuration and management of S2-LP Fifo. More...

#include "S2LP_Regs.h"
#include "S2LP_Types.h"

Go to the source code of this file.

Functions

uint8_t S2LPFifoReadNumberBytesRxFifo (void)
 Return the number of elements in the Rx FIFO. More...
 
uint8_t S2LPFifoReadNumberBytesTxFifo (void)
 Return the number of elements in the Tx FIFO. More...
 
void S2LPFifoSetAlmostFullThresholdRx (uint8_t cThrRxFifo)
 Set the almost full threshold for the Rx FIFO. When the number of elements in RX FIFO reaches this value an interrupt can be generated to the MCU. More...
 
uint8_t S2LPFifoGetAlmostFullThresholdRx (void)
 Return the almost full threshold for RX FIFO. More...
 
void S2LPFifoSetAlmostEmptyThresholdRx (uint8_t cThrRxFifo)
 Set the almost empty threshold for the Rx FIFO. When the number of elements in RX FIFO reaches this value an interrupt can be generated to the MCU. More...
 
uint8_t S2LPFifoGetAlmostEmptyThresholdRx (void)
 Return the almost empty threshold for Rx FIFO. More...
 
void S2LPFifoSetAlmostFullThresholdTx (uint8_t cThrTxFifo)
 Set the almost full threshold for the Tx FIFO. When the number of elements in TX FIFO reaches this value an interrupt can be generated to the MCU. More...
 
uint8_t S2LPFifoGetAlmostFullThresholdTx (void)
 Return the almost full threshold for Tx FIFO. More...
 
void S2LPFifoSetAlmostEmptyThresholdTx (uint8_t cThrTxFifo)
 Set the almost empty threshold for the Tx FIFO. When the number of elements in Tx FIFO reaches this value an interrupt can can be generated to the MCU. More...
 
uint8_t S2LPFifoGetAlmostEmptyThresholdTx (void)
 Return the almost empty threshold for Tx FIFO. More...
 
void S2LPFifoMuxRxFifoIrqEnable (SFunctionalState xNewState)
 Enable the Mux for the Rx FIFO IRQ. To be enabled when RX FIFO THRESHOLD is used. More...
 

Detailed Description

Author
LowPower RF BU - AMG
Version
1.2.1
Date
16-April-2018

This module allows the user to manage the linear FIFO. The functions exported here can be used to set the thresholds for the FIFO almost full / empty alarm interrupts or to get the total number of elements inside the FIFO.

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

THIS SOURCE CODE IS PROTECTED BY A LICENSE. FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.

© COPYRIGHT 2016 STMicroelectronics

Definition in file S2LP_Fifo.h.