From 6854977f26cefb05d82ed28fb38843ad0a8073fa Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 6 Apr 2026 17:16:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pwms.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/Pwms.c b/Pwms.c index 294ca18..3ee1a3d 100644 --- a/Pwms.c +++ b/Pwms.c @@ -277,41 +277,6 @@ void Pwms_Init(tLoggerInterface *logger) { //конец--------------------------PwmRearReserve------------------------------------------------- //конец--------------------------PwmRearReserve------------------------------------------------- -/* - // TPU_CH0: PortB 8: ALT5 - tInitStruct.u32PortPins = PORT_PIN_8; - tInitStruct.uPortPinMux.u32PortPinMode = PORT_ALT5_FUNC_MODE; - PORT_InitPins(PORT_B, &tInitStruct); - - PWM_Initial( - &env->pwm, - true, - PERIOD_TICKS, - PERIOD_TICKS * 5 / 100, - 0U, - 0xFF, - Bsp_Tpu_PwmCallback, - Bsp_Tpu_OverflowCallBack - ); - - env->pwmIo = vPwmGetIo(&env->pwm); - - - // TPU_CH1: PortA 0: ALT5 - tInitStruct.u32PortPins = PORT_PIN_0; - tInitStruct.uPortPinMux.u32PortPinMode = PORT_ALT5_FUNC_MODE; - PORT_InitPins(PORT_A, &tInitStruct); - - PWM_Capture_Initial( - &env->pwmCapture, - false, - 1U, - 0xFF, - Bsp_Tpu_PwmCaptureCallback, - Bsp_Tpu_Capture_OverflowCallBack - ); -*/ - LoggerInfoStatic(LOGGER, LOG_SIGN, "Initialization PWM - OK")