Home
last modified time | relevance | path

Searched refs:sTmp (Results 1 – 2 of 2) sorted by relevance

/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32f1xxxx_i2c.c109 s32 sTmp = 0; in I2C_Init() local
135 sTmp = 6; in I2C_Init()
140 sTmp = 8; in I2C_Init()
145 sTmp = 9; in I2C_Init()
150 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()
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_i2c.c124 s32 sTmp = 0; in I2C_Init() local
164 sTmp = 6; in I2C_Init()
169 sTmp = 8; in I2C_Init()
174 sTmp = 9; in I2C_Init()
179 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()

Completed in 8 milliseconds