SPIMaster_InitConfig Function
Header: #include <applibs/spi.h>
Initializes a SPIMaster_Config struct with the default SPI master interface settings.
static inline int SPIMaster_InitConfig(SPIMaster_Config *config);
Parameters
config
A pointer to a SPIMaster_Config struct that receives the default SPI master interface settings.
Return value
Returns 0 for success, or -1 for failure, in which case errno
will be set to the error value.
Application manifest requirements
To access individual SPI interfaces, your application must identify them in the SpiMaster field of the application manifest.
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за