MG32L003 Standard Peripherals Firmware Library
Data Fields
I2C_InitTypeDef Struct Reference

I2C Initial Configuration Structure definition. More...

#include <mg32l003_i2c.h>

Data Fields

uint32_t master
 
uint32_t slave
 
uint32_t slaveAddr
 
uint32_t speedclock
 
uint32_t broadack
 

Detailed Description

I2C Initial Configuration Structure definition.

Field Documentation

◆ broadack

uint32_t broadack

Ack enable or disable when as slave. This parameter can be a value of I2C_BROAD

◆ master

uint32_t master

Master mode enable/disable. This parameter can be a value of I2C_Master_Mode

◆ slave

uint32_t slave

Slave mode enable/disable. This parameter can be a value of I2C_Slave_Mode

◆ slaveAddr

uint32_t slaveAddr

Slave address

◆ speedclock

uint32_t speedclock

I2c speed clock set, speed=Pclk/(8*(baudcr+1)),uint khz


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