mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Rework Fast PWM protocol configuration and timing
This commit is contained in:
parent
c74c5df73d
commit
9e5c5e88c7
12 changed files with 67 additions and 77 deletions
|
@ -17,6 +17,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
PWM_TYPE_ONESHOT125 = 0,
|
||||
PWM_TYPE_ONESHOT42 = 1,
|
||||
PWM_TYPE_MULTISHOT = 2
|
||||
} FastPwmProtocolTypes_e;
|
||||
|
||||
void pwmWriteMotor(uint8_t index, uint16_t value);
|
||||
void pwmShutdownPulsesForAllMotors(uint8_t motorCount);
|
||||
void pwmCompleteOneshotMotorUpdate(uint8_t motorCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue