![]() |
Arduino Core for STM32
1.0
|
Methods for initializing or de-initializing SPI periphery. Those methods can be also used to sleep the periphery. More...
Functions | |
bool | HardwareSPI::begin (SPI_InitTypeDef &initStruct) |
Initialize SPI periphery and it's pins. More... | |
bool | HardwareSPI::begin () |
Initialize SPI periphery and it's pins. More... | |
bool | HardwareSPI::end () |
Deinitialization and disabling SPI periphery, it can be used for "sleep mode". More... | |
Methods for initializing or de-initializing SPI periphery. Those methods can be also used to sleep the periphery.
bool HardwareSPI::begin | ( | SPI_InitTypeDef & | initStruct | ) |
Initialize SPI periphery and it's pins.
initStruct | HAL init structure, that store SPI settings. |
bool HardwareSPI::begin | ( | ) |
Initialize SPI periphery and it's pins.
bool HardwareSPI::end | ( | ) |
Deinitialization and disabling SPI periphery, it can be used for "sleep mode".