diff --git a/cpu/atmega_common/include/periph_cpu_common.h b/cpu/atmega_common/include/periph_cpu_common.h index 76adc0825b..fcf06d1c76 100644 --- a/cpu/atmega_common/include/periph_cpu_common.h +++ b/cpu/atmega_common/include/periph_cpu_common.h @@ -84,6 +84,7 @@ typedef enum { #define PERIPH_SPI_NEEDS_TRANSFER_REGS /** @} */ +#ifndef DOXYGEN /** * @brief SPI mode select macro * @@ -131,6 +132,7 @@ typedef enum { SPI_CLK_10MHZ = SPI_CLK_SEL(1, 0, 0) /**< 16/2 -> 8MHz */ } spi_clk_t; /** @} */ +#endif /* ndef DOXYGEN */ /** * @brief Bitmasks indicating which are the possible dividers for a timer diff --git a/cpu/cc2538/include/periph_cpu.h b/cpu/cc2538/include/periph_cpu.h index 8600cd2b73..5ded7dd543 100644 --- a/cpu/cc2538/include/periph_cpu.h +++ b/cpu/cc2538/include/periph_cpu.h @@ -206,7 +206,6 @@ typedef enum { UART_STOP_BITS_2 = UART_LCRH_STP2, /**< 2 stop bits */ } uart_stop_bits_t; /** @} */ -#endif /* DOXYGEN */ /** * @name Override SPI mode settings @@ -234,6 +233,7 @@ typedef enum { SPI_CLK_10MHZ = 4 /**< drive the SPI bus with 10MHz */ } spi_clk_t; /** @} */ +#endif /* ndef DOXYGEN */ /** * @brief Datafields for static SPI clock configuration values diff --git a/cpu/lm4f120/include/periph_cpu.h b/cpu/lm4f120/include/periph_cpu.h index 7cbbd76388..0ec16a7707 100644 --- a/cpu/lm4f120/include/periph_cpu.h +++ b/cpu/lm4f120/include/periph_cpu.h @@ -142,6 +142,7 @@ typedef struct { #define PERIPH_SPI_NEEDS_INIT_CS 1 /** @} */ +#ifndef DOXYGEN /** * @brief Override SPI clock speed values * @{ @@ -169,6 +170,7 @@ typedef enum { SPI_MODE_3 = SSI_FRF_MOTO_MODE_0, /**< CPOL=1, CPHA=1 */ } spi_mode_t; /** @} */ +#endif /* ndef DOXYGEN */ #ifdef __cplusplus } diff --git a/cpu/lpc2387/include/periph_cpu.h b/cpu/lpc2387/include/periph_cpu.h index 83ed07714d..b944bbc392 100644 --- a/cpu/lpc2387/include/periph_cpu.h +++ b/cpu/lpc2387/include/periph_cpu.h @@ -99,6 +99,7 @@ typedef struct { #define PERIPH_SPI_NEEDS_TRANSFER_REGS /* @} */ +#ifndef DOXYGEN /** * @brief Override SPI clock speed values * @{ @@ -112,6 +113,7 @@ typedef enum { SPI_CLK_10MHZ = 10000 /**< drive the SPI bus with 10MHz */ } spi_clk_t; /** @} */ +#endif /* ndef DOXYGEN */ /* @} */ #ifdef __cplusplus diff --git a/cpu/nrf5x_common/include/periph_cpu_common.h b/cpu/nrf5x_common/include/periph_cpu_common.h index 817fefa150..e1a06856c8 100644 --- a/cpu/nrf5x_common/include/periph_cpu_common.h +++ b/cpu/nrf5x_common/include/periph_cpu_common.h @@ -128,6 +128,7 @@ typedef struct { uint8_t irqn; /**< IRQ number of the timer device */ } timer_conf_t; +#ifndef DOXYGEN /** * @brief Override SPI mode values * @{ @@ -154,6 +155,7 @@ typedef enum { SPI_CLK_10MHZ = SPI_FREQUENCY_FREQUENCY_M8 /**< 10MHz */ } spi_clk_t; /** @} */ +#endif /* ndef DOXYGEN */ /** * @brief SPI configuration values diff --git a/cpu/sam0_common/include/periph_cpu_common.h b/cpu/sam0_common/include/periph_cpu_common.h index 5bf129a227..2b198da456 100644 --- a/cpu/sam0_common/include/periph_cpu_common.h +++ b/cpu/sam0_common/include/periph_cpu_common.h @@ -228,6 +228,7 @@ typedef enum { SPI_PAD_MOSI_0_SCK_3 = 0x3, /**< use pad 0 for MOSI, pad 3 for SCK */ } spi_mosipad_t; +#ifndef DOXYGEN /** * @brief Override SPI modes * @{ @@ -254,6 +255,7 @@ typedef enum { SPI_CLK_10MHZ = 10000000U /**< drive the SPI bus with 10MHz */ } spi_clk_t; /** @} */ +#endif /* ndef DOXYGEN */ /** * @brief SPI device configuration diff --git a/cpu/sam3/include/periph_cpu.h b/cpu/sam3/include/periph_cpu.h index 36c1260656..36d8a45952 100644 --- a/cpu/sam3/include/periph_cpu.h +++ b/cpu/sam3/include/periph_cpu.h @@ -149,6 +149,7 @@ typedef enum { GPIO_MUX_B = 1, /**< alternate function B */ } gpio_mux_t; +#ifndef DOXYGEN /** * @brief Override default SPI modes * @{ @@ -175,6 +176,7 @@ typedef enum { SPI_CLK_10MHZ = (10000000) /**< 10MHz */ } spi_clk_t; /** @} */ +#endif /* ndef DOXYGEN */ #ifndef DOXYGEN /**