Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Peripheral State and Errors functions

Peripheral State and Errors functions
[I2C Exported Functions]

Peripheral State and Errors functions. More...

Functions

HAL_I2C_StateTypeDef HAL_I2C_GetState (I2C_HandleTypeDef *hi2c)
 Return the I2C handle state.
uint32_t HAL_I2C_GetError (I2C_HandleTypeDef *hi2c)
 Return the I2C error code.

Detailed Description

Peripheral State and Errors functions.

 ===============================================================================
            ##### Peripheral State and Errors functions #####
 ===============================================================================  
    [..]
    This subsection permits to get in run-time the status of the peripheral 
    and the data flow.


Function Documentation

uint32_t HAL_I2C_GetError ( I2C_HandleTypeDef *  hi2c )

Return the I2C error code.

Parameters:
hi2c: Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values:
I2CError Code

Definition at line 2553 of file stm32l4xx_hal_i2c.c.

HAL_I2C_StateTypeDef HAL_I2C_GetState ( I2C_HandleTypeDef *  hi2c )

Return the I2C handle state.

Parameters:
hi2c: Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values:
HALstate

Definition at line 2541 of file stm32l4xx_hal_i2c.c.