Name
pwm_set_frequency —
sets the PWM signal frequency.
Synopsis
#include <pwm.h>
void pwm_set_frequency ( | channels, | |
| freq) ; | |
char channels
;
unsigned long freq
;
Arguments
channels
bit mask of channel
freq
frequency of PWM signal in Hz
Description
Sets the frequency of PWM signal. In the ZKit-51 and ZKit-51-V664,
the frequency range is 47Hz to 12048Hz. In the ZKit-ARM-1343, the
frequency range is 1kHz to 71MHz.