Name

spi_get_config — gets current config.

Synopsis

#include <spi.h>   
spi_config_t spi_get_config (void); 
void;
 

Arguments

void

no arguments

Description

Gets and returns the current configuration, which can be easily restored back using spi_set_config.