Prusa MINI Firmware overview
I2C_InitTypeDef Struct Reference

I2C Configuration Structure definition. More...

#include <stm32f4xx_hal_i2c.h>

Collaboration diagram for I2C_InitTypeDef:

Public Attributes

uint32_t ClockSpeed
 
uint32_t DutyCycle
 
uint32_t OwnAddress1
 
uint32_t AddressingMode
 
uint32_t DualAddressMode
 
uint32_t OwnAddress2
 
uint32_t GeneralCallMode
 
uint32_t NoStretchMode
 

Detailed Description

I2C Configuration Structure definition.

Member Data Documentation

◆ ClockSpeed

uint32_t I2C_InitTypeDef::ClockSpeed

Specifies the clock frequency. This parameter must be set to a value lower than 400kHz

◆ DutyCycle

uint32_t I2C_InitTypeDef::DutyCycle

Specifies the I2C fast mode duty cycle. This parameter can be a value of I2C duty cycle in fast mode

◆ OwnAddress1

uint32_t I2C_InitTypeDef::OwnAddress1

Specifies the first device own address. This parameter can be a 7-bit or 10-bit address.

◆ AddressingMode

uint32_t I2C_InitTypeDef::AddressingMode

Specifies if 7-bit or 10-bit addressing mode is selected. This parameter can be a value of I2C addressing mode

◆ DualAddressMode

uint32_t I2C_InitTypeDef::DualAddressMode

Specifies if dual addressing mode is selected. This parameter can be a value of I2C dual addressing mode

◆ OwnAddress2

uint32_t I2C_InitTypeDef::OwnAddress2

Specifies the second device own address if dual addressing mode is selected This parameter can be a 7-bit address.

◆ GeneralCallMode

uint32_t I2C_InitTypeDef::GeneralCallMode

Specifies if general call mode is selected. This parameter can be a value of I2C general call addressing mode

◆ NoStretchMode

uint32_t I2C_InitTypeDef::NoStretchMode

Specifies if nostretch mode is selected. This parameter can be a value of I2C nostretch mode