12 lines
287 B
C
12 lines
287 B
C
#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);
|
|
|