Home
last modified time | relevance | path

Searched refs:rxBuffer (Results 1 – 3 of 3) sorted by relevance

/hardware/st/secure_element/ese-spi-driver/
DSpiLayerDriver.cc104 int SpiLayerDriver_read(uint8_t* rxBuffer, unsigned int bytesToRead) { in SpiLayerDriver_read() argument
126 rc = read(spiDeviceId, rxBuffer, bytesToRead); in SpiLayerDriver_read()
153 if (bytesToRead == 1 && rxBuffer[0] != 0 && rxBuffer[0] != 0x12 && in SpiLayerDriver_read()
154 rxBuffer[0] != 0x25) { in SpiLayerDriver_read()
155 STLOG_HAL_D("Unexpected byte read from SPI: 0x%02X", rxBuffer[0]); in SpiLayerDriver_read()
DSpiLayerComm.cc322 uint8_t rxBuffer[pendingBytes]; in SpiLayerComm_readTpdu() local
325 bytesRead = SpiLayerDriver_read(rxBuffer, pendingBytes); in SpiLayerComm_readTpdu()
336 respTpdu->data[i] = rxBuffer[i]; in SpiLayerComm_readTpdu()
342 respTpdu->checksum = Tpdu_getChecksumValue(rxBuffer, respTpdu->len, LRC); in SpiLayerComm_readTpdu()
345 respTpdu->checksum = Tpdu_getChecksumValue(rxBuffer, respTpdu->len, CRC); in SpiLayerComm_readTpdu()
DSpiLayerDriver.h67 int SpiLayerDriver_read(uint8_t *rxBuffer, unsigned int bytesToRead);