barisubasi / STM32-Scaler-for-C

This C program, designed for STM32 microcontrollers, calculates PSC and ARR values in a while loop for a target frequency. The `calc_arr_psc()` function iterates through combinations to find values close to the target within a specified error margin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32-Scaler-for-C

This C program, designed for STM32 microcontrollers, calculates PSC and ARR values in a while loop for a target frequency. The calc_arr_psc() function iterates through combinations to find values close to the target within a specified error margin.

About

This C program, designed for STM32 microcontrollers, calculates PSC and ARR values in a while loop for a target frequency. The `calc_arr_psc()` function iterates through combinations to find values close to the target within a specified error margin.


Languages

Language:C 100.0%