Home
last modified time | relevance | path

Searched refs:ClockSpeed (Results 1 – 20 of 20) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_ll_i2c.h78 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
729 …STATIC_INLINE void LL_I2C_ConfigSpeed(I2C_TypeDef *I2Cx, uint32_t PeriphClock, uint32_t ClockSpeed, in LL_I2C_ConfigSpeed() argument
742 MODIFY_REG(I2Cx->TRISE, I2C_TRISE_TRISE, __LL_I2C_RISE_TIME(freqrange, ClockSpeed)); in LL_I2C_ConfigSpeed()
745 if (ClockSpeed > LL_I2C_MAX_SPEED_STANDARD) in LL_I2C_ConfigSpeed()
749 __LL_I2C_SPEED_FAST_TO_CCR(PeriphClock, ClockSpeed, DutyCycle) | \ in LL_I2C_ConfigSpeed()
756 __LL_I2C_SPEED_STANDARD_TO_CCR(PeriphClock, ClockSpeed); in LL_I2C_ConfigSpeed()
Dstm32f1xx_hal_i2c.h50 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_ll_i2c.h77 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
728 …STATIC_INLINE void LL_I2C_ConfigSpeed(I2C_TypeDef *I2Cx, uint32_t PeriphClock, uint32_t ClockSpeed, in LL_I2C_ConfigSpeed() argument
741 MODIFY_REG(I2Cx->TRISE, I2C_TRISE_TRISE, __LL_I2C_RISE_TIME(freqrange, ClockSpeed)); in LL_I2C_ConfigSpeed()
744 if (ClockSpeed > LL_I2C_MAX_SPEED_STANDARD) in LL_I2C_ConfigSpeed()
748 __LL_I2C_SPEED_FAST_TO_CCR(PeriphClock, ClockSpeed, DutyCycle) | \ in LL_I2C_ConfigSpeed()
755 __LL_I2C_SPEED_STANDARD_TO_CCR(PeriphClock, ClockSpeed); in LL_I2C_ConfigSpeed()
Dstm32f2xx_hal_i2c.h49 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_i2c.h77 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
728 …STATIC_INLINE void LL_I2C_ConfigSpeed(I2C_TypeDef *I2Cx, uint32_t PeriphClock, uint32_t ClockSpeed, in LL_I2C_ConfigSpeed() argument
741 MODIFY_REG(I2Cx->TRISE, I2C_TRISE_TRISE, __LL_I2C_RISE_TIME(freqrange, ClockSpeed)); in LL_I2C_ConfigSpeed()
744 if (ClockSpeed > LL_I2C_MAX_SPEED_STANDARD) in LL_I2C_ConfigSpeed()
748 __LL_I2C_SPEED_FAST_TO_CCR(PeriphClock, ClockSpeed, DutyCycle) | \ in LL_I2C_ConfigSpeed()
755 __LL_I2C_SPEED_STANDARD_TO_CCR(PeriphClock, ClockSpeed); in LL_I2C_ConfigSpeed()
Dstm32l1xx_hal_smbus.h48 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
Dstm32l1xx_hal_i2c.h49 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_ll_i2c.h77 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
836 …STATIC_INLINE void LL_I2C_ConfigSpeed(I2C_TypeDef *I2Cx, uint32_t PeriphClock, uint32_t ClockSpeed, in LL_I2C_ConfigSpeed() argument
849 MODIFY_REG(I2Cx->TRISE, I2C_TRISE_TRISE, __LL_I2C_RISE_TIME(freqrange, ClockSpeed)); in LL_I2C_ConfigSpeed()
852 if (ClockSpeed > LL_I2C_MAX_SPEED_STANDARD) in LL_I2C_ConfigSpeed()
856 __LL_I2C_SPEED_FAST_TO_CCR(PeriphClock, ClockSpeed, DutyCycle) | \ in LL_I2C_ConfigSpeed()
863 __LL_I2C_SPEED_STANDARD_TO_CCR(PeriphClock, ClockSpeed); in LL_I2C_ConfigSpeed()
Dstm32f4xx_hal_smbus.h48 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
Dstm32f4xx_hal_i2c.h49 uint32_t ClockSpeed; /*!< Specifies the clock frequency. member
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_i2c.c144 assert_param(IS_LL_I2C_CLOCK_SPEED(I2C_InitStruct->ClockSpeed)); in LL_I2C_Init()
162 …LL_I2C_ConfigSpeed(I2Cx, rcc_clocks.PCLK1_Frequency, I2C_InitStruct->ClockSpeed, I2C_InitStruct->D… in LL_I2C_Init()
199 I2C_InitStruct->ClockSpeed = 5000U; in LL_I2C_StructInit()
Dstm32f2xx_hal_i2c.c458 assert_param(IS_I2C_CLOCK_SPEED(hi2c->Init.ClockSpeed)); in HAL_I2C_Init()
511 if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U) in HAL_I2C_Init()
525 …MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed)… in HAL_I2C_Init()
529 …(I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.Duty… in HAL_I2C_Init()
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_i2c.c136 assert_param(IS_LL_I2C_CLOCK_SPEED(I2C_InitStruct->ClockSpeed)); in LL_I2C_Init()
154 …LL_I2C_ConfigSpeed(I2Cx, rcc_clocks.PCLK1_Frequency, I2C_InitStruct->ClockSpeed, I2C_InitStruct->D… in LL_I2C_Init()
191 I2C_InitStruct->ClockSpeed = 5000U; in LL_I2C_StructInit()
Dstm32l1xx_hal_smbus.c298 assert_param(IS_SMBUS_CLOCK_SPEED(hsmbus->Init.ClockSpeed)); in HAL_SMBUS_Init()
358 …, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), SMBUS_SPEED_STANDARD(pclk1, hsmbus->Init.ClockSpeed)); in HAL_SMBUS_Init()
Dstm32l1xx_hal_i2c.c458 assert_param(IS_I2C_CLOCK_SPEED(hi2c->Init.ClockSpeed)); in HAL_I2C_Init()
511 if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U) in HAL_I2C_Init()
525 …MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed)… in HAL_I2C_Init()
529 …(I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.Duty… in HAL_I2C_Init()
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_i2c.c139 assert_param(IS_LL_I2C_CLOCK_SPEED(I2C_InitStruct->ClockSpeed)); in LL_I2C_Init()
157 …LL_I2C_ConfigSpeed(I2Cx, rcc_clocks.PCLK1_Frequency, I2C_InitStruct->ClockSpeed, I2C_InitStruct->D… in LL_I2C_Init()
194 I2C_InitStruct->ClockSpeed = 5000U; in LL_I2C_StructInit()
Dstm32f1xx_hal_i2c.c466 assert_param(IS_I2C_CLOCK_SPEED(hi2c->Init.ClockSpeed)); in HAL_I2C_Init()
519 if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U) in HAL_I2C_Init()
533 …MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed)… in HAL_I2C_Init()
537 …(I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.Duty… in HAL_I2C_Init()
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_i2c.c153 assert_param(IS_LL_I2C_CLOCK_SPEED(I2C_InitStruct->ClockSpeed)); in LL_I2C_Init()
184 …LL_I2C_ConfigSpeed(I2Cx, rcc_clocks.PCLK1_Frequency, I2C_InitStruct->ClockSpeed, I2C_InitStruct->D… in LL_I2C_Init()
221 I2C_InitStruct->ClockSpeed = 5000U; in LL_I2C_StructInit()
Dstm32f4xx_hal_smbus.c297 assert_param(IS_SMBUS_CLOCK_SPEED(hsmbus->Init.ClockSpeed)); in HAL_SMBUS_Init()
357 …, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), SMBUS_SPEED_STANDARD(pclk1, hsmbus->Init.ClockSpeed)); in HAL_SMBUS_Init()
Dstm32f4xx_hal_i2c.c447 assert_param(IS_I2C_CLOCK_SPEED(hi2c->Init.ClockSpeed)); in HAL_I2C_Init()
500 if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U) in HAL_I2C_Init()
514 …MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed)… in HAL_I2C_Init()
518 …(I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.Duty… in HAL_I2C_Init()