Lines Matching defs:mode
174 /* Configure I2Cx: Own Address1 and ack own address1 mode */
186 /* Configure I2Cx: Addressing Master mode */
201 /* Configure I2Cx: Dual mode and Own Address2 */
207 /* Configure I2Cx: Generalcall and NoStretch mode */
393 * @arg @ref I2C_RELOAD_MODE: Enable Reload mode.
394 * @arg @ref I2C_AUTOEND_MODE: Enable Automatic end mode.
395 * @arg @ref I2C_SOFTEND_MODE: Enable Software end mode.
516 * @brief Generic function to write an amount of data in blocking mode
526 * @param mode: Communication mode
532 enum i2c_mode_e mode)
540 if ((mode != I2C_MODE_MASTER) && (mode != I2C_MODE_MEM)) {
562 hi2c->i2c_mode = mode;
567 if (mode == I2C_MODE_MEM) {
633 * No need to Check TC flag, with AUTOEND mode the stop
658 * @brief Write an amount of data in blocking mode to a specific memory
679 * @brief Transmits in master mode an amount of data in blocking mode.
697 * @brief Generic function to read an amount of data in blocking mode
707 * @param mode: Communication mode
713 enum i2c_mode_e mode)
721 if ((mode != I2C_MODE_MASTER) && (mode != I2C_MODE_MEM)) {
743 hi2c->i2c_mode = mode;
746 if (mode == I2C_MODE_MEM) {
802 * No need to Check TC flag, with AUTOEND mode the stop
827 * @brief Read an amount of data in blocking mode from a specific memory
848 * @brief Receives in master mode an amount of data in blocking mode.
917 * No need to Check TC flag, with AUTOEND mode the stop