STM32F103xB HAL User Manual
Data Fields
LL_I2C_InitTypeDef Struct Reference

#include <stm32f1xx_ll_i2c.h>

Data Fields

uint32_t PeripheralMode
uint32_t ClockSpeed
uint32_t DutyCycle
uint32_t OwnAddress1
uint32_t TypeAcknowledge
uint32_t OwnAddrSize

Detailed Description

Definition at line 71 of file stm32f1xx_ll_i2c.h.


Field Documentation

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

This feature can be modified afterwards using unitary function LL_I2C_SetClockPeriod() or LL_I2C_SetDutyCycle() or LL_I2C_SetClockSpeedMode() or LL_I2C_ConfigSpeed().

Definition at line 78 of file stm32f1xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

Specifies the I2C fast mode duty cycle. This parameter can be a value of Fast Mode Duty Cycle

This feature can be modified afterwards using unitary function LL_I2C_SetDutyCycle().

Definition at line 84 of file stm32f1xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

Specifies the device own address 1. This parameter must be a value between Min_Data = 0x00 and Max_Data = 0x3FF

This feature can be modified afterwards using unitary function LL_I2C_SetOwnAddress1().

Definition at line 89 of file stm32f1xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

Specifies the device own address 1 size (7-bit or 10-bit). This parameter can be a value of Own Address 1 Length

This feature can be modified afterwards using unitary function LL_I2C_SetOwnAddress1().

Definition at line 99 of file stm32f1xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

Specifies the peripheral mode. This parameter can be a value of Peripheral Mode

This feature can be modified afterwards using unitary function LL_I2C_SetMode().

Definition at line 73 of file stm32f1xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().

Specifies the ACKnowledge or Non ACKnowledge condition after the address receive match code or next received byte. This parameter can be a value of Acknowledge Generation

This feature can be modified afterwards using unitary function LL_I2C_AcknowledgeNextData().

Definition at line 94 of file stm32f1xx_ll_i2c.h.

Referenced by LL_I2C_Init(), and LL_I2C_StructInit().


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