You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# README
## TODO
支持windows图形界面
## 编译
```bash ./build.sh ```
## 使用
```bash
# Usage: ././stm32_timer_pwm_computer.out system_clk(mhz) expect_freq(khz)
➜ stm32_timer_pwm_computer ./stm32_timer_pwm_computer.out 168 38 systemclk : 168.000000 mhz expect freq: 38.000000 khz ****************************************************** * APB1: TIM2 TIM3 TIM4 TIM5 TIM6 TIM7 TIM12 TIM13 TIM14 * * timer_module_clk: 84.000000 mhz * freq : 38.009051 khz * period : 0.026310 ms * prescaler : 0 * autoreload : 2209 * ** * APB2: TIM1 TIM8 TIM9 TIM10 TIM11 * * timer_module_clk: 168.000000 mhz * freq : 38.000453 khz * period : 0.026315 ms * prescaler : 0 * autoreload : 4420 ***
```
|