Searched refs:I2cHandle (Results 1 – 5 of 5) sorted by relevance
33 static I2C_HandleTypeDef I2cHandle = { 0 }; variable46 I2cHandle.Instance = ( I2C_TypeDef * )I2C1_BASE; in I2cMcuInit()58 I2cHandle.Init.Timing = 0x00707CBB; in I2cMcuFormat()62 I2cHandle.Init.Timing = 0x00300F38; in I2cMcuFormat()65 I2cHandle.Init.OwnAddress1 = 0; in I2cMcuFormat()66 I2cHandle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; in I2cMcuFormat()67 I2cHandle.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; in I2cMcuFormat()68 I2cHandle.Init.OwnAddress2 = 0; in I2cMcuFormat()69 I2cHandle.Init.OwnAddress2Masks = I2C_OA2_NOMASK; in I2cMcuFormat()70 I2cHandle.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE; in I2cMcuFormat()[all …]
33 static I2C_HandleTypeDef I2cHandle = { 0 }; variable46 I2cHandle.Instance = ( I2C_TypeDef * )I2C1_BASE; in I2cMcuInit()58 I2cHandle.Init.Timing = 0x10909CEC; in I2cMcuFormat()62 I2cHandle.Init.Timing = 0x00702991; in I2cMcuFormat()65 I2cHandle.Init.OwnAddress1 = 0; in I2cMcuFormat()66 I2cHandle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; in I2cMcuFormat()67 I2cHandle.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; in I2cMcuFormat()68 I2cHandle.Init.OwnAddress2 = 0; in I2cMcuFormat()69 I2cHandle.Init.OwnAddress2Masks = I2C_OA2_NOMASK; in I2cMcuFormat()70 I2cHandle.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE; in I2cMcuFormat()[all …]
33 static I2C_HandleTypeDef I2cHandle = { 0 }; variable46 I2cHandle.Instance = ( I2C_TypeDef * )I2C1_BASE; in I2cMcuInit()56 I2cHandle.Init.ClockSpeed = I2cFrequency; in I2cMcuFormat()60 I2cHandle.Init.DutyCycle = I2C_DUTYCYCLE_2; in I2cMcuFormat()64 I2cHandle.Init.DutyCycle = I2C_DUTYCYCLE_16_9; in I2cMcuFormat()67 I2cHandle.Init.OwnAddress1 = 0; in I2cMcuFormat()68 I2cHandle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; in I2cMcuFormat()69 I2cHandle.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; in I2cMcuFormat()70 I2cHandle.Init.OwnAddress2 = 0; in I2cMcuFormat()71 I2cHandle.Init.GeneralCallMode = I2C_GENERALCALL_DISABLED; in I2cMcuFormat()[all …]