STM8L15x Standard Peripherals Drivers: I2C_Private_Define

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

I2C_Private_Define

Defines

#define FLAG_Mask   ((uint16_t)0x00FF)
#define ITEN_Mask   ((uint16_t)0x0700)
#define OAR1_ADD0_Reset   ((uint8_t)0xFE)
#define OAR1_ADD0_Set   ((uint8_t)0x01)
#define REGISTER_Mask   ((uint16_t)0x3000)
#define REGISTER_SR1_Index   ((uint16_t)0x0100)
#define REGISTER_SR2_Index   ((uint16_t)0x0200)

Define Documentation

#define FLAG_Mask   ((uint16_t)0x00FF)

Definition at line 100 of file stm8l15x_i2c.c.

Referenced by I2C_ClearFlag(), and I2C_ClearITPendingBit().

#define ITEN_Mask   ((uint16_t)0x0700)

Definition at line 98 of file stm8l15x_i2c.c.

Referenced by I2C_GetITStatus().

#define OAR1_ADD0_Reset   ((uint8_t)0xFE)

Definition at line 103 of file stm8l15x_i2c.c.

Referenced by I2C_Send7bitAddress().

#define OAR1_ADD0_Set   ((uint8_t)0x01)

Definition at line 102 of file stm8l15x_i2c.c.

Referenced by I2C_Send7bitAddress().

#define REGISTER_Mask   ((uint16_t)0x3000)

Definition at line 94 of file stm8l15x_i2c.c.

Referenced by I2C_GetITStatus().

#define REGISTER_SR1_Index   ((uint16_t)0x0100)

Definition at line 95 of file stm8l15x_i2c.c.

Referenced by I2C_GetITStatus().

#define REGISTER_SR2_Index   ((uint16_t)0x0200)

Definition at line 96 of file stm8l15x_i2c.c.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com