STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
SMBUS_InitTypeDef Struct Reference

SMBUS Configuration Structure definition. More...

#include <stm32f4xx_hal_smbus.h>

Collaboration diagram for SMBUS_InitTypeDef:

Data Fields

uint32_t ClockSpeed
 
uint32_t AnalogFilter
 
uint32_t OwnAddress1
 
uint32_t AddressingMode
 
uint32_t DualAddressMode
 
uint32_t OwnAddress2
 
uint32_t GeneralCallMode
 
uint32_t NoStretchMode
 
uint32_t PacketErrorCheckMode
 
uint32_t PeripheralMode
 

Detailed Description

SMBUS Configuration Structure definition.

Definition at line 46 of file stm32f4xx_hal_smbus.h.

Field Documentation

◆ ClockSpeed

uint32_t SMBUS_InitTypeDef::ClockSpeed

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

Definition at line 48 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

◆ AnalogFilter

uint32_t SMBUS_InitTypeDef::AnalogFilter

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

Definition at line 51 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

◆ OwnAddress1

uint32_t SMBUS_InitTypeDef::OwnAddress1

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

Definition at line 54 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), and SMBUS_Slave_ADDR().

◆ AddressingMode

uint32_t SMBUS_InitTypeDef::AddressingMode

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

Definition at line 57 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), SMBUS_Master_ADDR(), and SMBUS_Master_SB().

◆ DualAddressMode

uint32_t SMBUS_InitTypeDef::DualAddressMode

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

Definition at line 60 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

◆ OwnAddress2

uint32_t SMBUS_InitTypeDef::OwnAddress2

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

Definition at line 63 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), and SMBUS_Slave_ADDR().

◆ GeneralCallMode

uint32_t SMBUS_InitTypeDef::GeneralCallMode

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

Definition at line 66 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

◆ NoStretchMode

uint32_t SMBUS_InitTypeDef::NoStretchMode

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

Definition at line 69 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

◆ PacketErrorCheckMode

uint32_t SMBUS_InitTypeDef::PacketErrorCheckMode

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

Definition at line 72 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

◆ PeripheralMode

uint32_t SMBUS_InitTypeDef::PeripheralMode

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

Definition at line 75 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), and HAL_SMBUS_Master_Abort_IT().


The documentation for this struct was generated from the following file: