From 7b868cf40d3b93a7e503881799b76c92a9fb1b0e Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Mon, 7 Nov 2022 17:48:45 +0100 Subject: [PATCH] Add comments with names matching literature. --- include/drivers/ssp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.43.0