PAN1080 Peripheral API
Data Fields
I2C_InitTypeDef Struct Reference

Structure with i2c init feature. More...

#include <pan_i2c.h>

Data Fields

uint32_t I2C_ClockSpeed
 
uint16_t I2C_Mode
 
uint16_t I2C_DutyCycle
 
uint16_t I2C_OwnAddress1
 
uint16_t I2C_AcknowledgedAddress
 

Detailed Description

Structure with i2c init feature.

Parameters
I2C_ClockSpeedSpecifies the clock frequency.
I2C_ModeSpecifies the I2C mode.This parameter can be a value of PAN_I2C_MODE_MASTER,PAN_I2C_MODE_SLAVE
I2C_DutyCycleSpecifies the I2C fast mode duty cycle.This parameter can be a value of I2C_DutyCycle_16_9, I2C_DutyCycle_2
I2C_OwnAddress1Specifies the first device own address, This parameter can be a 7-bit or 10-bit address.
I2C_AcknowledgedAddressSpecifies if 7-bit or 10-bit address is acknowledged. This parameter can be a value of I2C_AcknowledgedAddress_7bit, I2C_AcknowledgedAddress_10bit

Field Documentation

◆ I2C_AcknowledgedAddress

uint16_t I2C_AcknowledgedAddress

◆ I2C_ClockSpeed

uint32_t I2C_ClockSpeed

◆ I2C_DutyCycle

uint16_t I2C_DutyCycle

◆ I2C_Mode

uint16_t I2C_Mode

◆ I2C_OwnAddress1

uint16_t I2C_OwnAddress1

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