Searched refs:Pos (Results 1 – 11 of 11) sorted by relevance
| /bsp/airm2m/air105/libraries/HAL_Driver/Src/ |
| A D | bsp_common.c | 168 Buf->Pos = 0; in Buffer_StaticInit() 190 Buf->Pos += Len; in Buffer_StaticWrite() 919 Buf->Pos++; in BytesGet8FromBuf() 927 Buf->Pos++; in BytesPut8ToBuf() 932 Buf->Pos += 2; in BytesGetBe16FromBuf() 940 Buf->Pos += 2; in BytesPutBe16ToBuf() 945 Buf->Pos += 4; in BytesGetBe32FromBuf() 946 …return (Buf->Data[Buf->Pos - 4] << 24) | (Buf->Data[Buf->Pos - 3] << 16) | (Buf->Data[Buf->Pos - 2… in BytesGetBe32FromBuf() 955 Buf->Pos += 4; in BytesPutBe32ToBuf() 969 Buf->Pos+= 2; in BytesPutLe16ToBuf() [all …]
|
| A D | core_dac.c | 29 uint32_t Pos; 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() 45 …DMA_ForceStartStream(prvDAC.DMATxStream, &prvDAC.TxData[prvDAC.Pos], TxLevel, DAC_DMADoneCB, NULL,… in DAC_DMADoneCB() 46 prvDAC.Pos += TxLevel; in DAC_DMADoneCB() 99 prvDAC.Pos = 0; in DAC_Send() 109 TxLevel = ((prvDAC.MaxLen - prvDAC.Pos) > 4090)?4000:(prvDAC.MaxLen - prvDAC.Pos); in DAC_Send() 110 prvDAC.Pos += TxLevel; in DAC_Send() 112 …DMA_ForceStartStream(prvDAC.DMATxStream, &prvDAC.TxData[prvDAC.Pos], TxLevel, DAC_DMADoneCB, NULL,… in DAC_Send()
|
| A D | core_spi.c | 169 …if ((prvSPI[SpiID].TxBuf.Pos != prvSPI[SpiID].RxBuf.Pos) || (prvSPI[SpiID].RxBuf.Pos != prvSPI[Spi… in HSPI_IrqHandle() 171 DBG("%u, %u", prvSPI[SpiID].TxBuf.Pos, prvSPI[SpiID].RxBuf.Pos); in HSPI_IrqHandle() 242 …if ((prvSPI[SpiID].TxBuf.Pos != prvSPI[SpiID].RxBuf.Pos) || (prvSPI[SpiID].RxBuf.Pos != prvSPI[Spi… in SPI_DMADoneCB() 244 DBG("%u, %u", prvSPI[SpiID].TxBuf.Pos, prvSPI[SpiID].RxBuf.Pos); in SPI_DMADoneCB() 281 prvSPI[SpiID].RxBuf.Pos++; in SPI_IrqHandle() 289 prvSPI[SpiID].RxBuf.Pos++; in SPI_IrqHandle() 302 if (prvSPI[SpiID].TxBuf.Pos != prvSPI[SpiID].RxBuf.Pos) in SPI_IrqHandle() 304 DBG("%u, %u", prvSPI[SpiID].TxBuf.Pos, prvSPI[SpiID].RxBuf.Pos); in SPI_IrqHandle() 328 prvSPI[SpiID].TxBuf.Pos += i; in SPI_IrqHandle() 488 prvSPI[SpiID].RxBuf.Pos += RxLevel; in SPI_DMATransfer() [all …]
|
| A D | core_i2c.c | 103 if (prvI2C.DataBuf.Pos >= prvI2C.DataBuf.MaxLen) in I2C_IrqHandle() 115 prvI2C.DataBuf.Pos++; in I2C_IrqHandle() 139 prvI2C.DataBuf.Pos++; in I2C_IrqHandle() 140 if (prvI2C.DataBuf.Pos >= prvI2C.DataBuf.MaxLen) in I2C_IrqHandle() 180 if (prvI2C.DataBuf.Pos >= prvI2C.DataBuf.MaxLen) in I2C_IrqHandleRegQueue() 191 prvI2C.DataBuf.Pos++; in I2C_IrqHandleRegQueue() 204 prvI2C.DataBuf.Pos++; 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() 338 prvI2C.DataBuf.Pos++; in I2C_MasterXfer() [all …]
|
| A D | core_uart.c | 346 prvUart[UartID].TxBuf.Pos++; in Uart_BufferTx() 348 if (prvUart[UartID].TxBuf.Pos >= prvUart[UartID].TxBuf.MaxLen) in Uart_BufferTx() 353 prvUart[UartID].TxCacheBuf.Pos = 0; in Uart_BufferTx() 435 prvUart[UartID].RxBuf.Pos = 0; in Uart_RxBufferCB() 456 ReadLen = prvUart[UartID].RxBuf.Pos; in Uart_RxBufferRead() 460 ReadLen = (prvUart[UartID].RxBuf.Pos < Len)?prvUart[UartID].RxBuf.Pos:Len; in Uart_RxBufferRead() 482 prvUart[UartID].RxBuf.Pos = 0; in Uart_RxBufferClear() 493 prvUart[UartID].TxBuf.Pos++; in prvUart_Tx() 495 if (prvUart[UartID].TxBuf.Pos >= prvUart[UartID].TxBuf.MaxLen) in prvUart_Tx() 506 else if (prvUart[UartID].TxCacheBuf.Pos) in prvUart_Tx() [all …]
|
| 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) 1723 TxLen = pEpCtrl->TxBuf.MaxLen - pEpCtrl->TxBuf.Pos; 1727 for(i = pEpCtrl->TxBuf.Pos; i < pEpCtrl->TxBuf.Pos + TxLen; i++) 1731 pEpCtrl->TxBuf.Pos += TxLen;
|
| A D | core_hwtimer.c | 140 …BSP_SetBit(HWTimer->InDataBuf.Data, HWTimer->InDataBuf.Pos, HWTimer->Cmd[HWTimer->CurCount].uArg.I… in prvHWTimer_StartOperationQueue() 387 prvHWTimer[HWTimerID].InDataBuf.Pos = 0; in HWTimer_ResetOperationQueue()
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/ |
| A D | ht32f1xxxx_ckcu.c | 153 #define CKCU_BF_WRITE(Reg, Mask, Pos, WriteValue) (Reg = ((Reg & ~((u32)Mask)) | ((u32)WriteValue… argument 154 #define CKCU_BF_READ(Reg, Mask, Pos) ((Reg & (u32)Mask) >> Pos) argument
|
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/ |
| A D | ht32f5xxxx_ckcu.c | 166 #define CKCU_BF_WRITE(Reg, Mask, Pos, WriteValue) (Reg = ((Reg & ~((u32)Mask)) | ((u32)WriteValue… argument 167 #define CKCU_BF_READ(Reg, Mask, Pos) ((Reg & (u32)Mask) >> Pos) argument
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_hal_uart.h | 195 …void (* RxEventCallback)(struct __UART_HandleTypeDef *huart, uint16_t Pos); /*!< UART Reception Ev… 228 typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart, uint16_t Pos); …
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Inc/ |
| A D | bsp_common.h | 79 uint32_t Pos; member
|
Completed in 27 milliseconds