Added support for WNC M14A2A Cellular LTE Data Module.
Dependencies: WNC14A2AInterface
Dependents: http-example-wnc http-example-wnc-modified
Linear FIFO Private Functions
[SPIRIT_LinearFifo]
Functions | |
uint8_t | SpiritLinearFifoReadNumElementsRxFifo (void) |
Returns the number of elements in the Rx FIFO. | |
uint8_t | SpiritLinearFifoReadNumElementsTxFifo (void) |
Returns the number of elements in the Tx FIFO. | |
void | SpiritLinearFifoSetAlmostFullThresholdRx (uint8_t cThrRxFifo) |
Sets the almost full threshold for the Rx FIFO. | |
uint8_t | SpiritLinearFifoGetAlmostFullThresholdRx (void) |
Returns the almost full threshold for RX FIFO. | |
void | SpiritLinearFifoSetAlmostEmptyThresholdRx (uint8_t cThrRxFifo) |
Sets the almost empty threshold for the Rx FIFO. | |
uint8_t | SpiritLinearFifoGetAlmostEmptyThresholdRx (void) |
Returns the almost empty threshold for Rx FIFO. | |
void | SpiritLinearFifoSetAlmostFullThresholdTx (uint8_t cThrTxFifo) |
Sets the almost full threshold for the Tx FIFO. | |
uint8_t | SpiritLinearFifoGetAlmostFullThresholdTx (void) |
Returns the almost full threshold for Tx FIFO. | |
void | SpiritLinearFifoSetAlmostEmptyThresholdTx (uint8_t cThrTxFifo) |
Sets the almost empty threshold for the Tx FIFO. | |
uint8_t | SpiritLinearFifoGetAlmostEmptyThresholdTx (void) |
Returns the almost empty threshold for Tx FIFO. |
Function Documentation
uint8_t SpiritLinearFifoGetAlmostEmptyThresholdRx | ( | void | ) |
Returns the almost empty threshold for Rx FIFO.
- Parameters:
-
None.
- Return values:
-
uint8_t Almost empty threshold for Rx FIFO.
Definition at line 217 of file SPIRIT_LinearFifo.c.
uint8_t SpiritLinearFifoGetAlmostEmptyThresholdTx | ( | void | ) |
Returns the almost empty threshold for Tx FIFO.
- Parameters:
-
None.
- Return values:
-
uint8_t Almost empty threshold for Tx FIFO.
Definition at line 309 of file SPIRIT_LinearFifo.c.
uint8_t SpiritLinearFifoGetAlmostFullThresholdRx | ( | void | ) |
Returns the almost full threshold for RX FIFO.
- Note:
- The almost full threshold is encountered from the top of the FIFO. For example, if it is 7 the almost full FIFO irq will be raised when the number of elements is equals to 96-7 = 89.
- Parameters:
-
None.
- Return values:
-
uint8_t Almost full threshold for Rx FIFO.
Definition at line 177 of file SPIRIT_LinearFifo.c.
uint8_t SpiritLinearFifoGetAlmostFullThresholdTx | ( | void | ) |
Returns the almost full threshold for Tx FIFO.
- Note:
- The almost full threshold is encountered from the top of the FIFO. For example, if it is set to 7 the almost full FIFO irq will be raised when the number of elements is equals to 96-7 = 89.
- Parameters:
-
None.
- Return values:
-
uint8_t Almost full threshold for Tx FIFO.
Definition at line 265 of file SPIRIT_LinearFifo.c.
uint8_t SpiritLinearFifoReadNumElementsRxFifo | ( | void | ) |
Returns the number of elements in the Rx FIFO.
- Parameters:
-
None.
- Return values:
-
uint8_t Number of elements in the Rx FIFO.
Definition at line 116 of file SPIRIT_LinearFifo.c.
uint8_t SpiritLinearFifoReadNumElementsTxFifo | ( | void | ) |
Returns the number of elements in the Tx FIFO.
- Parameters:
-
None.
- Return values:
-
uint8_t Number of elements in the Tx FIFO.
Definition at line 134 of file SPIRIT_LinearFifo.c.
void SpiritLinearFifoSetAlmostEmptyThresholdRx | ( | uint8_t | cThrRxFifo ) |
Sets 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.
- Parameters:
-
cThrRxFifo almost empty threshold. This parameter is an uint8_t.
- Return values:
-
None.
Definition at line 196 of file SPIRIT_LinearFifo.c.
void SpiritLinearFifoSetAlmostEmptyThresholdTx | ( | uint8_t | cThrTxFifo ) |
Sets 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.
- Parameters:
-
cThrTxFifo,: almost empty threshold. This parameter is an uint8_t.
- Return values:
-
None.
Definition at line 284 of file SPIRIT_LinearFifo.c.
void SpiritLinearFifoSetAlmostFullThresholdRx | ( | uint8_t | cThrRxFifo ) |
Sets 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.
- Note:
- The almost full threshold is encountered from the top of the FIFO. For example, if it is set to 7 the almost full FIFO irq will be raised when the number of elements is equals to 96-7 = 89.
- Parameters:
-
cThrRxFifo almost full threshold. This parameter is an uint8_t.
- Return values:
-
None.
Definition at line 154 of file SPIRIT_LinearFifo.c.
void SpiritLinearFifoSetAlmostFullThresholdTx | ( | uint8_t | cThrTxFifo ) |
Sets 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.
- Note:
- The almost full threshold is encountered from the top of the FIFO. For example, if it is set to 7 the almost full FIFO irq will be raised when the number of elements is equals to 96-7 = 89.
- Parameters:
-
cThrTxFifo almost full threshold. This parameter is an uint8_t.
- Return values:
-
None.
Definition at line 238 of file SPIRIT_LinearFifo.c.
Generated on Tue Jul 12 2022 17:40:26 by 1.7.2