Home
last modified time | relevance | path

Searched refs:xfer (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1052/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1051/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/spi/
Dfsl_spi_dma.c98 static void XferToFifoWR(spi_transfer_t *xfer, uint32_t *fifowr) in XferToFifoWR() argument
100 …*fifowr |= ((xfer->configFlags & (uint32_t)kSPI_FrameDelay) != 0U) ? (uint32_t)kSPI_FrameDelay : 0… in XferToFifoWR()
101 …*fifowr |= ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) ? (uint32_t)kSPI_FrameAssert :… in XferToFifoWR()
111 static void PrepareTxLastWord(spi_transfer_t *xfer, uint32_t *txLastWord, spi_config_t *config) in PrepareTxLastWord() argument
115 …*txLastWord = (((uint32_t)xfer->txData[xfer->dataSize - 1U] << 8U) | (xfer->txData[xfer->dataSize … in PrepareTxLastWord()
119 *txLastWord = xfer->txData[xfer->dataSize - 1U]; in PrepareTxLastWord()
121 XferToFifoWR(xfer, txLastWord); in PrepareTxLastWord()
125 static void SPI_SetupDummy(SPI_Type *base, spi_dma_txdummy_t *dummy, spi_transfer_t *xfer, spi_conf… in SPI_SetupDummy() argument
134 XferToFifoWR(xfer, &dummy->word); in SPI_SetupDummy()
135 XferToFifoWR(xfer, &dummy->lastWord); in SPI_SetupDummy()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1062/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1064/project_template/
Dboard.c77 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
79 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
80 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
81 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
82 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
83 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
84 xfer.data = txBuff; in BOARD_LPI2C_Send()
85 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
87 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
97 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1041/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1061/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1042/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1175/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkbimxrt1050/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkbmimxrt1060/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1172/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkbmimxrt1060/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkbimxrt1050/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1173/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkmimxrt1060/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkmimxrt1064/
Dboard.c77 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
79 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
80 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
81 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
82 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
83 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
84 xfer.data = txBuff; in BOARD_LPI2C_Send()
85 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
87 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
97 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkmimxrt1040/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkmimxrt1040/project_template/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkmimxrt1060/
Dboard.c76 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
78 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
80 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
81 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
82 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
83 xfer.data = txBuff; in BOARD_LPI2C_Send()
84 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
86 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
96 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/boards/evkmimxrt1064/project_template/
Dboard.c77 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
79 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
80 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
81 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
82 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
83 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
84 xfer.data = txBuff; in BOARD_LPI2C_Send()
85 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
87 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
97 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1166/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1176/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1165/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT1171/project_template/
Dboard.c68 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Send() local
70 xfer.flags = kLPI2C_TransferDefaultFlag; in BOARD_LPI2C_Send()
71 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send()
72 xfer.direction = kLPI2C_Write; in BOARD_LPI2C_Send()
73 xfer.subaddress = subAddress; in BOARD_LPI2C_Send()
74 xfer.subaddressSize = subAddressSize; in BOARD_LPI2C_Send()
75 xfer.data = txBuff; in BOARD_LPI2C_Send()
76 xfer.dataSize = txBuffSize; in BOARD_LPI2C_Send()
78 return LPI2C_MasterTransferBlocking(base, &xfer); in BOARD_LPI2C_Send()
88 lpi2c_master_transfer_t xfer; in BOARD_LPI2C_Receive() local
[all …]

12345678910>>...13