uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
I2C_Private_Defines

Macros

#define CR1_PE_Set   ((uint16_t)0x0001)
 
#define CR1_PE_Reset   ((uint16_t)0xFFFE)
 
#define CR1_START_Set   ((uint16_t)0x0100)
 
#define CR1_START_Reset   ((uint16_t)0xFEFF)
 
#define CR1_STOP_Set   ((uint16_t)0x0200)
 
#define CR1_STOP_Reset   ((uint16_t)0xFDFF)
 
#define CR1_ACK_Set   ((uint16_t)0x0400)
 
#define CR1_ACK_Reset   ((uint16_t)0xFBFF)
 
#define CR1_ENGC_Set   ((uint16_t)0x0040)
 
#define CR1_ENGC_Reset   ((uint16_t)0xFFBF)
 
#define CR1_SWRST_Set   ((uint16_t)0x8000)
 
#define CR1_SWRST_Reset   ((uint16_t)0x7FFF)
 
#define CR1_PEC_Set   ((uint16_t)0x1000)
 
#define CR1_PEC_Reset   ((uint16_t)0xEFFF)
 
#define CR1_ENPEC_Set   ((uint16_t)0x0020)
 
#define CR1_ENPEC_Reset   ((uint16_t)0xFFDF)
 
#define CR1_ENARP_Set   ((uint16_t)0x0010)
 
#define CR1_ENARP_Reset   ((uint16_t)0xFFEF)
 
#define CR1_NOSTRETCH_Set   ((uint16_t)0x0080)
 
#define CR1_NOSTRETCH_Reset   ((uint16_t)0xFF7F)
 
#define CR1_CLEAR_Mask   ((uint16_t)0xFBF5)
 
#define CR2_DMAEN_Set   ((uint16_t)0x0800)
 
#define CR2_DMAEN_Reset   ((uint16_t)0xF7FF)
 
#define CR2_LAST_Set   ((uint16_t)0x1000)
 
#define CR2_LAST_Reset   ((uint16_t)0xEFFF)
 
#define CR2_FREQ_Reset   ((uint16_t)0xFFC0)
 
#define OAR1_ADD0_Set   ((uint16_t)0x0001)
 
#define OAR1_ADD0_Reset   ((uint16_t)0xFFFE)
 
#define OAR2_ENDUAL_Set   ((uint16_t)0x0001)
 
#define OAR2_ENDUAL_Reset   ((uint16_t)0xFFFE)
 
#define OAR2_ADD2_Reset   ((uint16_t)0xFF01)
 
#define CCR_FS_Set   ((uint16_t)0x8000)
 
#define CCR_CCR_Set   ((uint16_t)0x0FFF)
 
#define FLAG_Mask   ((uint32_t)0x00FFFFFF)
 
#define ITEN_Mask   ((uint32_t)0x07000000)
 

Detailed Description

Macro Definition Documentation

#define CCR_CCR_Set   ((uint16_t)0x0FFF)

Definition at line 117 of file stm32f10x_i2c.c.

#define CCR_FS_Set   ((uint16_t)0x8000)

Definition at line 114 of file stm32f10x_i2c.c.

#define CR1_ACK_Reset   ((uint16_t)0xFBFF)

Definition at line 62 of file stm32f10x_i2c.c.

#define CR1_ACK_Set   ((uint16_t)0x0400)

Definition at line 61 of file stm32f10x_i2c.c.

#define CR1_CLEAR_Mask   ((uint16_t)0xFBF5)

Definition at line 89 of file stm32f10x_i2c.c.

#define CR1_ENARP_Reset   ((uint16_t)0xFFEF)

Definition at line 82 of file stm32f10x_i2c.c.

#define CR1_ENARP_Set   ((uint16_t)0x0010)

Definition at line 81 of file stm32f10x_i2c.c.

#define CR1_ENGC_Reset   ((uint16_t)0xFFBF)

Definition at line 66 of file stm32f10x_i2c.c.

#define CR1_ENGC_Set   ((uint16_t)0x0040)

Definition at line 65 of file stm32f10x_i2c.c.

#define CR1_ENPEC_Reset   ((uint16_t)0xFFDF)

Definition at line 78 of file stm32f10x_i2c.c.

#define CR1_ENPEC_Set   ((uint16_t)0x0020)

Definition at line 77 of file stm32f10x_i2c.c.

#define CR1_NOSTRETCH_Reset   ((uint16_t)0xFF7F)

Definition at line 86 of file stm32f10x_i2c.c.

#define CR1_NOSTRETCH_Set   ((uint16_t)0x0080)

Definition at line 85 of file stm32f10x_i2c.c.

#define CR1_PE_Reset   ((uint16_t)0xFFFE)

Definition at line 50 of file stm32f10x_i2c.c.

#define CR1_PE_Set   ((uint16_t)0x0001)

Definition at line 49 of file stm32f10x_i2c.c.

#define CR1_PEC_Reset   ((uint16_t)0xEFFF)

Definition at line 74 of file stm32f10x_i2c.c.

#define CR1_PEC_Set   ((uint16_t)0x1000)

Definition at line 73 of file stm32f10x_i2c.c.

#define CR1_START_Reset   ((uint16_t)0xFEFF)

Definition at line 54 of file stm32f10x_i2c.c.

#define CR1_START_Set   ((uint16_t)0x0100)

Definition at line 53 of file stm32f10x_i2c.c.

#define CR1_STOP_Reset   ((uint16_t)0xFDFF)

Definition at line 58 of file stm32f10x_i2c.c.

#define CR1_STOP_Set   ((uint16_t)0x0200)

Definition at line 57 of file stm32f10x_i2c.c.

#define CR1_SWRST_Reset   ((uint16_t)0x7FFF)

Definition at line 70 of file stm32f10x_i2c.c.

#define CR1_SWRST_Set   ((uint16_t)0x8000)

Definition at line 69 of file stm32f10x_i2c.c.

#define CR2_DMAEN_Reset   ((uint16_t)0xF7FF)

Definition at line 93 of file stm32f10x_i2c.c.

#define CR2_DMAEN_Set   ((uint16_t)0x0800)

Definition at line 92 of file stm32f10x_i2c.c.

#define CR2_FREQ_Reset   ((uint16_t)0xFFC0)

Definition at line 100 of file stm32f10x_i2c.c.

#define CR2_LAST_Reset   ((uint16_t)0xEFFF)

Definition at line 97 of file stm32f10x_i2c.c.

#define CR2_LAST_Set   ((uint16_t)0x1000)

Definition at line 96 of file stm32f10x_i2c.c.

#define FLAG_Mask   ((uint32_t)0x00FFFFFF)

Definition at line 120 of file stm32f10x_i2c.c.

#define ITEN_Mask   ((uint32_t)0x07000000)

Definition at line 123 of file stm32f10x_i2c.c.

#define OAR1_ADD0_Reset   ((uint16_t)0xFFFE)

Definition at line 104 of file stm32f10x_i2c.c.

#define OAR1_ADD0_Set   ((uint16_t)0x0001)

Definition at line 103 of file stm32f10x_i2c.c.

#define OAR2_ADD2_Reset   ((uint16_t)0xFF01)

Definition at line 111 of file stm32f10x_i2c.c.

#define OAR2_ENDUAL_Reset   ((uint16_t)0xFFFE)

Definition at line 108 of file stm32f10x_i2c.c.

#define OAR2_ENDUAL_Set   ((uint16_t)0x0001)

Definition at line 107 of file stm32f10x_i2c.c.