Home
last modified time | relevance | path

Searched refs:fifo (Results 1 – 5 of 5) sorted by relevance

/loramac-node-2.7.6/src/system/
Dfifo.c25 static uint16_t FifoNext( Fifo_t *fifo, uint16_t index ) in FifoNext() argument
27 return ( index + 1 ) % fifo->Size; in FifoNext()
30 void FifoInit( Fifo_t *fifo, uint8_t *buffer, uint16_t size ) in FifoInit() argument
32 fifo->Begin = 0; in FifoInit()
33 fifo->End = 0; in FifoInit()
34 fifo->Data = buffer; in FifoInit()
35 fifo->Size = size; in FifoInit()
38 void FifoPush( Fifo_t *fifo, uint8_t data ) in FifoPush() argument
40 fifo->End = FifoNext( fifo, fifo->End ); in FifoPush()
41 fifo->Data[fifo->End] = data; in FifoPush()
[all …]
Dfifo.h52 void FifoInit( Fifo_t *fifo, uint8_t *buffer, uint16_t size );
60 void FifoPush( Fifo_t *fifo, uint8_t data );
68 uint8_t FifoPop( Fifo_t *fifo );
75 void FifoFlush( Fifo_t *fifo );
83 bool IsFifoEmpty( Fifo_t *fifo );
91 bool IsFifoFull( Fifo_t *fifo );
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pcd_ex.c88 HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size) in HAL_PCDEx_SetTxFiFo() argument
105 if (fifo == 0U) in HAL_PCDEx_SetTxFiFo()
112 for (i = 0U; i < (fifo - 1U); i++) in HAL_PCDEx_SetTxFiFo()
118 hpcd->Instance->DIEPTXF[fifo - 1U] = ((uint32_t)size << 16) | Tx_Offset; in HAL_PCDEx_SetTxFiFo()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_pcd_ex.h68 HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size);
/loramac-node-2.7.6/
DCHANGELOG.md957 - Made fifo functions coding style coherent with the project