STM8S/A Standard Peripherals Drivers: I2C_Private_Defines

STM8S/A

STM8S/A Standard Peripherals Drivers
I2C_Private_Defines

Defines

#define FLAG_Mask   ((uint16_t)0x00FF)
#define ITEN_Mask   ((uint16_t)0x0700)
#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 46 of file stm8s_i2c.c.

Referenced by I2C_ClearFlag(), and I2C_ClearITPendingBit().

#define ITEN_Mask   ((uint16_t)0x0700)

Definition at line 44 of file stm8s_i2c.c.

Referenced by I2C_GetITStatus().

#define REGISTER_Mask   ((uint16_t)0x3000)

Definition at line 40 of file stm8s_i2c.c.

Referenced by I2C_GetITStatus().

#define REGISTER_SR1_Index   ((uint16_t)0x0100)

Definition at line 41 of file stm8s_i2c.c.

Referenced by I2C_GetITStatus().

#define REGISTER_SR2_Index   ((uint16_t)0x0200)

Definition at line 42 of file stm8s_i2c.c.

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com