/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_lpi2c.c | 739 uint8_t *buf; in LPI2C_MasterReceive() local 763 buf = (uint8_t *)rxBuff; in LPI2C_MasterReceive() 793 *buf++ = (uint8_t)(value & LPI2C_MRDR_DATA_MASK); in LPI2C_MasterReceive() 818 uint8_t *buf = (uint8_t *)txBuff; in LPI2C_MasterSend() local 833 base->MTDR = *buf++; in LPI2C_MasterSend() 1059 sendval = ((uint16_t)(*handle->buf)) | ((uint16_t)(*(handle->buf + 1U)) << 8U); in LPI2C_RunTransferStateMachine() 1061 handle->buf++; in LPI2C_RunTransferStateMachine() 1062 handle->buf++; in LPI2C_RunTransferStateMachine() 1072 handle->buf = (uint8_t *)xfer->data; in LPI2C_RunTransferStateMachine() 1118 base->MTDR = *(handle->buf)++; in LPI2C_RunTransferStateMachine() [all …]
|
D | fsl_lpi2c.h | 240 uint8_t *buf; /*!< Buffer pointer for current state. */ member
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_lpi2c.c | 755 uint8_t *buf; in LPI2C_MasterStop() local 792 buf = (uint8_t *)rxBuff; in LPI2C_MasterStop() 827 *buf++ = (uint8_t)(value & LPI2C_MRDR_DATA_MASK); in LPI2C_MasterStop() 855 uint8_t *buf = (uint8_t *)txBuff; in LPI2C_MasterSend() local 870 base->MTDR = *buf++; in LPI2C_MasterSend() 1099 sendval = ((uint16_t)handle->buf[0]) | (((uint16_t)handle->buf[1]) << 8U); in LPI2C_RunTransferStateMachine() 1101 handle->buf++; in LPI2C_RunTransferStateMachine() 1102 handle->buf++; in LPI2C_RunTransferStateMachine() 1112 handle->buf = (uint8_t *)xfer->data; in LPI2C_RunTransferStateMachine() 1175 base->MTDR = *(handle->buf)++; in LPI2C_RunTransferStateMachine() [all …]
|
D | fsl_csi.c | 231 pvoid_to_u32_t buf; in CSI_TransferGetEmptyBuffer() local 233 buf.pvoid = handle->emptyBuffer; in CSI_TransferGetEmptyBuffer() 235 handle->emptyBuffer = *(void **)(buf.pvoid); in CSI_TransferGetEmptyBuffer() 237 return buf.u32; in CSI_TransferGetEmptyBuffer() 242 pvoid_to_u32_t buf; in CSI_TransferPutEmptyBuffer() local 243 buf.u32 = buffer; in CSI_TransferPutEmptyBuffer() 245 *(void **)(buf.pvoid) = handle->emptyBuffer; in CSI_TransferPutEmptyBuffer() 246 handle->emptyBuffer = buf.pvoid; in CSI_TransferPutEmptyBuffer()
|
D | fsl_lpi2c.h | 252 uint8_t *buf; /*!< Buffer pointer for current state. */ member
|
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_i2c.c | 544 const uint8_t *buf = (const uint8_t *)txBuff; in I2C_MasterWriteBlocking() local 563 base->MSTDAT = *buf++; in I2C_MasterWriteBlocking() 635 uint8_t *buf = (uint8_t *)(rxBuff); in I2C_MasterReadBlocking() local 654 *(buf++) = (uint8_t)base->MSTDAT; in I2C_MasterReadBlocking() 983 handle->buf = (uint8_t *)transfer->data; in I2C_InitTransferStateMachine() 1164 base->MSTDAT = *(handle->buf)++; in I2C_RunTransferStateMachine() 1191 *(handle->buf)++ = (uint8_t)base->MSTDAT; in I2C_RunTransferStateMachine() 1668 const uint8_t *buf = txBuff; in I2C_SlaveWriteBlocking() local 1719 base->SLVDAT = I2C_SLVDAT_DATA(*buf); in I2C_SlaveWriteBlocking() 1725 buf++; in I2C_SlaveWriteBlocking() [all …]
|
D | fsl_i3c.c | 995 uint8_t *buf; in I3C_MasterReceive() local 1010 buf = (uint8_t *)rxBuff; in I3C_MasterReceive() 1062 *buf++ = (uint8_t)(base->MRDATAB & I3C_MRDATAB_VALUE_MASK); in I3C_MasterReceive() 1105 i3c_puint8_to_u32_t buf; in I3C_MasterSend() local 1106 buf.cpuint8 = (const uint8_t *)((const void *)txBuff); in I3C_MasterSend() 1132 base->MWDATAH = (uint32_t)buf.cpuint8[1] << 8UL | (uint32_t)buf.cpuint8[0]; in I3C_MasterSend() 1136 base->MWDATAB = *buf.cpuint8; in I3C_MasterSend() 1143 base->MWDATAHE = (uint32_t)buf.cpuint8[1] << 8UL | (uint32_t)buf.cpuint8[0]; in I3C_MasterSend() 1147 base->MWDATABE = *buf.cpuint8; in I3C_MasterSend() 1151 buf.u32 = buf.u32 + byteCounts; in I3C_MasterSend() [all …]
|
D | fsl_i2c_dma.c | 96 handle->buf = (uint8_t *)transfer->data; in I2C_InitTransferStateMachineDMA() 157 int32_t count = handle->buf - (uint8_t *)handle->transfer.data; in I2C_RunDMATransfer() 179 … DMA_PrepareTransfer(&xferConfig, handle->buf, (uint32_t *)address, sizeof(uint8_t), transfer_size, in I2C_RunDMATransfer() 184 … DMA_PrepareTransfer(&xferConfig, (uint32_t *)address, handle->buf, sizeof(uint8_t), transfer_size, in I2C_RunDMATransfer() 198 handle->buf += transfer_size; in I2C_RunDMATransfer()
|
D | fsl_i2c_dma.h | 50 uint8_t *buf; /*!< Buffer pointer for current state. */ member
|
D | fsl_i2c.h | 277 uint8_t *buf; /*!< Buffer pointer for current state. */ member
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_i2c.c | 544 const uint8_t *buf = (const uint8_t *)txBuff; in I2C_MasterWriteBlocking() local 563 base->MSTDAT = *buf++; in I2C_MasterWriteBlocking() 635 uint8_t *buf = (uint8_t *)(rxBuff); in I2C_MasterReadBlocking() local 654 *(buf++) = (uint8_t)base->MSTDAT; in I2C_MasterReadBlocking() 983 handle->buf = (uint8_t *)transfer->data; in I2C_InitTransferStateMachine() 1164 base->MSTDAT = *(handle->buf)++; in I2C_RunTransferStateMachine() 1191 *(handle->buf)++ = (uint8_t)base->MSTDAT; in I2C_RunTransferStateMachine() 1668 const uint8_t *buf = txBuff; in I2C_SlaveWriteBlocking() local 1719 base->SLVDAT = I2C_SLVDAT_DATA(*buf); in I2C_SlaveWriteBlocking() 1725 buf++; in I2C_SlaveWriteBlocking() [all …]
|
D | fsl_i2c_dma.c | 96 handle->buf = (uint8_t *)transfer->data; in I2C_InitTransferStateMachineDMA() 157 int32_t count = handle->buf - (uint8_t *)handle->transfer.data; in I2C_RunDMATransfer() 179 … DMA_PrepareTransfer(&xferConfig, handle->buf, (uint32_t *)address, sizeof(uint8_t), transfer_size, in I2C_RunDMATransfer() 184 … DMA_PrepareTransfer(&xferConfig, (uint32_t *)address, handle->buf, sizeof(uint8_t), transfer_size, in I2C_RunDMATransfer() 198 handle->buf += transfer_size; in I2C_RunDMATransfer()
|
D | fsl_i2c_dma.h | 50 uint8_t *buf; /*!< Buffer pointer for current state. */ member
|
D | fsl_i2c.h | 277 uint8_t *buf; /*!< Buffer pointer for current state. */ member
|