G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
DDL_I2C_InitTypeDef Struct Reference

#include <g32r4xx_ddl_i2c.h>

Data Fields

uint32_t PeripheralMode
uint32_t ClockSpeed
uint32_t DutyCycle
uint32_t AnalogFilter
uint32_t DigitalFilter
uint32_t OwnAddress1
uint32_t TypeAcknowledge
uint32_t OwnAddrSize

Detailed Description

Definition at line 94 of file g32r4xx_ddl_i2c.h.

Field Documentation

◆ AnalogFilter

uint32_t DDL_I2C_InitTypeDef::AnalogFilter

Enables or disables analog noise filter. This parameter can be a value of Analog Filter Selection

This feature can be modified afterwards using unitary functions DDL_I2C_EnableAnalogFilter() or DDL_I2C_DisableAnalogFilter().

Definition at line 113 of file g32r4xx_ddl_i2c.h.

◆ ClockSpeed

uint32_t DDL_I2C_InitTypeDef::ClockSpeed

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

This feature can be modified afterwards using unitary function DDL_I2C_SetClockPeriod() or DDL_I2C_SetDutyCycle() or DDL_I2C_SetClockSpeedMode() or DDL_I2C_ConfigSpeed().

Definition at line 101 of file g32r4xx_ddl_i2c.h.

◆ DigitalFilter

uint32_t DDL_I2C_InitTypeDef::DigitalFilter

Configures the digital noise filter. This parameter can be a number between Min_Data = 0x00 and Max_Data = 0x0F

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

Definition at line 118 of file g32r4xx_ddl_i2c.h.

◆ DutyCycle

uint32_t DDL_I2C_InitTypeDef::DutyCycle

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 DDL_I2C_SetDutyCycle().

Definition at line 107 of file g32r4xx_ddl_i2c.h.

◆ OwnAddress1

uint32_t DDL_I2C_InitTypeDef::OwnAddress1

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 DDL_I2C_SetOwnAddress1().

Definition at line 124 of file g32r4xx_ddl_i2c.h.

◆ OwnAddrSize

uint32_t DDL_I2C_InitTypeDef::OwnAddrSize

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 DDL_I2C_SetOwnAddress1().

Definition at line 134 of file g32r4xx_ddl_i2c.h.

◆ PeripheralMode

uint32_t DDL_I2C_InitTypeDef::PeripheralMode

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

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

Definition at line 96 of file g32r4xx_ddl_i2c.h.

◆ TypeAcknowledge

uint32_t DDL_I2C_InitTypeDef::TypeAcknowledge

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 DDL_I2C_AcknowledgeNextData().

Definition at line 129 of file g32r4xx_ddl_i2c.h.


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