Searched refs:prescaleval (Results 1 – 1 of 1) sorted by relevance
67 float prescaleval = 25000000; in setPWMFreq() local68 prescaleval /= 4096; in setPWMFreq()69 prescaleval /= afreq; in setPWMFreq()70 prescaleval -= 1; in setPWMFreq()75 uint8_t prescale = roundf(prescaleval); in setPWMFreq()