I2CSPM_Init_TypeDef Struct Reference
[I2CSPM]

I2C driver instance initialization structure. More...

#include <i2cspm.h>

Collaboration diagram for I2CSPM_Init_TypeDef:
Collaboration graph
[legend]

Data Fields

I2C_TypeDef * port
 Peripheral port.
GPIO_Port_TypeDef sclPort
 SCL pin port number.
uint8_t sclPin
 SCL pin number.
GPIO_Port_TypeDef sdaPort
 SDA pin port number.
uint8_t sdaPin
 SDA pin number.
uint8_t portLocation
 Port location.
uint32_t i2cRefFreq
 I2C reference clock.
uint32_t i2cMaxFreq
 I2C max bus frequency to use.
I2C_ClockHLR_TypeDef i2cClhr
 Clock low/high ratio control.

Detailed Description

I2C driver instance initialization structure.

This data structure contains a number of I2C configuration options required for driver instance initialization. This struct is passed to I2CSPM_Init() when initializing a I2CSPM instance.

Definition at line 46 of file i2cspm.h.


Field Documentation

I2C_ClockHLR_TypeDef I2CSPM_Init_TypeDef::i2cClhr

Clock low/high ratio control.

Definition at line 61 of file i2cspm.h.

Referenced by I2CSPM_Init().

I2C max bus frequency to use.

Definition at line 60 of file i2cspm.h.

Referenced by I2CSPM_Init().

I2C reference clock.

Definition at line 59 of file i2cspm.h.

Referenced by I2CSPM_Init().

Peripheral port.

Definition at line 48 of file i2cspm.h.

Referenced by I2CSPM_Init().

Port location.

Definition at line 57 of file i2cspm.h.

Referenced by I2CSPM_Init().

SCL pin number.

Definition at line 50 of file i2cspm.h.

Referenced by I2CSPM_Init().

GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sclPort

SCL pin port number.

Definition at line 49 of file i2cspm.h.

Referenced by I2CSPM_Init().

SDA pin number.

Definition at line 52 of file i2cspm.h.

Referenced by I2CSPM_Init().

GPIO_Port_TypeDef I2CSPM_Init_TypeDef::sdaPort

SDA pin port number.

Definition at line 51 of file i2cspm.h.

Referenced by I2CSPM_Init().


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