Changeset 27 for trunk/fw_g473rct/Core
- Timestamp:
- Sep 10, 2025, 8:48:05 AM (7 weeks ago)
- Location:
- trunk/fw_g473rct/Core/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fw_g473rct/Core/Src/i2c.c
r20 r27 40 40 /* USER CODE END I2C3_Init 1 */ 41 41 hi2c3.Instance = I2C3; 42 hi2c3.Init.Timing = 0x 00E2122E;42 hi2c3.Init.Timing = 0x10911A50; 43 43 hi2c3.Init.OwnAddress1 = 0; 44 44 hi2c3.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; … … 66 66 Error_Handler(); 67 67 } 68 69 /** I2C Fast mode Plus enable70 */71 HAL_I2CEx_EnableFastModePlus(I2C_FASTMODEPLUS_I2C3);72 68 /* USER CODE BEGIN I2C3_Init 2 */ 73 69 -
trunk/fw_g473rct/Core/Src/main.c
r26 r27 494 494 495 495 /* USER CODE BEGIN 4 */ 496 void LoadBackupRegister( )496 void LoadBackupRegister(void) 497 497 { 498 498 if (HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR1) == 0xBEBE) … … 768 768 /* User can add his own implementation to report the HAL error return state */ 769 769 __disable_irq(); 770 printf("error handler\r\n"); //Eventuell zeile entfernen, um besser den callstack zu sehen 771 770 772 while (1) 771 773 { … … 786 788 /* User can add his own implementation to report the file name and line number, 787 789 ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */ 790 printf("Wrong parameters value: file %s on line %d\r\n", file, line); 788 791 /* USER CODE END 6 */ 789 792 }
Note: See TracChangeset
for help on using the changeset viewer.
