From: Nathael Pajani Date: Mon, 7 Nov 2022 16:48:45 +0000 (+0100) Subject: Add comments with names matching literature. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=7b868cf40d3b93a7e503881799b76c92a9fb1b0e;p=soft%2Flpc122x%2Fcore Add comments with names matching literature. --- diff --git a/include/drivers/ssp.h b/include/drivers/ssp.h index bbbfe7d..8be0ae1 100644 --- a/include/drivers/ssp.h +++ b/include/drivers/ssp.h @@ -148,9 +148,9 @@ struct lpc_ssp #define LPC_SSP_FRAME_SPI (0x00 << 4) #define LPC_SSP_FRAME_TI (0x01 << 4) #define LPC_SSP_FRAME_MICROWIRE (0x02 << 4) -#define LPC_SSP_SPI_CLK_LOW (0x00 << 6) +#define LPC_SSP_SPI_CLK_LOW (0x00 << 6) /* CPOL : Clock Polarity */ #define LPC_SSP_SPI_CLK_HIGH (0x01 << 6) -#define LPC_SSP_SPI_CLK_FIRST (0x00 << 7) +#define LPC_SSP_SPI_CLK_FIRST (0x00 << 7) /* CPHA : Clock out Phase */ #define LPC_SSP_SPI_CLK_LAST (0x01 << 7) #define LPC_SSP_SPI_CLK_RATE_DIV(x) (((x) & 0xFF) << 8) /* SSP Control 1 register */