Spi_master_write / spi_master_block_write - Location

Hi all,
I am trying to find the code for these two functions - Spi_master_write / spi_master_block_write, but I am not able to find them. I found the spi.cpp file but it doesn’t have the code for these functions.
I am able to find only their descriptions here
Can any one tell me the location of these functions where it used the HAL libraries like HAL transmit and receive. Thanks.


it is probably depend on the target what you use and then you need to look into the source.
Lets say we use a ST board.
mbed-os/stm_spi_api.c at master · ARMmbed/mbed-os · GitHub

Reqested functions are here

BR, Jan

1 Like

Thanks Jan. That’s what I was looking for.