Files
microchip-application-pec93…/Examples/template/dds/inc/init.h
T
Roy_01 7aeffa6b70 [example] dds
feat: 1. updated uvw duty cycle every 41.6us (24KHz)
 2. EPWM->CCMRn_OUTPUT_b.OCnPE=1
2026-03-20 15:30:52 +08:00

24 lines
422 B
C

/**
* Copyright (c) 2026 Wisetop. All Rights Reserved.
*/
/** @file init.h
*
* @author Roy Luo
* @version 0.1
* @date 2026/03/20
* @license
* @description
*/
#ifndef INC_INIT_H_
#define INC_INIT_H_
void SYS_Config();
void gpio_config();
void pwm_config();
void pwm_set_duty(uint16_t ch1_val, uint16_t ch2_val, uint16_t ch3_val);
void pwm_enable();
void pwm_disable();
void pwm_brake();
#endif /* INC_INIT_H_ */