Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Parameters
Parameters Description
channel SPI instance through which the communication needs to
happen
Function
bool DRV_SPI_Lock(uint8_t channel)
1.3.3.1.4 DRV_SPI_Unlock Function
Unlocks the SPI instance specified by channel parameter
File
drv_spi.h
Syntax
void DRV_SPI_Unlock(uint8_t channel);
Returns
None.
Description
This routine unlocks the SPI driver instance specified by channel parameter making it ready for other clients to lock and use
it.
Remarks
None.
Preconditions
None.
Example
uint8_t myChannel = 2;
DRV_SPI_Unlock(myChannel);
Parameters
Parameters Description
channel SPI instance through which the communication needs to
happen
Function
void DRV_SPI_Unlock(uint8_t channel)
1.3.3.2 Data Transfer Functions
Functions
Name Description
DRV_SPI_Get Reads a byte/word of data from SPI from the specified channel
DRV_SPI_GetBuffer Reads a buffered data from SPI
DRV_SPI_Put Writes a byte/word of data to the SPI to the specified channel
DRV_SPI_PutBuffer Writes a data buffer to SPI
Description
1.3 SPI Driver MLA - Drivers Help Driver Interface
74

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh