Searched refs:MaxLen (Results 1 – 8 of 8) sorted by relevance
| /bsp/airm2m/air105/libraries/HAL_Driver/Src/ |
| A D | core_dac.c | 30 uint32_t MaxLen; member 41 if (prvDAC.MaxLen > prvDAC.Pos) in DAC_DMADoneCB() 43 TxLevel = ((prvDAC.MaxLen - prvDAC.Pos) > 4090)?4000:(prvDAC.MaxLen - prvDAC.Pos); in DAC_DMADoneCB() 98 prvDAC.MaxLen = Len; in DAC_Send() 109 TxLevel = ((prvDAC.MaxLen - prvDAC.Pos) > 4090)?4000:(prvDAC.MaxLen - prvDAC.Pos); in DAC_Send()
|
| A D | core_spi.c | 163 if (prvSPI[SpiID].RxBuf.Pos >= prvSPI[SpiID].RxBuf.MaxLen) in HSPI_IrqHandle() 183 if (prvSPI[SpiID].TxBuf.Pos < prvSPI[SpiID].TxBuf.MaxLen) in HSPI_IrqHandle() 217 if (prvSPI[SpiID].RxBuf.MaxLen > prvSPI[SpiID].RxBuf.Pos) in SPI_DMADoneCB() 219 …RxLevel = ((prvSPI[SpiID].RxBuf.MaxLen - prvSPI[SpiID].RxBuf.Pos) > 4080)?4000:(prvSPI[SpiID].RxB… in SPI_DMADoneCB() 316 if (prvSPI[SpiID].TxBuf.Pos < prvSPI[SpiID].TxBuf.MaxLen) in SPI_IrqHandle() 487 RxLevel = (prvSPI[SpiID].RxBuf.MaxLen > 4080)?4000:prvSPI[SpiID].RxBuf.MaxLen; in SPI_DMATransfer() 526 if (prvSPI[SpiID].TxBuf.MaxLen <= HSPIM_FIFO_TX_NUM) in HSPI_Transfer() 528 TxLen = prvSPI[SpiID].TxBuf.MaxLen; in HSPI_Transfer() 602 if (prvSPI[SpiID].RxBuf.MaxLen <= SPIM_FIFO_RX_NUM) in SPI_Transfer() 604 SPI->RXFTLR = prvSPI[SpiID].RxBuf.MaxLen - 1; in SPI_Transfer() [all …]
|
| A D | core_i2c.c | 103 if (prvI2C.DataBuf.Pos >= prvI2C.DataBuf.MaxLen) in I2C_IrqHandle() 107 else if ((prvI2C.DataBuf.MaxLen - prvI2C.DataBuf.Pos) > 1) in I2C_IrqHandle() 122 if ((prvI2C.DataBuf.MaxLen - prvI2C.DataBuf.Pos) > 1) in I2C_IrqHandle() 140 if (prvI2C.DataBuf.Pos >= prvI2C.DataBuf.MaxLen) in I2C_IrqHandle() 144 else if ((prvI2C.DataBuf.MaxLen - prvI2C.DataBuf.Pos) > 1) in I2C_IrqHandle() 180 if (prvI2C.DataBuf.Pos >= prvI2C.DataBuf.MaxLen) in I2C_IrqHandleRegQueue() 196 else if ((prvI2C.DataBuf.MaxLen - prvI2C.DataBuf.Pos) > 1) in I2C_IrqHandleRegQueue() 318 if ((prvI2C.DataBuf.MaxLen - prvI2C.DataBuf.Pos) > 1) in I2C_MasterXfer() 330 if ((prvI2C.DataBuf.MaxLen - prvI2C.DataBuf.Pos) > 1) in I2C_MasterXfer()
|
| A D | core_uart.c | 331 if (prvUart[UartID].TxBuf.Data || prvUart[UartID].TxBuf.MaxLen) in Uart_BufferTx() 343 …while ((prvUart[UartID].TxBuf.Pos < prvUart[UartID].TxBuf.MaxLen) && (Uart->USR & UART_STATUS_TX_F… in Uart_BufferTx() 348 if (prvUart[UartID].TxBuf.Pos >= prvUart[UartID].TxBuf.MaxLen) in Uart_BufferTx() 436 if (prvUart[UartID].RxBuf.MaxLen > RX_BUF_HIGH) in Uart_RxBufferCB() 463 if (!prvUart[UartID].RxBuf.Pos && prvUart[UartID].RxBuf.MaxLen > RX_BUF_HIGH) in Uart_RxBufferRead() 490 …while ((prvUart[UartID].TxBuf.Pos < prvUart[UartID].TxBuf.MaxLen) && (Uart->USR & UART_STATUS_TX_F… in prvUart_Tx() 495 if (prvUart[UartID].TxBuf.Pos >= prvUart[UartID].TxBuf.MaxLen) in prvUart_Tx()
|
| A D | bsp_common.c | 26 void LoopBuffer_Init(Loop_Buffer *Buf, void *Src, uint32_t MaxLen, uint32_t DataSize) in LoopBuffer_Init() argument 31 Buf->MaxLength = MaxLen; in LoopBuffer_Init() 165 void Buffer_StaticInit(Buffer_Struct *Buf, void *Src, uint32_t MaxLen) in Buffer_StaticInit() argument 169 Buf->MaxLen = MaxLen; in Buffer_StaticInit() 182 if ((Buf->Pos + Len) > Buf->MaxLen) in Buffer_StaticWrite() 184 Len = Buf->MaxLen - Buf->Pos; in Buffer_StaticWrite()
|
| A D | core_hwtimer.c | 388 if (prvHWTimer[HWTimerID].InDataBuf.MaxLen) in HWTimer_ResetOperationQueue() 390 memset(prvHWTimer[HWTimerID].InDataBuf.Data, 0, prvHWTimer[HWTimerID].InDataBuf.MaxLen); in HWTimer_ResetOperationQueue() 447 memcpy(Value, prvHWTimer[HWTimerID].InDataBuf.Data, prvHWTimer[HWTimerID].InDataBuf.MaxLen); in HWTimer_GetOperationQueueInputResult() 448 return prvHWTimer[HWTimerID].InDataBuf.MaxLen; in HWTimer_GetOperationQueueInputResult()
|
| A D | core_usb_ll_driver.c | 1677 if (pEpCtrl->TxBuf.Pos >= pEpCtrl->TxBuf.MaxLen) 1706 if ((pEpCtrl->TxBuf.MaxLen - pEpCtrl->TxBuf.Pos) > pEpCtrl->MaxPacketLen) 1716 if ((pEpCtrl->TxBuf.MaxLen - pEpCtrl->TxBuf.Pos) == pEpCtrl->MaxPacketLen) 1718 if ( pEpCtrl->TxBuf.MaxLen < pEpCtrl->XferMaxLen ) 1723 TxLen = pEpCtrl->TxBuf.MaxLen - pEpCtrl->TxBuf.Pos;
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Inc/ |
| A D | bsp_common.h | 80 uint32_t MaxLen; member 198 void Buffer_StaticInit(Buffer_Struct *Buf, void *Src, uint32_t MaxLen); 201 void LoopBuffer_Init(Loop_Buffer *Buf, void *Src, uint32_t MaxLen, uint32_t DataSize);
|
Completed in 28 milliseconds