STM32L4xx_HAL_Driver  1.14.0
SMBUS Configuration Structure definition

SMBUS Configuration Structure definition. More...

Data Structures

struct  SMBUS_InitTypeDef
 

Detailed Description

SMBUS Configuration Structure definition.


Data Structure Documentation

◆ SMBUS_InitTypeDef

struct SMBUS_InitTypeDef

Definition at line 48 of file stm32l4xx_hal_smbus.h.

Data Fields
uint32_t AddressingMode

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

uint32_t AnalogFilter

Specifies if Analog Filter is enable or not. This parameter can be a value of SMBUS Analog Filter

uint32_t DualAddressMode

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

uint32_t GeneralCallMode

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

uint32_t NoStretchMode

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

uint32_t OwnAddress1

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

uint32_t OwnAddress2

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

uint32_t OwnAddress2Masks

Specifies the acknoledge mask address second device own address if dual addressing mode is selected This parameter can be a value of SMBUS ownaddress2 masks.

uint32_t PacketErrorCheckMode

Specifies if Packet Error Check mode is selected. This parameter can be a value of SMBUS packet error check mode

uint32_t PeripheralMode

Specifies which mode of Periphal is selected. This parameter can be a value of SMBUS peripheral mode

uint32_t SMBusTimeout

Specifies the content of the 32 Bits SMBUS_TIMEOUT_register value. (Enable bits and different timeout values) This parameter calculated by referring to SMBUS initialization section in Reference manual

uint32_t Timing

Specifies the SMBUS_TIMINGR_register value. This parameter calculated by referring to SMBUS initialization section in Reference manual