Set matrix column output speed
This commit is contained in:
parent
863a720749
commit
fc5f7caa14
|
@ -1 +1 @@
|
||||||
260
|
263
|
||||||
|
|
|
@ -223,6 +223,7 @@ void LED_Init(void)
|
||||||
GPIOA->ODR |= LED_ODR_MASK;
|
GPIOA->ODR |= LED_ODR_MASK;
|
||||||
GPIOA->PUPDR &= ~LED_MODER_MASK;
|
GPIOA->PUPDR &= ~LED_MODER_MASK;
|
||||||
GPIOA->OTYPER |= LED_ODR_MASK;
|
GPIOA->OTYPER |= LED_ODR_MASK;
|
||||||
|
GPIOA->OSPEEDR |= LED_MODER_MASK;
|
||||||
GPIOA->MODER = (GPIOA->MODER & ~LED_MODER_MASK) | LED_MODER;
|
GPIOA->MODER = (GPIOA->MODER & ~LED_MODER_MASK) | LED_MODER;
|
||||||
|
|
||||||
TIM3->CR1 = 0x0000;
|
TIM3->CR1 = 0x0000;
|
||||||
|
|
Loading…
Reference in a new issue