|
STM32F4xx_HAL_Driver
1.8.3
|
Collaboration diagram for Configuration:Functions | |
| __STATIC_INLINE void | LL_I2C_Enable (I2C_TypeDef *I2Cx) |
| Enable I2C peripheral (PE = 1). @rmtoll CR1 PE LL_I2C_Enable. More... | |
| __STATIC_INLINE void | LL_I2C_Disable (I2C_TypeDef *I2Cx) |
| Disable I2C peripheral (PE = 0). @rmtoll CR1 PE LL_I2C_Disable. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabled (I2C_TypeDef *I2Cx) |
| Check if the I2C peripheral is enabled or disabled. @rmtoll CR1 PE LL_I2C_IsEnabled. More... | |
| __STATIC_INLINE void | LL_I2C_ConfigFilters (I2C_TypeDef *I2Cx, uint32_t AnalogFilter, uint32_t DigitalFilter) |
| Configure Noise Filters (Analog and Digital). More... | |
| __STATIC_INLINE void | LL_I2C_SetDigitalFilter (I2C_TypeDef *I2Cx, uint32_t DigitalFilter) |
| Configure Digital Noise Filter. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetDigitalFilter (I2C_TypeDef *I2Cx) |
| Get the current Digital Noise Filter configuration. @rmtoll FLTR DNF LL_I2C_GetDigitalFilter. More... | |
| __STATIC_INLINE void | LL_I2C_EnableAnalogFilter (I2C_TypeDef *I2Cx) |
| Enable Analog Noise Filter. More... | |
| __STATIC_INLINE void | LL_I2C_DisableAnalogFilter (I2C_TypeDef *I2Cx) |
| Disable Analog Noise Filter. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledAnalogFilter (I2C_TypeDef *I2Cx) |
| Check if Analog Noise Filter is enabled or disabled. @rmtoll FLTR ANOFF LL_I2C_IsEnabledAnalogFilter. More... | |
| __STATIC_INLINE void | LL_I2C_EnableDMAReq_TX (I2C_TypeDef *I2Cx) |
| Enable DMA transmission requests. @rmtoll CR2 DMAEN LL_I2C_EnableDMAReq_TX. More... | |
| __STATIC_INLINE void | LL_I2C_DisableDMAReq_TX (I2C_TypeDef *I2Cx) |
| Disable DMA transmission requests. @rmtoll CR2 DMAEN LL_I2C_DisableDMAReq_TX. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledDMAReq_TX (I2C_TypeDef *I2Cx) |
| Check if DMA transmission requests are enabled or disabled. @rmtoll CR2 DMAEN LL_I2C_IsEnabledDMAReq_TX. More... | |
| __STATIC_INLINE void | LL_I2C_EnableDMAReq_RX (I2C_TypeDef *I2Cx) |
| Enable DMA reception requests. @rmtoll CR2 DMAEN LL_I2C_EnableDMAReq_RX. More... | |
| __STATIC_INLINE void | LL_I2C_DisableDMAReq_RX (I2C_TypeDef *I2Cx) |
| Disable DMA reception requests. @rmtoll CR2 DMAEN LL_I2C_DisableDMAReq_RX. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledDMAReq_RX (I2C_TypeDef *I2Cx) |
| Check if DMA reception requests are enabled or disabled. @rmtoll CR2 DMAEN LL_I2C_IsEnabledDMAReq_RX. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_DMA_GetRegAddr (I2C_TypeDef *I2Cx) |
| Get the data register address used for DMA transfer. @rmtoll DR DR LL_I2C_DMA_GetRegAddr. More... | |
| __STATIC_INLINE void | LL_I2C_EnableClockStretching (I2C_TypeDef *I2Cx) |
| Enable Clock stretching. More... | |
| __STATIC_INLINE void | LL_I2C_DisableClockStretching (I2C_TypeDef *I2Cx) |
| Disable Clock stretching. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledClockStretching (I2C_TypeDef *I2Cx) |
| Check if Clock stretching is enabled or disabled. @rmtoll CR1 NOSTRETCH LL_I2C_IsEnabledClockStretching. More... | |
| __STATIC_INLINE void | LL_I2C_EnableGeneralCall (I2C_TypeDef *I2Cx) |
| Enable General Call. More... | |
| __STATIC_INLINE void | LL_I2C_DisableGeneralCall (I2C_TypeDef *I2Cx) |
| Disable General Call. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledGeneralCall (I2C_TypeDef *I2Cx) |
| Check if General Call is enabled or disabled. @rmtoll CR1 ENGC LL_I2C_IsEnabledGeneralCall. More... | |
| __STATIC_INLINE void | LL_I2C_SetOwnAddress1 (I2C_TypeDef *I2Cx, uint32_t OwnAddress1, uint32_t OwnAddrSize) |
| Set the Own Address1. @rmtoll OAR1 ADD0 LL_I2C_SetOwnAddress1 OAR1 ADD1_7 LL_I2C_SetOwnAddress1 OAR1 ADD8_9 LL_I2C_SetOwnAddress1 OAR1 ADDMODE LL_I2C_SetOwnAddress1. More... | |
| __STATIC_INLINE void | LL_I2C_SetOwnAddress2 (I2C_TypeDef *I2Cx, uint32_t OwnAddress2) |
| Set the 7bits Own Address2. More... | |
| __STATIC_INLINE void | LL_I2C_EnableOwnAddress2 (I2C_TypeDef *I2Cx) |
| Enable acknowledge on Own Address2 match address. @rmtoll OAR2 ENDUAL LL_I2C_EnableOwnAddress2. More... | |
| __STATIC_INLINE void | LL_I2C_DisableOwnAddress2 (I2C_TypeDef *I2Cx) |
| Disable acknowledge on Own Address2 match address. @rmtoll OAR2 ENDUAL LL_I2C_DisableOwnAddress2. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledOwnAddress2 (I2C_TypeDef *I2Cx) |
| Check if Own Address1 acknowledge is enabled or disabled. @rmtoll OAR2 ENDUAL LL_I2C_IsEnabledOwnAddress2. More... | |
| __STATIC_INLINE void | LL_I2C_SetPeriphClock (I2C_TypeDef *I2Cx, uint32_t PeriphClock) |
| Configure the Peripheral clock frequency. @rmtoll CR2 FREQ LL_I2C_SetPeriphClock. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetPeriphClock (I2C_TypeDef *I2Cx) |
| Get the Peripheral clock frequency. @rmtoll CR2 FREQ LL_I2C_GetPeriphClock. More... | |
| __STATIC_INLINE void | LL_I2C_SetDutyCycle (I2C_TypeDef *I2Cx, uint32_t DutyCycle) |
| Configure the Duty cycle (Fast mode only). @rmtoll CCR DUTY LL_I2C_SetDutyCycle. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetDutyCycle (I2C_TypeDef *I2Cx) |
| Get the Duty cycle (Fast mode only). @rmtoll CCR DUTY LL_I2C_GetDutyCycle. More... | |
| __STATIC_INLINE void | LL_I2C_SetClockSpeedMode (I2C_TypeDef *I2Cx, uint32_t ClockSpeedMode) |
| Configure the I2C master clock speed mode. @rmtoll CCR FS LL_I2C_SetClockSpeedMode. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetClockSpeedMode (I2C_TypeDef *I2Cx) |
| Get the the I2C master speed mode. @rmtoll CCR FS LL_I2C_GetClockSpeedMode. More... | |
| __STATIC_INLINE void | LL_I2C_SetRiseTime (I2C_TypeDef *I2Cx, uint32_t RiseTime) |
| Configure the SCL, SDA rising time. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetRiseTime (I2C_TypeDef *I2Cx) |
| Get the SCL, SDA rising time. @rmtoll TRISE TRISE LL_I2C_GetRiseTime. More... | |
| __STATIC_INLINE void | LL_I2C_SetClockPeriod (I2C_TypeDef *I2Cx, uint32_t ClockPeriod) |
| Configure the SCL high and low period. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetClockPeriod (I2C_TypeDef *I2Cx) |
| Get the SCL high and low period. @rmtoll CCR CCR LL_I2C_GetClockPeriod. More... | |
| __STATIC_INLINE void | LL_I2C_ConfigSpeed (I2C_TypeDef *I2Cx, uint32_t PeriphClock, uint32_t ClockSpeed, uint32_t DutyCycle) |
| Configure the SCL speed. More... | |
| __STATIC_INLINE void | LL_I2C_SetMode (I2C_TypeDef *I2Cx, uint32_t PeripheralMode) |
| Configure peripheral mode. More... | |
| __STATIC_INLINE uint32_t | LL_I2C_GetMode (I2C_TypeDef *I2Cx) |
| Get peripheral mode. More... | |
| __STATIC_INLINE void | LL_I2C_EnableSMBusAlert (I2C_TypeDef *I2Cx) |
| Enable SMBus alert (Host or Device mode) More... | |
| __STATIC_INLINE void | LL_I2C_DisableSMBusAlert (I2C_TypeDef *I2Cx) |
| Disable SMBus alert (Host or Device mode) More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledSMBusAlert (I2C_TypeDef *I2Cx) |
| Check if SMBus alert (Host or Device mode) is enabled or disabled. More... | |
| __STATIC_INLINE void | LL_I2C_EnableSMBusPEC (I2C_TypeDef *I2Cx) |
| Enable SMBus Packet Error Calculation (PEC). More... | |
| __STATIC_INLINE void | LL_I2C_DisableSMBusPEC (I2C_TypeDef *I2Cx) |
| Disable SMBus Packet Error Calculation (PEC). More... | |
| __STATIC_INLINE uint32_t | LL_I2C_IsEnabledSMBusPEC (I2C_TypeDef *I2Cx) |
| Check if SMBus Packet Error Calculation (PEC) is enabled or disabled. More... | |
| __STATIC_INLINE void LL_I2C_ConfigFilters | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | AnalogFilter, | ||
| uint32_t | DigitalFilter | ||
| ) |
Configure Noise Filters (Analog and Digital).
| I2Cx | I2C Instance. |
| AnalogFilter | This parameter can be one of the following values:
|
| DigitalFilter | This parameter must be a value between Min_Data=0x00 (Digital filter disabled) and Max_Data=0x0F (Digital filter enabled and filtering capability up to 15*TPCLK1) This parameter is used to configure the digital noise filter on SDA and SCL input. The digital filter will suppress the spikes with a length of up to DNF[3:0]*TPCLK1. |
| None |
Definition at line 413 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_ConfigSpeed | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | PeriphClock, | ||
| uint32_t | ClockSpeed, | ||
| uint32_t | DutyCycle | ||
| ) |
Configure the SCL speed.
| I2Cx | I2C Instance. |
| PeriphClock | Peripheral Clock (in Hz) |
| ClockSpeed | This parameter must be a value lower than 400kHz (in Hz). |
| DutyCycle | This parameter can be one of the following values:
|
| None |
Definition at line 836 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_Disable | ( | I2C_TypeDef * | I2Cx | ) |
Disable I2C peripheral (PE = 0). @rmtoll CR1 PE LL_I2C_Disable.
| I2Cx | I2C Instance. |
| None |
Definition at line 382 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableAnalogFilter | ( | I2C_TypeDef * | I2Cx | ) |
Disable Analog Noise Filter.
| I2Cx | I2C Instance. |
| None |
Definition at line 467 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableClockStretching | ( | I2C_TypeDef * | I2Cx | ) |
Disable Clock stretching.
| I2Cx | I2C Instance. |
| None |
Definition at line 580 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableDMAReq_RX | ( | I2C_TypeDef * | I2Cx | ) |
Disable DMA reception requests. @rmtoll CR2 DMAEN LL_I2C_DisableDMAReq_RX.
| I2Cx | I2C Instance. |
| None |
Definition at line 534 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableDMAReq_TX | ( | I2C_TypeDef * | I2Cx | ) |
Disable DMA transmission requests. @rmtoll CR2 DMAEN LL_I2C_DisableDMAReq_TX.
| I2Cx | I2C Instance. |
| None |
Definition at line 501 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableGeneralCall | ( | I2C_TypeDef * | I2Cx | ) |
Disable General Call.
| I2Cx | I2C Instance. |
| None |
Definition at line 615 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableOwnAddress2 | ( | I2C_TypeDef * | I2Cx | ) |
Disable acknowledge on Own Address2 match address. @rmtoll OAR2 ENDUAL LL_I2C_DisableOwnAddress2.
| I2Cx | I2C Instance. |
| None |
Definition at line 679 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableSMBusAlert | ( | I2C_TypeDef * | I2Cx | ) |
Disable SMBus alert (Host or Device mode)
| I2Cx | I2C Instance. |
| None |
Definition at line 940 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_DisableSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Disable SMBus Packet Error Calculation (PEC).
| I2Cx | I2C Instance. |
| None |
Definition at line 979 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_DMA_GetRegAddr | ( | I2C_TypeDef * | I2Cx | ) |
Get the data register address used for DMA transfer. @rmtoll DR DR LL_I2C_DMA_GetRegAddr.
| I2Cx | I2C Instance. |
| Address | of data register |
Definition at line 556 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_Enable | ( | I2C_TypeDef * | I2Cx | ) |
Enable I2C peripheral (PE = 1). @rmtoll CR1 PE LL_I2C_Enable.
| I2Cx | I2C Instance. |
| None |
Definition at line 371 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableAnalogFilter | ( | I2C_TypeDef * | I2Cx | ) |
Enable Analog Noise Filter.
| I2Cx | I2C Instance. |
| None |
Definition at line 455 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableClockStretching | ( | I2C_TypeDef * | I2Cx | ) |
Enable Clock stretching.
| I2Cx | I2C Instance. |
| None |
Definition at line 568 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableDMAReq_RX | ( | I2C_TypeDef * | I2Cx | ) |
Enable DMA reception requests. @rmtoll CR2 DMAEN LL_I2C_EnableDMAReq_RX.
| I2Cx | I2C Instance. |
| None |
Definition at line 523 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableDMAReq_TX | ( | I2C_TypeDef * | I2Cx | ) |
Enable DMA transmission requests. @rmtoll CR2 DMAEN LL_I2C_EnableDMAReq_TX.
| I2Cx | I2C Instance. |
| None |
Definition at line 490 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableGeneralCall | ( | I2C_TypeDef * | I2Cx | ) |
Enable General Call.
| I2Cx | I2C Instance. |
| None |
Definition at line 603 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableOwnAddress2 | ( | I2C_TypeDef * | I2Cx | ) |
Enable acknowledge on Own Address2 match address. @rmtoll OAR2 ENDUAL LL_I2C_EnableOwnAddress2.
| I2Cx | I2C Instance. |
| None |
Definition at line 668 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableSMBusAlert | ( | I2C_TypeDef * | I2Cx | ) |
Enable SMBus alert (Host or Device mode)
| I2Cx | I2C Instance. |
| None |
Definition at line 922 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_EnableSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Enable SMBus Packet Error Calculation (PEC).
| I2Cx | I2C Instance. |
| None |
Definition at line 966 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetClockPeriod | ( | I2C_TypeDef * | I2Cx | ) |
Get the SCL high and low period. @rmtoll CCR CCR LL_I2C_GetClockPeriod.
| I2Cx | I2C Instance. |
| Value | between Min_Data=0x004 and Max_Data=0xFFF, except in FAST DUTY mode where Min_Data=0x001. |
Definition at line 815 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetClockSpeedMode | ( | I2C_TypeDef * | I2Cx | ) |
Get the the I2C master speed mode. @rmtoll CCR FS LL_I2C_GetClockSpeedMode.
| I2Cx | I2C Instance. |
| Returned | value can be one of the following values:
|
Definition at line 767 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetDigitalFilter | ( | I2C_TypeDef * | I2Cx | ) |
Get the current Digital Noise Filter configuration. @rmtoll FLTR DNF LL_I2C_GetDigitalFilter.
| I2Cx | I2C Instance. |
| Value | between Min_Data=0x0 and Max_Data=0xF |
Definition at line 441 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetDutyCycle | ( | I2C_TypeDef * | I2Cx | ) |
Get the Duty cycle (Fast mode only). @rmtoll CCR DUTY LL_I2C_GetDutyCycle.
| I2Cx | I2C Instance. |
| Returned | value can be one of the following values:
|
Definition at line 740 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetMode | ( | I2C_TypeDef * | I2Cx | ) |
Get peripheral mode.
| I2Cx | I2C Instance. |
| Returned | value can be one of the following values:
|
Definition at line 904 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetPeriphClock | ( | I2C_TypeDef * | I2Cx | ) |
Get the Peripheral clock frequency. @rmtoll CR2 FREQ LL_I2C_GetPeriphClock.
| I2Cx | I2C Instance. |
| Value | of Peripheral Clock (in Hz) |
Definition at line 713 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_GetRiseTime | ( | I2C_TypeDef * | I2Cx | ) |
Get the SCL, SDA rising time. @rmtoll TRISE TRISE LL_I2C_GetRiseTime.
| I2Cx | I2C Instance. |
| Value | between Min_Data=0x02 and Max_Data=0x3F |
Definition at line 791 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabled | ( | I2C_TypeDef * | I2Cx | ) |
Check if the I2C peripheral is enabled or disabled. @rmtoll CR1 PE LL_I2C_IsEnabled.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 393 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledAnalogFilter | ( | I2C_TypeDef * | I2Cx | ) |
Check if Analog Noise Filter is enabled or disabled. @rmtoll FLTR ANOFF LL_I2C_IsEnabledAnalogFilter.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 478 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledClockStretching | ( | I2C_TypeDef * | I2Cx | ) |
Check if Clock stretching is enabled or disabled. @rmtoll CR1 NOSTRETCH LL_I2C_IsEnabledClockStretching.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 591 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledDMAReq_RX | ( | I2C_TypeDef * | I2Cx | ) |
Check if DMA reception requests are enabled or disabled. @rmtoll CR2 DMAEN LL_I2C_IsEnabledDMAReq_RX.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 545 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledDMAReq_TX | ( | I2C_TypeDef * | I2Cx | ) |
Check if DMA transmission requests are enabled or disabled. @rmtoll CR2 DMAEN LL_I2C_IsEnabledDMAReq_TX.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 512 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledGeneralCall | ( | I2C_TypeDef * | I2Cx | ) |
Check if General Call is enabled or disabled. @rmtoll CR1 ENGC LL_I2C_IsEnabledGeneralCall.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 626 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledOwnAddress2 | ( | I2C_TypeDef * | I2Cx | ) |
Check if Own Address1 acknowledge is enabled or disabled. @rmtoll OAR2 ENDUAL LL_I2C_IsEnabledOwnAddress2.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 690 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusAlert | ( | I2C_TypeDef * | I2Cx | ) |
Check if SMBus alert (Host or Device mode) is enabled or disabled.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 953 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Check if SMBus Packet Error Calculation (PEC) is enabled or disabled.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 992 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetClockPeriod | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | ClockPeriod | ||
| ) |
Configure the SCL high and low period.
| I2Cx | I2C Instance. |
| ClockPeriod | This parameter must be a value between Min_Data=0x004 and Max_Data=0xFFF, except in FAST DUTY mode where Min_Data=0x001. |
| None |
Definition at line 804 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetClockSpeedMode | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | ClockSpeedMode | ||
| ) |
Configure the I2C master clock speed mode. @rmtoll CCR FS LL_I2C_SetClockSpeedMode.
| I2Cx | I2C Instance. |
| ClockSpeedMode | This parameter can be one of the following values:
|
| None |
Definition at line 754 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetDigitalFilter | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | DigitalFilter | ||
| ) |
Configure Digital Noise Filter.
| I2Cx | I2C Instance. |
| DigitalFilter | This parameter must be a value between Min_Data=0x00 (Digital filter disabled) and Max_Data=0x0F (Digital filter enabled and filtering capability up to 15*TPCLK1) This parameter is used to configure the digital noise filter on SDA and SCL input. The digital filter will suppress the spikes with a length of up to DNF[3:0]*TPCLK1. |
| None |
Definition at line 430 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetDutyCycle | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | DutyCycle | ||
| ) |
Configure the Duty cycle (Fast mode only). @rmtoll CCR DUTY LL_I2C_SetDutyCycle.
| I2Cx | I2C Instance. |
| DutyCycle | This parameter can be one of the following values:
|
| None |
Definition at line 727 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetMode | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | PeripheralMode | ||
| ) |
Configure peripheral mode.
| I2Cx | I2C Instance. |
| PeripheralMode | This parameter can be one of the following values:
|
| None |
Definition at line 885 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetOwnAddress1 | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | OwnAddress1, | ||
| uint32_t | OwnAddrSize | ||
| ) |
Set the Own Address1. @rmtoll OAR1 ADD0 LL_I2C_SetOwnAddress1
OAR1 ADD1_7 LL_I2C_SetOwnAddress1
OAR1 ADD8_9 LL_I2C_SetOwnAddress1
OAR1 ADDMODE LL_I2C_SetOwnAddress1.
| I2Cx | I2C Instance. |
| OwnAddress1 | This parameter must be a value between Min_Data=0 and Max_Data=0x3FF. |
| OwnAddrSize | This parameter can be one of the following values:
|
| None |
Definition at line 644 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetOwnAddress2 | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | OwnAddress2 | ||
| ) |
Set the 7bits Own Address2.
| I2Cx | I2C Instance. |
| OwnAddress2 | This parameter must be a value between Min_Data=0 and Max_Data=0x7F. |
| None |
Definition at line 657 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetPeriphClock | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | PeriphClock | ||
| ) |
Configure the Peripheral clock frequency. @rmtoll CR2 FREQ LL_I2C_SetPeriphClock.
| I2Cx | I2C Instance. |
| PeriphClock | Peripheral Clock (in Hz) |
| None |
Definition at line 702 of file stm32f4xx_ll_i2c.h.
| __STATIC_INLINE void LL_I2C_SetRiseTime | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | RiseTime | ||
| ) |
Configure the SCL, SDA rising time.
| I2Cx | I2C Instance. |
| RiseTime | This parameter must be a value between Min_Data=0x02 and Max_Data=0x3F. |
| None |
Definition at line 780 of file stm32f4xx_ll_i2c.h.