Appiko
|
Configuration and management of S2-LP Fifo. More...
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... | |
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.
Definition in file S2LP_Fifo.h.