IRPyro API  (sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
IRPyro I2C Suggested Configuration Values

I2C clock and timeout values for ARM. More...

Collaboration diagram for IRPyro I2C Suggested Configuration Values:

Macros

#define I2C_CLK_TIMING_DEFAULT   0x00A00D26
 
#define I2C_PORT   GPIOB
 
#define I2C_SCL_PIN   GPIO_Pin_7
 
#define I2C_SCL_SRC   GPIO_PinSource7
 
#define I2C_SDA_PIN   GPIO_Pin_6
 
#define I2C_SDA_SRC   GPIO_PinSource6
 
#define I2C_TIMEOUT_DEFAULT   50
 

Detailed Description

I2C clock and timeout values for ARM.

*    Sets the clock and timeout constants for the I2C read and write
*    functions
* 
Note
Modify accordingly depending on architecture

Macro Definition Documentation

◆ I2C_CLK_TIMING_DEFAULT

#define I2C_CLK_TIMING_DEFAULT   0x00A00D26

Definition at line 106 of file Micro_controller_template.c.

◆ I2C_PORT

#define I2C_PORT   GPIOB

Definition at line 112 of file Micro_controller_template.c.

◆ I2C_SCL_PIN

#define I2C_SCL_PIN   GPIO_Pin_7

Definition at line 108 of file Micro_controller_template.c.

◆ I2C_SCL_SRC

#define I2C_SCL_SRC   GPIO_PinSource7

Definition at line 110 of file Micro_controller_template.c.

◆ I2C_SDA_PIN

#define I2C_SDA_PIN   GPIO_Pin_6

Definition at line 109 of file Micro_controller_template.c.

◆ I2C_SDA_SRC

#define I2C_SDA_SRC   GPIO_PinSource6

Definition at line 111 of file Micro_controller_template.c.

◆ I2C_TIMEOUT_DEFAULT

#define I2C_TIMEOUT_DEFAULT   50

Definition at line 107 of file Micro_controller_template.c.