Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 25 of 109) sorted by relevance

12345

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/sensors/
Dsensor_drv.h53 .readFrom = 0xFFFF, .numBytes = 0 \
59 .writeTo = 0xFFFF, .numBytes = 0 \
81 uint8_t numBytes; /* Number of bytes to read.*/ member
91 uint8_t numBytes; /* Number of bytes to be written. */ member
Dfxlc95000_drv.c236 ARM_DRIVER_I2C *pBus, uint8_t index, uint16_t sAddress, uint8_t *pFlashBytes, uint8_t numBytes) in FXLC95000_I2C_FlashPayload() argument
244 if (numBytes >= FXLC95000_FLASH_PAYLOAD_ADDR_LEN + FXLC95000_ROM_CI_WRITE_MIN_LEN) in FXLC95000_I2C_FlashPayload()
247 …uint8_t bytesAfterPageBoundary = numBytes - bytesToPageBoundary - FXLC95000_FLASH_PAYLOAD_ADDR_LEN; in FXLC95000_I2C_FlashPayload()
250 … if (bytesToPageBoundary > 0 && bytesToPageBoundary < numBytes - FXLC95000_FLASH_PAYLOAD_ADDR_LEN) in FXLC95000_I2C_FlashPayload()
302 (*(pFlashBytes + 1) == 0) ? 0x1F & (numBytes - FXLC95000_FLASH_PAYLOAD_ADDR_LEN) : in FXLC95000_I2C_FlashPayload()
303 0xC0 | (numBytes - FXLC95000_FLASH_PAYLOAD_ADDR_LEN); in FXLC95000_I2C_FlashPayload()
305 … for (int i = FXLC95000_ROM_CI_READ_WRITE_ADDR_LEN; i < numBytes; i++) // Skip 2 MSBs of Address. in FXLC95000_I2C_FlashPayload()
310 if (FXLC95000_ROM_CI_READ_WRITE_HDR_LEN + numBytes > in FXLC95000_I2C_FlashPayload()
319 … FXLC95000_ROM_CI_READ_WRITE_HDR_LEN + numBytes - FXLC95000_ROM_CI_READ_WRITE_ADDR_LEN}, in FXLC95000_I2C_FlashPayload()
Dsensor_io_i2c.c45 …I2C_BlockWrite(pCommDrv, devInfo, slaveAddress, pCmd->writeTo, pCmd->pWriteBuffer, pCmd->numBytes); in Sensor_I2C_BlockWrite()
122 for (pBuf = pOutBuffer; pCmd->numBytes != 0; pCmd++) in Sensor_I2C_Read()
124 … status = Register_I2C_Read(pCommDrv, devInfo, slaveAddress, pCmd->readFrom, pCmd->numBytes, pBuf); in Sensor_I2C_Read()
129 pBuf += pCmd->numBytes; in Sensor_I2C_Read()
Dsensor_io_spi.c45 …SPI_BlockWrite(pCommDrv, devInfo, pWriteParams, pCmd->writeTo, pCmd->pWriteBuffer, pCmd->numBytes); in Sensor_SPI_BlockWrite()
122 for (pBuf = pOutBuffer; pCmd->numBytes != 0; pCmd++) in Sensor_SPI_Read()
124 … status = Register_SPI_Read(pCommDrv, devInfo, pReadParams, pCmd->readFrom, pCmd->numBytes, pBuf); in Sensor_SPI_Read()
129 pBuf += pCmd->numBytes; in Sensor_SPI_Read()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager_light.c453 static void *MEM_BufferAllocate(uint32_t numBytes, uint8_t poolId) in MEM_BufferAllocate() argument
490 if (available_size >= numBytes) /* enough space in this free buffer */ in MEM_BufferAllocate()
501 …if ( (available_size <= 4u) || ((available_size - numBytes) < (available_size >> cMemManagerLightR… in MEM_BufferAllocate()
507 FreeBlockHdr->buff_size = (uint16_t)numBytes; in MEM_BufferAllocate()
545 …if (available_size >= (numBytes + BLOCK_HDR_SIZE)) /* need to keep the room for the next BlockHead… in MEM_BufferAllocate()
549 …FreeBlockHdr + BLOCK_HDR_SIZE, ROUNDUP_WORD(((uint32_t)FreeBlockHdr + BLOCK_HDR_SIZE + numBytes))); in MEM_BufferAllocate()
553 FreeBlockHdr->buff_size = (uint16_t)numBytes; in MEM_BufferAllocate()
556 … (blockHeader_t *)ROUNDUP_WORD(((uint32_t)FreeBlockHdr + BLOCK_HDR_SIZE + numBytes)); in MEM_BufferAllocate()
600 UsableBlockHdr->buff_size = (uint16_t)numBytes; in MEM_BufferAllocate()
656 (void)memset(buffer, 0x0, numBytes); in MEM_BufferAllocate()
[all …]
Dfsl_component_mem_manager.c443 void *MEM_BufferAllocWithId(uint32_t numBytes, uint8_t poolId) in MEM_BufferAllocWithId() argument
458 while (0U != numBytes) in MEM_BufferAllocWithId()
460 if ((numBytes <= pPool->blockSize) && (pPool->poolId == poolId)) in MEM_BufferAllocWithId()
471 pBlock->allocatedBytes = (uint16_t)numBytes; in MEM_BufferAllocWithId()
506 MEM_BufferAllocates_memStatis(buffer, ALLOC_TIME, numBytes); in MEM_BufferAllocWithId()
508 MEM_BufferAllocates_memStatis(buffer, 0, numBytes); in MEM_BufferAllocWithId()
521 fragmentWaste = pPool->blockSize - numBytes; in MEM_BufferAllocWithId()
Dfsl_component_mem_manager.h96 #define MEM_BufferAlloc(numBytes) MEM_BufferAllocWithId(numBytes, 0) argument
279 void *MEM_BufferAllocWithId(uint32_t numBytes, uint8_t poolId);
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxos8700/
Dfxos8700_poll.c48 const registerreadlist_t FXOS8700_STATUS_READ[] = {{.readFrom = FXOS8700_STATUS, .numBytes = 1}, __…
51 const registerreadlist_t FXOS8700_ACCELMAG_READ[] = {{.readFrom = FXOS8700_OUT_X_MSB, .numBytes = 1…
55 const registerreadlist_t FXOS8700_ACCEL_MAG_READ[] = {{.readFrom = FXOS8700_OUT_X_MSB, .numBytes = …
56 … {.readFrom = FXOS8700_M_OUT_X_MSB, .numBytes = 6},
Dfxos8700_freemaster_demo.c127 {.readFrom = FXOS8700_WHO_AM_I, .numBytes = 1}, __END_READ_DATA__};
132 {.readFrom = FXOS8700_INT_SOURCE, .numBytes = 1}, __END_READ_DATA__};
137 {.readFrom = FXOS8700_XYZ_DATA_CFG, .numBytes = 1}, __END_READ_DATA__};
142 const registerreadlist_t FXOS8700_ALL_REG_READ[] = {{.readFrom = FXOS8700_STATUS, .numBytes = FXOS8…
148 {.readFrom = FXOS8700_A_FFMT_SRC , .numBytes = 1}, __END_READ_DATA__};
153 {.readFrom = FXOS8700_PL_STATUS, .numBytes = 1}, __END_READ_DATA__};
709 {.readFrom = read_offset, .numBytes = 1}, __END_READ_DATA__}; in apply_register_read()
731 {.readFrom = reg_offset, .numBytes = 1}, __END_READ_DATA__}; in apply_register_readall()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Ddriver_FXAS21002.c39 { .readFrom = FXAS21002_WHO_AM_I, .numBytes = 1 }, __END_READ_DATA__
45 { .readFrom = FXAS21002_STATUS, .numBytes = 1 }, __END_READ_DATA__
51 { .readFrom = FXAS21002_OUT_X_MSB, .numBytes = 1 }, __END_READ_DATA__
259 FXAS21002_DATA_READ[0].numBytes = 6; in FXAS21002_Read()
281 FXAS21002_DATA_READ[0].numBytes = 6 * sensor_fifo_count; in FXAS21002_Read()
Ddriver_FXOS8700.c27 { .readFrom = FXOS8700_WHO_AM_I, .numBytes = 1 }, __END_READ_DATA__
33 { .readFrom = FXOS8700_STATUS, .numBytes = 1 }, __END_READ_DATA__
39 { .readFrom = FXOS8700_OUT_X_MSB, .numBytes = 6 }, __END_READ_DATA__
201 FXOS8700_DATA_READ[0].numBytes = 6 * sensor_fifo_count; in FXOS8700_ReadAccData()
233 FXOS8700_DATA_READ[0].numBytes = 6; in FXOS8700_ReadMagData()
Ddriver_MMA8652.c28 { .readFrom = MMA865x_WHO_AM_I, .numBytes = 1 }, __END_READ_DATA__
34 { .readFrom = MMA865x_STATUS, .numBytes = 1 }, __END_READ_DATA__
40 { .readFrom = MMA865x_OUT_X_MSB, .numBytes = 6 }, __END_READ_DATA__
159 MMA8652_DATA_READ[0].numBytes = 6 * sensor_fifo_count; in MMA8652_Read()
Ddriver_MPL3115.c27 { .readFrom = MPL3115_WHO_AM_I, .numBytes = 1 }, __END_READ_DATA__
33 { .readFrom = MPL3115_STATUS, .numBytes = 1 }, __END_READ_DATA__
39 { .readFrom = MPL3115_OUT_P_MSB, .numBytes = 5 }, __END_READ_DATA__
Ddriver_MAG3110.c26 { .readFrom = MAG3110_WHO_AM_I, .numBytes = 1 }, __END_READ_DATA__
32 { .readFrom = MAG3110_DR_STATUS, .numBytes = 1 }, __END_READ_DATA__
38 { .readFrom = MAG3110_OUT_X_MSB, .numBytes = 6 }, __END_READ_DATA__
Ddriver_FXLS8962.c27 { .readFrom = FXLS8962_WHO_AM_I, .numBytes = 1 }, __END_READ_DATA__
33 { .readFrom = FXLS8962_INT_STATUS, .numBytes = 1 }, __END_READ_DATA__
39 { .readFrom = FXLS8962_OUT_X_LSB, .numBytes = 6 }, __END_READ_DATA__
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/
Dfxos8700_poll_demo.c112 {.readFrom = FXOS8700_OUT_X_MSB, .numBytes = RAW_ACCEL_MAG_DATA_SIZE}, __END_READ_DATA__};
115 const registerreadlist_t FXOS8700_STATUS_READ[] = {{.readFrom = FXOS8700_STATUS, .numBytes = 1}, __…
118 {.readFrom = FXOS8700_INT_SOURCE, .numBytes = 1}, __END_READ_DATA__};
121 {.readFrom = FXOS8700_A_FFMT_SRC , .numBytes = 1}, __END_READ_DATA__};
124 {.readFrom = FXOS8700_PL_STATUS, .numBytes = 1}, __END_READ_DATA__};
Dfxas21002_poll_demo.c74 const registerreadlist_t fxas21002_Status[] = {{.readFrom = FXAS21002_STATUS, .numBytes = 1}, __END…
78 {.readFrom = FXAS21002_OUT_X_MSB, .numBytes = FXAS21002_GYRO_DATA_SIZE}, __END_READ_DATA__};
81 {.readFrom = FXAS21002_INT_SRC_FLAG, .numBytes = 1}, __END_READ_DATA__};
84 {.readFrom = FXAS21002_TEMP, .numBytes = 1}, __END_READ_DATA__};
Dfxls8471_demo.c113 {.readFrom = FXLS8471Q_OUT_X_MSB, .numBytes = FXLS8471Q_ACCEL_DATA_SIZE}, __END_READ_DATA__};
116 {.readFrom = FXLS8471Q_INT_SOURCE, .numBytes = 1}, __END_READ_DATA__};
119 {.readFrom = FXLS8471Q_A_FFMT_SRC , .numBytes = 1}, __END_READ_DATA__};
122 {.readFrom = FXLS8471Q_PL_STATUS, .numBytes = 1}, __END_READ_DATA__};
Dfxls8471_demo_kl25z.c113 {.readFrom = FXLS8471Q_OUT_X_MSB, .numBytes = FXLS8471Q_ACCEL_DATA_SIZE}, __END_READ_DATA__};
116 {.readFrom = FXLS8471Q_INT_SOURCE, .numBytes = 1}, __END_READ_DATA__};
119 {.readFrom = FXLS8471Q_A_FFMT_SRC , .numBytes = 1}, __END_READ_DATA__};
122 {.readFrom = FXLS8471Q_PL_STATUS, .numBytes = 1}, __END_READ_DATA__};
Dfxos8700_demo.c116 {.readFrom = FXOS8700_OUT_X_MSB, .numBytes = RAW_ACCEL_MAG_DATA_SIZE}, __END_READ_DATA__};
119 {.readFrom = FXOS8700_INT_SOURCE, .numBytes = 1}, __END_READ_DATA__};
122 {.readFrom = FXOS8700_A_FFMT_SRC , .numBytes = 1}, __END_READ_DATA__};
125 {.readFrom = FXOS8700_PL_STATUS, .numBytes = 1}, __END_READ_DATA__};
Dmag3110_poll_demo.c71 const registerreadlist_t cMag3110Status[] = {{.readFrom = MAG3110_DR_STATUS, .numBytes = 1}, __END_…
74 const registerreadlist_t cMag3110OutputNormal[] = {{.readFrom = MAG3110_OUT_X_MSB, .numBytes = MAG3…
77 const registerreadlist_t cMag3110TempOut[] = {{.readFrom = MAG3110_DIE_TEMP, .numBytes = 1},
Ddemo_11_axis_mult2b.c104 const registerreadlist_t cMma865xOutputValues[] = {{.readFrom = MMA865x_OUT_X_MSB, .numBytes = MMA8…
108 const registerreadlist_t cMma865xFreeFallEvent[] = {{.readFrom = MMA865x_FF_MT_SRC, .numBytes = 1},…
121 const registerreadlist_t cMag3110OutputNormal[] = {{.readFrom = MAG3110_OUT_X_MSB, .numBytes = MAG3…
136 {.readFrom = FXAS21002_OUT_X_MSB, .numBytes = FXAS21002_DATA_SIZE}, __END_READ_DATA__};
151 const registerreadlist_t mpl3115_Output_Values[] = {{.readFrom = MPL3115_OUT_P_MSB, .numBytes = MPL…
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mma865x/
Dmma865x_freemaster_demo.c97 {.readFrom = MMA865x_WHO_AM_I, .numBytes = 1}, __END_READ_DATA__};
101 {.readFrom = MMA865x_INT_SOURCE, .numBytes = 1}, __END_READ_DATA__};
105 {.readFrom = MMA865x_XYZ_DATA_CFG, .numBytes = 1}, __END_READ_DATA__};
109 {.readFrom = MMA865x_FF_MT_SRC , .numBytes = 1}, __END_READ_DATA__};
113 {.readFrom = MMA865x_PL_STATUS, .numBytes = 1}, __END_READ_DATA__};
116 const registerreadlist_t MMA865x_ALL_REG_READ[] = {{.readFrom = MMA865x_STATUS, .numBytes = MMA865x…
634 {.readFrom = read_offset, .numBytes = 1}, __END_READ_DATA__}; in apply_register_read()
656 {.readFrom = reg_offset, .numBytes = 1}, __END_READ_DATA__}; in apply_register_readall()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxas21002/
Dfxas21002_poll.c38 const registerreadlist_t fxas21002_DRDY[] = {{.readFrom = FXAS21002_STATUS, .numBytes = 1}, __END_R…
42 {.readFrom = FXAS21002_OUT_X_MSB, .numBytes = FXAS21002_GYRO_DATA_SIZE}, __END_READ_DATA__};
Dfxas21002_poll_spi.c44 const registerreadlist_t cFxas21002_DataReady[] = {{.readFrom = FXAS21002_STATUS, .numBytes = 1}, _…
48 {.readFrom = FXAS21002_OUT_X_MSB, .numBytes = FXAS21002_GYRO_DATA_SIZE}, __END_READ_DATA__};

12345