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.cc88 int SpiLayerDriver_read(uint8_t* rxBuffer, unsigned int bytesToRead) { in SpiLayerDriver_read() argument
109 rc = read(spiDeviceId, rxBuffer, bytesToRead); in SpiLayerDriver_read()
136 if (bytesToRead == 1 && rxBuffer[0] != 0 && rxBuffer[0] != 0x12 && in SpiLayerDriver_read()
137 rxBuffer[0] != 0x25) { in SpiLayerDriver_read()
138 STLOG_HAL_D("Unexpected byte read from SPI: 0x%02X", rxBuffer[0]); in SpiLayerDriver_read()
DSpiLayerComm.cc307 uint8_t rxBuffer[pendingBytes]; in SpiLayerComm_readTpdu() local
310 bytesRead = SpiLayerDriver_read(rxBuffer, pendingBytes); in SpiLayerComm_readTpdu()
321 respTpdu->data[i] = rxBuffer[i]; in SpiLayerComm_readTpdu()
327 respTpdu->checksum = Tpdu_getChecksumValue(rxBuffer, respTpdu->len, LRC); in SpiLayerComm_readTpdu()
330 respTpdu->checksum = Tpdu_getChecksumValue(rxBuffer, respTpdu->len, CRC); in SpiLayerComm_readTpdu()
DSpiLayerDriver.h58 int SpiLayerDriver_read(uint8_t *rxBuffer, unsigned int bytesToRead);