From: Nathael Pajani Date: Fri, 28 Oct 2016 01:19:51 +0000 (+0200) Subject: Add enum for SSP bus numbers X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=e93575ec98847a9db0e9bddaadc37eff9a1d6c56;p=soft%2Flpc122x%2Fcore Add enum for SSP bus numbers --- diff --git a/include/drivers/ssp.h b/include/drivers/ssp.h index e2e83cc..ee1a629 100644 --- a/include/drivers/ssp.h +++ b/include/drivers/ssp.h @@ -34,6 +34,10 @@ #include "core/lpc_regs.h" +enum ssp_bus_number { + SSP_BUS_0 = 0, +}; + /* Set this to 1 for use of this driver in a multitasking OS, it will activate the SPI Mutex */ #define MULTITASKING 0