mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
doxygen/I2C: don't include overridden typedefs
Add missing #ifndefs to overridden I2C typedefs. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
parent
cf65070b06
commit
df7e760588
@ -106,6 +106,7 @@ void gpio_init_mux(gpio_t pin, uint8_t over, uint8_t sel, uint8_t func);
|
||||
#define PERIPH_I2C_NEED_WRITE_REGS
|
||||
/** @} */
|
||||
|
||||
#ifndef DOXYGEN
|
||||
/**
|
||||
* @name Override I2C clock speed values
|
||||
* @{
|
||||
@ -119,6 +120,8 @@ typedef enum {
|
||||
I2C_SPEED_HIGH = 0x03, /**< not supported */
|
||||
} i2c_speed_t;
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief I2C configuration options
|
||||
*/
|
||||
|
@ -305,6 +305,7 @@ typedef enum {
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifndef DOXYGEN
|
||||
/**
|
||||
* @brief Override I2C clock speed values
|
||||
*
|
||||
@ -320,6 +321,7 @@ typedef enum {
|
||||
I2C_SPEED_HIGH, /**< not supported */
|
||||
} i2c_speed_t;
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief I2C configuration structure type
|
||||
|
@ -40,6 +40,7 @@ extern "C" {
|
||||
#define SPI_MISOSEL (dev(bus)->PSELMISO)
|
||||
/** @} */
|
||||
|
||||
#ifndef DOXYGEN
|
||||
/**
|
||||
* @brief Override I2C speed settings
|
||||
* @{
|
||||
@ -53,6 +54,7 @@ typedef enum {
|
||||
I2C_SPEED_HIGH = 0x03, /**< not supported */
|
||||
} i2c_speed_t;
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @name Use the shared I2C functions
|
||||
|
@ -84,6 +84,7 @@ typedef enum {
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
#ifndef DOXYGEN
|
||||
/**
|
||||
* @brief Override I2C speed settings
|
||||
* @{
|
||||
@ -97,6 +98,7 @@ typedef enum {
|
||||
I2C_SPEED_HIGH = 0xfd, /**< not supported */
|
||||
} i2c_speed_t;
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief I2C (TWI) configuration options
|
||||
|
@ -281,6 +281,7 @@ typedef enum {
|
||||
I2C_FLAG_RUN_STANDBY = 0x1, /**< run SERCOM in standby mode */
|
||||
} i2c_flag_t;
|
||||
|
||||
#ifndef DOXYGEN
|
||||
/**
|
||||
* @name Override I2C clock speed values
|
||||
* @{
|
||||
@ -294,6 +295,7 @@ typedef enum {
|
||||
I2C_SPEED_HIGH = 3400000U, /**< high speed mode: ~3.4Mbit/s */
|
||||
} i2c_speed_t;
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief I2C device configuration
|
||||
|
@ -504,6 +504,7 @@ typedef struct {
|
||||
#endif
|
||||
} spi_conf_t;
|
||||
|
||||
#ifndef DOXYGEN
|
||||
/**
|
||||
* @brief Default mapping of I2C bus speed values
|
||||
* @{
|
||||
@ -523,6 +524,7 @@ typedef enum {
|
||||
#endif
|
||||
} i2c_speed_t;
|
||||
/** @} */
|
||||
#endif /* ndef DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief Structure for I2C configuration data
|
||||
|
Loading…
Reference in New Issue
Block a user