mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
Readme.md finished for current protocol
This commit is contained in:
@@ -194,7 +194,7 @@ TRUE_INLINE void iwdg_setup(){
|
||||
static void setup_mpwm(int i){
|
||||
volatile TIM_TypeDef *TIM = mottimers[i];
|
||||
TIM->CR1 = TIM_CR1_ARPE; // buffered ARR
|
||||
TIM->PSC = MOTORTIM_PSC; // 16MHz
|
||||
TIM->PSC = MOTORTIM_PSC; // 26MHz
|
||||
// PWM mode 1 (active -> inactive)
|
||||
uint8_t n = mottchannels[i];
|
||||
switch(n){
|
||||
|
||||
Reference in New Issue
Block a user