Home
last modified time | relevance | path

Searched refs:subaddressSize (Results 1 – 25 of 33) sorted by relevance

12

/hal_nxp-2.7.6/mcux/boards/evkbimxrt1050/
Dboard.h135 uint8_t subaddressSize,
141 uint8_t subaddressSize,
147 uint8_t subaddressSize,
153 uint8_t subaddressSize,
157 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
159 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1060/
Dboard.h143 uint8_t subaddressSize,
149 uint8_t subaddressSize,
155 uint8_t subaddressSize,
161 uint8_t subaddressSize,
165 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
167 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1064/
Dboard.h141 uint8_t subaddressSize,
147 uint8_t subaddressSize,
153 uint8_t subaddressSize,
159 uint8_t subaddressSize,
163 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
165 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1170/
Dboard.h201 uint8_t subaddressSize,
207 uint8_t subaddressSize,
213 uint8_t subaddressSize,
219 uint8_t subaddressSize,
223 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
225 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt685/
Dboard.h247 uint8_t subaddressSize,
253 uint8_t subaddressSize,
262 uint8_t subaddressSize,
268 uint8_t subaddressSize,
285 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
287 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1015/
Dboard.h112 uint8_t subaddressSize,
118 uint8_t subaddressSize,
122 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
124 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1024/
Dboard.h128 uint8_t subaddressSize,
134 uint8_t subaddressSize,
138 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
140 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1010/
Dboard.h120 uint8_t subaddressSize,
126 uint8_t subaddressSize,
130 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
132 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/boards/evkmimxrt1020/
Dboard.h128 uint8_t subaddressSize,
134 uint8_t subaddressSize,
138 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
140 …uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuf…
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_i2c_master.c91 handle->transfer.subaddressSize = xfer->subaddressSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
104 …needRestart = (handle->transfer.subaddressSize != 0U) && (handle->transfer.direction == kF… in FLEXIO_I2C_MasterTransferInitStateMachine()
115 if (handle->transfer.subaddressSize != 0U) in FLEXIO_I2C_MasterTransferInitStateMachine()
117 byteCount += handle->transfer.subaddressSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
200 if (handle->transfer.subaddressSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
224 if (handle->transfer.subaddressSize > 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
226 handle->transfer.subaddressSize--; in FLEXIO_I2C_MasterTransferRunStateMachine()
228 … base, ((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize))); in FLEXIO_I2C_MasterTransferRunStateMachine()
230 if (handle->transfer.subaddressSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
Dfsl_i2c_dma.c247 if ((xfer->subaddressSize > 0) && (xfer->direction == kI2C_Read)) in I2C_InitTransferStateMachineDMA()
296 if (handle->transfer.subaddressSize) in I2C_InitTransferStateMachineDMA()
303 handle->transfer.subaddressSize--; in I2C_InitTransferStateMachineDMA()
304 base->D = ((handle->transfer.subaddress) >> (8 * handle->transfer.subaddressSize)); in I2C_InitTransferStateMachineDMA()
319 } while ((handle->transfer.subaddressSize > 0) && (result == kStatus_Success)); in I2C_InitTransferStateMachineDMA()
Dfsl_i2c_edma.c214 if ((xfer->subaddressSize > 0U) && (0U != (uint8_t)(xfer->direction == kI2C_Read))) in I2C_InitTransferStateMachineEDMA()
275 if (0U != handle->transfer.subaddressSize) in I2C_InitTransferStateMachineEDMA()
282 handle->transfer.subaddressSize--; in I2C_InitTransferStateMachineEDMA()
283 … base->D = (uint8_t)((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize)); in I2C_InitTransferStateMachineEDMA()
310 } while (handle->transfer.subaddressSize > 0U); in I2C_InitTransferStateMachineEDMA()
Dfsl_i2c.c243 if (handle->transfer.subaddressSize > 0u) in I2C_InitTransferStateMachine()
260 if (handle->transfer.subaddressSize > 0u) in I2C_InitTransferStateMachine()
362 if (handle->transfer.subaddressSize > 0U) in I2C_MasterTransferRunStateMachine()
392 if (0U != (handle->transfer.subaddressSize)) in I2C_MasterTransferRunStateMachine()
394 handle->transfer.subaddressSize--; in I2C_MasterTransferRunStateMachine()
395 … base->D = (uint8_t)((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize)); in I2C_MasterTransferRunStateMachine()
1259 if ((xfer->subaddressSize > 0U) && (xfer->direction == kI2C_Read)) in I2C_MasterTransferBlocking()
1325 if (0U != (xfer->subaddressSize)) in I2C_MasterTransferBlocking()
1332 xfer->subaddressSize--; in I2C_MasterTransferBlocking()
1333 base->D = (uint8_t)((xfer->subaddress) >> (8U * xfer->subaddressSize)); in I2C_MasterTransferBlocking()
[all …]
Dfsl_lpi2c_edma.c169 lpi2c_direction_t direction = (xfer->subaddressSize != 0U) ? kLPI2C_Write : xfer->direction; in LPI2C_GenerateCommands()
176 if (xfer->subaddressSize != 0U) in LPI2C_GenerateCommands()
178 uint32_t subaddressRemaining = xfer->subaddressSize; in LPI2C_GenerateCommands()
225 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in LPI2C_MasterTransferEDMA()
Dfsl_lpi2c.c861 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in LPI2C_MasterTransferBlocking()
876 …lpi2c_direction_t direction = (0U != transfer->subaddressSize) ? kLPI2C_Write : transfer->directio… in LPI2C_MasterTransferBlocking()
884 if (0U != transfer->subaddressSize) in LPI2C_MasterTransferBlocking()
886 uint32_t subaddressRemaining = transfer->subaddressSize; in LPI2C_MasterTransferBlocking()
1216 lpi2c_direction_t direction = (0U != xfer->subaddressSize) ? kLPI2C_Write : xfer->direction; in LPI2C_InitTransferStateMachine()
1223 if (0U != xfer->subaddressSize) in LPI2C_InitTransferStateMachine()
1225 uint32_t subaddressRemaining = xfer->subaddressSize; in LPI2C_InitTransferStateMachine()
1272 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in LPI2C_MasterTransferNonBlocking()
Dfsl_flexio_i2c_master.h94 uint8_t subaddressSize; /*!< Size of command buffer. */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_i2c_master.c91 handle->transfer.subaddressSize = xfer->subaddressSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
104 …needRestart = (handle->transfer.subaddressSize != 0U) && (handle->transfer.direction == kF… in FLEXIO_I2C_MasterTransferInitStateMachine()
115 if (handle->transfer.subaddressSize != 0U) in FLEXIO_I2C_MasterTransferInitStateMachine()
117 byteCount += handle->transfer.subaddressSize; in FLEXIO_I2C_MasterTransferInitStateMachine()
200 if (handle->transfer.subaddressSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
224 if (handle->transfer.subaddressSize > 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
226 handle->transfer.subaddressSize--; in FLEXIO_I2C_MasterTransferRunStateMachine()
228 … base, ((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize))); in FLEXIO_I2C_MasterTransferRunStateMachine()
230 if (handle->transfer.subaddressSize == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
Dfsl_lpi2c_edma.c168 lpi2c_direction_t direction = (xfer->subaddressSize != 0U) ? kLPI2C_Write : xfer->direction; in LPI2C_GenerateCommands()
175 if (xfer->subaddressSize != 0U) in LPI2C_GenerateCommands()
177 uint32_t subaddressRemaining = xfer->subaddressSize; in LPI2C_GenerateCommands()
238 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in LPI2C_MasterTransferEDMA()
Dfsl_lpi2c.c894 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in LPI2C_MasterTransferBlocking()
916 …lpi2c_direction_t direction = (0U != transfer->subaddressSize) ? kLPI2C_Write : transfer->directio… in LPI2C_MasterTransferBlocking()
925 if (0U != transfer->subaddressSize) in LPI2C_MasterTransferBlocking()
927 uint32_t subaddressRemaining = transfer->subaddressSize; in LPI2C_MasterTransferBlocking()
1289 lpi2c_direction_t direction = (0U != xfer->subaddressSize) ? kLPI2C_Write : xfer->direction; in LPI2C_InitTransferStateMachine()
1296 if (0U != xfer->subaddressSize) in LPI2C_InitTransferStateMachine()
1298 uint32_t subaddressRemaining = xfer->subaddressSize; in LPI2C_InitTransferStateMachine()
1340 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in LPI2C_MasterTransferNonBlocking()
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_i2c.c189 if (handle->transfer.subaddressSize > 0U) in I2C_InitTransferStateMachine()
206 if (handle->transfer.subaddressSize > 0U) in I2C_InitTransferStateMachine()
303 if (handle->transfer.subaddressSize > 0U) in I2C_MasterTransferRunStateMachine()
333 if (handle->transfer.subaddressSize != 0U) in I2C_MasterTransferRunStateMachine()
335 handle->transfer.subaddressSize--; in I2C_MasterTransferRunStateMachine()
336 … base->I2DR = (uint16_t)((handle->transfer.subaddress) >> (8U * handle->transfer.subaddressSize)); in I2C_MasterTransferRunStateMachine()
901 if ((xfer->subaddressSize > 0U) && (xfer->direction == kI2C_Read)) in I2C_MasterTransferBlocking()
955 if (xfer->subaddressSize != 0U) in I2C_MasterTransferBlocking()
962 xfer->subaddressSize--; in I2C_MasterTransferBlocking()
963 base->I2DR = (uint16_t)((xfer->subaddress) >> (8U * xfer->subaddressSize)); in I2C_MasterTransferBlocking()
[all …]
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_i3c.c1281 assert(transfer->subaddressSize <= sizeof(transfer->subaddress)); in I3C_MasterTransferBlocking()
1306 direction = (0UL != transfer->subaddressSize) ? kI3C_Write : transfer->direction; in I3C_MasterTransferBlocking()
1332 if (0U != transfer->subaddressSize) in I3C_MasterTransferBlocking()
1334 uint32_t subaddressRemaining = transfer->subaddressSize; in I3C_MasterTransferBlocking()
1590 if (xfer->subaddressSize > 1U) in I3C_RunTransferStateMachine()
1592 xfer->subaddressSize--; in I3C_RunTransferStateMachine()
1593 base->MWDATAB = (uint8_t)((xfer->subaddress) >> (8U * xfer->subaddressSize)); in I3C_RunTransferStateMachine()
1595 else if (xfer->subaddressSize == 1U) in I3C_RunTransferStateMachine()
1597 xfer->subaddressSize--; in I3C_RunTransferStateMachine()
1601 … base->MWDATABE = (uint8_t)((xfer->subaddress) >> (8U * xfer->subaddressSize)); in I3C_RunTransferStateMachine()
[all …]
Dfsl_i2c.c737 direction = (xfer->subaddressSize != 0U) ? kI2C_Write : xfer->direction; in I2C_MasterTransferBlocking()
746 if ((xfer->subaddressSize) != 0U) in I2C_MasterTransferBlocking()
750 for (i = (int)xfer->subaddressSize - 1; i >= 0; i--) in I2C_MasterTransferBlocking()
757 …I2C_MasterWriteBlocking(base, subaddrBuf, xfer->subaddressSize, (uint32_t)kI2C_TransferNoStopFlag); in I2C_MasterTransferBlocking()
867 assert(xfer->subaddressSize <= sizeof(xfer->subaddress)); in I2C_MasterTransferNonBlocking()
1009 if (transfer->subaddressSize != 0U) in I2C_InitTransferStateMachine()
1014 if (transfer->subaddressSize > sizeof(handle->subaddrBuf)) in I2C_InitTransferStateMachine()
1021 for (i = (int)xfer->subaddressSize - 1; i >= 0; i--) in I2C_InitTransferStateMachine()
1026 handle->remainingSubaddr = transfer->subaddressSize; in I2C_InitTransferStateMachine()
1138 … base->MSTDAT = handle->subaddrBuf[handle->transfer.subaddressSize - handle->remainingSubaddr]; in I2C_RunTransferStateMachine()
Dfsl_i2c_dma.c122 if (transfer->subaddressSize != 0U) in I2C_InitTransferStateMachineDMA()
127 if (transfer->subaddressSize > sizeof(handle->subaddrBuf)) in I2C_InitTransferStateMachineDMA()
134 for (i = (int)xfer->subaddressSize - 1; i >= 0; i--) in I2C_InitTransferStateMachineDMA()
139 handle->remainingSubaddr = transfer->subaddressSize; in I2C_InitTransferStateMachineDMA()
549 assert(xfer->subaddressSize <= sizeof(xfer->subaddress)); in I2C_MasterTransferDMA()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_i2c.c737 direction = (xfer->subaddressSize != 0U) ? kI2C_Write : xfer->direction; in I2C_MasterTransferBlocking()
746 if ((xfer->subaddressSize) != 0U) in I2C_MasterTransferBlocking()
750 for (i = (int)xfer->subaddressSize - 1; i >= 0; i--) in I2C_MasterTransferBlocking()
757 …I2C_MasterWriteBlocking(base, subaddrBuf, xfer->subaddressSize, (uint32_t)kI2C_TransferNoStopFlag); in I2C_MasterTransferBlocking()
867 assert(xfer->subaddressSize <= sizeof(xfer->subaddress)); in I2C_MasterTransferNonBlocking()
1009 if (transfer->subaddressSize != 0U) in I2C_InitTransferStateMachine()
1014 if (transfer->subaddressSize > sizeof(handle->subaddrBuf)) in I2C_InitTransferStateMachine()
1021 for (i = (int)xfer->subaddressSize - 1; i >= 0; i--) in I2C_InitTransferStateMachine()
1026 handle->remainingSubaddr = transfer->subaddressSize; in I2C_InitTransferStateMachine()
1138 … base->MSTDAT = handle->subaddrBuf[handle->transfer.subaddressSize - handle->remainingSubaddr]; in I2C_RunTransferStateMachine()
Dfsl_i2c_dma.c122 if (transfer->subaddressSize != 0U) in I2C_InitTransferStateMachineDMA()
127 if (transfer->subaddressSize > sizeof(handle->subaddrBuf)) in I2C_InitTransferStateMachineDMA()
134 for (i = (int)xfer->subaddressSize - 1; i >= 0; i--) in I2C_InitTransferStateMachineDMA()
139 handle->remainingSubaddr = transfer->subaddressSize; in I2C_InitTransferStateMachineDMA()
549 assert(xfer->subaddressSize <= sizeof(xfer->subaddress)); in I2C_MasterTransferDMA()

12