If I would like to change frequency of the signal to precisely 8 MHz where should I look?
My understanding is that peripheral clock is used for driving pwm/quad timer and other modules....
Type: Posts; User: megagame
If I would like to change frequency of the signal to precisely 8 MHz where should I look?
My understanding is that peripheral clock is used for driving pwm/quad timer and other modules....
Mux should be configured for pin which will be used as PWM.
extern "C" {
#include "pwm.c"
}
void pwm_config_pin(int _pin)
{
*(portConfigRegister(_pin)) = pwm_pin_info[_pin].muxval;