docs
This commit is contained in:
parent
962ad21c00
commit
0a6aeb495f
|
@ -18,13 +18,17 @@
|
||||||
void initPwmGenerator(void);
|
void initPwmGenerator(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* start a one-channel PWM driver
|
* Start a one-channel software PWM driver.
|
||||||
|
*
|
||||||
|
* This method should be called after scheduling layer is started by initSignalExecutor()
|
||||||
*/
|
*/
|
||||||
void startSimplePwm(PwmConfig *state, const char *msg, OutputPin *output,
|
void startSimplePwm(PwmConfig *state, const char *msg, OutputPin *output,
|
||||||
float dutyCycle, float frequency, pwm_gen_callback *stateChangeCallback);
|
float dutyCycle, float frequency, pwm_gen_callback *stateChangeCallback);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* initialize GPIO pin and start a one-channel PWM driver
|
* initialize GPIO pin and start a one-channel software PWM driver.
|
||||||
|
*
|
||||||
|
* This method should be called after scheduling layer is started by initSignalExecutor()
|
||||||
*/
|
*/
|
||||||
void startSimplePwmExt(PwmConfig *state, const char *msg, brain_pin_e brainPin, OutputPin *output,
|
void startSimplePwmExt(PwmConfig *state, const char *msg, brain_pin_e brainPin, OutputPin *output,
|
||||||
float frequency, float dutyCycle, pwm_gen_callback *stateChangeCallback);
|
float frequency, float dutyCycle, pwm_gen_callback *stateChangeCallback);
|
||||||
|
|
Loading…
Reference in New Issue