assign VOLATILE V2

This commit is contained in:
2025-12-10 02:26:47 +09:00
parent 2ca19bf287
commit 3d8b12c321
14 changed files with 348 additions and 888 deletions

11
ccs/pwm.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include "msp.h"
#include <stdint.h>
/**
* @brief Initialize PWM for motor control with the specified period.
* @note P2.6 과 P2.7을 PWM 출력으로 설정합니다.
* @param period PWM 주기 (타이머 카운트 값)
*/
void pwm_init_for_motors(uint16_t period);