STM32F401-Discovery
I2cHandle
is only used within STM32F401-Discovery.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32F401-Discovery
I2cHandle
I2cHandle variable
Syntax
from
stm32f401_discovery.c:90
static
I2C_HandleTypeDef
I2cHandle
;
References
Location
Referrer
Text
stm32f401_discovery.c:90
static
I2C_HandleTypeDef
I2cHandle
;
stm32f401_discovery.c:277
I2Cx_Init()
if
(
HAL_I2C_GetState
(
&
I2cHandle
)
==
HAL_I2C_STATE_RESET
)
stm32f401_discovery.c:279
I2Cx_Init()
I2cHandle
.
Instance
=
DISCOVERY_I2Cx
;
stm32f401_discovery.c:280
I2Cx_Init()
I2cHandle
.
Init
.
OwnAddress1
=
0x43
;
stm32f401_discovery.c:281
I2Cx_Init()
I2cHandle
.
Init
.
ClockSpeed
=
I2Cx_MAX_COMMUNICATION_FREQ
;
stm32f401_discovery.c:282
I2Cx_Init()
I2cHandle
.
Init
.
DutyCycle
=
I2C_DUTYCYCLE_2
;
stm32f401_discovery.c:283
I2Cx_Init()
I2cHandle
.
Init
.
AddressingMode
=
I2C_ADDRESSINGMODE_7BIT
;
stm32f401_discovery.c:284
I2Cx_Init()
I2cHandle
.
Init
.
DualAddressMode
=
I2C_DUALADDRESS_DISABLED
;
stm32f401_discovery.c:285
I2Cx_Init()
I2cHandle
.
Init
.
OwnAddress2
=
0x00
;
stm32f401_discovery.c:286
I2Cx_Init()
I2cHandle
.
Init
.
GeneralCallMode
=
I2C_GENERALCALL_DISABLED
;
stm32f401_discovery.c:287
I2Cx_Init()
I2cHandle
.
Init
.
NoStretchMode
=
I2C_NOSTRETCH_DISABLED
;
stm32f401_discovery.c:290
I2Cx_Init()
I2Cx_MspInit
(
&
I2cHandle
)
;
stm32f401_discovery.c:291
I2Cx_Init()
HAL_I2C_Init
(
&
I2cHandle
)
;
stm32f401_discovery.c:305
I2Cx_WriteData()
status
=
HAL_I2C_Mem_Write
(
&
I2cHandle
,
Addr
,
(
uint16_t
)
Reg
,
I2C_MEMADD_SIZE_8BIT
,
&
Value
,
1
,
I2cxTimeout
)
;
stm32f401_discovery.c:326
I2Cx_ReadData()
status
=
HAL_I2C_Mem_Read
(
&
I2cHandle
,
Addr
,
Reg
,
I2C_MEMADD_SIZE_8BIT
,
&
value
,
1
,
I2cxTimeout
)
;
stm32f401_discovery.c:343
I2Cx_Error()
HAL_I2C_DeInit
(
&
I2cHandle
)
;
Data Use
Functions reading
I2cHandle
I2cHandle
I2Cx_Init()
all items filtered out
Type of
I2cHandle
I2cHandle
I2C_HandleTypeDef
all items filtered out