/ * @brief Configure USB Voltage * @retval None ************************************************************************************************************/
| 54 | * @retval None |
| 55 | ************************************************************************************************************/ |
| 56 | static void USBVRG_Configuration(void) |
| 57 | { |
| 58 | CKCU_PeripClockConfig_TypeDef CKCUClock = {{ 0 }}; |
| 59 | CKCUClock.Bit.BKP = 1; |
| 60 | CKCU_PeripClockConfig(CKCUClock, ENABLE); |
| 61 | |
| 62 | PWRCU_SetVREG(PWRCU_VREG_3V3); |
| 63 | |
| 64 | /* !!! NOTICE !!! |
| 65 | USB LDO should be enabled (PWRCU_VREG_ENABLE) if the MCU VDD > 3.6 V. |
| 66 | */ |
| 67 | PWRCU_VREGConfig(PWRCU_VREG_BYPASS); |
| 68 | } |
| 69 | #endif |
| 70 | |
| 71 | #define REMOTE_WAKEUP (0) |
no test coverage detected