Skip to content

Commit 74042a9

Browse files
authored
fix(Documentation): Remove Misleading Doxygen Comment for I2C Init (Doesn't Set Speed) (#782)
1 parent 182932b commit 74042a9

File tree

15 files changed

+15
-30
lines changed

15 files changed

+15
-30
lines changed

Libraries/PeriphDrivers/Include/MAX32520/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
180180

181181
/**
182182
* @brief Initialize and enable I2C peripheral.
183-
* @note This function sets the I2C Speed to 100kHz, if another speed is
184-
* desired use the MXC_I2C_SetFrequency() function to set it.
183+
185184
*
186185
* @param i2c Pointer to I2C registers (selects the I2C block used.)
187186
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32570/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
177177

178178
/**
179179
* @brief Initialize and enable I2C peripheral.
180-
* @note This function sets the I2C Speed to 100kHz, if another speed is
181-
* desired use the MXC_I2C_SetFrequency() function to set it.
180+
*
182181
*
183182
* @param i2c Pointer to I2C registers (selects the I2C block used.)
184183
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32572/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
183183

184184
/**
185185
* @brief Initialize and enable I2C peripheral.
186-
* @note This function sets the I2C Speed to 100kHz, if another speed is
187-
* desired use the MXC_I2C_SetFrequency() function to set it.
186+
*
188187
*
189188
* @param i2c Pointer to I2C registers (selects the I2C block used.)
190189
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32650/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
180180

181181
/**
182182
* @brief Initialize and enable I2C peripheral.
183-
* @note This function sets the I2C Speed to 100kHz, if another speed is
184-
* desired use the MXC_I2C_SetFrequency() function to set it.
183+
*
185184
*
186185
* @param i2c Pointer to I2C registers (selects the I2C block used.)
187186
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32655/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
183183

184184
/**
185185
* @brief Initialize and enable I2C peripheral.
186-
* @note This function sets the I2C Speed to 100kHz, if another speed is
187-
* desired use the MXC_I2C_SetFrequency() function to set it.
186+
*
188187
* @note On default this function enables I2C peripheral clock and i2c gpio pins.
189188
* if you wish to manage clock and gpio related things in upper level instead of here.
190189
* Define MSDK_NO_GPIO_CLK_INIT flag in project.mk file.

Libraries/PeriphDrivers/Include/MAX32660/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
184184

185185
/**
186186
* @brief Initialize and enable I2C peripheral.
187-
* @note This function sets the I2C Speed to 100kHz, if another speed is
188-
* desired use the MXC_I2C_SetFrequency() function to set it.
187+
*
189188
*
190189
* @param i2c Pointer to I2C registers (selects the I2C block used.)
191190
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32662/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
177177

178178
/**
179179
* @brief Initialize and enable I2C peripheral.
180-
* @note This function sets the I2C Speed to 100kHz, if another speed is
181-
* desired use the MXC_I2C_SetFrequency() function to set it.
180+
*
182181
*
183182
* @param i2c Pointer to I2C registers (selects the I2C block used.)
184183
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32665/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
185185

186186
/**
187187
* @brief Initialize and enable I2C peripheral.
188-
* @note This function sets the I2C Speed to 100kHz, if another speed is
189-
* desired use the MXC_I2C_SetFrequency() function to set it.
188+
*
190189
* @note On default this function enables I2C peripheral clock and i2c gpio pins.
191190
* if you wish to manage clock and gpio related things in upper level instead of here.
192191
* Define MSDK_NO_GPIO_CLK_INIT flag in project.mk file.

Libraries/PeriphDrivers/Include/MAX32670/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
184184

185185
/**
186186
* @brief Initialize and enable I2C peripheral.
187-
* @note This function sets the I2C Speed to 100kHz, if another speed is
188-
* desired use the MXC_I2C_SetFrequency() function to set it.
187+
*
189188
* @note On default this function enables I2C peripheral clock and i2c gpio pins.
190189
* if you wish to manage clock and gpio related things in upper level instead of here.
191190
* Define MSDK_NO_GPIO_CLK_INIT flag in project.mk file.

Libraries/PeriphDrivers/Include/MAX32672/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
184184

185185
/**
186186
* @brief Initialize and enable I2C peripheral.
187-
* @note This function sets the I2C Speed to 100kHz, if another speed is
188-
* desired use the MXC_I2C_SetFrequency() function to set it.
187+
*
189188
*
190189
* @param i2c Pointer to I2C registers (selects the I2C block used.)
191190
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32675/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
184184

185185
/**
186186
* @brief Initialize and enable I2C peripheral.
187-
* @note This function sets the I2C Speed to 100kHz, if another speed is
188-
* desired use the MXC_I2C_SetFrequency() function to set it.
187+
*
189188
*
190189
* @param i2c Pointer to I2C registers (selects the I2C block used.)
191190
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32680/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
183183

184184
/**
185185
* @brief Initialize and enable I2C peripheral.
186-
* @note This function sets the I2C Speed to 100kHz, if another speed is
187-
* desired use the MXC_I2C_SetFrequency() function to set it.
186+
*
188187
*
189188
* @param i2c Pointer to I2C registers (selects the I2C block used.)
190189
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX32690/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
183183

184184
/**
185185
* @brief Initialize and enable I2C peripheral.
186-
* @note This function sets the I2C Speed to 100kHz, if another speed is
187-
* desired use the MXC_I2C_SetFrequency() function to set it.
186+
*
188187
* @note On default this function enables I2C peripheral clock and i2c gpio pins.
189188
* if you wish to manage clock and gpio related things in upper level instead of here.
190189
* Define MSDK_NO_GPIO_CLK_INIT flag in project.mk file.

Libraries/PeriphDrivers/Include/MAX78000/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
177177

178178
/**
179179
* @brief Initialize and enable I2C peripheral.
180-
* @note This function sets the I2C Speed to 100kHz, if another speed is
181-
* desired use the MXC_I2C_SetFrequency() function to set it.
180+
*
182181
*
183182
* @param i2c Pointer to I2C registers (selects the I2C block used.)
184183
* @param masterMode Whether to put the device in master or slave mode. Use

Libraries/PeriphDrivers/Include/MAX78002/i2c.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ typedef int (*mxc_i2c_slave_handler_t)(mxc_i2c_regs_t *i2c, mxc_i2c_slave_event_
183183

184184
/**
185185
* @brief Initialize and enable I2C peripheral.
186-
* @note This function sets the I2C Speed to 100kHz, if another speed is
187-
* desired use the MXC_I2C_SetFrequency() function to set it.
186+
*
188187
*
189188
* @param i2c Pointer to I2C registers (selects the I2C block used.)
190189
* @param masterMode Whether to put the device in master or slave mode. Use

0 commit comments

Comments
 (0)