/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-12-11     CHUTI       the first version
 */
#ifndef BOARD_MOTOR_H_
#define BOARD_MOTOR_H_
#define PWM_DEV_NAME "t5pwm" /* PWM设备名称 */
#define PWM_DEV_CHANNEL 1 /* PWM通道 */


extern rt_uint32_t period, pulse;
extern struct rt_device_pwm *pwm_dev;

void Pwm_Init(void);

#endif /* BOARD_MOTOR_H_ */
