Home
last modified time | relevance | path

Searched refs:I2C_SpeedOffset (Results 1 – 7 of 7) sorted by relevance

/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32f1xxxx_i2c.c150 SHPGR = (PCLK_Freq * 9)/(I2C_InitStruct->I2C_Speed * 20) - sTmp - I2C_InitStruct->I2C_SpeedOffset; in I2C_Init()
151 …SLPGR = (PCLK_Freq * 11)/(I2C_InitStruct->I2C_Speed * 20) - sTmp - I2C_InitStruct->I2C_SpeedOffset; in I2C_Init()
172 I2C_InitStruct->I2C_SpeedOffset = 0; in I2C_StructInit()
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_i2c.c179 SHPGR = (PCLK_Freq * 9)/(I2C_InitStruct->I2C_Speed * 20) - sTmp - I2C_InitStruct->I2C_SpeedOffset; in I2C_Init()
180 …SLPGR = (PCLK_Freq * 11)/(I2C_InitStruct->I2C_Speed * 20) - sTmp - I2C_InitStruct->I2C_SpeedOffset; in I2C_Init()
201 I2C_InitStruct->I2C_SpeedOffset = 0; in I2C_StructInit()
/bsp/ht32/libraries/ht32_drivers/
A Ddrv_i2c.c90 I2C_InitStructure.I2C_SpeedOffset = 0; in ht32_i2c_init()
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/inc/
A Dht32f1xxxx_i2c.h60 …u8 I2C_SpeedOffset; /* Offset value to reach real speed, recommended I2C_SpeedOffset = I2C PCLK/… member
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/inc/
A Dht32f5xxxx_i2c.h64 …u8 I2C_SpeedOffset; /* Offset value to reach real speed, recommended I2C_SpeedOffset = I2C PCLK/… member
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/
A DRelease_Notes.txt1669 + Add "I2C_SpeedOffset" parameter of "I2C_InitTypeDef" struct to reach real I2C speed.
1676 + Add "I2C_SpeedOffset" parameter of I2C related examples.
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/
A DRelease_Notes.txt826 + Add "I2C_SpeedOffset" parameter of I2C_InitTypeDef to reach real I2C speed.

Completed in 14 milliseconds