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
|
#define PERIPH_I2C_NEED_WRITE_REGS
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
#ifndef DOXYGEN
|
||||||
/**
|
/**
|
||||||
* @name Override I2C clock speed values
|
* @name Override I2C clock speed values
|
||||||
* @{
|
* @{
|
||||||
@ -119,6 +120,8 @@ typedef enum {
|
|||||||
I2C_SPEED_HIGH = 0x03, /**< not supported */
|
I2C_SPEED_HIGH = 0x03, /**< not supported */
|
||||||
} i2c_speed_t;
|
} i2c_speed_t;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief I2C configuration options
|
* @brief I2C configuration options
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -305,6 +305,7 @@ typedef enum {
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DOXYGEN
|
||||||
/**
|
/**
|
||||||
* @brief Override I2C clock speed values
|
* @brief Override I2C clock speed values
|
||||||
*
|
*
|
||||||
@ -320,6 +321,7 @@ typedef enum {
|
|||||||
I2C_SPEED_HIGH, /**< not supported */
|
I2C_SPEED_HIGH, /**< not supported */
|
||||||
} i2c_speed_t;
|
} i2c_speed_t;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief I2C configuration structure type
|
* @brief I2C configuration structure type
|
||||||
|
|||||||
@ -40,6 +40,7 @@ extern "C" {
|
|||||||
#define SPI_MISOSEL (dev(bus)->PSELMISO)
|
#define SPI_MISOSEL (dev(bus)->PSELMISO)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
#ifndef DOXYGEN
|
||||||
/**
|
/**
|
||||||
* @brief Override I2C speed settings
|
* @brief Override I2C speed settings
|
||||||
* @{
|
* @{
|
||||||
@ -53,6 +54,7 @@ typedef enum {
|
|||||||
I2C_SPEED_HIGH = 0x03, /**< not supported */
|
I2C_SPEED_HIGH = 0x03, /**< not supported */
|
||||||
} i2c_speed_t;
|
} i2c_speed_t;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Use the shared I2C functions
|
* @name Use the shared I2C functions
|
||||||
|
|||||||
@ -84,6 +84,7 @@ typedef enum {
|
|||||||
/** @} */
|
/** @} */
|
||||||
#endif /* ndef DOXYGEN */
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
|
#ifndef DOXYGEN
|
||||||
/**
|
/**
|
||||||
* @brief Override I2C speed settings
|
* @brief Override I2C speed settings
|
||||||
* @{
|
* @{
|
||||||
@ -97,6 +98,7 @@ typedef enum {
|
|||||||
I2C_SPEED_HIGH = 0xfd, /**< not supported */
|
I2C_SPEED_HIGH = 0xfd, /**< not supported */
|
||||||
} i2c_speed_t;
|
} i2c_speed_t;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief I2C (TWI) configuration options
|
* @brief I2C (TWI) configuration options
|
||||||
|
|||||||
@ -281,6 +281,7 @@ typedef enum {
|
|||||||
I2C_FLAG_RUN_STANDBY = 0x1, /**< run SERCOM in standby mode */
|
I2C_FLAG_RUN_STANDBY = 0x1, /**< run SERCOM in standby mode */
|
||||||
} i2c_flag_t;
|
} i2c_flag_t;
|
||||||
|
|
||||||
|
#ifndef DOXYGEN
|
||||||
/**
|
/**
|
||||||
* @name Override I2C clock speed values
|
* @name Override I2C clock speed values
|
||||||
* @{
|
* @{
|
||||||
@ -294,6 +295,7 @@ typedef enum {
|
|||||||
I2C_SPEED_HIGH = 3400000U, /**< high speed mode: ~3.4Mbit/s */
|
I2C_SPEED_HIGH = 3400000U, /**< high speed mode: ~3.4Mbit/s */
|
||||||
} i2c_speed_t;
|
} i2c_speed_t;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief I2C device configuration
|
* @brief I2C device configuration
|
||||||
|
|||||||
@ -504,6 +504,7 @@ typedef struct {
|
|||||||
#endif
|
#endif
|
||||||
} spi_conf_t;
|
} spi_conf_t;
|
||||||
|
|
||||||
|
#ifndef DOXYGEN
|
||||||
/**
|
/**
|
||||||
* @brief Default mapping of I2C bus speed values
|
* @brief Default mapping of I2C bus speed values
|
||||||
* @{
|
* @{
|
||||||
@ -523,6 +524,7 @@ typedef enum {
|
|||||||
#endif
|
#endif
|
||||||
} i2c_speed_t;
|
} i2c_speed_t;
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif /* ndef DOXYGEN */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Structure for I2C configuration data
|
* @brief Structure for I2C configuration data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user